/* Global Styles */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #13131f;
    --accent-primary: #8b5cf6;
    --accent-secondary: #ec4899;
    --accent-tertiary: #3b82f6;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(19, 19, 31, 0.7);
    --glass-border: rgba(255, 255, 255, 0.15);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    /* Static background removed in favor of animated divs */
}

/* Ambient Background Animation */
.ambient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-primary);
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.4;
    border-radius: 50%;
    animation: floatBlob 20s infinite ease-in-out alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    animation-delay: 0s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--accent-tertiary) 0%, transparent 70%);
    animation-delay: -10s;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 20px) scale(0.9);
    }

    100% {
        transform: translate(20px, 40px) scale(1.05);
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

button {
    cursor: pointer;
    font-family: var(--font-heading);
    border: none;
    outline: none;
    transition: all var(--transition-speed) ease;
}

/* App Container */
.app-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Navigation - Full Width Glass */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(10, 10, 15, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin: 0 -20px;
    /* Extend to full bleeding edge of container */
    width: calc(100% + 40px);
    transition: all 0.3s ease;
}

.navbar:hover {
    background: rgba(10, 10, 15, 0.9);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
}

.logo-icon {
    color: var(--accent-tertiary);
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
    animation: pulseIcon 3s infinite ease-in-out;
}

@keyframes pulseIcon {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.6));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.9));
    }
}

.highlight {
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-item {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-item:hover {
    color: var(--text-primary);
}

.nav-item:hover::after {
    width: 100%;
}

.cta-button-small {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    padding: 10px 24px;
    border-radius: 12px;
    /* Softer radius */
    font-weight: 600;
}

.cta-button-small:hover {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 120px 0 100px;
    min-height: 85vh;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

/* Entry Animations */
.animate-fade-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-float {
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.level-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent-primary);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 25px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.1);
}

.hero-content h1 {
    font-size: 4.5rem;
    /* Larger title */
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(to right,
            var(--accent-tertiary),
            var(--accent-secondary),
            #ffffff,
            var(--accent-secondary),
            var(--accent-tertiary));
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    position: relative;
    display: inline-block;
    font-weight: 800;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.hero-sub {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 90%;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 25px;
    margin-bottom: 50px;
}

.cta-button-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 16px 36px;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 10px 30px -10px rgba(139, 92, 246, 0.6);
    transform: translateY(0);
    position: relative;
    overflow: hidden;
}

.cta-button-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.cta-button-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(236, 72, 153, 0.7);
}

.cta-button-primary:hover::before {
    opacity: 1;
}

.cta-button-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
    padding: 16px 36px;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--text-secondary);
    transform: translateY(-2px);
}

.stats-preview {
    display: flex;
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--card-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Hero Visual - Mockup */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

/* Enhanced Glow behind mockup */
.hero-visual::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 60%);
    z-index: -1;
    filter: blur(60px);
    top: -10%;
    left: -10%;
}

.game-ui-mockup {
    background: rgba(15, 15, 25, 0.85);
    /* Slightly more opaque */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 30px;
    width: 100%;
    max-width: 450px;
    box-shadow:
        0 30px 60px -15px rgba(0, 0, 0, 0.6),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    /* Inner border light */
    backdrop-filter: blur(40px);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.4s ease;
}

.game-ui-mockup:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0) scale(1.02);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.health-bar-container {
    flex: 1;
    height: 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 7px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.health-bar {
    height: 100%;
    background: linear-gradient(90deg, #ef4444, #f87171);
    border-radius: 7px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

/* Shimmer effect on health bar */
.health-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: translateX(-100%);
    animation: shine 2s infinite;
}

.quest-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.quest-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 18px;
    border-radius: 16px;
    /* Softer */
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.quest-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.1);
}

.quest-item.completed {
    opacity: 0.7;
    background: rgba(34, 197, 94, 0.05);
    /* Green tint */
    border-color: rgba(34, 197, 94, 0.3);
}

.quest-item.completed .quest-text {
    text-decoration: line-through;
    color: #86efac;
}

.quest-item.active {
    background: rgba(139, 92, 246, 0.05);
    /* Purple tint */
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
}

.checkbox {
    width: 26px;
    height: 26px;
    border: 2px solid var(--text-secondary);
    border-radius: 8px;
    /* Softer */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #22c55e;
    transition: all 0.2s;
}

.quest-item.active .checkbox {
    border-color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.1);
}

.quest-text {
    flex: 1;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s;
}

.xp-reward {
    font-size: 0.8rem;
    color: #fbbf24;
    font-weight: 700;
    background: rgba(251, 191, 36, 0.1);
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
    z-index: 1;
    /* Above background */
}

