/* ================================
   CSS VARIABLES
   ================================ */
:root {
    /* Brand Colors - Red Luxury Theme */
    --primary-red: #E50914;          /* KitKat Red */
    --crimson-red: #B00020;          /* Crimson */
    --deep-red: #5A0008;
    --royal-gold: #D4AF37;           /* Accent */
    --royal-gold-light: #FFD56A;
    --bg-dark: #07070A;
    --bg-section: #0E0E14;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255,255,255,0.72);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-red), var(--crimson-red));
    --gradient-accent: linear-gradient(135deg, var(--royal-gold-light), var(--royal-gold), #A67C00);
    --gradient-hero: radial-gradient(1200px 700px at 20% 10%, rgba(229,9,20,0.55), transparent 55%),
                      radial-gradient(900px 600px at 80% 30%, rgba(176,0,32,0.45), transparent 60%),
                      radial-gradient(800px 600px at 50% 90%, rgba(212,175,55,0.22), transparent 65%);

    /* Shadows / Glow */
    --shadow-soft: 0 10px 35px rgba(0,0,0,0.35);
    --shadow-glow: 0 0 40px rgba(229,9,20,0.25);

    /* Layout */
    --radius-lg: 18px;
    --radius-md: 14px;

    /* Z-index */
    --z-nav: 1000;
}

/* ================================
   BASE STYLES
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    padding-top: 70px;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--royal-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--crimson-red);
}

/* ================================
   ANIMATIONS
   ================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

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

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(198, 167, 94, 0.3); }
    50% { box-shadow: 0 0 30px rgba(198, 167, 94, 0.5); }
}

@keyframes partnerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes ssScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Animation Classes */
.animate-fade-in { animation: fadeInUp 0.8s ease forwards; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse-glow { animation: pulseGlow 2s ease-in-out infinite; }

/* ================================
   GLASSMORPHISM
   ================================ */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(229, 9, 20, 0.25);
    border-radius: var(--radius-md);
}

.glass-card:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border-color: rgba(198, 167, 94, 0.4);
    box-shadow: 0 8px 32px rgba(229, 9, 20, 0.18);
}

/* ================================
   NAVBAR
   ================================ */
.navbar {
    height: 70px;
    background: var(--bg-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    border-bottom: 1px solid rgba(229, 9, 20, 0.25);
    position: fixed;
    width: 100%;
    z-index: var(--z-nav);
    top: 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(11, 15, 20, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 70px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--royal-gold);
    white-space: nowrap;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition-normal);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--royal-gold);
    transition: var(--transition-normal);
}

.nav-menu a:hover {
    color: var(--royal-gold);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Navbar Right Section */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--royal-gold);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ================================
   BUTTONS
   ================================ */
.login-btn {
    background: var(--royal-gold);
    border: none;
    color: var(--bg-dark);
    padding: 12px 28px;
    cursor: pointer;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:hover {
    transform: scale(1.05) translateY(-2px);
    background: var(--crimson-red);
    box-shadow: var(--shadow-gold);
}

.primary-btn {
    background: var(--royal-gold);
    border: none;
    padding: 15px 35px;
    color: var(--bg-dark);
    font-weight: bold;
    cursor: pointer;
    margin-right: 15px;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.primary-btn:hover {
    transform: translateY(-3px);
    background: var(--crimson-red);
    box-shadow: var(--shadow-gold);
}

.secondary-btn {
    background: transparent;
    border: 2px solid var(--royal-gold);
    color: var(--royal-gold);
    padding: 13px 33px;
    cursor: pointer;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    white-space: nowrap;
}

.secondary-btn:hover {
    background: var(--royal-gold);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../assets/images/hbg.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0.7;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 15, 20, 0.9) 0%, rgba(11, 15, 20, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
}

.hero h1 {
    font-size: 60px;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 700;
}

.hero h1 span {
    color: var(--royal-gold);
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-secondary);
    opacity: 1;
}

.hero-buttons {
    margin-top: 30px;
    margin-bottom: 50px;
    opacity: 1;
}

.hero-videos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
    .hero p {
        animation: fadeInUp 1s ease 0.2s both;
        opacity: 0;
    }

    .hero-buttons {
        animation: fadeInUp 1s ease 0.4s both;
        opacity: 0;
    }

    .hero-videos {
        animation: fadeInUp 1s ease 0.6s both;
        opacity: 0;
    }
}

/* Video Cards */
.video-card {
    overflow: hidden;
    border-radius: 15px;
    position: relative;
    transition: all 0.4s ease;
    border: 2px solid rgba(198, 167, 94, 0.3);
    background: var(--bg-section);
}

.video-card video,
.video-card iframe {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.video-card.small {
    width: 250px;
    height: 160px;
}

.video-card.large {
    width: 320px;
    height: 200px;
    transform: scale(1.1);
}

.video-card:hover {
    transform: scale(1.05);
    border-color: var(--royal-gold);
    box-shadow: var(--shadow-gold);
}

.video-card.small:hover {
    transform: scale(1.1);
}

.video-card.large:hover {
    transform: scale(1.15);
}

/* ================================
   SECTION TITLES
   ================================ */
.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    letter-spacing: 2px;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--royal-gold);
    border-radius: 2px;
}

/* ================================
   PARTNER/WINNER BANNER
   ================================ */
.winner-banner {
    background: var(--bg-section);
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.winner-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--royal-gold), transparent);
}

.partner-scroll-track {
    display: flex;
    width: 200%;
    animation: partnerScroll 20s linear infinite;
}

.partner-scroll-track:hover {
    animation-play-state: paused;
}

/* Partner Card */
.partner-card {
    flex: 0 0 250px;
    width: 250px;
    margin: 0 15px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 160px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--gradient-card);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(229, 9, 20, 0.25);
    text-decoration: none;
    box-sizing: border-box;
}

.partner-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--royal-gold);
    box-shadow: var(--shadow-gold);
}

.partner-card .card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.5s ease;
}

.partner-card:hover .card-bg {
    transform: scale(1.15);
    filter: brightness(1.2);
}

