/* =========================================
   Google Fonts Import (Baloo 2 & Poppins)
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

/* =========================================
   Root Variables (Bright Color Palette)
   ========================================= */
:root {
    --primary-pink: #FF3D9A;      /* Hot Pink */
    --secondary-purple: #8A2BE2;  /* Electric Purple */
    --sunny-yellow: #FFD93D;      /* Sunny Yellow */
    --sporty-teal: #2BC0A4;       /* Sporty Teal */
    --light-bg: #FFF9FC;          /* Very soft pink/white background */
    --white: #FFFFFF;
    --dark-text: #2D2A4A;         /* Soft dark navy for easy reading */
    --placeholder-bg: #F3F0FF;
    --placeholder-border: #D4CCEC;
    --footer-bg: #2D2A4A;
}

/* =========================================
   Global Styles & Resets
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; 
    scroll-padding-top: 90px; 
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Baloo 2', cursive;
}

h2 {
    font-size: 2.5rem;
    color: var(--secondary-purple);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 800;
}

p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #555;
}

/* =========================================
   Scroll Progress Bar
   ========================================= */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 8px;
    width: 0%;
    background: linear-gradient(90deg, var(--sporty-teal), var(--primary-pink), var(--sunny-yellow));
    z-index: 1000; 
    border-bottom-right-radius: 10px;
    transition: width 0.1s ease-out;
}

/* =========================================
   Navigation Bar
   ========================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 40px;
    box-shadow: 0 4px 20px rgba(138, 43, 226, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-link {
    display: flex;
    align-items: center;
    z-index: 110;
}

.header-logo {
    height: 50px; 
    width: auto;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05); 
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 50px;
}

.nav-links a:hover {
    color: var(--white);
    background-color: var(--primary-pink);
}

/* =========================================
   Hamburger Menu (Hidden on Desktop)
   ========================================= */
.menu-toggle { display: none; }

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    cursor: pointer;
    z-index: 110;
}

.hamburger .line {
    height: 4px;
    width: 100%;
    background-color: var(--secondary-purple);
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* =========================================
   Buttons (3D Tactile Style)
   ========================================= */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Baloo 2', cursive;
    font-size: 1.2rem;
    transition: all 0.2s ease;
    margin-right: 15px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-pink);
    color: var(--white);
    box-shadow: 0 6px 0 #D11E7C;
}

.btn-primary:hover {
    transform: translateY(3px);
    box-shadow: 0 3px 0 #D11E7C;
}

.btn-primary:active {
    transform: translateY(6px);
    box-shadow: 0 0px 0 #D11E7C;
}

.btn-secondary {
    background-color: var(--white);
    color: var(--secondary-purple);
    box-shadow: 0 6px 0 #E0D8F5;
    border: 3px solid var(--secondary-purple);
}

.btn-secondary:hover {
    transform: translateY(3px);
    box-shadow: 0 3px 0 #E0D8F5;
}

/* New Tertiary Button (Sunny Yellow) */
.btn-tertiary {
    background-color: var(--sunny-yellow);
    color: var(--dark-text);
    box-shadow: 0 6px 0 #E6B800;
    border: none;
}

.btn-tertiary:hover {
    transform: translateY(3px);
    box-shadow: 0 3px 0 #E6B800;
}

.btn-tertiary:active {
    transform: translateY(6px);
    box-shadow: 0 0px 0 #E6B800;
}

/* =========================================
   Hero Load Animations (Pure CSS)
   ========================================= */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    0% { opacity: 0; transform: translateX(40px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* =========================================
   Hero Section (Eye-Catching Gradient)
   ========================================= */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 40px;
    background: linear-gradient(135deg, #FF9AD1 0%, #FECFEF 50%, #FFEBA4 100%);
    border-radius: 0 0 40px 40px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    z-index: 2;
    animation: fadeInUp 1s ease-out both;
    animation-delay: 0.2s;
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--dark-text);
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.5);
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--dark-text);
    margin-bottom: 30px;
    font-weight: 500;
}

.hero-buttons { margin-top: 30px; }

/* =========================================
   Hero Image Styling
   ========================================= */
.hero-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    height: auto;
    margin-left: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.15);
    animation: fadeInLeft 1.2s ease-out both;
    animation-delay: 0.4s;
}

/* =========================================
   Standard Sections
   ========================================= */
.section {
    padding: 80px 40px;
    text-align: center;
    background-color: var(--white);
}

.section-alt {
    background-color: var(--light-bg);
}

.section p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
}

/* =========================================
   Why Us / Features Section
   ========================================= */
.features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-box {
    background-color: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(138, 43, 226, 0.08);
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    transition: all 0.3s ease;
    border-top: 8px solid var(--sporty-teal);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.15);
}

.feature-box h3 {
    color: var(--sporty-teal);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.feature-box:nth-child(2) { border-top: 8px solid var(--primary-pink); }
.feature-box:nth-child(2) h3 { color: var(--primary-pink); }

/* =========================================
   Products Section
   ========================================= */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background-color: var(--white);
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 12px 30px rgba(138, 43, 226, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid transparent;
    overflow: hidden; 
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.15);
    border: 2px solid var(--placeholder-border);
}

