/* ── Ambient Background ── */
.ambient-background {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse at 80% 0%, var(--primary) 0%, transparent 55%),
                radial-gradient(ellipse at 20% 100%, var(--accent) 0%, transparent 50%),
                var(--bg);
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.25;
}

.orb-1 {
    width: 600px; height: 600px;
    background: var(--primary);
    top: -200px; right: -150px;
}

.orb-2 {
    width: 500px; height: 500px;
    background: var(--accent);
    bottom: -180px; left: -120px;
}

.orb-3 {
    width: 400px; height: 400px;
    background: #ef4444;
    top: 40%; right: 30%;
    opacity: 0.18;
}

/* ── Utility ── */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-text { color: var(--primary); }

/* ── Hero ── */
.hero {
    position: relative;
    padding: 13rem 5% 8rem;
    text-align: center;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(245,158,11,0.12) 0%, transparent 70%),
        linear-gradient(180deg, transparent 50%, var(--bg) 100%);
    pointer-events: none;
}

/* particle dots */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle 1.5px at 20% 30%, var(--primary) 0, transparent 55%),
        radial-gradient(circle 1.5px at 80% 20%, var(--accent) 0, transparent 55%),
        radial-gradient(circle 1px at 50% 80%, #fff 0, transparent 55%),
        radial-gradient(circle 1.2px at 30% 70%, #ef4444 0, transparent 55%);
    pointer-events: none;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.6rem 1.6rem;
    background: rgba(245,158,11,0.12);
    border: 2px solid rgba(245,158,11,0.3);
    border-radius: 50px;
    color: var(--primary);
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 7vw, 6rem);
    margin-bottom: 1.75rem;
    line-height: 1.05;
    letter-spacing: -1px;
    color: var(--text);
    position: relative;
    z-index: 1;
    font-weight: 900;
}

.hero-text {
    position: relative;
    z-index: 1;
}

.hero-desc {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto 2.75rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    filter: drop-shadow(0 0 60px rgba(245,158,11,0.5));
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #0f172a;
    padding: 1rem 3rem;
    font-family: 'Roboto', sans-serif;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0.4px;
    border-radius: 16px;
    transition: var(--transition);
    display: inline-block;
    border: none;
    box-shadow: 0 0 40px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 20px 60px rgba(245,158,11,0.6);
}

.animate-pulse-btn {
    animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
    0%,100% { box-shadow: 0 0 35px var(--primary-glow); }
    50%      { box-shadow: 0 0 60px rgba(245,158,11,0.7); }
}

.btn-secondary {
    padding: 1rem 3rem;
    font-family: 'Roboto', sans-serif;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0.4px;
    border-radius: 16px;
    color: var(--text);
    background: transparent;
    border: 2px solid rgba(255,255,255,0.2);
    transition: var(--transition);
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(245,158,11,0.08);
    transform: translateY(-3px);
}

/* ── Stats Bar ── */
.stats-bar {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-surface) 100%);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 3.5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    border-radius: 18px;
    background: rgba(255,255,255,0.02);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.75rem;
    color: var(--primary);
    line-height: 1;
    text-shadow: 0 0 20px var(--primary-glow);
    font-weight: 900;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 1.2px;
    font-family: 'Roboto', sans-serif;
}

/* ── Feature Grid ── */
.game-features {
    padding: 7rem 0;
    background: var(--bg);
}

.section-header {
    text-align: center;
    margin-bottom: 4.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 1rem;
    letter-spacing: 1px;
    font-weight: 600;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.25rem;
}

.game-card.premium-hover {
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-surface) 100%);
    border: 2px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.game-card.premium-hover:hover {
    border-color: var(--border-bright);
    box-shadow: 0 25px 70px rgba(0,0,0,0.5);
    transform: translateY(-12px);
}

.game-card.premium-hover::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary), #ef4444);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.card-img-wrapper img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    filter: brightness(0.75);
}

.game-card:hover .card-img-wrapper img {
    transform: scale(1.15);
    filter: brightness(1);
}

.overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-card) 0%, transparent 60%);
}

.game-info { padding: 1.75rem; }

.game-info h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.6rem;
    font-size: 1.25rem;
    color: var(--text);
    letter-spacing: 0.4px;
    font-weight: 900;
}

.game-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.7;
}

.cyber-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.6rem 1.6rem;
    background: transparent;
    border: 2px solid var(--border-bright);
    border-radius: 12px;
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--primary);
    transition: var(--transition);
}