.partner-card .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 15, 20, 0.9), rgba(18, 24, 33, 0.3));
}

.partner-card .card-content {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    color: var(--text-primary);
    z-index: 2;
}

.partner-card .card-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--royal-gold);
    transition: all 0.3s ease;
}

.partner-card:hover .card-content h3 {
    color: var(--crimson-red);
}

.partner-card .card-content button {
    width: 100%;
    padding: 12px;
    background: rgba(229, 9, 20, 0.25);
    border: 1px solid rgba(198, 167, 94, 0.5);
    color: var(--text-primary);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 600;
}

.partner-card .card-content button:hover {
    background: var(--royal-gold);
    border-color: var(--royal-gold);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* ================================
   LIVE SPORTS
   ================================ */
.live-sports {
    padding: 80px 5%;
    background: var(--bg-section);
    position: relative;
}

.live-sports::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--royal-gold), transparent);
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Sport Card */
.sport-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 280px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--gradient-card);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(229, 9, 20, 0.25);
}

.sport-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--royal-gold);
    box-shadow: var(--shadow-gold);
}

.sport-card .card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.5s ease;
}

.sport-card:hover .card-bg {
    transform: scale(1.15);
    filter: brightness(1.2);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 15, 20, 0.9), rgba(18, 24, 33, 0.3));
}

.card-content {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    color: var(--text-primary);
    z-index: 2;
}

.card-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--royal-gold);
    transition: all 0.3s ease;
}

.sport-card:hover .card-content h3 {
    color: var(--crimson-red);
}

.card-content button {
    width: 100%;
    padding: 12px;
    background: rgba(229, 9, 20, 0.25);
    border: 1px solid rgba(198, 167, 94, 0.5);
    color: var(--text-primary);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 600;
}

.card-content button:hover {
    background: var(--royal-gold);
    border-color: var(--royal-gold);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--royal-gold);
    color: var(--bg-dark);
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 50px;
    font-weight: bold;
    z-index: 3;
}

/* ================================
   WELCOME BONUS
   ================================ */
.welcome-bonus {
    padding: 100px 5%;
    background: var(--bg-dark);
    position: relative;
}

.welcome-bonus::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--royal-gold), transparent);
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Bonus Card */
.bonus-card {
    position: relative;
    width: 280px;
    height: 160px;
    background: var(--bg-section);
    border: 1px solid rgba(229, 9, 20, 0.25);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.bonus-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(198, 167, 94, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    z-index: 1;
}

.bonus-card:hover::before {
    animation: shimmer 2s infinite;
}

.bonus-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.5s ease;
}

.bonus-card:hover .bonus-bg {
    transform: scale(1.1);
}

.bonus-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 15, 20, 0.9), rgba(18, 24, 33, 0.3));
    z-index: 1;
}

.bonus-content {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    color: var(--text-primary);
    z-index: 2;
}

.bonus-content h3 {
    font-size: clamp(18px, 2vw, 24px);
    margin-bottom: 10px;
    color: var(--royal-gold);
    transition: all 0.3s ease;
}

.bonus-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.bonus-content button {
    width: 100%;
    padding: 10px;
    background: rgba(229, 9, 20, 0.25);
    border: 1px solid rgba(198, 167, 94, 0.5);
    color: var(--text-primary);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.bonus-content button:hover {
    background: var(--royal-gold);
    border-color: var(--royal-gold);
    color: var(--bg-dark);
    box-shadow: var(--shadow-gold);
}

.bonus-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--royal-gold);
    box-shadow: var(--shadow-gold);
}

/* ================================
   FEATURES
   ================================ */
.features {
    padding: 80px 20px;
    background: var(--bg-section);
    text-align: center;
    position: relative;
}

.features h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    letter-spacing: 2px;
    color: var(--text-primary);
    position: relative;
    display: block;
    width: fit-content;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--royal-gold);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Feature */
.feature {
    background: var(--bg-dark);
    padding: 35px 25px;
    border-radius: 20px;
    border: 1px solid rgba(229, 9, 20, 0.18);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--royal-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature:hover::before {
    transform: scaleX(1);
}

.feature:hover {
    border-color: var(--royal-gold);
    box-shadow: var(--shadow-gold);
    transform: translateY(-5px);
}

.feature h3 {
    color: var(--royal-gold);
    margin-bottom: 15px;
    position: relative;
    font-weight: 600;
}

.feature p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ================================
   STATS
   ================================ */
.stats {
    display: flex;
    justify-content: space-around;
    padding: 80px 20px;
    background: var(--bg-dark);
    position: relative;
}

.stats::before,
.stats::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 50%;
    background: linear-gradient(to bottom, transparent, var(--royal-gold), transparent);
}

.stats::before {
    left: 30%;
}

.stats::after {
    right: 30%;
}

.stat {
    text-align: center;
    position: relative;
}

.stat h3 {
    color: var(--royal-gold);
    font-size: 40px;
    font-weight: 700;
}

.stat p {
    color: var(--text-secondary);
    margin-top: 10px;
    font-size: 14px;
    letter-spacing: 1px;
}

.counter::after {
    content: '+';
    margin-left: 5px;
    color: var(--royal-gold);
}

/* ================================
   TESTIMONIALS
   ================================ */
.testimonials {
    padding: 100px 5%;
    background: var(--bg-section);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 900px;
    margin: auto;
}

/* Testimonial Card */
.testimonial-card {
    background: var(--bg-dark);
    border: 1px solid rgba(229, 9, 20, 0.25);
    padding: 30px;
    border-radius: 18px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 80px;
    color: rgba(229, 9, 20, 0.18);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.testimonial-card h4 {
    color: var(--royal-gold);
    margin-bottom: 5px;
    font-weight: 600;
}

.testimonial-card span {
    font-size: 13px;
    color: var(--text-secondary);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--royal-gold);
    box-shadow: var(--shadow-gold);
}

/* ================================
   FAQ
   ================================ */
