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

:root {
    --red-900: #7F1D1D;
    --red-800: #991B1B;
    --red-700: #B91C1C;
    --red-600: #DC2626;
    --red-500: #EF4444;
    --red-400: #F87171;
    --red-300: #FCA5A5;
    --red-200: #FECACA;
    --red-100: #FEE2E2;

    --yellow-400: #FBBF24;
    --yellow-500: #F59E0B;

    --gray-900: #111827;
    --gray-800: #1F2937;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;

    --white: #FFFFFF;
    --black: #000000;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo span {
    background: linear-gradient(135deg, var(--red-600), var(--red-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-menu a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red-600);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--red-600);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-900);
    transition: var(--transition);
}

.hero {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--red-50) 0%, var(--gray-50) 100%);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.1) 0%, transparent 70%);
    top: -300px;
    right: -200px;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
}

.gradient-text {
    background: linear-gradient(135deg, var(--red-600), var(--red-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gray-600);
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--red-600);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--red-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--red-600);
    border-color: var(--red-600);
}

.btn-secondary:hover {
    background: var(--red-50);
    transform: translateY(-2px);
}

.btn-text {
    background: transparent;
    color: var(--gray-700);
    padding: 8px 16px;
}

.btn-text:hover {
    color: var(--red-600);
}

.btn-large {
    padding: 18px 48px;
    font-size: 18px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat strong {
    font-size: 32px;
    font-weight: 800;
    color: var(--red-600);
    display: block;
}

.stat span {
    color: var(--gray-600);
    font-size: 14px;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.section-header p {
    font-size: 18px;
    color: var(--gray-600);
}

.games-section {
    padding: 80px 0;
    background: var(--white);
}

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

.game-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--red-600);
}

.game-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    transition: var(--transition);
}

.game-card:hover .game-icon {
    transform: scale(1.1) rotate(5deg);
}

.game-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.game-card p {
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.6;
}

.game-btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--red-600);
    color: var(--white);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
}

.game-btn:hover {
    background: var(--red-700);
    transform: scale(1.05);
}

.features-section {
    padding: 80px 0;
    background: var(--gray-50);
}

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

.feature-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-900);
}

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

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--red-600), var(--red-500));
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo span {
    color: var(--white);
    background: none;
    -webkit-text-fill-color: var(--white);
}

.footer-brand p {
    line-height: 1.6;
    color: var(--gray-400);
}

.footer-contact {
    margin-top: 20px;
}

.footer-address {
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 8px;
    line-height: 1.5;
}

.footer-phone {
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 0;
}

.footer-column h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

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

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--red-400);
}

.footer-disclaimer {
    padding: 32px 0;
    border-top: 1px solid var(--gray-800);
    border-bottom: 1px solid var(--gray-800);
    margin-bottom: 24px;
}

.disclaimer-box {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid var(--red-900);
    border-radius: 12px;
    padding: 24px;
}

.disclaimer-box strong {
    color: var(--red-400);
    font-size: 16px;
    display: block;
    margin-bottom: 12px;
}

.disclaimer-box p {
    margin-bottom: 16px;
    line-height: 1.6;
}

.help-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.help-links a {
    color: var(--red-400);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.help-links a:hover {
    color: var(--red-300);
}

.footer-bottom {
    text-align: center;
    color: var(--gray-500);
    font-size: 14px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 48px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-content h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.modal-content p {
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.6;
}

.age-checkbox {
    margin-bottom: 24px;
}

.age-checkbox label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    font-size: 16px;
}

.age-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gray-900);
    color: var(--white);
    padding: 24px;
    z-index: 9999;
    transform: translateY(100%);
    transition: var(--transition);
}

.cookie-consent.active {
    transform: translateY(0);
}

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

.cookie-content p {
    flex: 1;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 40px;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .section-header h2 {
        font-size: 36px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .help-links {
        justify-content: center;
    }
}

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

.content-page h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--gray-900);
}

.content-page h2 {
    font-size: 32px;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.content-page h3 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--gray-800);
}

.content-page p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: var(--gray-700);
}

.content-page ul, .content-page ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.content-page li {
    margin-bottom: 12px;
    line-height: 1.6;
    color: var(--gray-700);
}

.content-page a {
    color: var(--red-600);
    text-decoration: none;
    font-weight: 600;
}

.content-page a:hover {
    color: var(--red-700);
    text-decoration: underline;
}

.info-box {
    background: var(--red-50);
    border-left: 4px solid var(--red-600);
    padding: 24px;
    margin: 32px 0;
    border-radius: 8px;
}

.info-box p {
    margin: 0;
}

.content-wrapper {
    max-width: 800px;
}

.game-container {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

.game-header {
    text-align: center;
    margin-bottom: 40px;
}

.game-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.game-header p {
    font-size: 18px;
    color: var(--gray-600);
}

.game-board {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
}

.game-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 32px;
    padding: 24px;
    background: var(--gray-50);
    border-radius: 12px;
}

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

.game-stat label {
    display: block;
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 8px;
    font-weight: 600;
}

.game-stat .value {
    font-size: 24px;
    font-weight: 800;
    color: var(--red-600);
}
