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

:root {
    --primary-blue: #1e40af;
    --secondary-blue: #3b82f6;
    --light-blue: #60a5fa;
    --dark-blue: #1e3a8a;
    --white: #ffffff;
    --light-gray: #f3f4f6;
    --gray: #6b7280;
    --dark-gray: #374151;
    --border-color: #e5e7eb;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

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

.site-header {
    background-color: var(--white);
    border-bottom: 2px solid var(--primary-blue);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

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

.nav-link.active {
    color: var(--primary-blue);
    border-bottom: 2px solid var(--primary-blue);
}

.btn-login {
    background-color: var(--secondary-blue);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
}

.btn-login:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    transition: 0.3s;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.age-restriction {
    margin-top: 2rem;
    font-size: 1rem;
    font-weight: 600;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-blue);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: var(--secondary-blue);
    color: var(--white);
    text-decoration: none;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
}

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

.featured-games h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 3rem;
}

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

.game-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.game-image {
    margin-bottom: 1rem;
}

.game-placeholder {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 4rem 2rem;
    border-radius: 4px;
    font-size: 1.5rem;
    font-weight: 600;
}

.game-card h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.game-card p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.about-section {
    padding: 4rem 0;
    text-align: center;
}

.about-section h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.about-section p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 1rem auto;
    line-height: 1.8;
}

.testimonials {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 3rem;
}

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

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-blue);
    text-align: right;
}

.cta-section {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.disclaimer-section {
    padding: 3rem 0;
    background-color: var(--light-gray);
    border-top: 3px solid var(--primary-blue);
}

.disclaimer-content {
    text-align: center;
    margin-bottom: 2rem;
}

.disclaimer-content h3 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.disclaimer-content p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.support-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.support-logo {
    background-color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.site-footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 3rem 0 1rem 0;
}

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

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-column a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideIn 0.3s;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray);
}

.modal-close:hover {
    color: var(--dark-gray);
}

.modal-content h2 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-content input,
.modal-content select,
.modal-content textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
}

.form-checkbox label {
    font-size: 0.9rem;
}

.page-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

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

.content-section {
    padding: 4rem 0;
}

.about-content h2,
.responsible-content h2 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-content h3,
.responsible-content h3 {
    color: var(--secondary-blue);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-content ul,
.responsible-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.about-content li,
.responsible-content li {
    margin-bottom: 0.5rem;
}

.intro-text {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--dark-gray);
}

.responsible-section {
    margin-bottom: 3rem;
}

.support-resources {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.resource-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-blue);
}

.resource-card h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.resource-contact {
    font-weight: 600;
    color: var(--secondary-blue);
    margin-top: 0.5rem;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 3rem;
}

.cta-box h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-section {
    padding: 4rem 0;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-info h2 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: 600;
    color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.game-disclaimer {
    background-color: var(--light-gray);
    padding: 1rem 0;
    border-bottom: 2px solid var(--primary-blue);
}

.disclaimer-banner {
    background-color: var(--white);
    padding: 1rem;
    border-left: 4px solid var(--primary-blue);
    border-radius: 4px;
}

.disclaimer-banner a {
    color: var(--secondary-blue);
    text-decoration: underline;
}

.game-container {
    padding: 3rem 0;
    min-height: 70vh;
}

.game-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.game-info {
    text-align: center;
    margin-bottom: 2rem;
}

.game-info h1 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.game-balance {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-blue);
}

.game-frame {
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.demo-game h2 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

.slot-machine {
    max-width: 500px;
    margin: 0 auto;
}

.slot-reels {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.slot-reel {
    width: 100px;
    height: 100px;
    background-color: var(--light-gray);
    border: 3px solid var(--primary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.slot-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.bet-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bet-controls label {
    font-weight: 600;
}

.bet-controls select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.btn-spin {
    background-color: var(--secondary-blue);
    color: var(--white);
    border: none;
    padding: 1rem 3rem;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-spin:hover {
    background-color: var(--primary-blue);
    transform: scale(1.05);
}

.btn-spin:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.game-message {
    margin-top: 2rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-blue);
    min-height: 2rem;
}

.game-disclaimer-text {
    margin-top: 2rem;
    padding: 1rem;
    background-color: var(--light-gray);
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--gray);
}

.legal-content {
    padding: 3rem 0;
}

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

.legal-text h2 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-text h3 {
    color: var(--secondary-blue);
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-text ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.legal-text a {
    color: var(--secondary-blue);
    text-decoration: underline;
}

.legal-disclaimer {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
    margin-top: 3rem;
}

.legal-disclaimer.highlighted {
    background-color: var(--primary-blue);
    color: var(--white);
    border-left: 4px solid var(--white);
}

.legal-disclaimer.highlighted h3 {
    color: var(--white);
}

.legal-disclaimer.highlighted ul {
    margin-left: 1.5rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .main-nav.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

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

    .page-hero h1 {
        font-size: 2rem;
    }

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

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

    .slot-reels {
        gap: 0.5rem;
    }

    .slot-reel {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}