.faq-section {
    padding: 100px 5%;
    background: var(--bg-dark);
    position: relative;
}

.faq-container {
    max-width: 800px;
    margin: auto;
}

.faq-item {
    background: var(--bg-section);
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(229, 9, 20, 0.25);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--royal-gold);
    box-shadow: 0 0 20px rgba(198, 167, 94, 0.1);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(198, 167, 94, 0.1);
}

.faq-question span {
    font-size: 22px;
    color: var(--royal-gold);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    color: var(--text-secondary);
    font-size: 15px;
    transition: max-height 0.4s ease, padding 0.3s ease;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 15px 25px 25px;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

.faq-item.active {
    border-color: var(--royal-gold);
}

/* ================================
   PAYMENT METHODS
   ================================ */
.payment-methods {
    background: var(--bg-section);
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid rgba(229, 9, 20, 0.25);
    position: relative;
}

.payment-methods::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--royal-gold), transparent);
}

.payment-methods .payment-title {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
    width: 100%;
    text-align: center;
    left: 0;
    transform: none;
    margin-left: auto;
    margin-right: auto;
}

.payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.payment-icons img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
}

.payment-icons img:hover {
    opacity: 1;
    transform: scale(1.15) translateY(-5px);
    filter: drop-shadow(0 0 10px rgba(198, 167, 94, 0.5));
    background: rgba(198, 167, 94, 0.1);
}

/* ================================
   SS GALLERY
   ================================ */
.ss-gallery {
    background: var(--bg-section);
    padding: 50px 0;
    overflow: hidden;
    position: relative;
}

.ss-container {
    overflow: hidden;
}

.ss-track {
    display: flex;
    width: fit-content;
    animation: ssScroll 30s linear infinite;
}

.ss-track:hover {
    animation-play-state: paused;
}

.ss-item {
    flex: 0 0 20%;
    padding: 10px;
    box-sizing: border-box;
}

.ss-item img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.18);
    border: 1px solid rgba(229, 9, 20, 0.25);
    transition: all 0.4s ease;
}

.ss-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(198, 167, 94, 0.3);
    border-color: var(--royal-gold);
}

/* Mobile: 1 item visible for bigger images */
@media (max-width: 768px) {
    .ss-item {
        flex: 0 0 100%;
    }
}

/* ================================
   FOOTER
   ================================ */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--royal-gold);
    padding: 40px 20px 20px;
    margin-top: 60px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--royal-gold);
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left-box {
    grid-column: 1;
    justify-self: start;
    width: min(430px, 100%);
    border: 1px solid rgba(229, 9, 20, 0.42);
    border-radius: 18px;
    padding: 20px;
    background: linear-gradient(150deg, rgba(229, 9, 20, 0.16), rgba(12, 12, 13, 0.92));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.footer-brand-stack {
    grid-column: 2;
    justify-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 16px;
    width: auto;
}

.footer-links-top {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links-top a {
    text-decoration: none;
    color: var(--royal-gold);
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links-top a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--royal-gold);
    transition: width 0.3s ease;
}

.footer-links-top a:hover::after {
    width: 100%;
}

.footer-links-top a:hover {
    color: var(--crimson-red);
}

.footer-logo-center {
    display: flex;
    justify-content: center;
    margin: 0;
}

.footer-logo-center img {
    height: var(--footer-logo-size, 160px);
    width: auto;
    display: block;
}

.responsible {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
    opacity: 1;
    color: var(--text-secondary);
}

.footer-copyright {
    margin-top: 25px;
    text-align: center;
    font-size: 13px;
    opacity: 0.6;
    color: var(--text-secondary);
}

/* ================================
   TELEGRAM FLOAT
   ================================ */
.telegram-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 80px;
    height: 80px;
    z-index: 999;
    border-radius: 50%;
    background: var(--royal-gold);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-gold);
    animation: pulseGlow 2s infinite, float 3s ease-in-out infinite;
    transition: all 0.3s ease;
    padding: 0;
    border: none;
    cursor: pointer;
    text-decoration: none;
    overflow: visible;
}

.telegram-float::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: var(--royal-gold);
    opacity: 0.2;
    animation: pulseGlow 2s infinite;
    z-index: -1;
}

.telegram-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 50%;
}

.telegram-float:hover {
    transform: scale(1.15);
    background: var(--crimson-red);
}

/* ================================
   PRIVACY POLICY PAGE
   ================================ */
.policy-page {
    min-height: 100vh;
    padding: 120px 20px 60px;
    background: var(--bg-dark);
}

.policy-container {
    max-width: 900px;
    margin: auto;
    background: var(--bg-section);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(198, 167, 94, 0.1);
}

.policy-container h1 {
    font-size: 40px;
    margin-bottom: 10px;
    color: var(--royal-gold);
}

.policy-container h2 {
    margin-top: 35px;
    color: var(--text-primary);
}

.policy-container p,
.policy-container li {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 15px;
}

.policy-container ul {
    padding-left: 20px;
}

.updated {
    opacity: 0.7;
    margin-bottom: 30px;
}

.back-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--royal-gold);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.back-btn:hover {
    background: var(--crimson-red);
    transform: scale(1.05);
}

/* ================================
   CONTACT PAGE
   ================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(229, 9, 20, 0.25);
    padding: 25px;
    border-radius: 12px;
    transition: 0.3s;
}

.contact-card:hover {
    border-color: var(--royal-gold);
    box-shadow: var(--shadow-gold);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(198, 167, 94, 0.3);
    background: var(--bg-dark);
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--royal-gold);
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.25);
}

.contact-form button {
    padding: 15px;
    background: var(--royal-gold);
    color: var(--bg-dark);
    border: 1px solid var(--royal-gold);
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s;
}

.contact-form button:hover {
    background: var(--crimson-red);
    border-color: var(--crimson-red);
    box-shadow: var(--shadow-gold);
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 900px) {
    .hero {
        height: auto;
        padding: 120px 20px;
    }
    .hero-videos {
        flex-direction: column;
    }
    .video-card.small,
    .video-card.large {
        width: 90%;
        max-width: 400px;
        height: 200px;
        transform: none;
    }
    .hero h1 {
        font-size: 38px;
    }
    .partner-card {
        flex: 0 0 50%;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 15px;
    }
    .logo-text {
        font-size: 14px;
    }
    .logo img {
        height: 35px;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sports-grid {
        grid-template-columns: 1fr;
    }
    .bonus-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .stats {
        flex-direction: column;
        gap: 30px;
    }
    .stats::before,
    .stats::after {
        display: none;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .partner-card {
        flex: 0 0 50%;
        height: 200px;
    }
}

/* ================================
   LINK STYLES
   ================================ */
