/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Pink Color Scheme */
    --pink-primary: #FF69B4;
    --pink-light: #FFB6C1;
    --pink-dark: #FF1493;
    --pink-accent: #FFC0CB;
    --pink-soft: #FFE4E1;
    
    /* Flower Theme Colors */
    --rose-pink: #FF69B4;
    --cherry-blossom: #FFB7C5;
    --lavender: #E6E6FA;
    --peony: #FFC0CB;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --black: #000000;
    --gray-light: #F5F5F5;
    --gray: #888888;
    --gray-dark: #333333;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Flower Pattern Background */
.flower-bg {
    position: relative;
    overflow: visible;
}

.flower-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 182, 193, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 105, 180, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 192, 203, 0.1) 0%, transparent 50%);
    pointer-events: none !important;
    z-index: 0;
}

.flower-bg > * {
    position: relative;
    z-index: 1;
}

/* Ensure hero buttons are above flower-bg pseudo-element */
.hero.flower-bg .hero-buttons {
    position: relative !important;
    z-index: 1000 !important;
    pointer-events: auto !important;
}

.hero.flower-bg .hero-buttons .btn {
    position: relative !important;
    z-index: 1001 !important;
    pointer-events: auto !important;
}

/* Ensure all buttons are always above overlays and pseudo-elements */
.hero-buttons,
.hero-buttons .btn,
.hero-buttons a.btn,
.hero-buttons button {
    position: relative !important;
    z-index: 10000 !important;
    pointer-events: auto !important;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--pink-primary), var(--pink-dark));
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

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

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

nav a.active {
    font-weight: 600;
    color: var(--white);
}

nav a.active::after {
    width: 100%;
    background: var(--white);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1002;
    position: relative;
    pointer-events: auto;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--pink-primary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    pointer-events: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav {
    width: 100%;
    padding: 2rem;
    position: relative;
    z-index: 1002;
    pointer-events: auto;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    z-index: 1002;
    pointer-events: auto;
}

.mobile-nav-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1002;
    pointer-events: auto;
}

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

.mobile-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
    transition: var(--transition);
    display: block;
    padding: 1.2rem 1.5rem;
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 1002;
    pointer-events: auto;
    cursor: pointer;
}

.mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.mobile-menu a.active {
    background: rgba(255, 255, 255, 0.2);
    font-weight: 600;
    border-left: 4px solid var(--white);
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--pink-soft), var(--pink-light));
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: visible;
    z-index: 1;
}


.hero h1 {
    font-size: 3rem;
    color: var(--pink-dark);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.2rem;
    color: var(--gray-dark);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

/* Hide mobile text, show desktop text on desktop */
.hero-buttons .mobile-text {
    display: none;
}

.hero-buttons .desktop-text {
    display: inline;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 105, 180, 0.3);
}

.btn-primary {
    background: var(--pink-primary);
    color: var(--white);
    pointer-events: auto !important;
    z-index: 10;
    position: relative;
}

.btn-primary:hover {
    background: var(--pink-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--pink-primary);
    border: 2px solid var(--pink-primary);
    pointer-events: auto !important;
    z-index: 10;
    position: relative;
}

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

/* Sections */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--pink-dark);
    margin-bottom: 3rem;
    position: relative;
}


/* Game Section */
.game-section {
    background: var(--gray-light);
    padding: 4rem 0;
}

.game-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Mini Game Styles */
.mini-game {
    text-align: center;
}

.game-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 400px;
    margin: 2rem auto;
}

.game-card {
    aspect-ratio: 1;
    background: var(--pink-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 2rem;
    transition: var(--transition);
    border: 3px solid transparent;
}

.game-card:hover {
    transform: scale(1.05);
    border-color: var(--pink-primary);
}

.game-card.flipped {
    background: var(--pink-primary);
    color: var(--white);
}

.game-card.matched {
    background: var(--gray);
    cursor: default;
    opacity: 0.7;
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: var(--pink-soft);
    border-radius: 15px;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.3);
}

.contact-item h3 {
    color: var(--pink-dark);
    margin-bottom: 1rem;
}

.contact-item p {
    color: var(--gray-dark);
}

/* Map Container */
.contact-map {
    margin-top: 3rem;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.game-card-large {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: visible;
}

.game-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--pink-primary), var(--pink-dark));
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    z-index: 0;
}

.game-card-large:hover::before {
    opacity: 0.1;
}

