/* =========================================================================
   [ GT HERO INTRO BLOCK (GOD TIER) ]
   ========================================================================= */
.gt-hero-container {
    position: relative;
    width: 100%;
    height: clamp(350px, 40vh, 500px);
    background-color: #050508;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* IGNITION DE LA BORDURE HAUTE */
    border-top: 1px solid rgba(255, 40, 81, 0.2); 
    
    /* On désactive la bordure basse si elle entre en collision avec le footer */
    border-bottom: none !important; 
    
    font-family: 'Inter', sans-serif;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.gt-bg-grid {
    position: absolute;
    inset: -50%;
    background-image: 
        linear-gradient(rgba(255, 40, 81, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 40, 81, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(600px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: gtGridMove 12s linear infinite;
    z-index: 1;
}

@keyframes gtGridMove {
    0% { transform: perspective(600px) rotateX(60deg) translateY(0) translateZ(-200px); }
    100% { transform: perspective(600px) rotateX(60deg) translateY(50px) translateZ(-200px); }
}

#gtRainContainer {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.2;
    background: repeating-linear-gradient(180deg, transparent 0, transparent 4px, rgba(255,40,81,0.1) 4px, transparent 8px);
}

.gt-scan-beam {
    position: absolute;
    top: 0; left: 0; right: 0; height: 10px;
    background: linear-gradient(to bottom, transparent, rgba(255, 40, 81, 0.8), transparent);
    z-index: 4;
    box-shadow: 0 0 20px rgba(255, 40, 81, 0.8);
    animation: gtScanLine 3.5s ease-in-out infinite alternate;
}

@keyframes gtScanLine {
    0% { transform: translateY(-100%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(500px); opacity: 0; }
}

#gtParticles {
    position: absolute;
    inset: 0;
    z-index: 3;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.8) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: 0 0;
    animation: gtDust 25s linear infinite;
    opacity: 0.15;
    mix-blend-mode: screen;
}

@keyframes gtDust {
    to { background-position: 120px 240px; }
}

.gt-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    background: radial-gradient(circle at center, transparent 30%, rgba(5, 5, 8, 0.95) 100%),
                repeating-linear-gradient(0deg, rgba(0,0,0,0.15) 0px, rgba(0,0,0,0.15) 1px, transparent 1px, transparent 2px);
    pointer-events: none;
}

.gt-led-bar {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: #ff2851;
    box-shadow: 0 0 15px 3px #ff2851;
    z-index: 6;
    animation: gtPulseLed 2.5s infinite;
}

@keyframes gtPulseLed {
    0%, 100% { opacity: 0.6; box-shadow: 0 0 10px 1px #ff2851; }
    50% { opacity: 1; box-shadow: 0 0 30px 5px #ff2851; }
}

.gt-slide {
    position: absolute;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
    opacity: 0;
    transform: scale(1.15) translateY(30px);
    filter: blur(15px);
    transition: all 0.9s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gt-slide.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
    pointer-events: auto;
}

.gt-slide.outgoing {
    opacity: 0;
    transform: scale(0.9) translateY(-40px);
    filter: blur(10px);
}

.gt-slide.active .gt-title {
    animation: textGlitchPop 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes textGlitchPop {
    0% { transform: scale(1.1); text-shadow: -15px 0 #ff2851, 15px 0 #00f0ff; letter-spacing: -0.1em; opacity: 0; }
    50% { text-shadow: 5px 0 #ff2851, -5px 0 #00f0ff; opacity: 1; }
    100% { transform: scale(1); text-shadow: 0 0 20px rgba(255, 255, 255, 0.2); letter-spacing: -0.05em; opacity: 1; }
}

.gt-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.gt-title span {
    color: #ff2851;
    display: inline-block;
    text-shadow: 0 0 15px rgba(255, 40, 81, 0.6);
}

.gt-desc {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: #94a3b8;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.gt-slide-progress {
    width: 120px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    margin-top: 2.5rem;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s ease 0.5s;
}

.gt-slide.active .gt-slide-progress {
    opacity: 1;
}

.gt-slide.active .gt-progress-bar {
    height: 100%;
    background: #ff2851;
    width: 0%;
    box-shadow: 0 0 10px #ff2851;
    animation: gtProgress 7s linear forwards; 
}

@keyframes gtProgress {
    to { width: 100%; }
}
/* =========================================================================
   INTEGRATION PRE-FOOTER : ANTI-COLLISION DES BORDURES
   ========================================================================= */
.gt-hero-container {
    border-bottom: none !important; /* Le gt-footer-container s'occupe déjà de la ligne de séparation */
}