a.sport-card {
    text-decoration: none !important; 
}

a.bonus-card {
   text-decoration:none !important; 
}


/* ================================
   SWEET ANIMATIONS (NEW)
   ================================ */

/* Smooth animated background */
body {
    background: var(--bg-dark);
    background-image: var(--gradient-hero);
    background-attachment: fixed;
}

/* Animated hero glow */
.hero-bg::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: conic-gradient(from 90deg,
        rgba(229,9,20,0.0),
        rgba(229,9,20,0.35),
        rgba(212,175,55,0.18),
        rgba(176,0,32,0.35),
        rgba(229,9,20,0.0)
    );
    filter: blur(40px);
    opacity: 0.85;
    animation: spinGlow 10s linear infinite;
    pointer-events: none;
}

@keyframes spinGlow {
    to { transform: rotate(360deg); }
}

/* Scroll reveal (was missing) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(2px);
    transition: opacity 700ms ease, transform 700ms ease, filter 700ms ease;
    will-change: transform, opacity;
}
.animated {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Buttons: glossy + shimmer */
.primary-btn, .login-btn {
    background: var(--gradient-primary);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
}
.primary-btn::after, .login-btn::after {
    content:"";
    position:absolute;
    inset:-2px;
    background: linear-gradient(120deg,
        transparent 0%,
        rgba(255,255,255,0.18) 25%,
        transparent 50%,
        rgba(255,255,255,0.10) 75%,
        transparent 100%
    );
    transform: translateX(-120%);
    animation: shimmer 2.8s ease-in-out infinite;
    pointer-events:none;
    border-radius: inherit;
}
@keyframes shimmer {
    0% { transform: translateX(-120%); opacity: 0.0; }
    20% { opacity: 0.9; }
    50% { transform: translateX(120%); opacity: 0.0; }
    100% { transform: translateX(120%); opacity: 0.0; }
}

/* Cards: sweet hover */
.video-card, .sport-card, .bonus-card, .feature, .testimonial-card, .partner-card {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: transform 250ms ease, box-shadow 250ms ease, filter 250ms ease;
}
.video-card:hover, .sport-card:hover, .bonus-card:hover, .feature:hover, .testimonial-card:hover, .partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.45), 0 0 55px rgba(229,9,20,0.18);
    filter: saturate(1.05);
}

/* Navbar hover underline */
.nav-menu a {
    position: relative;
}
.nav-menu a::after {
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:0;
    height:2px;
    background: var(--gradient-accent);
    border-radius: 999px;
    transition: width 220ms ease;
}
.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
    width: 100%;
}

/* Logo subtle pulse */
.logo img {
    filter: drop-shadow(0 6px 16px rgba(229,9,20,0.22));
    animation: logoPulse 4s ease-in-out infinite;
}
@keyframes logoPulse {
    0%,100% { transform: translateY(0); filter: drop-shadow(0 6px 16px rgba(229,9,20,0.18)); }
    50% { transform: translateY(-2px); filter: drop-shadow(0 10px 22px rgba(229,9,20,0.30)); }
}

/* Reduce animations for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* =======================================
   PROFESSIONAL MARBLE THEME OVERRIDES
   ======================================= */
:root {
    --primary-red: #E50914;
    --crimson-red: #B00020;
    --deep-red: #650012;
    --royal-gold: #B00020;
    --royal-gold-light: #E50914;
    --bg-dark: #0f0f10;
    --bg-section: #161617;
    --text-primary: #f4f1ea;
    --text-secondary: rgba(244, 241, 234, 0.74);
    --transition-normal: all 0.28s ease;
    --shadow-gold: 0 12px 30px rgba(229, 9, 20, 0.28);
    --gradient-card: linear-gradient(155deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
    /* Header + logo size controls (edit these manually) */
    --header-height-desktop: 86px;
    --logo-size-desktop: var(--header-height-desktop);
    --header-height-mobile: 78px;
    --logo-size-mobile: var(--header-height-mobile);
    --header-height-small: 72px;
    --logo-size-small: var(--header-height-small);
    --footer-logo-size: 160px;
    /* Hero top logo controls */
    --hero-top-logo-size-desktop: calc(var(--footer-logo-size) + 90px);
    --hero-top-logo-size-mobile: calc(var(--footer-logo-size) + 40px);
    --hero-top-logo-size-small: var(--hero-top-logo-size-mobile);
    --hero-top-logo-offset-desktop: 18px;
    --hero-top-logo-offset-mobile: 12px;
    --hero-logo-grow-cut-desktop: 40px;
    --hero-logo-grow-cut-mobile: 40px;
    --hero-uniform-gap-desktop: 20px;
    --hero-uniform-gap-mobile: 20px;
    --hero-mid-to-videos-gap-desktop: 50px;
    --hero-mid-to-videos-gap-mobile: 50px;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text-primary);
    padding-top: var(--header-height-desktop);
    background-color: #020203;
    background-image:
        radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.05), transparent 34%),
        radial-gradient(circle at 84% 28%, rgba(130, 130, 130, 0.06), transparent 40%),
        radial-gradient(circle at 50% 86%, rgba(255, 255, 255, 0.03), transparent 48%),
        repeating-linear-gradient(
            120deg,
            rgba(255, 255, 255, 0.035) 0,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px,
            transparent 72px
        ),
        repeating-linear-gradient(
            32deg,
            rgba(255, 255, 255, 0.02) 0,
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px,
            transparent 96px
        ),
        linear-gradient(185deg, #010102 0%, #060607 46%, #020203 100%);
    background-blend-mode: screen, soft-light, soft-light, overlay, overlay, normal;
    background-size: auto, auto, auto, 260px 260px, 340px 340px, auto;
    background-attachment: fixed;
}

