/* ============================================================
   HERO — MAIN CARD
   ============================================================ */
.hero-main-card {
    position: relative;
    overflow: visible; 
    background: #171a27;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column-reverse;
    border-radius: 1rem;
}
@media (min-width: 1024px) {
    .hero-main-card {
        flex-direction: row;
        height: 450px;
    }
}

/* ============================================================
   LEFT — INFO PANEL (Sihirli Kısım: Banner'ın altına giriyor)
   ============================================================ */
.hero-info-panel {
    position: relative;
    z-index: 10; /* Banner'ın (20) altında kalacak */
    
    /* MOBİLDE: Paneli 30px yukarı, banner'ın arkasına itiyoruz */
    margin-top: -30px; 
    /* İçerikler ezilmesin diye üstten paddingi 30px artırıyoruz */
    padding: calc(1.75rem + 30px) 1.5rem 1.75rem 1.5rem; 
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.1rem;
    overflow: hidden;
    min-height: 360px;
    
    /* Sadece alt köşeler ana karta uyumlu */
    border-radius: 0 0 1rem 1rem; 
}
@media (min-width: 1024px) {
    .hero-info-panel {
        width: 38%;
        min-height: unset;
        
        /* DESKTOPTA: Üst ayarları sıfırlayıp paneli sağa, banner'ın arkasına itiyoruz */
        margin-top: 0;
        margin-right: -30px; 
        padding: 1.75rem calc(2rem + 30px) 1.75rem 2rem; 
        
        /* Sadece sol köşeler ana karta uyumlu */
        border-radius: 1rem 0 0 1rem; 
    }
}