.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover; 
    margin-bottom: 20px;
    border-radius: 16px;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05); 
}

.product-card h3 {
    color: var(--dark-text);
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.product-card p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

.product-card .btn {
    font-size: 1.1rem;
    padding: 10px 28px;
    margin-right: 0;
}

/* =========================================
   Gallery Section
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-image {
    width: 100%;
    height: 280px;
    object-fit: cover; 
    border-radius: 24px;
    box-shadow: 0 8px 20px rgba(138, 43, 226, 0.08);
    transition: transform 0.4s ease;
}

.gallery-image:hover {
    transform: scale(1.03); 
}

/* =========================================
   Reviews / Sample Comments Section
   ========================================= */
.fictional-notice {
    background-color: #FFF3CD;
    color: #856404;
    border: 2px solid #FFEEBA;
    padding: 15px 25px;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto 40px;
    font-weight: 600;
    font-size: 1rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 24px;
    border-left: 8px solid var(--sunny-yellow);
    box-shadow: 0 12px 30px rgba(138, 43, 226, 0.05);
    transition: transform 0.3s ease;
    text-align: left;
}

.review-card:nth-child(2) { border-left: 8px solid var(--sporty-teal); }
.review-card:nth-child(3) { border-left: 8px solid var(--primary-pink); }

.review-card:hover {
    transform: translateY(-5px);
}

.review-card p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.review-card h4 {
    color: var(--secondary-purple);
    font-size: 1.2rem;
    margin: 0;
}

/* =========================================
   FAQ Section
   ========================================= */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background-color: var(--white);
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(138, 43, 226, 0.05);
    border-left: 6px solid var(--secondary-purple);
}

.faq-item h3 {
    color: var(--primary-pink);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.faq-item p {
    margin: 0;
    color: #555;
    font-size: 1.05rem;
}

/* =========================================
   Brand Campaign Section (Video & Jingle)
   ========================================= */
.campaign-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: stretch; 
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.campaign-video {
    flex: 1 1 500px; 
    min-width: 300px;
    max-width: 700px;
}

.video-container {
    width: 100%;
    aspect-ratio: 16 / 9; 
    border-radius: 24px;
    overflow: hidden; 
    box-shadow: 0 12px 30px rgba(138, 43, 226, 0.1);
    border: 4px solid var(--white); 
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.jingle-card {
    flex: 1 1 300px; 
    max-width: 450px;
    background-color: var(--white);
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(138, 43, 226, 0.08);
    text-align: left;
    display: flex;
    flex-direction: column;
    border-top: 8px solid var(--sunny-yellow);
}

.jingle-card h3 {
    color: var(--secondary-purple);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.jingle-desc {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.jingle-lyrics {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 16px;
    border-left: 6px solid var(--primary-pink);
    margin-bottom: 25px;
    flex-grow: 1; 
}

.jingle-lyrics p {
    margin-bottom: 5px;
    font-style: italic;
    color: var(--dark-text);
}

.audio-player {
    width: 100%;
    margin-top: auto; 
    border-radius: 12px; 
}

/* =========================================
   Contact Form Section
   ========================================= */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(138, 43, 226, 0.1);
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: 2px solid var(--placeholder-border);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--dark-text);
    background-color: var(--light-bg);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-purple);
    background-color: var(--white);
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    margin-right: 0;
    text-align: center;
}

/* =========================================
   Final Call To Action Section
   ========================================= */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-purple) 0%, var(--primary-pink) 100%);
    color: var(--white);
    padding: 100px 40px;
    text-align: center;
    border-radius: 40px 40px 0 0;
    margin-top: 40px;
}

.cta-section h2 {
    color: var(--white);
    font-size: 3rem;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 1.3rem;
}

.cta-section .btn-primary {
    background-color: var(--sunny-yellow);
    color: var(--dark-text);
    box-shadow: 0 6px 0 #E6B800;
}

.cta-section .btn-primary:hover {
    box-shadow: 0 3px 0 #E6B800;
}

/* =========================================
   Footer Section
   ========================================= */