.hero,
.winner-banner,
.live-sports,
.welcome-bonus,
.features,
.ss-gallery,
.stats,
.testimonials,
.faq-section,
.payment-methods,
.footer {
    position: relative;
}

.hero::before,
.winner-banner::after,
.live-sports::after,
.welcome-bonus::after,
.features::after,
.ss-gallery::after,
.stats::after,
.testimonials::after,
.faq-section::after,
.payment-methods::after,
.footer::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(
            115deg,
            transparent 0,
            transparent 32px,
            rgba(245, 242, 236, 0.02) 34px,
            transparent 72px
        );
    opacity: 0.7;
}

.navbar {
    background: linear-gradient(180deg, rgba(22, 22, 23, 0.96), rgba(13, 13, 14, 0.94));
    border-bottom: 1px solid rgba(215, 182, 118, 0.32);
    backdrop-filter: blur(14px);
    height: var(--header-height-desktop);
}

.logo {
    height: 100%;
}

.nav-menu a {
    font-weight: 600;
    letter-spacing: 0.3px;
}

.nav-menu a::after {
    background: linear-gradient(135deg, var(--primary-red), var(--crimson-red));
}

.nav-menu a:hover,
.nav-menu a:active,
.nav-menu a:focus-visible {
    color: var(--primary-red);
}

.logo img {
    height: var(--logo-size-desktop);
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(215, 182, 118, 0.22));
}

@media (max-width: 768px) {
    body {
        padding-top: var(--header-height-mobile);
    }

    .navbar {
        height: var(--header-height-mobile);
        padding: 0 12px;
    }

    .logo img {
        height: var(--logo-size-mobile);
    }
}

@media (max-width: 480px) {
    body {
        padding-top: var(--header-height-small);
    }

    .navbar {
        height: var(--header-height-small);
    }

    .logo img {
        height: var(--logo-size-small);
    }
}

.login-btn,
.primary-btn,
.secondary-btn,
.partner-card .card-content button,
.card-content button,
.bonus-content button {
    font-family: 'Manrope', sans-serif;
    letter-spacing: 0.3px;
    font-weight: 700;
}

.login-btn,
.primary-btn {
    border: 1px solid rgba(229, 9, 20, 0.58);
    background: linear-gradient(135deg, #e50914, #b00020 52%, #730014 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24), 0 0 14px rgba(229, 9, 20, 0.25);
}

.login-btn:hover,
.primary-btn:hover,
.login-btn:active,
.primary-btn:active {
    background: linear-gradient(135deg, #ff1f2b, #e50914 48%, #b00020 100%);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(176, 0, 32, 0.34);
}

.hero h1,
.section-title,
.features h2,
.payment-methods .payment-title {
    font-family: 'Cinzel', serif;
    letter-spacing: 1.5px;
}

.hero h1 {
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
}

.hero p {
    color: rgba(244, 241, 234, 0.86);
}

.hero::after {
    background: linear-gradient(
        180deg,
        rgba(9, 10, 12, 0.9) 0%,
        rgba(14, 15, 17, 0.68) 38%,
        rgba(14, 15, 17, 0.92) 100%
    );
}

.hero-top-logo {
    position: absolute;
    top: var(--hero-top-logo-offset-desktop);
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    pointer-events: none;
}

.hero-top-logo img {
    height: var(--hero-top-logo-size-desktop);
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45));
}

@media (max-width: 768px) {
    .hero-top-logo {
        top: var(--hero-top-logo-offset-mobile);
    }

    .hero-top-logo img {
        height: var(--hero-top-logo-size-mobile);
    }
}

@media (max-width: 480px) {
    .hero-top-logo img {
        height: var(--hero-top-logo-size-small);
    }
}

.video-card,
.partner-card,
.sport-card,
.bonus-card,
.feature,
.testimonial-card,
.faq-item,
.policy-container,
.contact-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.012));
    border: 1px solid rgba(214, 181, 118, 0.22);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
}

.video-card:hover,
.partner-card:hover,
.sport-card:hover,
.bonus-card:hover,
.feature:hover,
.testimonial-card:hover,
.faq-item:hover,
.contact-card:hover {
    border-color: rgba(229, 9, 20, 0.7);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.4), 0 8px 26px rgba(176, 0, 32, 0.25);
}

.partner-card .card-content button,
.card-content button,
.bonus-content button {
    border: 1px solid rgba(229, 9, 20, 0.58);
    background: linear-gradient(135deg, #e50914, #b00020 54%, #730014 100%);
    color: #ffffff;
}

.partner-card .card-content button:hover,
.card-content button:hover,
.bonus-content button:hover,
.partner-card .card-content button:active,
.card-content button:active,
.bonus-content button:active {
    background: linear-gradient(135deg, #ff1f2b, #e50914 50%, #b00020 100%);
    border-color: rgba(255, 46, 61, 0.85);
    color: #ffffff;
}

.partner-card .card-overlay,
.card-overlay,
.bonus-overlay {
    background: linear-gradient(to top, rgba(12, 12, 13, 0.94), rgba(12, 12, 13, 0.25));
}

.badge {
    background: linear-gradient(135deg, #f1d5a0, #cda76b);
    color: #2a1d12;
    border: 1px solid rgba(130, 91, 34, 0.35);
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.28);
}

.card-content h3,
.partner-card .card-content h3,
.bonus-content h3,
.feature h3,
.stat h3,
.testimonial-card h4,
.footer-links-top a,
.faq-question span {
    color: var(--royal-gold-light);
}

.stat p,
.testimonial-card p,
.faq-answer,
.responsible,
.footer-copyright,
.feature p,
.bonus-content p {
    color: var(--text-secondary);
}

.ss-item img {
    border: 1px solid rgba(214, 181, 118, 0.28);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.34);
}

.payment-icons img {
    filter: brightness(0) saturate(100%) invert(93%) sepia(17%) saturate(212%) hue-rotate(345deg) brightness(94%) contrast(88%);
    opacity: 0.84;
}

.payment-icons img:hover {
    opacity: 1;
    background: rgba(229, 9, 20, 0.14);
    border: 1px solid rgba(229, 9, 20, 0.35);
}

.footer {
    border-top: 1px solid rgba(215, 182, 118, 0.36);
    background: linear-gradient(180deg, rgba(15, 15, 16, 0.95), rgba(8, 8, 9, 0.95));
}

.telegram-float {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, #e9ce9b, #cda569 55%, #b48643);
    border: 1px solid rgba(255, 235, 197, 0.5);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.36), 0 0 18px rgba(215, 182, 118, 0.28);
}

