@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@500;700;800;900&display=swap');

:root {
    --bg-dark: #0A0A0A;
    --bg-card: rgba(20, 20, 25, 0.7);
    --bg-card-hover: rgba(30, 30, 40, 0.9);
    --primary: #25D366;
    --primary-hover: #1EBE55;
    --accent-purple: #8A2BE2;
    --accent-orange: #FF4500;
    --accent-red: #FF0000;
    --accent-gold: #FFD700;
    --text-main: #FFFFFF;
    --text-muted: #B3B3B3;

    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --neon-glow: 0 0 20px rgba(37, 211, 102, 0.5);
    --purple-glow: 0 0 30px rgba(138, 43, 226, 0.4);

    --font-head: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body.light-mode {
    --bg-dark: #F5F5F7;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F8F9FA;
    --text-main: #1D1D1F;
    --text-muted: #515154;
    --glass-border: rgba(0, 0, 0, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
}

body.light-mode .hero-overlay {
    background: linear-gradient(to right, rgba(245, 245, 247, 1) 0%, rgba(245, 245, 247, 0.7) 50%, rgba(245, 245, 247, 0.3) 100%) !important;
}

body.light-mode .header.scrolled {
    background: rgba(255, 255, 255, 0.9);
}

body.light-mode .mobile-nav {
    background: rgba(255, 255, 255, 0.95);
}

body.light-mode .footer {
    background: #EAEAEA;
}

body.light-mode select.form-control option {
    background: #FFF;
    color: #111;
}

body.light-mode .form-control {
    background: #FFF;
    color: #111;
    border-color: #DDD;
}

body.light-mode .poster-card {
    background: #EEE;
}

body.light-mode .ticker-item {
    color: var(--text-main);
}

body.light-mode .btn-secondary {
    color: var(--text-main);
    border-color: rgba(0, 0, 0, 0.2);
}

body.light-mode .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 15% 50%, rgba(138, 43, 226, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(255, 69, 0, 0.05), transparent 25%);
    z-index: -1;
    pointer-events: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography Utility */
.text-gradient {
    background: linear-gradient(90deg, var(--primary), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-gradient-purple {
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    backdrop-filter: blur(4px);
    color: var(--text-muted);
}

.badge.green {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.2);
}

.badge.purple {
    border-color: var(--accent-purple);
    color: #e0b0ff;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.2);
}

.badge.gold {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
    background: rgba(255, 215, 0, 0.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    box-shadow: var(--neon-glow);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.8);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-gradient {
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-orange));
    color: #fff;
    box-shadow: var(--purple-glow);
}

.btn-gradient:hover {
    box-shadow: 0 0 40px rgba(138, 43, 226, 0.6);
    transform: translateY(-2px);
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 5%;
}

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

.header.scrolled .logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 480px) {
    .header {
        padding: 5px 10px;
    }

    .logo img {
        height: 45px;
    }

    .nav-actions {
        gap: 0.3rem;
    }
    
    .nav-actions .btn-secondary,
    #theme-toggle {
        padding: 6px;
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .float-wa {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .wa-tooltip {
        display: none !important;
    }
    
    .hero-content {
        padding: 20px 15px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-main);
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--glass-border);
    z-index: 999;
    padding: 100px 2rem 2rem;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav a {
    font-size: 1.2rem;
    font-family: var(--font-head);
    font-weight: 600;
}

/* Hero Sections */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 160px 5% 60px;
    position: relative;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0.7) 50%, rgba(10, 10, 10, 0.3) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.chip i {
    color: var(--primary);
}

/* Sections */
.section {
    padding: 100px 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

/* Pricing */
.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--neon-glow);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 0 40px rgba(37, 211, 102, 0.4);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.price {
    font-size: 3.5rem;
    font-family: var(--font-head);
    font-weight: 800;
    line-height: 1;
    margin: 1rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #ddd;
}

.pricing-features li i {
    color: var(--primary);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #ccc;
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.2);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

select.form-control option {
    background: #111;
    color: #fff;
}

/* Floating WhatsApp */
.float-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--neon-glow);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.float-wa:hover {
    transform: scale(1.1);
    color: #fff;
}

.wa-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-red);
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wa-tooltip {
    position: absolute;
    right: 75px;
    background: var(--bg-card);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
}

.float-wa:hover .wa-tooltip {
    opacity: 1;
    visibility: visible;
    right: 80px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Sports Ticker */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
    position: relative;
}

.ticker {
    display: flex;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 2rem;
    font-weight: 600;
    font-family: var(--font-head);
    color: #fff;
}

.ticker-item span {
    color: var(--accent-red);
    margin-right: 10px;
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Auto-Scroll Row */
.scroll-row-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
}

.scroll-row {
    display: inline-flex;
    gap: 1.5rem;
    animation: scroll 40s linear infinite;
}

.scroll-row-container:hover .scroll-row {
    animation-play-state: paused;
}

.poster-card {
    width: 200px;
    height: 300px;
    border-radius: 12px;
    background: #222;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    border: 1px solid var(--glass-border);
}

.poster-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    gap: 10px;
}

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

.poster-card:hover img {
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Footer */
.footer {
    background: #050505;
    border-top: 1px solid var(--glass-border);
    padding: 60px 5% 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 40px;
}

.footer-col h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .logo img {
        height: 80px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 10px 5%;
    }

    .logo img {
        height: 60px;
    }

    .nav-links,
    .nav-actions .btn-primary {
        display: none;
    }

    .hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        border: 1px solid var(--glass-border);
    }

    .hero {
        padding-top: 100px;
        text-align: center;
        min-height: auto;
        padding-bottom: 60px;
        display: block !important;
    }

    .hero-content {
        margin: 0 auto;
        width: 100%;
        background: rgba(0, 0, 0, 0.4);
        padding: 30px 20px;
        border-radius: 20px;
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero-btns {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
        display: flex;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .grid-4,
    .grid-3,
    .grid-2,
    .footer-grid {
        grid-template-columns: 1fr !important;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-top: 20px;
    }
    
    .pricing-card .badge {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        margin-bottom: 1rem;
        width: fit-content;
    }

    .section {
        padding: 60px 5%;
    }
}

/* Language Switcher Fixes */
#lang-switch option {
    background-color: #1A1A1A;
    color: #FFFFFF;
}

body.light-mode #lang-switch {
    background-color: #FFFFFF !important;
    color: #111111 !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
}

body.light-mode #lang-switch option {
    background-color: #FFFFFF;
    color: #111111;
}

/* Google Translate Overrides */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0px !important;
}

.goog-tooltip {
    display: none !important;
}

.goog-tooltip:hover {
    display: none !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#google_translate_element {
    display: none !important;
}

/* WhatsApp Popup */
.wa-popup {
    position: fixed;
    bottom: 110px;
    right: 30px;
    background: rgba(20, 20, 25, 0.9);
    border: 1px solid var(--primary);
    padding: 20px;
    border-radius: 16px;
    width: 300px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    animation: waSlideUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(20px);
}

.wa-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.wa-popup-close {
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.wa-popup-close:hover {
    color: var(--accent-red);
}

body.light-mode .wa-popup {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

@keyframes waSlideUp {
    from {
        transform: translateY(50px) scale(0.9);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}