.cyber-btn svg { transition: transform 0.3s ease; width: 16px; height: 16px; }

.game-card:hover .cyber-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: transparent;
    color: #0f172a;
    box-shadow: 0 0 30px var(--primary-glow);
}

.game-card:hover .cyber-btn svg { transform: translateX(8px); }

/* ── News Section ── */
.dark-section {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-surface) 100%);
    padding: 7rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.news-grid.modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.25rem;
}

.news-card.glass-effect {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 2px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.news-card.glass-effect:hover {
    border-color: var(--border-bright);
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
    transform: translateY(-10px);
}

.news-img-container {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.news-img-container img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(0.75);
}

.news-card:hover .news-img-container img {
    transform: scale(1.12);
    filter: brightness(1);
}

.news-date-badge {
    position: absolute;
    top: 16px; right: 16px;
    background: rgba(30,41,59,0.95);
    padding: 0.4rem 1rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary);
    border: 2px solid var(--border-bright);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Roboto', sans-serif;
}

.news-content { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }

.news-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    letter-spacing: 0.4px;
    color: var(--text);
    font-weight: 900;
}

.news-content h3 a:hover { color: var(--primary); }

.news-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    flex: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1.5rem;
    color: var(--primary);
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 1px;
    transition: var(--transition);
}

.read-more::after { content: '→'; display: inline-block; transition: transform 0.3s ease; }
.read-more:hover::after { transform: translateX(8px); }

/* ── Why Us ── */
.why-us {
    padding: 7rem 0;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.why-features {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), #ef4444);
    border-radius: 2px;
}

.why-features {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.why-feature {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideIn 0.6s ease forwards;
}

.why-feature.right {
    justify-content: flex-end;
    transform: translateX(50px);
}

.why-feature:nth-child(1) { animation-delay: 0.1s; }
.why-feature:nth-child(2) { animation-delay: 0.2s; }
.why-feature:nth-child(3) { animation-delay: 0.3s; }
.why-feature:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feature-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-surface) 100%);
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 2rem;
    width: 45%;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.feature-card::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--bg-card);
    border: 2px solid rgba(245,158,11,0.3);
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.why-feature.left .feature-card::after {
    right: -12px;
    border-left: none;
    border-bottom: none;
}

.why-feature.right .feature-card::after {
    left: -12px;
    border-right: none;
    border-top: none;
}

.feature-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}

.feature-icon-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.feature-icon {
    font-size: 3rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(239,68,68,0.1));
    border-radius: 16px;
    border: 2px solid var(--border-bright);
}

.feature-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 900;
    opacity: 0.4;
}

.feature-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--text);
    letter-spacing: 0.4px;
    font-weight: 900;
}

.feature-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.why-center-cta {
    text-align: center;
    margin-top: 2rem;
}

.pulse-border {
    display: inline-block;
    position: relative;
    padding: 4px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary), #ef4444);
    animation: borderPulse 2s ease-in-out infinite;
}

@keyframes borderPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0.4); }
    50% { box-shadow: 0 0 0 15px rgba(245,158,11,0); }
}

/* ── CTA ── */
.cta-section {
    padding: 5.5rem 0;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-surface) 100%);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 3rem 3.5rem;
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-card) 100%);
    border: 2px solid rgba(245,158,11,0.25);
    border-radius: 24px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 40% 70% at 0% 50%, rgba(245,158,11,0.12), transparent);
    pointer-events: none;
}

.cta-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 0.75rem;
    letter-spacing: 0.4px;
    font-weight: 900;
}

.cta-text p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 460px;
}

.cta-actions {
    display: flex;
    gap: 1.25rem;
    flex-shrink: 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ── Featured Spotlight ── */
.featured-section {
    padding: 7rem 0;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-surface) 100%);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.25rem;
}

.featured-card {
    display: block;
    background: var(--bg-card);
    border: 2px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.featured-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(0,0,0,0.5);
}

.featured-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.featured-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.75);
    transition: transform 0.6s ease, filter 0.3s ease;
}

.featured-card:hover .featured-img img {
    transform: scale(1.12);
    filter: brightness(1);
}

.featured-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-card:hover .featured-overlay { opacity: 1; }

.play-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #0f172a;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    padding: 0.85rem 2rem;
    border-radius: 14px;
    font-weight: 900;
    box-shadow: 0 0 35px var(--primary-glow);
}

