:root {
    --gold: #E6C87C;
    --midnight-blue: #0C1630;
    --white: #FFFFFF;
    --turquoise: #3ED6C8;
    --dark-bg: #0A0F1E;
    --light-gray: #F5F5F5;
    --medium-gray: #888;
    --border-gray: #DDD;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--midnight-blue);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

a:hover {
    color: var(--gold);
}

.age-badge {
    position: fixed;
    top: 10px;
    right: 10px;
    background-color: var(--gold);
    color: var(--midnight-blue);
    font-weight: bold;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 50px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header {
    background-color: var(--midnight-blue);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.logo img {
    height: 40px;
    width: auto;
}

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

.logo-text {
    color: var(--gold);
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--turquoise);
    color: var(--midnight-blue);
    border-color: var(--turquoise);
}

.btn-primary:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--midnight-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(62, 214, 200, 0.4);
}

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

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

.btn-link {
    background: none;
    color: var(--white);
    padding: 8px 16px;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 18px;
}

.hero {
    background: linear-gradient(135deg, var(--midnight-blue) 0%, var(--dark-bg) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    min-height: 400px;
}

.hero-slide {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-slide.active {
    display: grid;
}

.hero-content h1 {
    font-size: 48px;
    color: var(--gold);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 30px;
}

.hero-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.hero-prev,
.hero-next {
    background-color: rgba(230, 200, 124, 0.3);
    color: var(--gold);
    border: 2px solid var(--gold);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
}

.hero-prev:hover,
.hero-next:hover {
    background-color: var(--gold);
    color: var(--midnight-blue);
}

.hero-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(230, 200, 124, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--gold);
    transform: scale(1.2);
}

.section-title {
    font-size: 36px;
    color: var(--midnight-blue);
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--medium-gray);
    text-align: center;
    margin-bottom: 50px;
}

.features {
    padding: 80px 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background-color: var(--light-gray);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    color: var(--midnight-blue);
    margin-bottom: 15px;
}

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

.featured-games {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.game-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.game-image {
    height: 200px;
    overflow: hidden;
    background-color: var(--midnight-blue);
    position: relative;
}

.game-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(10, 15, 30, 0.9);
    backdrop-filter: blur(8px);
    border-radius: 8px;
    padding: 8px;
    border: 2px solid rgba(230, 200, 124, 0.6);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.game-card:hover .game-icon {
    transform: scale(1.1);
    border-color: rgba(230, 200, 124, 1);
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.game-card h3 {
    padding: 20px 20px 10px;
    font-size: 22px;
    color: var(--midnight-blue);
}

.game-card p {
    padding: 0 20px 20px;
    color: var(--medium-gray);
}

.game-card .btn {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
}

.text-center {
    text-align: center;
}

.disclaimer-section {
    padding: 80px 0;
    background-color: var(--midnight-blue);
    color: var(--white);
}

.disclaimer-badge {
    background-color: var(--gold);
    color: var(--midnight-blue);
    font-weight: bold;
    font-size: 24px;
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 30px;
}

.disclaimer-section h2 {
    color: var(--gold);
    text-align: center;
    margin-bottom: 40px;
}

.disclaimer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.disclaimer-card {
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 2px solid rgba(62, 214, 200, 0.3);
}

.disclaimer-card h3 {
    color: var(--turquoise);
    margin-bottom: 15px;
}

.footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 30px;
}

.footer-logo span {
    color: var(--gold);
    font-size: 20px;
    font-weight: bold;
}

.footer-badge {
    background-color: var(--gold);
    color: var(--midnight-blue);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
}

.footer h4 {
    color: var(--gold);
    margin-bottom: 15px;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 10px;
}

.footer a {
    color: var(--white);
}

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

.footer-responsible-gaming {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.responsible-gaming-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.responsible-gaming-logos a {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.responsible-gaming-logos a:hover {
    opacity: 1;
}

.responsible-gaming-logos img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--medium-gray);
    font-size: 14px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 22, 48, 0.95);
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.age-verification-logo img {
    height: 60px;
    margin: 0 auto 20px;
}

.age-verification h2 {
    color: var(--midnight-blue);
    margin-bottom: 20px;
}

.age-verification p {
    color: var(--medium-gray);
    margin-bottom: 15px;
}

.age-verification-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--midnight-blue);
    color: var(--white);
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.cookie-banner.show {
    display: block;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-banner-buttons {
    display: flex;
    gap: 15px;
}

.page-hero {
    background: linear-gradient(135deg, var(--midnight-blue) 0%, var(--dark-bg) 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: var(--white);
}

.page-hero h1 {
    font-size: 48px;
    color: var(--gold);
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 20px;
}

.games-section {
    padding: 80px 0;
}

.games-category {
    margin-bottom: 80px;
}

.games-category h2 {
    font-size: 32px;
    color: var(--midnight-blue);
    margin-bottom: 10px;
}

.category-description {
    color: var(--medium-gray);
    margin-bottom: 40px;
}

.games-disclaimer {
    background-color: var(--light-gray);
    padding: 60px 0;
}

.disclaimer-box {
    background-color: var(--white);
    border-left: 5px solid var(--gold);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.disclaimer-box h3 {
    color: var(--midnight-blue);
    margin-bottom: 15px;
}

.about-content {
    padding: 80px 0;
}

.about-section {
    max-width: 900px;
    margin: 0 auto 60px;
}

.about-section h2 {
    color: var(--midnight-blue);
    font-size: 32px;
    margin-bottom: 20px;
}

.about-section p {
    color: var(--medium-gray);
    margin-bottom: 15px;
    line-height: 1.8;
}

.mission-list {
    list-style: none;
    padding-left: 0;
}

.mission-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 10px;
    color: var(--medium-gray);
}

.mission-list li:before {
    content: "✓";
    color: var(--turquoise);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--light-gray);
    border-radius: 10px;
}

.value-card h4 {
    color: var(--midnight-blue);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 14px;
}

.legal-content {
    padding: 60px 0;
}

.legal-section {
    max-width: 900px;
    margin: 0 auto 50px;
}

.legal-section h2 {
    color: var(--midnight-blue);
    font-size: 32px;
    margin-bottom: 20px;
}

.legal-section h3 {
    color: var(--midnight-blue);
    font-size: 24px;
    margin: 30px 0 15px;
}

.legal-section p,
.legal-section li {
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-section ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.support-organizations {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

.support-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--turquoise);
}

.support-card h3 {
    color: var(--midnight-blue);
    margin-bottom: 15px;
}

.support-logos-section {
    background-color: var(--light-gray);
    padding: 60px 0;
}

.support-logos-section h2 {
    text-align: center;
    color: var(--midnight-blue);
    margin-bottom: 40px;
}

.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-info h2 {
    color: var(--midnight-blue);
    margin-bottom: 20px;
}

.contact-methods {
    margin: 40px 0;
}

.contact-method {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-gray);
}

.contact-method h3 {
    color: var(--midnight-blue);
    margin-bottom: 10px;
}

.contact-method p {
    color: var(--medium-gray);
}

.contact-note {
    font-size: 14px;
    font-style: italic;
}

.specific-contacts {
    margin-top: 40px;
}

.specific-contacts h3 {
    color: var(--midnight-blue);
    margin-bottom: 15px;
}

.specific-contacts ul {
    list-style: none;
}

.specific-contacts li {
    margin-bottom: 10px;
    color: var(--medium-gray);
}

.contact-form-container h2 {
    color: var(--midnight-blue);
    margin-bottom: 30px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--midnight-blue);
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--turquoise);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-message {
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.faq-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.faq-section h2 {
    text-align: center;
    color: var(--midnight-blue);
    margin-bottom: 50px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faq-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: var(--midnight-blue);
    margin-bottom: 15px;
}

.faq-item p {
    color: var(--medium-gray);
    line-height: 1.6;
}

.access-denied-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--midnight-blue) 0%, var(--dark-bg) 100%);
    padding: 40px 20px;
}

