/* Benvip - Casino Style CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #D4AF37;
    --dark-blue: #0F1419;
    --navy-blue: #1B2951;
    --light-gold: #F7E98E;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --dark-gray: #2C2C2C;
    --accent-red: #C41E3A;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F7E98E 100%);
    --gradient-dark: linear-gradient(135deg, #0F1419 0%, #1B2951 100%);
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--white);
    background: var(--gradient-dark);
    min-height: 100vh;
}

/* Header Navigation */
.header {
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-gold);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-gold);
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background: var(--gradient-gold);
    color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    z-index: 1001;
    position: relative;
}

.mobile-toggle:hover {
    background: rgba(212, 175, 55, 0.1);
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-gold);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    transform-origin: center;
}

/* Hamburger to X animation */
.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

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

/* Responsible Gaming Banner - Critical for YMYL Compliance */
.responsible-gaming-banner {
    background: linear-gradient(90deg, #C41E3A 0%, #8B0000 100%);
    color: var(--white);
    padding: 10px 10px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    position: fixed;
    top: 80px;
    width: 100%;
    z-index: 999;
    border-bottom: 1px solid #FFD700;
    animation: pulse 2s infinite;
    line-height: 1.4;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; }
}

.responsible-gaming-banner a {
    color: #FFD700;
    text-decoration: underline;
    margin: 0 5px;
    font-size: 0.9rem;
}

/* Author Box for E-E-A-T */
.author-box {
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid var(--primary-gold);
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary-gold);
}

.author-info h4 {
    color: var(--primary-gold);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.author-info p {
    color: #DDD;
    margin: 5px 0;
    font-size: 0.95rem;
}

.author-credentials {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.credential-badge {
    background: var(--gradient-gold);
    color: var(--dark-blue);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

/* License Footer */
.licenses {
    background: rgba(15, 20, 25, 0.95);
    padding: 20px;
    margin-top: 20px;
    border-top: 2px solid var(--primary-gold);
    text-align: center;
}

.licenses p {
    color: #BBB;
    margin: 5px 0;
    font-size: 0.9rem;
}

.license-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.license-badge {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--primary-gold);
    padding: 10px 20px;
    border-radius: 5px;
    color: var(--primary-gold);
    font-weight: bold;
}

/* References Section for Data Sources */
.references {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    margin-top: 40px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-gold);
}

.references h3 {
    color: var(--primary-gold);
    margin-bottom: 15px;
}

.references ol {
    margin-left: 20px;
    color: #CCC;
}

.references li {
    margin: 10px 0;
    line-height: 1.6;
}

.references a {
    color: var(--light-gold);
    text-decoration: none;
}

.references a:hover {
    text-decoration: underline;
}

/* Data Citation Superscript */
sup {
    color: var(--primary-gold);
    font-size: 0.75rem;
    font-weight: bold;
}

sup a {
    color: var(--primary-gold);
    text-decoration: none;
}

sup a:hover {
    text-decoration: underline;
}

/* Trust Signals Box */
.trust-signals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.trust-item {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid var(--primary-gold);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.trust-item .icon {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.trust-item h4 {
    color: var(--primary-gold);
    margin-bottom: 5px;
}

.trust-item p {
    color: #CCC;
    font-size: 0.9rem;
}

/* Main Content - Adjusted for banner */
.main-content {
    margin-top: 120px; /* Increased to accommodate banner */
    min-height: calc(100vh - 120px);
}

/* Responsible Gaming Notice */
.responsible-notice {
    background: rgba(196, 30, 58, 0.1);
    border: 2px solid #C41E3A;
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
}

.responsible-notice h3 {
    color: #C41E3A;
    margin-bottom: 10px;
}

.responsible-notice ul {
    margin-left: 20px;
    color: #DDD;
}

.responsible-notice li {
    margin: 10px 0;
}

/* Hero Section */
.hero {
    background: var(--gradient-dark);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="gold-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23D4AF37" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23gold-pattern)"/></svg>');
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 900;
    letter-spacing: 2px;
}

.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--light-gold);
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: var(--light-gray);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    letter-spacing: 1px;
}

.cta-button {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--dark-blue);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    background: var(--light-gold);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 0 1rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--primary-gold);
}

/* Sections */
.section {
    padding: 4rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Game Cards */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: left 0.5s ease;
}

.game-card:hover::before {
    left: 100%;
}

.game-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.game-card h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.game-card p {
    margin-bottom: 1.5rem;
    color: var(--light-gray);
    line-height: 1.6;
}

.game-button {
    background: var(--gradient-gold);
    color: var(--dark-blue);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.game-button:hover {
    background: var(--light-gold);
    transform: translateY(-2px);
}

/* Advantages Section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-gold);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.12);
}

.advantage-card h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Download Section */
.download-section {
    background: rgba(212, 175, 55, 0.1);
    padding: 3rem 0;
    text-align: center;
    border-radius: 20px;
    margin: 2rem 0;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.download-btn {
    background: var(--gradient-gold);
    color: var(--dark-blue);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 15px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
    justify-content: center;
}

.download-btn:hover {
    background: var(--light-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Content Sections */
.content-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.content-section h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.content-section p {
    line-height: 1.8;
    color: var(--light-gray);
    margin-bottom: 1rem;
}

/* Steps List */
.steps-list {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
}

.steps-list li {
    counter-increment: step-counter;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--primary-gold);
    position: relative;
    padding-left: 3rem;
}

.steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-gold);
    color: var(--dark-blue);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--dark-blue);
    padding: 2rem 0;
    text-align: center;
    border-top: 2px solid var(--primary-gold);
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-gold);
}

.copyright {
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: rgba(15, 20, 25, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 1rem 0;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-right: 2px solid var(--primary-gold);
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        color: var(--white);
        text-decoration: none;
        transition: all 0.3s ease;
        border-radius: 0;
        font-size: 0.95rem;
        font-weight: 500;
    }

    .nav-link:hover,
    .nav-link.active {
        background: linear-gradient(90deg, var(--primary-gold), var(--light-gold));
        color: var(--dark-blue);
        transform: translateX(5px);
        padding-left: 2rem;
    }

    /* Menu overlay for closing */
    .nav-overlay {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 998;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero h2 {
        font-size: 1.4rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 2rem 0;
    }

    .section h2 {
        font-size: 2rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .responsible-gaming-banner {
        padding: 8px 8px;
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .responsible-gaming-banner a {
        margin: 0 4px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        width: 100%;
        border-right: none;
    }

    .nav-link {
        font-size: 1rem;
        padding: 1.2rem 1.5rem;
    }

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

    .hero h2 {
        font-size: 1.2rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .game-card, .advantage-card, .content-section {
        padding: 1.5rem;
    }

    .responsible-gaming-banner {
        padding: 6px 5px;
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .responsible-gaming-banner a {
        margin: 0 3px;
        font-size: 0.75rem;
    }
}

/* Swipe indicator for mobile menu */
@media (max-width: 768px) {
    .swipe-indicator {
        position: fixed;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 60px;
        background: linear-gradient(to bottom, transparent, var(--primary-gold), transparent);
        opacity: 0.6;
        z-index: 999;
        border-radius: 0 4px 4px 0;
        animation: swipePulse 2s infinite;
    }

    .nav-menu.active ~ .swipe-indicator {
        display: none;
    }
}

@keyframes swipePulse {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-50%) scale(1.1);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-gold);
    animation: spin 1s ease-in-out infinite;
}

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

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--gradient-gold);
    color: var(--dark-blue);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}