/* style.css — TraxCity RP Dark Theme */
/* Palette: Navy #0a1628 | Or #d4a017 | Bordeaux #8b1a1a | Crème #f0e6d0 */

/* ===================== BASE ===================== */
body {
    background-color: #0a1628;
    color: #f0e6d0;
}

/* ===================== LAYOUT ===================== */
.bg-grid-faint {
    background-size: 40px 40px;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
}

.mask-fade-b {
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.container-bxl {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    max-width: 80rem;
}

/* ===================== CARDS / GLASS ===================== */
.glass {
    background: linear-gradient(135deg, rgba(13,27,46,0.85), rgba(9,20,34,0.9));
    border: 1px solid rgba(212,160,23,0.15);
    border-radius: 1rem;
    backdrop-filter: blur(16px);
    box-shadow:
        0 4px 24px rgba(0,0,0,0.5),
        0 1px 0 rgba(212,160,23,0.08) inset;
    transition: all 0.3s ease;
}

.glass-hover {
    transition: all 0.3s ease;
}
.glass-hover:hover {
    background: linear-gradient(135deg, rgba(20,38,64,0.9), rgba(13,27,46,0.95));
    border-color: rgba(212,160,23,0.4);
    transform: translateY(-4px);
    box-shadow:
        0 16px 40px rgba(0,0,0,0.6),
        0 0 24px rgba(212,160,23,0.1),
        0 1px 0 rgba(212,160,23,0.15) inset;
}

/* ===================== BUTTONS ===================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #d4a017 0%, #b8880e 100%);
    color: #0a1628;
    font-weight: 700;
    padding: 0.625rem 1.25rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(212,160,23,0.3);
    border: none;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #e8b420 0%, #d4a017 100%);
    transform: scale(1.03) translateY(-1px);
    box-shadow: 0 8px 24px rgba(212,160,23,0.45);
    color: #0a1628;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255,255,255,0.15);
    background-color: rgba(255,255,255,0.04);
    color: #8899aa;
    font-weight: 500;
    padding: 0.625rem 1.25rem;
    transition: all 0.2s ease;
}
.btn-ghost:hover {
    background-color: rgba(255,255,255,0.09);
    color: #f0e6d0;
    border-color: rgba(212,160,23,0.3);
}

/* ===================== TYPOGRAPHY ===================== */
.eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #d4a017;
}

.title-display {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    letter-spacing: -0.04em;
}

/* ===================== DIVIDERS ===================== */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,160,23,0.25) 50%, transparent);
    width: 100%;
}

.gold-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4a017 50%, transparent);
}

/* ===================== NOISE OVERLAY ===================== */
.bg-noise {
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* ===================== BANNER ===================== */
/* La bannière ne doit JAMAIS disparaître */
.banner-wrapper {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.banner-wrapper img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* ===================== ANIMATIONS ===================== */
.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up.active,
.reveal-scale.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Float — Logo */
@keyframes floatAnim {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
.animate-float {
    animation: floatAnim 4s ease-in-out infinite;
}

/* Gold glow pulse */
@keyframes goldPulse {
    0%, 100% { box-shadow: 0 0 15px rgba(212,160,23,0.15); }
    50%       { box-shadow: 0 0 30px rgba(212,160,23,0.4); }
}
.animate-gold-pulse {
    animation: goldPulse 3s ease-in-out infinite;
}

/* Shine button */
.btn-shine {
    position: relative;
    overflow: hidden;
}
.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.25) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
}
.btn-shine:hover::after {
    transform: rotate(45deg) translateX(100%);
}