.footer {
    background-color: var(--footer-bg);
    color: var(--white);
    padding: 60px 40px 40px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h3 {
    color: var(--sunny-yellow);
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.footer-logo {
    max-width: 120px;
    height: auto;
    border-radius: 16px; 
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--sunny-yellow);
}

/* =========================================
   Back to Top Button
   ========================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--secondary-purple);
    color: var(--white);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: bold;
    box-shadow: 0 6px 0 #6A1FB0;
    z-index: 90;
    transition: all 0.2s ease;
}

.back-to-top:hover {
    background-color: var(--primary-pink);
    transform: translateY(3px);
    box-shadow: 0 3px 0 #D11E7C;
}

.back-to-top:active {
    transform: translateY(6px);
    box-shadow: 0 0px 0 #D11E7C;
}

/* =========================================
   Quiz Page Styles
   ========================================= */
.quiz-container {
    max-width: 600px;
    margin: 0 auto;
}

.quiz-card {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px;
    background-color: var(--white);
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(138, 43, 226, 0.1);
    text-align: center;
}

.quiz-card.active {
    display: flex;
    animation: fadeInUp 0.5s ease-out both;
}

.quiz-card h3 {
    color: var(--secondary-purple);
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.quiz-card p {
    color: #555;
    font-size: 1.1rem;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.quiz-option {
    background-color: var(--light-bg);
    color: var(--dark-text);
    border: 2px solid var(--placeholder-border);
    padding: 15px 20px;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.quiz-option:hover {
    border-color: var(--secondary-purple);
    background-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(138, 43, 226, 0.1);
}

#result-content {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 16px;
    border-left: 6px solid var(--sporty-teal);
    width: 100%;
}

#result-content h4 {
    color: var(--primary-pink);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.quiz-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.quiz-buttons .btn {
    margin-right: 0;
}

/* =========================================
   Fun Zone Game 1 Styles (Matching)
   ========================================= */
.game-container {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.game-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 400px;
}

.game-column h3 {
    color: var(--secondary-purple);
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.game-card {
    background-color: var(--white);
    padding: 30px 20px; 
    border-radius: 16px;
    border: 3px solid var(--placeholder-border);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    font-weight: 600;
    font-size: 1.3rem; 
    color: var(--dark-text);
    box-shadow: 0 6px 15px rgba(138, 43, 226, 0.05);
    min-height: 110px; 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.game-card:hover {
    transform: translateY(-3px);
    border-color: var(--secondary-purple);
    box-shadow: 0 8px 20px rgba(138, 43, 226, 0.1);
}

.game-card.selected {
    background-color: var(--light-bg);
    border-color: var(--secondary-purple);
    transform: scale(0.98);
}

.game-card.matched {
    background-color: var(--sporty-teal);
    color: var(--white);
    border-color: var(--sporty-teal);
    pointer-events: none; 
}

/* Shared Game Status Box */
.game-status {
    margin-top: 30px;
    font-size: 1.5rem; 
    font-family: 'Baloo 2', cursive;
    color: var(--secondary-purple);
    text-align: center;
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: 16px;
    border: 2px dashed var(--primary-pink);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   Fun Zone Game 2 Styles (Memory Match)
   ========================================= */
.memory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 20px;
    max-width: 500px;
    margin: 0 auto 40px;
}

.memory-card {
    background-color: var(--secondary-purple);
    color: var(--white);
    border-radius: 16px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: 'Baloo 2', cursive;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    padding: 10px;
    box-shadow: 0 6px 0 #6A1FB0;
    transition: transform 0.2s ease, background-color 0.3s ease;
    user-select: none;
}

.memory-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 0 #6A1FB0;
}

.memory-card.flipped {
    background-color: var(--white);
    color: var(--dark-text);
    border: 3px solid var(--secondary-purple);
    box-shadow: 0 6px 15px rgba(138, 43, 226, 0.15);
}

.memory-card.matched {
    background-color: var(--sporty-teal);
    color: var(--white);
    border: 3px solid var(--sporty-teal);
    pointer-events: none;
    box-shadow: 0 6px 0 #1f9c87;
}

.memory-card .hidden-text {
    display: none;
}

.memory-card.flipped .hidden-text,
.memory-card.matched .hidden-text {
    display: block;
}

.memory-card.flipped .question-mark,
.memory-card.matched .question-mark {
    display: none;
}

.memory-card .question-mark {
    font-size: 2.5rem;
}

/* =========================================
   Confetti Animation Styles
   ========================================= */
.confetti {
    position: fixed;
    top: -20px;
    z-index: 10000;
    pointer-events: none;
    border-radius: 2px;
    animation-name: confetti-fall;
    animation-timing-function: linear;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* =========================================
   Responsive Design (Tablets & Phones)
   ========================================= */
@media (max-width: 768px) {
    /* Show Hamburger, Hide Desktop Nav */
    .hamburger { display: flex; }

    .nav-links {
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 20px 20px;
    }

    .menu-toggle:checked ~ .nav-links {
        display: flex;
    }

    .navbar {
        position: relative;
        padding: 15px 20px;
    }

    .header-logo {
        height: 40px; 
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 50px 25px;
        border-radius: 0 0 30px 30px;
    }

    .hero-content { margin-bottom: 40px; }
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content p { font-size: 1.1rem; }

    .hero-image {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
    }

    .hero-buttons .btn {
        margin-bottom: 15px;
        margin-right: 0;
        width: 100%;
        display: block;
    }

    .section { padding: 60px 20px; }
    h2 { font-size: 2rem; }

    .cta-section { border-radius: 30px 30px 0 0; padding: 60px 20px; }
    .cta-section h2 { font-size: 2.2rem; }

    .footer {
        flex-direction: column;
        gap: 30px;
        padding: 40px 20px;
    }

    .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
        bottom: 20px;
        right: 20px;
    }

    .quiz-buttons .btn {
        width: 100%;
    }

    .memory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}