.features-section h2 {
    font-size: 3rem;
    margin-bottom: 70px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* Slightly wider */
    gap: 40px;
    /* More space */
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    /* Glassier */
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    padding: 50px 35px;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy spring */
    text-align: left;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: inline-block;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Call to Action Section */
.cta-section {
    padding: 140px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 50px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at top right, rgba(236, 72, 153, 0.2), transparent 50%),
        radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.2), transparent 50%);
    z-index: -1;
}

.cta-content-wrapper h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
}

.signup-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.signup-form input {
    flex: 1;
    min-width: 250px;
    padding: 18px 25px;
    border-radius: 14px;
    border: none;
    background: transparent;
    color: white;
    font-family: var(--font-body);
    font-size: 1.1rem;
}

.signup-form input:focus {
    outline: none;
}

.signup-form button {
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: 18px 40px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.signup-form button:hover {
    transform: scale(1.05);
    background: white;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.small-print {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Footer */
footer {
    padding: 60px 0;
    margin-top: 80px;
    border-top: 1px solid var(--card-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    opacity: 0.8;
}

.footer-links a {
    color: var(--text-secondary);
    margin-left: 30px;
    font-size: 1rem;
    position: relative;
    padding-bottom: 5px;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-secondary);
    transition: width 0.3s;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-links a:hover::after {
    width: 100%;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    width: 100%;
    margin-top: 30px;
    text-align: right;
    opacity: 0.5;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .navbar {
        margin: 10px;
        padding: 15px 20px;
        top: 10px;
    }

    .nav-links {
        display: none;
        /* Still relying on mobile menu JS (not implemented fully in this snippet) */
    }

    .hero-section {
        flex-direction: column;
        padding: 100px 0 50px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .blob {
        opacity: 0.3;
        /* Tone down blobs on mobile */
    }

    .grid-overlay {
        opacity: 0.5;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .stats-preview {
        justify-content: center;
        border-top: none;
        padding-top: 20px;
    }

    .signup-form {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
    }

    .signup-form input {
        background: rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    .signup-form button {
        width: 100%;
    }
}

/* Audience Section Refinement */
.audience-section {
    padding: 80px 0 120px;
    margin: 50px 0;
    position: relative;
    /* Create a full width "stripe" effect */
}

/* Enhanced background for audience */
.audience-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0) 0%, rgba(19, 19, 31, 0.95) 20%, rgba(19, 19, 31, 0.95) 80%, rgba(10, 10, 15, 0) 100%);
    backdrop-filter: blur(10px);
    z-index: -1;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.audience-content h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.audience-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px;
    border-radius: 50px;
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 12px 30px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    background: var(--accent-tertiary);
    color: white;
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.4);
}

.tab-icon {
    font-size: 1.2rem;
}

/* Mode Display Area */
.tab-content {
    animation: fadeInScale 0.5s ease;
    width: 100%;
    max-width: 900px;
    /* Slightly wider */
    margin: 0 auto;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.mode-card {
    background: rgba(30, 30, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    /* Side by side on desktop */
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
}

.mode-visual {
    flex: 0 0 30%;
    /* Slightly smaller width for visual */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    position: relative;
    overflow: hidden;
}

/* Visual Backgrounds specific per mode */
.single-visual {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(10, 10, 15, 0.8));
}

.couple-visual {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(10, 10, 15, 0.8));
}

.family-visual {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(10, 10, 15, 0.8));
}

.visual-circle {
    width: 160px;
    /* Increased Size */
    height: 160px;
    /* Increased Size */
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.05);
    /* Stronger glow */
    z-index: 1;
    position: relative;
}

/* Double ring effect */
.visual-circle::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: spin 30s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.big-emoji {
    font-size: 6rem;
    /* Much bigger icon */
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    transform: scale(1);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mode-card:hover .big-emoji {
    transform: scale(1.1) rotate(5deg);
}

.mode-info {
    flex: 1;
    padding: 50px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mode-info h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff, #cbd5e1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.mode-desc {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 90%;
}

/* Grid Layout for Features */
.mode-features-list {
    list-style: none;
    display: grid;
    /* Grid layout! */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.mode-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.04);
    padding: 15px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    cursor: default;
}

.mode-features-list li:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .mode-card {
        flex-direction: column;
    }

    .mode-visual {
        padding: 40px;
        flex: none;
    }

    .mode-info {
        padding: 30px;
        text-align: center;
    }

    .mode-desc {
        max-width: 100%;
    }

    .mode-features-list {
        grid-template-columns: 1fr;
        /* Stack on mobile */
        text-align: left;
    }
}