.telegram-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 50%;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .telegram-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .telegram-float::before {
        inset: -3px;
    }

    .telegram-float img {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 480px) {
    .telegram-float {
        width: 45px;
        height: 45px;
        bottom: 12px;
        right: 12px;
    }

    .telegram-float img {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 768px) {
    .hero h1,
    .section-title,
    .features h2 {
        letter-spacing: 0.8px;
    }

    .video-card,
    .sport-card,
    .bonus-card,
    .feature,
    .testimonial-card,
    .faq-item {
        border-radius: 16px;
    }

    .nav-menu {
        background: linear-gradient(180deg, rgba(19, 19, 20, 0.98), rgba(13, 13, 14, 0.98));
        border-bottom: 1px solid rgba(229, 9, 20, 0.35);
    }
}


/* =======================================
   MARQUEE FIXES (OUR + GALLERY)
   ======================================= */
.partner-scroll-container,
.ss-container {
    overflow: hidden;
    width: 100%;
}

.partner-scroll-track,
.ss-track {
    display: flex;
    width: max-content;
    animation: none !important;
    will-change: transform;
}

.partner-card,
.ss-item {
    flex-shrink: 0;
}

/* Gallery hard-fix: explicit item width for stable marquee math */
#ssTrack .ss-item,
#ssTrackBonus .ss-item {
    flex: 0 0 260px !important;
    width: 260px !important;
}

@media (max-width: 768px) {
    #ssTrack .ss-item,
    #ssTrackBonus .ss-item {
        flex: 0 0 72vw !important;
        width: 72vw !important;
    }
}

/* Manual slider buttons (desktop + mobile) */
.winner-banner,
.ss-gallery {
    position: relative;
}

.slider-controls {
    position: absolute;
    inset: 50% 10px auto 10px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 20;
}

.slider-btn {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(229, 9, 20, 0.62);
    background: linear-gradient(135deg, rgba(27, 27, 29, 0.88), rgba(14, 14, 15, 0.92));
    color: var(--primary-red);
    font-size: 24px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.slider-btn:hover {
    transform: scale(1.08);
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.34), rgba(176, 0, 32, 0.3));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4), 0 0 14px rgba(229, 9, 20, 0.3);
}

.slider-btn:active {
    transform: scale(0.96);
}

@media (max-width: 768px) {
    .slider-controls {
        inset: 50% 6px auto 6px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
}

/* Home page separate-box layout */
.home-box {
    max-width: 1200px;
    margin: 22px auto 34px;
    padding: 0 10px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.home-box > section:not(.hero) {
    margin: 0 0 18px;
    border: 1px solid rgba(214, 181, 118, 0.24);
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.012)) !important;
}

.home-box > section:last-child {
    margin-bottom: 0;
}

.home-box > .hero {
    margin: 0 0 18px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    background: transparent !important;
}

@media (max-width: 1024px) {
    .home-box {
        margin: 14px auto 24px;
        padding: 0 8px;
    }

    .home-box > section:not(.hero) {
        border-radius: 16px;
        margin-bottom: 14px;
    }

    .home-box > .hero {
        margin-bottom: 14px;
    }
}

/* Hero redesign */
.home-box > .hero {
    min-height: 86vh;
    height: auto;
    border-radius: 24px;
    border: 1px solid rgba(214, 181, 118, 0.22);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
    background: #0f0f10 !important;
    isolation: isolate;
}

.home-box > .hero .hero-bg {
    animation: heroImageDrift 20s ease-in-out infinite alternate, heroImagePulse 8.5s ease-in-out infinite;
    will-change: transform, background-position, filter;
}

.home-box > .hero .hero-bg::before {
    opacity: 0.72;
    mix-blend-mode: screen;
    animation: spinGlow 10s linear infinite, heroAuraPulse 6.2s ease-in-out infinite;
}

.home-box > .hero .hero-bg::after {
    content: "";
    position: absolute;
    inset: -15%;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 24%, rgba(229, 9, 20, 0.22), transparent 42%),
        radial-gradient(circle at 78% 64%, rgba(176, 0, 32, 0.2), transparent 44%),
        radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.08), transparent 40%);
    filter: blur(26px);
    opacity: 0.65;
    mix-blend-mode: screen;
    animation: heroGlowShift 12s ease-in-out infinite alternate, heroGlowPulse 7.5s ease-in-out infinite;
}

.home-box > .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 15%, rgba(238, 215, 166, 0.24), transparent 42%),
        radial-gradient(circle at 84% 28%, rgba(181, 22, 36, 0.28), transparent 44%),
        repeating-linear-gradient(
            115deg,
            rgba(255, 255, 255, 0.03) 0,
            rgba(255, 255, 255, 0.03) 1px,
            transparent 1px,
            transparent 70px
        );
    animation: heroTextureDrift 16s linear infinite;
}

.home-box > .hero::after {
    background: linear-gradient(180deg, rgba(8, 9, 10, 0.56) 0%, rgba(8, 9, 10, 0.83) 100%);
    animation: heroOverlayBreath 9s ease-in-out infinite;
}