/* Neon glow: bottom-left anchor */
.hero-info-panel::before {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(0,255,135,0.13) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Top-right counter-glow */
.hero-info-panel::after {
    content: '';
    position: absolute;
    top: -15%;
    right: -10%;
    width: 55%;
    height: 60%;
    background: radial-gradient(circle, rgba(0,255,135,0.06) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* ============================================================
   ZONE 1 — Brand (top anchor)
   ============================================================ */
.hero-zone-top,
.hero-zone-mid,
.hero-zone-bot { position: relative; z-index: 1; }

.hero-logo-container {
    font-family: 'Roboto', sans-serif;
    font-size: 2.4rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
    letter-spacing: -0.04em;
    line-height: 1;
    margin: 0;
    user-select: none;
}
@media (min-width: 1024px) {
    .hero-logo-container {
        font-size: 2.8rem;
        justify-content: flex-start;
    }
}
.hero-logo-static {
    font-weight: 900;
    color: #00ff87;
}
#hero-dynamic-logo {
    font-weight: 300;
    letter-spacing: -0.05em;
    color: rgba(255,255,255,0.85);
}

/* --- ROTATING FEATURE TEXT --- */
.hero-tag-rotator {
    margin-top: 0.6rem;
    min-height: 1.4em;
}
/* Shared gradient text utility */
.hero-gradient-text {
    background: linear-gradient(90deg, #00ff87 0%, #00ffcc 40%, #b3ffe0 60%, #00ff87 100%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroGradientShift 2.5s linear infinite;
}
@keyframes heroGradientShift {
    0%   { background-position: 0%   center; }
    100% { background-position: 250% center; }
}


/* Rotating tag */
#hero-active-tag {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.2;
    text-align: center;
}
@media (min-width: 1024px) {
    #hero-active-tag { font-size: 1.6rem; text-align: left; }
}
.hero-tag--active {
    animation: tagSlideIn 0.4s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hero-tag--out {
    animation: tagSlideOut 0.25s ease forwards;
}
@keyframes tagSlideIn {
    from { opacity: 0; transform: translateY(7px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes tagSlideOut {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-7px); }
}

/* ============================================================
   ZONE 2 — Offer (visual center)
   ============================================================ */
.hero-zone-mid {
    display: flex;
    flex-direction: column;
}
.hero-offer-eyebrow {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    margin: 0 0 0.4rem 0;
    text-align: center;
}
@media (min-width: 1024px) {
    .hero-offer-eyebrow { text-align: left; font-size: 0.85rem; color: rgba(255,255,255,0.55); }
}

/* ============================================================
   DESKTOP OFFER — sadece 1024px+ göster
   ============================================================ */
.hero-offer-desktop {
    display: none;
    flex-direction: column;
    gap: 0.35rem;
}
@media (min-width: 1024px) {
    .hero-offer-desktop { display: flex; }
}
.hero-offer-amount-wrap {
    font-family: 'Russo One', sans-serif;
    line-height: 0.9;
    letter-spacing: -0.01em;
}
.hero-offer-currency-d {
    font-size: 2.2rem;
    color: rgba(255,255,255,0.45);
    vertical-align: top;
    line-height: 1.1;
}
.hero-offer-number-d {
    font-size: 5.5rem;
    color: #fff;
    letter-spacing: -0.02em;
    text-shadow: 0 0 60px rgba(255,255,255,0.1);
}
.hero-offer-spins-d {
    font-family: 'Russo One', sans-serif;
    font-size: 1.8rem;
    color: #00ff87;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    width: 100%;
    text-align: left;
    text-align-last: left;
}

/* ============================================================
   MOBİL OFFER — sadece 1024px altında göster
   ============================================================ */
.hero-offer-mobile {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    justify-content: center;
}
@media (min-width: 1024px) {
    .hero-offer-mobile { display: none; }
}
/* €1,000 mobil */
.hero-offer-amount {
    font-family: 'Russo One', sans-serif;
    line-height: 0.9;
    letter-spacing: -0.01em;
    display: block;
}
.hero-offer-currency {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.45);
    vertical-align: top;
    line-height: 1.1;
}
.hero-offer-number {
    font-size: 3.2rem;
    color: #fff;
    letter-spacing: -0.02em;
    text-shadow: 0 0 60px rgba(255,255,255,0.1);
}
/* + mobil */
.hero-offer-plus {
    font-family: 'Russo One', sans-serif;
    font-size: 1.4rem;
    color: rgba(255,255,255,0.4);
    line-height: 1;
    align-self: center;
    flex-shrink: 0;
}
/* 300 / FREE SPINS mobil */
.hero-offer-spins-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.1rem;
}
.hero-offer-spins-num {
    font-family: 'Russo One', sans-serif;
    font-size: 2.0rem;
    color: #00ff87;
    line-height: 0.9;
    letter-spacing: -0.01em;
}
.hero-offer-spins-label {
    font-family: 'Russo One', sans-serif;
    font-size: 0.64rem;
    color: #00ff87;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.12rem;
}
.hero-offer-sub {
    font-size: 0.55rem;
    color: rgba(255,255,255,0.18);
    font-weight: 500;
    margin-top: 0.4rem;
    letter-spacing: 0.04em;
    text-align: center;
}
@media (min-width: 1024px) {
    .hero-offer-sub { text-align: left; }
}

/* ============================================================
   ZONE 3 — Register button only (bottom anchor)
   ============================================================ */
.hero-zone-bot {
    display: flex;
    flex-direction: column;
}

/* ============================================================
   JOURNEY PATH
   ============================================================ */
.hero-path {
    display: flex;
    align-items: flex-start;
    margin-top: 1.4rem;
    gap: 0;
}
.hero-path-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    flex: 0 0 auto;
}
.hero-path-node {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.4);
    background: transparent;
    flex-shrink: 0;
}
.hero-path-step--cta .hero-path-node {
    border-color: #00ff87;
    background: #00ff87;
    box-shadow: 0 0 8px rgba(0,255,135,0.8);
}
.hero-path-label {
    font-size: 0.6rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.35;
    white-space: nowrap;
}
.hero-path-step--cta .hero-path-label {
    color: #00ff87;
    font-size: 0.65rem;
}
.hero-path-line {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.2);
    margin-top: 4px;
    min-width: 8px;
    align-self: flex-start;
}
.hero-btn-primary {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1rem;
    border-radius: 0.7rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    background: #00ff87;
    color: #000;
    text-decoration: none;
    box-shadow: none;
    transition: transform 0.15s ease;
    position: relative;
    overflow: hidden;
}
.hero-btn-primary::after {
    content: '';
    position: absolute;
    top: -50%; left: -60%;
    width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: hero-btn-shine 3.5s ease-in-out infinite;
}
.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: none;
}
.hero-btn-primary:active { transform: scale(0.97); }


/* ============================================================
   SEPARATOR — hidden div
   ============================================================ */
.hero-separator { display: none; }

/* ============================================================
   RIGHT — SLIDER & SEPARATOR LINE (BANNER ÜSTTE)
   ============================================================ */
.hero-slider-area {
    position: relative;
    width: 100%;
    overflow: visible;
    z-index: 20; /* Banner panelin üzerinde dursun */
}

@media (min-width: 1024px) {
    .hero-slider-area {
        flex: 1;
    }
}