.hot-tag {
    position: absolute;
    top: 16px; left: 16px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    padding: 0.35rem 0.9rem;
    border-radius: 10px;
    font-weight: 900;
}

.featured-info {
    padding: 1.5rem;
}

.featured-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--text);
    letter-spacing: 0.4px;
    margin-bottom: 0.5rem;
    font-weight: 900;
}

.featured-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.7;
}

/* ── Tournaments ── */
.tournaments-section {
    padding: 7rem 0;
    background: var(--bg);
}

.live-dot {
    display: inline-block;
    width: 14px; height: 14px;
    background: #ef4444;
    border-radius: 50%;
    margin-right: 12px;
    box-shadow: 0 0 16px rgba(239,68,68,0.7);
    animation: livePulse 1.2s infinite;
    vertical-align: middle;
}

@keyframes livePulse {
    0%,100% { box-shadow: 0 0 10px rgba(239,68,68,0.7); }
    50%      { box-shadow: 0 0 28px rgba(239,68,68,1); }
}

.tournaments-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.tournament-item {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    padding: 2rem 2.5rem;
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-surface) 100%);
    border: 2px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    transition: var(--transition);
    flex-wrap: wrap;
}

.tournament-item:hover {
    border-color: var(--border-bright);
    box-shadow: 0 20px 55px rgba(0,0,0,0.45);
    transform: translateY(-5px);
}

.tournament-status {
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 1.8px;
    padding: 0.45rem 1.2rem;
    border-radius: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

.tournament-status.live {
    background: rgba(239,68,68,0.15);
    color: #ef4444;
    border: 2px solid rgba(239,68,68,0.4);
}

.tournament-status.upcoming {
    background: rgba(245,158,11,0.12);
    color: var(--primary);
    border: 2px solid var(--border-bright);
}

.tournament-info { flex: 1; min-width: 200px; }

.tournament-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--text);
    letter-spacing: 0.4px;
    margin-bottom: 0.4rem;
    font-weight: 900;
}

.tournament-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.tournament-prize {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.prize-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1.2px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

.prize-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--primary);
    text-shadow: 0 0 18px var(--primary-glow);
    font-weight: 900;
}

/* ── How to Play ── */
.how-to-play {
    padding: 7rem 0;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-surface) 100%);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: relative;
    overflow: hidden;
}

.how-to-play::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 30% 40% at 20% 0%, rgba(245,158,11,0.08) 0%, transparent 70%),
        radial-gradient(ellipse 30% 40% at 80% 100%, rgba(239,68,68,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.steps-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-path {
    position: absolute;
    left: 60px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary) 0%, #ef4444 100%);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    flex-shrink: 0;
    width: 124px;
    height: 124px;
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-card) 100%);
    border: 3px solid var(--border-bright);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    position: relative;
    box-shadow: 0 0 40px rgba(245,158,11,0.15);
    transition: var(--transition);
}

.timeline-marker::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary), #ef4444);
    border-radius: 50%;
    top: -10px;
    right: -10px;
    box-shadow: 0 0 20px var(--primary-glow);
}

.timeline-icon {
    font-size: 2.5rem;
}

.marker-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 900;
}

.timeline-content {
    flex: 1;
    background: var(--bg-card);
    border: 2px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 2rem 2.25rem;
    transition: var(--transition);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 12px solid var(--bg-card);
}

.timeline-item:hover .timeline-content {
    border-color: var(--border-bright);
    box-shadow: 0 20px 55px rgba(0,0,0,0.45);
    transform: translateY(-5px);
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.08);
    box-shadow: 0 0 60px rgba(245,158,11,0.35);
}

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--text);
    letter-spacing: 0.4px;
    margin-bottom: 0.75rem;
    font-weight: 900;
}

.timeline-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.steps-cta {
    text-align: center;
    margin-top: 4rem;
}

.steps-cta .cta-text {
    color: var(--primary);
    font-size: 1rem;
    margin-top: 1rem;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
}

/* ── Testimonials ── */
.testimonials-section {
    padding: 7rem 0;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto 4rem;
    overflow-x: hidden;
    padding: 0 1rem;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 40% 50% at 50% 0%, rgba(239,68,68,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.carousel-track {
    position: relative;
    min-height: 400px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.testimonial-card.featured {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-surface) 100%);
    border: 3px solid rgba(245,158,11,0.25);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

.testimonial-card.featured::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(245,158,11,0.1), transparent 50%);
    pointer-events: none;
}

