/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --accent-color: #fbbf24;
    --accent-dark: #f59e0b;
    --secondary-color: #3b82f6;
    --dark-bg: #0f172a;
    --dark-card: #1e293b;
    --dark-lighter: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --success: #10b981;
    --warning: #fbbf24;
    --error: #ef4444;
    --spacing-unit: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--dark-bg);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 3);
}

/* Age Gate */
.age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.age-gate.hidden {
    opacity: 0;
    pointer-events: none;
}

.age-gate-content {
    background: var(--dark-card);
    border-radius: calc(var(--spacing-unit) * 2);
    padding: calc(var(--spacing-unit) * 6);
    text-align: center;
    max-width: 500px;
    border: 2px solid var(--border-color);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.age-gate-icon {
    width: 100px;
    height: 100px;
    color: var(--primary-color);
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.age-gate-content h2 {
    font-size: 2rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--text-primary);
}

.age-gate-content p {
    color: var(--text-secondary);
    margin-bottom: calc(var(--spacing-unit) * 4);
    font-size: 1.1rem;
}

.age-gate-buttons {
    display: flex;
    gap: calc(var(--spacing-unit) * 2);
    flex-wrap: wrap;
}

.age-gate-buttons .btn {
    flex: 1;
    min-width: 180px;
}

.age-refused {
    display: none;
    margin-top: calc(var(--spacing-unit) * 3);
    padding: calc(var(--spacing-unit) * 3);
    background: rgba(239, 68, 68, 0.1);
    border-radius: var(--spacing-unit);
    border: 2px solid var(--error);
}

.age-refused.show {
    display: block;
}

.age-refused h3 {
    color: var(--error);
    margin-bottom: calc(var(--spacing-unit) * 2);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: calc(var(--spacing-unit) * 3);
    left: calc(var(--spacing-unit) * 3);
    background: var(--dark-card);
    border-radius: calc(var(--spacing-unit) * 2);
    padding: calc(var(--spacing-unit) * 3);
    max-width: 400px;
    border: 2px solid var(--border-color);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-banner.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.cookie-content p {
    color: var(--text-secondary);
    margin-bottom: calc(var(--spacing-unit) * 2);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: calc(var(--spacing-unit) * 2);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: calc(var(--spacing-unit) * 2);
    padding-bottom: calc(var(--spacing-unit) * 2);
}

.logo {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 1.5);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: transform 0.3s ease;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
}

.logo-accent {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: calc(var(--spacing-unit) * 4);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

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

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 4);
    border-radius: calc(var(--spacing-unit) * 1.5);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: var(--dark-lighter);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--border-color);
}

.btn-large {
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 6);
    font-size: 1.1rem;
}

.btn-sm {
    padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 2);
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: calc(var(--spacing-unit) * 10);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    top: 20%;
    left: 10%;
    animation: float 20s infinite ease-in-out;
}

.hero-bg::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    bottom: 20%;
    right: 10%;
    animation: float 25s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: calc(var(--spacing-unit) * 3);
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: calc(var(--spacing-unit) * 5);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.scroll-indicator {
    position: absolute;
    bottom: calc(var(--spacing-unit) * 4);
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    color: var(--primary-color);
    animation: bounce 2s infinite;
}

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

/* Sections */
section {
    padding: calc(var(--spacing-unit) * 12) 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: calc(var(--spacing-unit) * 8);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Platforms Section */
.platforms {
    background: linear-gradient(180deg, var(--dark-bg) 0%, #1a1f35 100%);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
}

.platform-card {
    background: var(--dark-card);
    border-radius: calc(var(--spacing-unit) * 3);
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.platform-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

.ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary-color);
    color: white;
    padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 5);
    transform: rotate(45deg);
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.ribbon-1 {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
}

.ribbon-2 {
    background: linear-gradient(135deg, var(--secondary-color), #2563eb);
}

.ribbon-3 {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.platform-header {
    padding: calc(var(--spacing-unit) * 4);
    border-bottom: 2px solid var(--border-color);
}

.platform-logo {
    display: flex;
    justify-content: center;
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.platform-logo img {
    width: 200px;
    height: auto;
}

.platform-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(var(--spacing-unit) * 2);
}

.rating-score {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stars {
    display: flex;
    gap: calc(var(--spacing-unit) * 0.5);
}

.stars svg {
    width: 20px;
    height: 20px;
    color: var(--accent-color);
}

.platform-body {
    padding: calc(var(--spacing-unit) * 4);
}

.bonus-text {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: calc(var(--spacing-unit) * 3);
    min-height: 60px;
}

.payment-methods {
    display: flex;
    gap: calc(var(--spacing-unit) * 1.5);
    margin-bottom: calc(var(--spacing-unit) * 3);
    flex-wrap: wrap;
}

.payment-methods img {
    width: 48px;
    height: 32px;
    filter: grayscale(0.3);
    transition: all 0.3s ease;
}

.payment-methods img:hover {
    filter: grayscale(0);
    transform: scale(1.1);
}

.platform-terms {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: calc(var(--spacing-unit) * 2);
}

/* Why Us Section */
.why-us {
    background: var(--dark-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
}

.feature-card {
    background: var(--dark-card);
    padding: calc(var(--spacing-unit) * 4);
    border-radius: calc(var(--spacing-unit) * 2);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: calc(var(--spacing-unit) * 2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--text-primary);
}

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

/* Responsible Gaming Banner */
.responsible-banner {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(251, 191, 36, 0.1));
    border-top: 2px solid var(--warning);
    border-bottom: 2px solid var(--warning);
    padding: calc(var(--spacing-unit) * 6) 0;
}

.responsible-content {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 3);
    text-align: left;
}

.responsible-icon {
    width: 60px;
    height: 60px;
    color: var(--warning);
    flex-shrink: 0;
}

.responsible-content h3 {
    font-size: 1.5rem;
    margin-bottom: calc(var(--spacing-unit) * 1);
    color: var(--text-primary);
}

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

.responsible-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* FAQ Section */
.faq {
    background: var(--dark-bg);
}

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

.faq-item {
    background: var(--dark-card);
    border: 2px solid var(--border-color);
    border-radius: calc(var(--spacing-unit) * 2);
    margin-bottom: calc(var(--spacing-unit) * 2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.open {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    padding: calc(var(--spacing-unit) * 3);
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: calc(var(--spacing-unit) * 2);
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 calc(var(--spacing-unit) * 3);
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 calc(var(--spacing-unit) * 3) calc(var(--spacing-unit) * 3);
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--dark-card);
    border-top: 2px solid var(--border-color);
    padding: calc(var(--spacing-unit) * 8) 0 calc(var(--spacing-unit) * 4);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: calc(var(--spacing-unit) * 6);
    margin-bottom: calc(var(--spacing-unit) * 6);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 1.5);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.footer-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.footer-warning {
    color: var(--warning);
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: calc(var(--spacing-unit) * 1.5);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: calc(var(--spacing-unit) * 4);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .section-title {
        font-size: 1.8rem;
    }

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

    .responsible-content {
        flex-direction: column;
        text-align: center;
    }

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

    .cookie-banner {
        left: calc(var(--spacing-unit) * 2);
        right: calc(var(--spacing-unit) * 2);
        max-width: none;
    }

    .age-gate-content {
        margin: calc(var(--spacing-unit) * 2);
        padding: calc(var(--spacing-unit) * 4);
    }

    .age-gate-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 calc(var(--spacing-unit) * 2);
    }

    .hero-title {
        font-size: 1.6rem;
    }

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

    .btn-large {
        padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3);
        font-size: 1rem;
    }
}