/* NEON SEPARATÖR LİNE (Banner ile aynı köşe kıvrımlarına sahip) */
.hero-slider-area::after {
    content: '';
    position: absolute;
    z-index: 25;
    pointer-events: none;
    
    inset: -2px; 
    border-radius: 0 0 1.5rem 1.5rem; 
    border: 2px solid rgba(0, 255, 135, 0.6); 
    
    -webkit-mask-image: linear-gradient(to top, black 0%, black 2%, transparent 35%);
    mask-image: linear-gradient(to top, black 0%, black 2%, transparent 35%);
}

@media (min-width: 1024px) {
    .hero-slider-area::after {
        inset: -2px;
        border-radius: 1.5rem 0 0 1.5rem; 
        border: 2px solid rgba(0, 255, 135, 0.6);
        
        -webkit-mask-image: linear-gradient(to right, black 0%, black 2%, transparent 55%);
        mask-image: linear-gradient(to right, black 0%, black 2%, transparent 55%);
    }
}

.hero-slider-link {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-slider-wrapper {
    width: 100%;
    position: relative;
    aspect-ratio: 800 / 450;
    overflow: hidden; 
    
    /* MOBİLDE: Banner'ın alt kısımları yuvarlak, altına panel giriyor */
    border-radius: 0 0 1.5rem 1.5rem; 
    
    /* Altına giren panelle ayrışsın diye banner'ın altına hafif bir gölge */
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

@media (min-width: 1024px) {
    .hero-slider-wrapper {
        aspect-ratio: auto;
        height: 450px;
        /* DESKTOPTA: Banner'ın sol kısımları yuvarlak, altına panel giriyor */
        border-radius: 1.5rem; 
        box-shadow: -10px 0 30px rgba(0,0,0,0.6);
    }
}

/* Track */
#hero-track {
    display: flex;
    height: 100%;
    width: 100%;
    will-change: transform;
    backface-visibility: hidden;
}
#hero-track > div {
    min-width: 100%;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}
#hero-track > div > a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

#hero-track > div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #171a27;
}

/* --- DOTS (inside banner) --- */
.hero-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 20;
}
.hero-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    padding: 0;
}
.hero-dot.active {
    background: #00ff87;
    box-shadow: 0 0 6px rgba(0,255,135,0.5);
    transform: scale(1.25);
}

/* --- NAV ARROWS (bottom-right, side by side) --- */
.hero-nav-arrows {
    position: absolute;
    bottom: 10px;
    right: 12px;
    z-index: 20;
    display: flex;
    gap: 6px;
}
.hero-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}
.hero-arrow:hover {
    color: black;
    border-color: #00ff87;
    background: #00ff87;
}
.hero-arrow:active { transform: scale(0.9); }

/* ============================================================
   GLITCH EFFECT
   ============================================================ */
@keyframes glitch-anim-1 {
  0%   { clip-path: inset(20% 0 80% 0); transform: translate(-2px,  1px); }
  20%  { clip-path: inset(60% 0 10% 0); transform: translate( 2px, -1px); }
  40%  { clip-path: inset(40% 0 50% 0); transform: translate(-2px,  2px); }
  60%  { clip-path: inset(80% 0  5% 0); transform: translate( 2px, -2px); }
  80%  { clip-path: inset(10% 0 70% 0); transform: translate(-1px,  1px); }
  100% { clip-path: inset(30% 0 20% 0); transform: translate( 1px, -1px); }
}
.glitch-effect { position: relative; display: inline-block; }
.glitch-effect::before,
.glitch-effect::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #171a27;
}
.glitch-effect::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}
.glitch-effect::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}
.glitch-effect:not(.glitching)::before,
.glitch-effect:not(.glitching)::after { display: none; }
.glitching {
    animation: glitch-anim-1 0.3s both infinite;
    color: transparent !important;
    text-shadow: 2px 0 #ff00c1, -2px 0 #00fff9;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes hero-ping {
    0%       { transform: scale(1);   opacity: 0.75; }
    75%, 100%{ transform: scale(2.5); opacity: 0;    }
}
@keyframes hero-btn-shine {
    0%       { transform: translateX(-100%) rotate(45deg); }
    30%, 100%{ transform: translateX( 100%) rotate(45deg); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-btn-primary::after { animation: none; }
    .hero-trust-live::before { animation: none; }
    .hero-stat-pulse { animation: none; }
    .fade-text { transition: none; }
}
