@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Crimson+Pro:wght@400;600;700&display=swap');

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

:root {
    /* Romantic Red Palette - Book of Love Theme */
    --romantic-rose-950: #1a0008;
    --romantic-rose-900: #4d0016;
    --romantic-rose-800: #6b001f;
    --romantic-rose-700: #8b0029;
    --romantic-rose-600: #b3003d;
    --romantic-rose-500: #d6004f;
    --romantic-rose-400: #ff0066;
    --romantic-rose-300: #ff3399;
    --romantic-rose-200: #ff66b3;
    --romantic-rose-100: #ffb3d9;

    /* Elegant Gold Accents */
    --elegant-gold-900: #3d2815;
    --elegant-gold-800: #5c3d1f;
    --elegant-gold-700: #8b5a2a;
    --elegant-gold-600: #b87234;
    --elegant-gold-500: #d4af37;
    --elegant-gold-400: #e5c158;
    --elegant-gold-300: #f2d07a;
    --elegant-gold-200: #f9e4a5;

    /* Deep Background Colors */
    --deep-bg-950: #0a0005;
    --deep-bg-900: #14000a;
    --deep-bg-800: #1f0010;
    --deep-bg-700: #2a0016;
    --deep-bg-600: #35001c;

    /* Soft Text Colors */
    --soft-text-primary: #ffe5f2;
    --soft-text-secondary: #ffccdf;
    --soft-text-tertiary: #ffb3cc;

    /* Shadows with Romantic Glow */
    --shadow-romantic-rose: 0 10px 50px rgba(255, 0, 102, 0.4);
    --shadow-romantic-rose-soft: 0 6px 30px rgba(255, 51, 153, 0.3);
    --shadow-elegant-gold: 0 10px 50px rgba(212, 175, 55, 0.35);
    --shadow-elegant-gold-soft: 0 6px 30px rgba(229, 193, 88, 0.25);
    --shadow-deep: 0 20px 60px rgba(0, 0, 0, 0.6);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.4);
}

body {
    font-family: 'Crimson Pro', serif;
    background: linear-gradient(135deg, var(--deep-bg-950) 0%, var(--deep-bg-800) 50%, var(--deep-bg-900) 100%);
    background-attachment: fixed;
    color: var(--soft-text-primary);
    line-height: 1.8;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

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

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: linear-gradient(135deg, var(--deep-bg-800), var(--deep-bg-900));
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    border: 2px solid var(--romantic-rose-600);
    box-shadow: var(--shadow-romantic-rose);
    text-align: center;
}

.age-modal .heart-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.age-modal h2 {
    color: var(--soft-text-primary);
    font-size: 36px;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(255, 51, 153, 0.3);
}

.age-modal p {
    color: var(--soft-text-secondary);
    font-size: 18px;
    margin-bottom: 28px;
    line-height: 1.6;
}

.age-badge {
    background: linear-gradient(135deg, var(--romantic-rose-600), var(--romantic-rose-700));
    color: var(--soft-text-primary);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 28px;
    border: 2px solid var(--elegant-gold-400);
    box-shadow: var(--shadow-romantic-rose-soft);
    font-size: 16px;
    letter-spacing: 1px;
}

.modal-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-primary, .btn-secondary, .btn-game {
    padding: 12px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Crimson Pro', serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--romantic-rose-500), var(--romantic-rose-600));
    color: var(--soft-text-primary);
    box-shadow: var(--shadow-romantic-rose), var(--shadow-soft);
    border: 1px solid var(--romantic-rose-300);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--romantic-rose-400), var(--romantic-rose-500));
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 18px 60px rgba(255, 0, 102, 0.5);
}

.btn-secondary {
    background: var(--deep-bg-700);
    color: var(--soft-text-primary);
}

.btn-secondary:hover {
    background: var(--deep-bg-600);
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--deep-bg-900), var(--deep-bg-800));
    border-top: 2px solid var(--romantic-rose-700);
    padding: 28px;
    z-index: 900;
    box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.7), 0 -2px 20px rgba(255, 0, 102, 0.2);
}

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

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