.game-card-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 105, 180, 0.3);
}

.game-card-large.locked {
    opacity: 0.6;
    cursor: not-allowed;
    position: relative;
}

.game-card-large.locked::after {
    content: 'LOCKED';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gray-dark);
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 2rem;
    border-radius: 10px;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.game-card-large.locked:hover {
    transform: none;
}

/* Ensure first game card button is always visible and active */
#game-card-1 {
    opacity: 1 !important;
    cursor: default !important;
}

#game-card-1.locked {
    opacity: 1 !important;
}

#game-card-1::before {
    pointer-events: none !important;
    z-index: 0 !important;
}

#game-card-1 {
    overflow: visible !important;
}

#game-card-1 > * {
    position: relative;
    z-index: 1;
}

#play-btn-1 {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 100 !important;
    text-decoration: none !important;
}

#play-btn-1:hover {
    pointer-events: auto !important;
    z-index: 101 !important;
}

.game-image {
    width: 100%;
    height: 200px;
    background: var(--pink-light);
    border-radius: 10px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    overflow: hidden;
    position: relative;
}

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

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

/* Hero Image */
.hero-image {
    width: 100%;
    max-width: 600px;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    margin: 2rem auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Article Image */
.article-image {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    margin: 1.5rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.article-card:hover .article-image img {
    transform: scale(1.03);
}

/* Section Image */
.section-image {
    width: 100%;
    max-width: 500px;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    margin: 2rem auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Images */
/* Hero Content Grid */
.hero-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-image {
        height: 300px;
    }
    
    .article-image {
        height: 200px;
    }
    
    .section-image {
        height: 250px;
    }
    
    /* Hero section grid on mobile */
    .hero-content-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        position: relative;
        z-index: 1;
    }
    
    .hero-content-grid > div {
        position: relative;
        z-index: 1;
    }
    
    .hero-content-grid .hero-image {
        order: -1;
        margin-bottom: 2rem;
        position: relative;
        z-index: 1;
    }
    
    .hero-content-grid .hero-buttons {
        position: relative !important;
        z-index: 100 !important;
    }
    
    /* Keep 2 columns on tablets */
    .stats-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.game-title {
    font-size: 1.5rem;
    color: var(--pink-dark);
    margin-bottom: 0.5rem;
}

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

/* Footer */
footer {
    background: linear-gradient(135deg, var(--pink-dark), var(--pink-primary));
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
}

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

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    padding-left: 5px;
}

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

.footer-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    pointer-events: auto;
}

.cookie-banner.show {
    transform: translateY(0);
}

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

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text p {
    margin-bottom: 0.5rem;
}

.cookie-text a {
    color: var(--pink-primary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    pointer-events: auto;
    z-index: 10001;
    position: relative;
}

.cookie-buttons button {
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 10001;
    position: relative;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 105, 180, 0.3);
}

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

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

.fade-in {
    animation: fadeIn 0.6s ease;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease;
}