@keyframes heroImageDrift {
    0% {
        transform: scale(1.04) translate3d(0, 0, 0);
        background-position: 50% 50%;
    }
    50% {
        transform: scale(1.1) translate3d(-1.5%, -1%, 0);
        background-position: 52% 48%;
    }
    100% {
        transform: scale(1.07) translate3d(1.5%, 1%, 0);
        background-position: 48% 52%;
    }
}

@keyframes heroGlowShift {
    0% {
        transform: translate3d(-2%, -2%, 0) scale(1);
        opacity: 0.48;
    }
    50% {
        transform: translate3d(2%, 1%, 0) scale(1.08);
        opacity: 0.7;
    }
    100% {
        transform: translate3d(-1%, 2%, 0) scale(1.03);
        opacity: 0.56;
    }
}

@keyframes heroImagePulse {
    0%, 100% {
        filter: saturate(1) brightness(0.98) contrast(1);
    }
    50% {
        filter: saturate(1.12) brightness(1.04) contrast(1.05);
    }
}

@keyframes heroAuraPulse {
    0%, 100% {
        opacity: 0.56;
        transform: scale(1);
    }
    50% {
        opacity: 0.82;
        transform: scale(1.06);
    }
}

@keyframes heroGlowPulse {
    0%, 100% {
        filter: blur(24px);
    }
    50% {
        filter: blur(34px);
    }
}

@keyframes heroTextureDrift {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 0 0, 0 0, 130px 78px;
    }
}

@keyframes heroOverlayBreath {
    0%, 100% {
        opacity: 0.96;
    }
    50% {
        opacity: 0.84;
    }
}

.home-box > .hero .hero-content {
    width: min(1100px, 92%);
    margin: 0 auto;
    padding: calc(var(--hero-top-logo-offset-desktop) + var(--hero-top-logo-size-desktop) + var(--hero-uniform-gap-desktop) - var(--hero-logo-grow-cut-desktop)) 0 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--hero-mid-to-videos-gap-desktop);
}

.home-box > .hero .hero-mid-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--hero-uniform-gap-desktop);
    margin-bottom: 0;
}

.home-box > .hero h1 {
    font-size: clamp(34px, 6vw, 64px);
    line-height: 1.05;
    margin-bottom: 0;
    letter-spacing: 1.2px;
}

.home-box > .hero p {
    max-width: 720px;
    margin: 0 auto;
    font-size: clamp(15px, 1.8vw, 20px);
}

.home-box > .hero .hero-buttons {
    margin: 0;
}

.home-box > .hero .hero-videos {
    width: 100%;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    gap: var(--hero-uniform-gap-desktop);
}

.home-box > .hero .video-card.small {
    width: 28%;
    min-width: 220px;
    height: 180px;
}

.home-box > .hero .video-card.large {
    width: 38%;
    min-width: 300px;
    height: 220px;
    transform: none;
}

@media (max-width: 900px) {
    .home-box > .hero {
        min-height: auto;
    }

    .home-box > .hero .hero-content {
        padding: calc(var(--hero-top-logo-offset-mobile) + var(--hero-top-logo-size-mobile) + var(--hero-uniform-gap-mobile) - var(--hero-logo-grow-cut-mobile)) 0 44px;
        gap: var(--hero-mid-to-videos-gap-mobile);
    }

    .home-box > .hero .hero-mid-content {
        gap: var(--hero-uniform-gap-mobile);
        margin-bottom: 0;
    }

    .home-box > .hero .hero-videos {
        flex-direction: column;
        align-items: center;
        gap: var(--hero-uniform-gap-mobile);
    }

    .home-box > .hero .video-card.small,
    .home-box > .hero .video-card.large {
        width: min(92%, 480px);
        min-width: 0;
        height: 190px;
    }
}

/* Remove separate boxed homepage layout on desktop only */
@media (min-width: 1025px) {
    .home-box {
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .home-box > section:not(.hero) {
        margin: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent !important;
    }

    .home-box > .hero {
        min-height: 100vh;
        margin: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent !important;
    }
}

/* =======================================
   FINAL UI TWEAKS
   ======================================= */
.home-box > .hero h1 span {
    color: #e50914 !important;
    -webkit-text-fill-color: #e50914;
    -webkit-text-stroke: 1.8px #ffffff;
    background: none !important;
    font-weight: 800;
    text-shadow:
        0 0 2px rgba(255, 255, 255, 0.95),
        0 4px 14px rgba(0, 0, 0, 0.35);
}

.navbar .login-btn {
    background: linear-gradient(135deg, #ffe7a8, #ffd56a 52%, #f0be57 100%) !important;
    border: 1px solid rgba(255, 223, 140, 0.82) !important;
    color: #7a0016 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24), 0 0 14px rgba(255, 213, 106, 0.35);
    animation: headerJoinBlink 0.65s linear infinite !important;
}

.navbar .login-btn:hover,
.navbar .login-btn:active,
.navbar .login-btn:focus-visible {
    background: linear-gradient(135deg, #fff0bf, #ffe07f 50%, #f6c85f 100%) !important;
    border-color: rgba(255, 232, 160, 0.95) !important;
    color: #7a0016 !important;
    box-shadow: 0 0 24px rgba(255, 214, 112, 0.58), 0 10px 24px rgba(176, 0, 32, 0.22);
}

@keyframes headerJoinBlink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        filter: brightness(1) saturate(1);
        box-shadow: 0 8px 18px rgba(255, 213, 106, 0.34);
    }
    25%, 75% {
        opacity: 0.52;
        transform: scale(1.02);
        filter: brightness(1.35) saturate(1.2);
        box-shadow: 0 0 24px rgba(255, 223, 140, 0.72), 0 10px 24px rgba(176, 0, 32, 0.24);
    }
    50% {
        opacity: 1;
        transform: scale(1);
        filter: brightness(1.05) saturate(1.1);
        box-shadow: 0 8px 18px rgba(255, 213, 106, 0.4);
    }
}

.footer .footer-links-top a {
    color: #e50914 !important;
    transition: color 0.28s ease, transform 0.28s ease, text-shadow 0.28s ease;
    animation: footerLinksPulse 2s ease-in-out infinite !important;
    -webkit-tap-highlight-color: transparent;
}

.footer .footer-links-top a::after {
    background: #e50914 !important;
}

.footer .footer-links-top a:nth-child(2) {
    animation-delay: 0.15s;
}

.footer .footer-links-top a:nth-child(3) {
    animation-delay: 0.3s;
}

.footer .footer-links-top a:nth-child(4) {
    animation-delay: 0.45s;
}

.footer .footer-links-top a:hover {
    color: #ff2b36 !important;
    text-shadow: 0 0 10px rgba(229, 9, 20, 0.42);
    transform: translateY(-2px);
}

.footer .footer-links-top a:active,
.footer .footer-links-top a:focus-visible,
.footer .footer-links-top a.touch-gold {
    color: #d4af37 !important;
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.55);
}