.testimonial-quote-icon {
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--primary);
    opacity: 0.2;
    line-height: 0.5;
    position: absolute;
    top: 20px;
    left: 25px;
}

.testimonial-stars {
    color: var(--primary);
    font-size: 1.25rem;
    letter-spacing: 6px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-size: 1.25rem;
    color: var(--text);
    line-height: 1.9;
    font-style: italic;
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
}

.win-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), #ef4444);
    color: #0f172a;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 30px rgba(245,158,11,0.4);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-top: 2px solid rgba(255,255,255,0.08);
    padding-top: 2rem;
    position: relative;
    z-index: 1;
}

.author-avatar {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(239,68,68,0.1));
    border: 3px solid var(--border-bright);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
    font-weight: 900;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-info strong {
    font-size: 1.15rem;
    color: var(--text);
    font-weight: 900;
    font-family: 'Playfair Display', serif;
}

.author-info span {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.nav-btn {
    width: 56px;
    height: 56px;
    background: var(--bg-card);
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #0f172a;
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--primary-glow);
}

.carousel-dots {
    display: flex;
    gap: 0.75rem;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: linear-gradient(135deg, var(--primary), #ef4444);
    width: 36px;
    border-radius: 6px;
    box-shadow: 0 0 20px var(--primary-glow);
}

.testimonial-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
    overflow-x: hidden;
}

.testimonial-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-card);
    border: 2px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    transition: var(--transition);
}

.testimonial-stats .stat-item:hover {
    border-color: var(--border-bright);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.testimonial-stats .stat-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.testimonial-stats .stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-stats .stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: var(--primary);
    font-weight: 900;
}

.testimonial-stats .stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Prevent horizontal overflow */
html, body {
    overflow-x: hidden;
    width: 100%;
}

* {
    box-sizing: border-box;
}

/* General overflow protection */
section {
    overflow-x: hidden;
}

.container {
    overflow-x: hidden;
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-image img {
        max-height: 350px;
    }
}

@media (max-width: 768px) {
    .hero { padding: 9rem 5% 5.5rem; min-height: auto; }
    .hero h1 { font-size: 2.5rem; }
    .hero-desc { font-size: 1rem; }
    .hero-image img {
        max-height: 300px;
        width: 100%;
        border-radius: 20px;
    }
    .hero-actions { flex-direction: column; width: 100%; }
    .btn-primary, .btn-secondary { width: 100%; text-align: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .stat-item { padding: 1.25rem; }
    .grid-container, .news-grid.modern-grid { grid-template-columns: 1fr; gap: 1.75rem; }
    .game-features, .dark-section, .why-us { padding: 5rem 0; }
    .section-header { margin-bottom: 3.5rem; }
    .why-us::before { display: none; }
    .why-features {
        padding: 0 0.5rem;
    }
    .why-feature {
        flex-direction: column;
        margin-bottom: 2rem;
        opacity: 1;
        transform: none;
        animation: none;
    }
    .feature-card {
        width: 100%;
    }
    .feature-card::after { display: none; }
    
    /* Prevent overflow in all sections */
    section {
        overflow: hidden;
    }
    .cta-box { flex-direction: column; align-items: flex-start; padding: 2.5rem 2rem; }
    .cta-actions { width: 100%; }
    .cta-actions a { flex: 1; text-align: center; }
    .featured-section, .tournaments-section, .how-to-play, .testimonials-section {
        padding: 5rem 0;
    }
    .timeline-path { left: 50%; transform: translateX(-50%); }
    .testimonial-card.featured { padding: 2rem; }
    .testimonial-quote-icon { font-size: 3.5rem; }
    .testimonial-text { font-size: 1.1rem; }
    .testimonial-stats { grid-template-columns: 1fr; }
    .carousel-nav { gap: 1rem; }
    .nav-btn { width: 48px; height: 48px; }
    .timeline-item { flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; }
    .timeline-content::before { display: none; }
    .timeline-content::after {
        content: '';
        position: absolute;
        top: -12px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 12px solid transparent;
        border-right: 12px solid transparent;
        border-bottom: 12px solid var(--bg-card);
    }
    .timeline-marker { width: 100px; height: 100px; }
    .timeline-icon { font-size: 2rem; }
    .marker-number { font-size: 1rem; }
    .tournament-item { flex-direction: column; align-items: flex-start; gap: 1.5rem; padding: 1.75rem; }
    .tournament-item .btn-primary,
    .tournament-item .btn-secondary { width: 100%; text-align: center; }
}