/* Global mobile button activation - applies to all screen sizes but enforced on mobile */
@media (max-width: 768px) {
    /* Force all interactive elements to be clickable */
    * {
        -webkit-tap-highlight-color: rgba(255, 105, 180, 0.3);
    }
    
    /* Remove any blocking overlays when menu is closed */
    body:not(.menu-open) .menu-overlay {
        pointer-events: none !important;
    }
    
    /* Ensure no element blocks buttons */
    .hero-buttons *,
    .hero-buttons *::before,
    .hero-buttons *::after {
        pointer-events: none !important;
    }
    
    .hero-buttons,
    .hero-buttons .btn,
    .hero-buttons a.btn,
    .hero-buttons button {
        pointer-events: auto !important;
    }
    nav ul {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        pointer-events: auto !important;
        z-index: 1002 !important;
    }
    
    .mobile-menu {
        display: flex !important;
        pointer-events: auto !important;
        z-index: 1001 !important;
    }
    
    .menu-overlay {
        display: block !important;
        pointer-events: none !important;
        z-index: 1000 !important;
    }
    
    .menu-overlay.active {
        pointer-events: auto !important;
    }
    
    .mobile-menu a {
        pointer-events: auto !important;
        z-index: 1002 !important;
        cursor: pointer !important;
    }
    
    .mobile-nav-list li {
        pointer-events: auto !important;
        z-index: 1002 !important;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .btn {
        width: 100%;
        pointer-events: auto !important;
        cursor: pointer !important;
        z-index: 10000 !important;
        position: relative !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: rgba(255, 105, 180, 0.3) !important;
    }
    
    /* Show hero buttons on mobile with specific styling */
    .hero-buttons {
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        position: relative !important;
        z-index: 10000 !important;
        pointer-events: auto !important;
    }
    
    .hero-buttons .btn,
    .hero-buttons a.btn,
    .hero-buttons button {
        width: 100% !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        z-index: 10001 !important;
        position: relative !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: rgba(255, 105, 180, 0.3) !important;
        display: block !important;
        text-align: center !important;
    }
    
    /* Show mobile text, hide desktop text on mobile */
    .hero-buttons .mobile-text {
        display: inline !important;
    }
    
    .hero-buttons .desktop-text {
        display: none !important;
    }
    
    /* Ensure all buttons are clickable on mobile */
    button,
    .btn,
    a.btn,
    input[type="submit"],
    input[type="button"],
    .reset-game-btn,
    .game-card-large .btn,
    .game-card-large a.btn,
    .cookie-buttons button,
    .cookie-buttons .btn,
    .hero-buttons button,
    .hero-buttons .btn,
    .hero-buttons a.btn,
    .accordion-header,
    .mobile-menu-toggle,
    footer a,
    .footer-section a {
        pointer-events: auto !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: rgba(255, 105, 180, 0.3) !important;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        position: relative !important;
        z-index: 10000 !important;
    }
    
    /* Ensure buttons are not disabled visually */
    button:not([disabled]),
    .btn:not([disabled]),
    a.btn:not([disabled]),
    input[type="submit"]:not([disabled]),
    input[type="button"]:not([disabled]) {
        opacity: 1 !important;
        visibility: visible !important;
        display: inline-block !important;
    }
    
    /* Ensure game card buttons are active */
    .game-card-large .btn-primary,
    .game-card-large a.btn-primary {
        pointer-events: auto !important;
        cursor: pointer !important;
        z-index: 10000 !important;
        position: relative !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: rgba(255, 105, 180, 0.3) !important;
    }
    
    /* Ensure locked game cards don't block clicks on unlocked buttons */
    .game-card-large:not(.locked) .btn,
    .game-card-large:not(.locked) a.btn {
        pointer-events: auto !important;
        cursor: pointer !important;
        z-index: 10000 !important;
        position: relative !important;
    }
    
    /* Override any blocking styles */
    .game-card-large .btn-primary:not([disabled]),
    .game-card-large a.btn-primary:not([disabled]) {
        pointer-events: auto !important;
        cursor: pointer !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: inline-block !important;
    }
    
    /* Ensure all interactive elements are accessible */
    a[href],
    button:not([disabled]),
    input:not([disabled]),
    select:not([disabled]),
    textarea:not([disabled]) {
        pointer-events: auto !important;
        touch-action: manipulation !important;
    }
}

/* Accordion Styles */
.accordion {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.accordion-header {
    background: var(--pink-soft);
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    border: none;
    width: 100%;
    text-align: left;
}

.accordion-header:hover {
    background: var(--pink-light);
}

.accordion-header h3 {
    margin: 0;
    color: var(--pink-dark);
    font-size: 1.2rem;
}

.accordion-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--pink-primary);
}

.accordion.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.accordion.active .accordion-content {
    max-height: 1000px;
    padding: 1.5rem;
}