.cookie-title {
    color: var(--soft-text-primary);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
}

.cookie-desc {
    color: var(--soft-text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.cookie-link {
    color: var(--romantic-rose-400);
    text-decoration: underline;
    margin-left: 4px;
    font-weight: 600;
}

.cookie-link:hover {
    color: var(--romantic-rose-300);
}

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

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(26, 0, 8, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid rgba(255, 0, 102, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.logo-icon {
    font-size: 32px;
    filter: drop-shadow(0 0 10px rgba(244, 63, 94, 0.5));
}

.logo-text {
    background: linear-gradient(90deg, var(--romantic-rose-300), var(--elegant-gold-300), var(--romantic-rose-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-menu a {
    color: var(--soft-text-secondary);
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: linear-gradient(135deg, var(--romantic-rose-600), var(--romantic-rose-700));
    color: var(--soft-text-primary);
    box-shadow: var(--shadow-romantic-rose-soft);
    transform: translateY(-2px);
}

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

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--romantic-rose-400);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(225, 29, 72, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(251, 191, 36, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(225, 29, 72, 0.1) 0%, transparent 50%);
}

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

.hero-title {
    font-size: 64px;
    background: linear-gradient(90deg, var(--romantic-rose-300), var(--elegant-gold-200), var(--romantic-rose-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--romantic-rose-100);
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.badge {
    padding: 24px 32px;
    border-radius: 16px;
    min-width: 180px;
}

.badge-rose {
    background: linear-gradient(135deg, var(--romantic-rose-600), var(--romantic-rose-700));
    box-shadow: var(--shadow-romantic-rose);
}

.badge-amber {
    background: linear-gradient(135deg, var(--elegant-gold-600), var(--elegant-gold-700));
    box-shadow: var(--shadow-elegant-gold);
}

.badge-rose-dark {
    background: linear-gradient(135deg, var(--romantic-rose-700), var(--romantic-rose-800));
    box-shadow: var(--shadow-romantic-rose);
}

.badge-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--soft-text-primary);
    margin-bottom: 8px;
}

.badge-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

/* Games Section */
.games-section {
    padding: 80px 0;
    background: rgba(15, 23, 42, 0.5);
}

.section-title {
    font-size: 48px;
    text-align: center;
    background: linear-gradient(90deg, var(--romantic-rose-300), var(--elegant-gold-200));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 48px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.game-card {
    background: linear-gradient(135deg, var(--deep-bg-800), var(--deep-bg-900));
    border: 1px solid rgba(225, 29, 72, 0.3);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--romantic-rose-500);
    box-shadow: var(--shadow-romantic-rose);
}

.game-card:hover::before {
    opacity: 1;
}

.game-icon {
    font-size: 64px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.game-title {
    font-size: 24px;
    color: var(--soft-text-primary);
    margin-bottom: 12px;
}

.game-category {
    color: var(--romantic-rose-300);
    font-size: 14px;
    margin-bottom: 24px;
}

.btn-game {
    width: 100%;
    background: linear-gradient(135deg, var(--romantic-rose-600), var(--romantic-rose-700));
    color: var(--soft-text-primary);
    box-shadow: var(--shadow-romantic-rose);
}

.btn-game:hover {
    background: linear-gradient(135deg, var(--romantic-rose-500), var(--romantic-rose-600));
    transform: translateY(-2px);
}

/* Responsible Section */
.responsible-section {
    padding: 80px 0;
}

.responsible-box {
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.2), rgba(15, 23, 42, 0.5));
    border: 1px solid var(--romantic-rose-800);
    border-radius: 24px;
    padding: 48px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.shield-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.responsible-box h2 {
    font-size: 36px;
    color: var(--soft-text-primary);
    margin-bottom: 16px;
}

.responsible-box p {
    font-size: 18px;
    color: var(--romantic-rose-200);
    margin-bottom: 24px;
}

.age-badge-large {
    background: linear-gradient(135deg, var(--romantic-rose-600), var(--romantic-rose-700));
    color: var(--soft-text-primary);
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 700;
    display: inline-block;
}

/* Footer */
footer {
    background: var(--deep-bg-950);
    border-top: 1px solid rgba(225, 29, 72, 0.3);
    padding: 64px 0 32px;
}

.responsible-footer {
    background: linear-gradient(90deg, rgba(225, 29, 72, 0.2), rgba(251, 191, 36, 0.1));
    border: 1px solid var(--romantic-rose-800);
    border-radius: 16px;
    padding: 48px;
    margin-bottom: 48px;
    text-align: center;
}

.responsible-footer h3 {
    font-size: 32px;
    color: var(--soft-text-primary);
    margin-bottom: 32px;
}

.org-logos {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.org-logo {
    background: var(--soft-text-primary);
    padding: 20px;
    border-radius: 12px;
    min-width: 140px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.logo-placeholder {
    color: var(--deep-bg-800);
    font-weight: 700;
    font-size: 14px;
}

.finnish-orgs h4 {
    color: var(--soft-text-primary);
    margin-bottom: 16px;
    font-size: 18px;
}

.org-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.org-links a {
    color: var(--romantic-rose-400);
    text-decoration: underline;
    font-size: 14px;
}

.org-links a:hover {
    color: var(--romantic-rose-300);
}

.age-notice {
    color: var(--soft-text-primary);
    font-weight: 700;
    font-size: 20px;
    margin-top: 16px;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col h4 {
    color: var(--soft-text-primary);
    margin-bottom: 20px;
    font-size: 18px;
}

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

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

.footer-col ul li a {
    color: var(--romantic-rose-200);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--soft-text-primary);
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(225, 29, 72, 0.3);
    padding-top: 32px;
    text-align: center;
}

.disclaimer {
    background: rgba(225, 29, 72, 0.1);
    border: 1px solid var(--romantic-rose-900);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--romantic-rose-200);
}

.disclaimer strong {
    color: var(--soft-text-primary);
}

.copyright,
.canonical {
    color: var(--romantic-rose-300);
    font-size: 14px;
    margin-top: 12px;
}

.canonical span {
    color: var(--romantic-rose-400);
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--deep-bg-900);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--romantic-rose-900);
    }

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

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

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

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

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

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

    .cookie-content {
        flex-direction: column;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .responsible-footer,
    .responsible-box {
        padding: 24px;
    }

    .org-logos {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .badge {
        min-width: auto;
        padding: 16px 24px;
    }

    .badge-number {
        font-size: 28px;
    }
}

/* Additional Page Styles */
.page-header {
    padding: 80px 0 40px;
    text-align: center;
}

.page-title {
    font-size: 56px;
    background: linear-gradient(90deg, var(--romantic-rose-300), var(--elegant-gold-200), var(--romantic-rose-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 20px;
    color: var(--romantic-rose-200);
    max-width: 800px;
    margin: 0 auto;
}

.games-catalog {
    padding: 40px 0 80px;
}

.game-tag {
    background: var(--elegant-gold-600);
    color: var(--soft-text-primary);
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-desc {
    color: var(--romantic-rose-200);
    font-size: 14px;
    margin-bottom: 20px;
    min-height: 40px;
}

.info-box {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(225, 29, 72, 0.1));
    border: 1px solid var(--elegant-gold-800);
    border-radius: 16px;
    padding: 32px;
    margin-top: 48px;
    text-align: center;
}

.info-box h3 {
    color: var(--soft-text-primary);
    font-size: 24px;
    margin-bottom: 16px;
}

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

.content-section {
    background: linear-gradient(135deg, var(--deep-bg-800), var(--deep-bg-900));
    border: 1px solid rgba(225, 29, 72, 0.3);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
}

.content-section h2 {
    color: var(--soft-text-primary);
    font-size: 28px;
    margin-bottom: 16px;
}

.content-section p {
    color: var(--romantic-rose-200);
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-section ul {
    color: var(--romantic-rose-200);
    line-height: 2;
}

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

.feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(225, 29, 72, 0.2);
}

.feature-list li:last-child {
    border-bottom: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.stat-card {
    background: linear-gradient(135deg, var(--deep-bg-800), var(--deep-bg-900));
    border: 1px solid var(--romantic-rose-900);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--romantic-rose-400);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--romantic-rose-200);
    font-size: 16px;
}

.contact-card {
    background: linear-gradient(135deg, var(--deep-bg-800), var(--deep-bg-900));
    border: 1px solid rgba(225, 29, 72, 0.3);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
}

.contact-card h3 {
    color: var(--soft-text-primary);
    font-size: 24px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-card a {
    color: var(--romantic-rose-400);
    text-decoration: underline;
    font-size: 18px;
}

.contact-card a:hover {
    color: var(--romantic-rose-300);
}

.contact-card p {
    color: var(--romantic-rose-200);
    margin-top: 12px;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }

    .content-section {
        padding: 24px;
    }

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

/* Game Card Hover Effects */
.game-card-link {
    text-decoration: none;
    display: block;
}

.game-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.game-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--romantic-rose-900), var(--deep-bg-800));
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.game-info {
    position: relative;
    z-index: 2;
}

.game-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.95), rgba(136, 19, 55, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 3;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

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

.btn-play {
    background: linear-gradient(135deg, var(--elegant-gold-500), var(--elegant-gold-600));
    color: var(--deep-bg-900);
    font-size: 20px;
    font-weight: 700;
    padding: 16px 48px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Cinzel', serif;
}

.btn-play:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.6);
    background: linear-gradient(135deg, var(--elegant-gold-400), var(--elegant-gold-500));
}

/* Game Page Styles */
.game-page-hero {
    background: linear-gradient(135deg, var(--romantic-rose-900), var(--deep-bg-900));
    padding: 40px 0;
    text-align: center;
    border-bottom: 2px solid var(--romantic-rose-700);
}

.game-page-title {
    font-size: 48px;
    color: var(--soft-text-primary);
    margin-bottom: 12px;
}

.game-page-subtitle {
    color: var(--romantic-rose-200);
    font-size: 18px;
}

.game-container {
    padding: 40px 0;
}

.game-iframe-wrapper {
    background: var(--deep-bg-900);
    border: 3px solid var(--romantic-rose-700);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--shadow-romantic-rose);
}

.game-iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.game-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--romantic-rose-900);
    flex-wrap: wrap;
}

.game-tab {
    background: transparent;
    color: var(--romantic-rose-300);
    border: none;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    font-family: 'Cinzel', serif;
}

.game-tab.active {
    color: var(--soft-text-primary);
    border-bottom-color: var(--romantic-rose-500);
}

.game-tab:hover {
    color: var(--soft-text-primary);
    background: rgba(225, 29, 72, 0.1);
}

.game-tab-content {
    display: none;
}

.game-tab-content.active {
    display: block;
}

.how-to-play {
    background: linear-gradient(135deg, var(--deep-bg-800), var(--deep-bg-900));
    border: 1px solid var(--romantic-rose-900);
    border-radius: 16px;
    padding: 32px;
}

.how-to-play h3 {
    color: var(--soft-text-primary);
    font-size: 28px;
    margin-bottom: 20px;
}

.how-to-play ol {
    color: var(--romantic-rose-200);
    line-height: 2;
    padding-left: 24px;
}

.how-to-play ol li {
    margin-bottom: 12px;
}

.game-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.game-info-box {
    background: linear-gradient(135deg, var(--deep-bg-800), var(--deep-bg-900));
    border: 1px solid var(--romantic-rose-900);
    border-radius: 12px;
    padding: 24px;
}

.game-info-box h4 {
    color: var(--elegant-gold-400);
    font-size: 16px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-info-box p {
    color: var(--romantic-rose-200);
    font-size: 18px;
}

.back-to-games {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--romantic-rose-400);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.back-to-games:hover {
    color: var(--romantic-rose-300);
    transform: translateX(-5px);
}

@media (max-width: 768px) {
    .game-iframe {
        height: 400px;
    }

    .game-page-title {
        font-size: 32px;
    }

    .btn-play {
        font-size: 16px;
        padding: 12px 32px;
    }

    .game-tabs {
        overflow-x: auto;
    }

    .game-tab {
        padding: 12px 20px;
        font-size: 16px;
    }
}