.footer .footer-links-top a:active::after,
.footer .footer-links-top a:focus-visible::after,
.footer .footer-links-top a.touch-gold::after {
    background: #d4af37 !important;
}

@keyframes footerLinksPulse {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(-2px);
        opacity: 0.82;
    }
}

/* Keep these section titles in royal gold */
.partner-card .card-content h3,
.sport-card .card-content h3,
.bonus-content h3 {
    color: #d4af37 !important;
}

/* Bonus section: keep 4 cards in one line on desktop */
@media (min-width: 1025px) {
    .welcome-bonus .bonus-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-width: 1280px;
        gap: 20px;
    }

    .welcome-bonus .bonus-card {
        width: 100%;
        max-width: none;
    }
}

/* Bonus card image framing fix for Refill + Referral */
.welcome-bonus .bonus-card-refill,
.welcome-bonus .bonus-card-referral {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.welcome-bonus .bonus-card-refill {
    background-image: url("../assets/icons/rif.png");
}

.welcome-bonus .bonus-card-referral {
    background-image: url("../assets/icons/ref.png");
}

.welcome-bonus .bonus-card-refill .bonus-bg,
.welcome-bonus .bonus-card-referral .bonus-bg {
    object-fit: contain !important;
    object-position: center center !important;
    transform: scale(1.01);
}

.welcome-bonus .bonus-card-refill:hover .bonus-bg,
.welcome-bonus .bonus-card-referral:hover .bonus-bg {
    transform: scale(1.07);
}

.welcome-bonus .bonus-card-refill .bonus-overlay,
.welcome-bonus .bonus-card-referral .bonus-overlay {
    background: linear-gradient(to top, rgba(11, 15, 20, 0.68), rgba(18, 24, 33, 0.12));
}

/* Bonus text: bold paragraph + keep text block at card bottom */
.welcome-bonus .bonus-content {
    top: 14px;
    bottom: 14px;
    left: 18px;
    right: 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
}

.welcome-bonus .bonus-content h3 {
    margin: 0;
    line-height: 1.1;
}

.welcome-bonus .bonus-content p {
    margin: 0;
    font-weight: 700;
    line-height: 1.25;
}

/* Animated + bold section titles */
.section-title,
.policy-container h1,
.policy-container h2 {
    font-weight: 800;
    animation: sectionTitlePulse 2.6s ease-in-out infinite;
}

.section-title::after {
    animation: sectionTitleUnderline 2.2s ease-in-out infinite;
    transform-origin: center;
}

@keyframes sectionTitlePulse {
    0%,
    100% {
        opacity: 1;
        text-shadow: 0 0 0 rgba(229, 9, 20, 0);
    }
    50% {
        opacity: 0.95;
        text-shadow: 0 0 14px rgba(229, 9, 20, 0.35);
    }
}

@keyframes sectionTitleUnderline {
    0%,
    100% {
        transform: translateX(-50%) scaleX(1);
    }
    50% {
        transform: translateX(-50%) scaleX(1.35);
    }
}

/* Stats section refresh: more cards + balanced layout */
.stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 70px 20px;
    align-items: stretch;
}

.stats::before,
.stats::after {
    display: none;
}

.stat {
    min-height: 136px;
    flex: 0 1 260px;
    min-width: 0;
    width: min(100%, 270px);
    max-width: 270px;
    margin: 0 auto;
    padding: 18px 12px;
    border-radius: 16px;
    border: 1px solid rgba(229, 9, 20, 0.26);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.012));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.stat h3 {
    margin: 0;
    line-height: 1;
    font-size: clamp(30px, 3vw, 42px);
}

.stat p {
    margin: 10px 0 0;
    font-weight: 700;
    letter-spacing: 0.8px;
}

@media (max-width: 1024px) {
    .stats {
        justify-content: center;
    }

    .stat {
        flex: 0 1 320px;
        width: min(100%, 320px);
        max-width: 320px;
    }
}

@media (max-width: 640px) {
    .stats {
        gap: 16px;
        padding: 40px 0;
    }

.stat {
        flex: 0 1 100%;
        min-width: 0;
        max-width: 320px;
    }
}

/* SEO content (placed below IPL BUMPER OFFERS) */
.seo-content {
    padding: 34px 20px 16px;
}

.seo-content .container {
    width: min(1100px, 94%);
    margin: 0 auto;
    padding: 26px 24px;
    border-radius: 18px;
    border: 1px solid rgba(229, 9, 20, 0.28);
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.seo-content h2 {
    margin: 0 0 10px;
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-primary);
}

.seo-content p {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.72;
    color: var(--text-secondary);
}

.seo-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .seo-content {
        padding: 26px 12px 8px;
    }

    .seo-content .container {
        padding: 18px 16px;
        border-radius: 14px;
    }

    .seo-content h2 {
        font-size: 20px;
    }

    .seo-content p {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* Keep the main hero title on one line */
.home-box > .hero h1.hero-title-single {
    white-space: nowrap;
    font-size: clamp(18px, 4.5vw, 64px);
    letter-spacing: 0.8px;
}