.accordion-content p {
    color: var(--gray-dark);
    line-height: 1.8;
    margin: 0;
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

table th {
    background: var(--pink-primary);
    color: var(--white);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

table td {
    padding: 1rem;
    border-bottom: 1px solid var(--pink-light);
    color: var(--gray-dark);
}

table tr:hover {
    background: var(--pink-soft);
}

table tr:last-child td {
    border-bottom: none;
}

/* Mobile Table to Cards Conversion */
@media (max-width: 768px) {
    .table-container {
        overflow-x: visible;
        box-shadow: none;
        border-radius: 0;
    }
    
    table {
        border-collapse: separate;
        border-spacing: 0;
        width: 100%;
    }
    
    thead {
        display: none;
    }
    
    tbody {
        display: block;
        width: 100%;
    }
    
    tr {
        display: block;
        background: var(--white);
        border: 1px solid var(--pink-light);
        border-radius: 15px;
        margin-bottom: 1rem;
        padding: 1.25rem;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        width: 100%;
        box-sizing: border-box;
    }
    
    tr:hover {
        background: var(--white);
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(255, 105, 180, 0.25);
    }
    
    td {
        display: flex;
        border: none;
        border-bottom: 1px solid var(--pink-soft);
        padding: 0.875rem 0;
        text-align: left;
        width: 100%;
        box-sizing: border-box;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    td:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    td:first-child {
        padding-top: 0;
    }
    
    /* Make first cell more prominent if it contains strong tag */
    td:first-child strong {
        font-weight: 700;
        font-size: 1.05rem;
        color: var(--pink-dark);
        display: block;
        margin-bottom: 0.5rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid var(--pink-primary);
    }
    
    td:before {
        content: attr(data-label) ":";
        display: inline-block;
        font-weight: 600;
        color: var(--pink-dark);
        margin-right: 0.5rem;
        min-width: 35%;
        flex-shrink: 0;
        font-size: 0.95rem;
    }
    
    /* Remove strong styling from first cell to avoid double emphasis */
    td strong {
        font-weight: 600;
    }
    
    /* Fallback: if no data-label, show as plain card without labels */
    td:not([data-label]):before {
        display: none;
    }
    
    /* Handle links in table cells */
    td a {
        color: var(--pink-primary);
        text-decoration: none;
        word-break: break-word;
    }
    
    td a:hover {
        text-decoration: underline;
    }
}

/* Article/Content Card Styles */
.article-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.3);
}

.article-meta {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.article-card h3 {
    color: var(--pink-dark);
    margin-bottom: 1rem;
}

.article-card p {
    color: var(--gray-dark);
    line-height: 1.8;
}

/* Stats/Info Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    background: linear-gradient(135deg, var(--pink-primary), var(--pink-dark));
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.feature-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--pink-primary);
}

.feature-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.feature-item:hover .feature-image img {
    transform: scale(1.05);
}

.feature-item h3 {
    color: var(--pink-dark);
    margin-bottom: 1rem;
}

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

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .game-board {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-image {
        height: 180px;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    table th,
    table td {
        padding: 0.75rem;
    }
    
    /* Disable fixed background on mobile for better performance */
    section[style*="background-attachment: fixed"] {
        background-attachment: scroll !important;
    }
    
    /* Additional mobile button activation rules */
    button:not([disabled]),
    .btn:not([disabled]),
    a.btn:not([disabled]),
    input[type="submit"]:not([disabled]),
    input[type="button"]:not([disabled]) {
        pointer-events: auto !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: rgba(255, 105, 180, 0.3) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Ensure game cards buttons are clickable */
    .game-card-large:not(.locked) .btn,
    .game-card-large:not(.locked) a.btn {
        pointer-events: auto !important;
        cursor: pointer !important;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Ensure reset button is active */
    .reset-game-btn {
        pointer-events: auto !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
    }
}

/* FINAL MOBILE BUTTON ACTIVATION - Highest priority rules */
@media (max-width: 768px) {
    /* Force ALL buttons to be active - highest priority */
    button:not([disabled]),
    .btn:not([disabled]),
    a.btn:not([disabled]),
    input[type="submit"]:not([disabled]),
    input[type="button"]:not([disabled]),
    .reset-game-btn,
    .cookie-buttons button,
    .cookie-buttons .btn,
    .hero-buttons .btn,
    .hero-buttons a.btn,
    .hero-buttons button,
    .game-card-large .btn-primary,
    .game-card-large a.btn-primary {
        pointer-events: auto !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: rgba(255, 105, 180, 0.3) !important;
        z-index: 99999 !important;
        position: relative !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: inline-block !important;
    }
    
    /* Ensure menu overlay doesn't block when closed */
    .menu-overlay:not(.active) {
        pointer-events: none !important;
        display: none !important;
    }
    
    /* Ensure flower-bg doesn't block buttons */
    .flower-bg::before {
        pointer-events: none !important;
        z-index: -1 !important;
    }
    
    /* Ensure hero buttons are always on top */
    .hero.flower-bg .hero-buttons,
    .hero.flower-bg .hero-buttons * {
        pointer-events: auto !important;
        z-index: 99999 !important;
        position: relative !important;
    }
    
    .hero.flower-bg .hero-buttons::before,
    .hero.flower-bg .hero-buttons::after,
    .hero.flower-bg .hero-buttons *::before,
    .hero.flower-bg .hero-buttons *::after {
        pointer-events: none !important;
        z-index: -1 !important;
    }
}