.access-denied-content {
    background-color: var(--white);
    padding: 60px 40px;
    border-radius: 15px;
    max-width: 600px;
    text-align: center;
}

.access-denied-logo img {
    height: 60px;
    margin: 0 auto 30px;
}

.access-denied-content h1 {
    color: var(--midnight-blue);
    font-size: 36px;
    margin-bottom: 20px;
}

.age-badge-large {
    background-color: var(--gold);
    color: var(--midnight-blue);
    font-weight: bold;
    font-size: 48px;
    padding: 20px 40px;
    border-radius: 50px;
    display: inline-block;
    margin: 20px 0;
}

.access-denied-info,
.access-denied-resources {
    margin: 30px 0;
    text-align: left;
}

.access-denied-info h2,
.access-denied-resources h3 {
    color: var(--midnight-blue);
    margin-bottom: 15px;
}

.access-denied-resources ul {
    list-style: none;
    padding-left: 0;
}

.access-denied-resources li {
    margin-bottom: 10px;
}

.exit-message {
    font-size: 18px;
    color: var(--midnight-blue);
    font-weight: 600;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--midnight-blue);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }

    .nav-menu.flex {
        display: flex;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .page-hero h1 {
        font-size: 32px;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .responsible-gaming-logos {
        gap: 20px;
    }

    .responsible-gaming-logos img {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .btn-lg {
        padding: 12px 25px;
        font-size: 16px;
    }

    .age-badge {
        font-size: 14px;
        padding: 6px 12px;
    }
}
