* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Anchor offset for sticky header */
section[id] {
    scroll-margin-top: 100px;
}

:root {
    --primary-green: #00d084;
    --primary-teal: #00c9a7;
    --primary-purple: #9b51e0;
    --primary-orange: #ff6900;
    --dark-bg: #1a1f2e;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Age Verification Popup */
.age-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.age-popup.active {
    display: flex;
}

.age-popup-content {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.age-popup-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.age-popup-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.age-popup-content p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.age-popup-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

.btn-age-confirm,
.btn-age-deny {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-age-confirm {
    background: var(--primary-green);
    color: var(--white);
}

.btn-age-confirm:hover {
    background: #00b875;
    transform: translateY(-2px);
}

.btn-age-deny {
    background: var(--text-light);
    color: var(--white);
}

.btn-age-deny:hover {
    background: #555;
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--dark-bg);
    color: var(--white);
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-banner.active {
    display: block;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 250px;
}

.cookie-banner-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-link {
    color: var(--primary-green);
    text-decoration: underline;
    margin-left: 5px;
}

.cookie-link:hover {
    color: var(--primary-teal);
}

.btn-cookie-accept {
    padding: 10px 25px;
    background: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-cookie-accept:hover {
    background: #00b875;
    transform: translateY(-2px);
}

/* Header */
.header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-green);
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-green);
}

.btn-header {
    padding: 10px 25px;
    background: var(--primary-green);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-header:hover {
    background: #00b875;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #9b51e0 0%, #6b2d9e 100%);
    padding: 100px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.badge-icon {
    width: 16px;
    height: 16px;
    color: var(--white);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 800px;
}

.hero-title .highlight {
    color: var(--primary-teal);
}

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 700px;
    opacity: 0.95;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: var(--primary-orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 105, 0, 0.4);
}

.btn-hero:hover {
    background: #e55a00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 105, 0, 0.5);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
}

/* Features Grid */
.features-grid,
.steps-grid,
.games-grid,
.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card,
.step-card,
.community-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover,
.step-card:hover,
.community-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-green);
}

.feature-icon,
.step-icon,
.community-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--primary-green);
}

.feature-title,
.step-title,
.community-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-description,
.step-description,
.community-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Games Section */
.game-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.game-image {
    width: 100%;
    height: 200px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.game-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e0e0 0%, #f0f0f0 100%);
    color: var(--text-light);
}

.game-placeholder svg {
    width: 80px;
    height: 80px;
    opacity: 0.5;
}

.game-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.game-title {
    font-size: 22px;
    font-weight: 700;
    margin: 20px 20px 10px;
    color: var(--text-dark);
}

.game-description {
    font-size: 15px;
    color: var(--text-light);
    margin: 0 20px 20px;
    line-height: 1.6;
}

.btn-game {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 12px;
    background: var(--primary-green);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-game:hover {
    background: #00b875;
    transform: translateY(-2px);
}

.games-cta {
    text-align: center;
    margin-top: 40px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: var(--primary-green);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: #00b875;
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-teal) 100%);
    padding: 100px 0;
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-title .highlight {
    color: var(--primary-teal);
    filter: brightness(0.9);
}

.cta-description {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: var(--primary-orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 105, 0, 0.4);
}

.btn-cta:hover {
    background: #e55a00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 105, 0, 0.5);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-green);
}

.footer-contact {
    list-style: none;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-bottom: 30px;
}

.footer-disclaimer p {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.footer-bottom a {
    color: var(--primary-green);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsible Gaming Logos */
.footer-responsible-gaming {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.footer-responsible-gaming .footer-title {
    text-align: center;
    margin-bottom: 20px;
}

.responsible-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.responsible-logo-link {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.responsible-logo-link:hover {
    opacity: 0.8;
}

.responsible-logo {
    height: 60px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.responsible-logo-link:hover .responsible-logo {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        gap: 15px;
    }

    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 20px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

    .cta-title {
        font-size: 36px;
    }

    .features-grid,
    .steps-grid,
    .games-grid,
    .community-grid {
        grid-template-columns: 1fr;
    }

    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .age-popup-content {
        padding: 30px 20px;
    }

    .age-popup-buttons {
        flex-direction: column;
    }

    .btn-age-confirm,
    .btn-age-deny {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .section {
        padding: 60px 0;
    }

    .btn-hero,
    .btn-cta {
        padding: 14px 30px;
        font-size: 16px;
    }
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-purple) 0%, #6b2d9e 100%);
    padding: 80px 0;
    color: var(--white);
    text-align: center;
}

.page-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--white);
}

.page-subtitle {
    font-size: 20px;
    opacity: 0.9;
}

/* Content Wrapper */
.content-wrapper,
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 50px;
}

.content-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-green);
}

.content-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 15px;
}

.content-section ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.content-section li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 10px;
}

.content-section a {
    color: var(--primary-green);
    text-decoration: none;
}

.content-section a:hover {
    text-decoration: underline;
}

/* Features List */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-item {
    padding: 25px;
    background: var(--light-gray);
    border-radius: 10px;
    border-left: 4px solid var(--primary-green);
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
    border: none;
    padding: 0;
}

.feature-item p {
    font-size: 15px;
    margin: 0;
}

/* Values List */
.values-list {
    list-style: none;
    margin-left: 0;
}

.values-list li {
    padding: 15px;
    margin-bottom: 15px;
    background: var(--light-gray);
    border-radius: 8px;
    border-left: 4px solid var(--primary-purple);
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Contact Page Styles */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info h2,
.contact-form-wrapper h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    color: var(--primary-green);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-text h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    border: none;
    padding: 0;
}

.contact-text p {
    font-size: 16px;
    color: var(--text-light);
    margin: 0;
}

.contact-text a {
    color: var(--primary-green);
    text-decoration: none;
}

.contact-text a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 12px;
}

.contact-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info-list {
    list-style: none;
    margin-left: 0;
}

.contact-info-list li {
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--text-light);
}

.contact-info-list a {
    color: var(--primary-green);
    text-decoration: none;
}

.contact-info-list a:hover {
    text-decoration: underline;
}

/* Logo Link */
.logo {
    text-decoration: none;
    color: inherit;
}

/* Responsive for Contact Page */
@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }

    .content-section h2 {
        font-size: 28px;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn-hero {
        width: 100%;
        text-align: center;
    }

    .responsible-logos {
        gap: 20px;
    }

    .responsible-logo {
        height: 50px;
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .responsible-logos {
        flex-direction: column;
        gap: 15px;
    }

    .responsible-logo {
        height: 45px;
        max-width: 100px;
    }
}

