/*
Theme Name: CatgirlGO
Theme URI: https://ccg.gardevault.eu/
Author: Gardevault
Description: CatgirlGO landing page theme.
Version: 1.0.0
Text Domain: catgirlgo
*/

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

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --dark-bg: #1e293b;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Dark Mode Styles */
body.dark-mode {
    --light-bg: #1e293b;
    --dark-bg: #f8fafc;
    --text-dark: #f1f5f9;
    --text-light: #94a3b8;
    --white: #1e293b;
}

body.dark-mode .navbar {
    background: rgba(30, 41, 59, 0.95);
}

body.dark-mode .service-card,
body.dark-mode .contact-form,
body.dark-mode footer {
    background: var(--dark-bg);
    color: var(--text-dark);
}

body.dark-mode .nav-links a,
body.dark-mode .nav-text {
    color: var(--text-dark);
}

body.dark-mode .hero-overlay {
    background: rgba(0, 0, 0, 0.7);
}

body.dark-mode .hero-content h1 {
    color: var(--text-dark);
}

body.dark-mode .typing-container .typing-text {
    color: var(--text-dark);
}

body.dark-mode .character-spotlight {
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--primary-color);
}

body.dark-mode .character-spotlight h3 {
    color: var(--text-dark);
}

body.dark-mode .character-spotlight p {
    color: var(--text-light);
}

body.dark-mode .about-text p {
    color: var(--text-light);
}

body.dark-mode .cta-button {
    background: var(--primary-color);
    color: var(--white);
}

body.dark-mode .submit-button {
    background: var(--primary-color);
    color: var(--white);
}

body.dark-mode .social-links a {
    color: var(--text-dark);
}

body.dark-mode .social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

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

/* Site Header */
.site-header {
    position: relative;
    z-index: 100;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    backdrop-filter: blur(7px) saturate(200%);
    border-bottom: 1px solid rgba(99, 102, 241, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    transition: padding 0.3s ease;
}

.navbar.scrolled .navbar-container {
    padding: 0.75rem 20px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.logo-icon {
    font-size: 1.9rem;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.25));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-3px) rotate(2deg);
    }
    75% {
        transform: translateY(-3px) rotate(-2deg);
    }
}

@keyframes floatWater {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}


.logo-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 0;
    transition: color 0.3s ease;
}

.nav-text {
    position: relative;
    z-index: 1;
}

.nav-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover .nav-line,
.nav-link.active .nav-line {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dark-mode-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mode-toggle:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: scale(1.1);
}

.toggle-icon {
    font-size: 1.25rem;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 4px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

.hamburger::before {
    transform: translateY(-6px);
}

.hamburger::after {
    transform: translateY(6px);
}

/* Mobile Menu */
@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
    }

    .nav-line {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    .mobile-menu-btn.active .hamburger {
        transform: rotate(45deg);
        background: transparent;
    }

    .mobile-menu-btn.active .hamburger::before {
        transform: translateY(6px) rotate(90deg);
    }

    .mobile-menu-btn.active .hamburger::after {
        transform: translateY(-6px) rotate(-90deg);
    }

    .header-actions {
        gap: 0.5rem;
    }

    .dark-mode-toggle .toggle-icon {
        font-size: 1.1rem;
    }
}


.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover .nav-line {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active .nav-line {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.mobile-menu-btn.active .hamburger {
    background: transparent;
}

.mobile-menu-btn.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-btn.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mode-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.dark-mode-toggle:active {
    transform: scale(0.95);
}

.toggle-icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.4));
    transition: transform 0.3s ease;
}

.dark-mode-toggle:hover .toggle-icon {
    transform: rotate(180deg);
}

/* Dark Mode Toggle in Dark Mode */
body.dark-mode .dark-mode-toggle {
    background: var(--light-bg);
    color: var(--text-dark);
}

body.dark-mode .dark-mode-toggle:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 20px;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 0.5rem;
    }

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

    .nav-line {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .logo {
        font-size: 1.3rem;
    }

    .logo-icon {
        font-size: 1.5rem;
    }

    .dark-mode-toggle {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* Character Showcase Section */
.characters {
    padding: 100px 0;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.characters::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-description {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

.characters-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.tab-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.tab-btn.active {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.character-card {
    background: var(--white);
    border-radius: 20px;
    overflow: visible;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
}

.character-card.visible {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease forwards;
}

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

.character-card .card-art {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
}

.character-card .card-art img {
    width: 100%;
    height: 210%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.character-card:hover .card-art img {
    transform: scale(1.08);
}

.character-card .card-info {
    padding: 1.25rem;
    text-align: center;
    position: relative;
}

.character-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.character-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.character-card .card-decoration {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.5rem;
}

.character-card-sticker {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(99, 102, 241, 0.3));
    animation: float 3s ease-in-out infinite;
}

.character-card-sticker:nth-child(1) { animation-delay: 0s; }
.character-card-sticker:nth-child(2) { animation-delay: 1s; }
.character-card-sticker:nth-child(3) { animation-delay: 0.5s; }
.character-card-sticker:nth-child(4) { animation-delay: 1.5s; }
.character-card-sticker:nth-child(5) { animation-delay: 2s; }
.character-card-sticker:nth-child(6) { animation-delay: 2.5s; }

.rarity-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rarity-badge.common {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.25));
    color: #16a34a;
}

.rarity-badge.rare {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(99, 102, 241, 0.25));
    color: #6366f1;
}

.rarity-badge.epic {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(168, 85, 247, 0.25));
    color: #a855f7;
}

.rarity-badge.legendary {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(236, 72, 153, 0.25));
    color: #ec4899;
}

/* World Locations Section */
.locations {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.locations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

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

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.location-card {
    background: var(--light-bg);
    border-radius: 20px;
    overflow: visible;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
}

.location-card.visible {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease forwards;
}

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

.location-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
}

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

.location-card:hover .location-image img {
    transform: scale(1.08);
}

.location-info {
    padding: 1.25rem;
    text-align: center;
    position: relative;
}

.location-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.location-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.location-decoration {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.location-sticker {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.4));
    animation: float 3s ease-in-out infinite;
}

.location-sticker:nth-child(1) { animation-delay: 0s; }
.location-sticker:nth-child(2) { animation-delay: 1s; }
.location-sticker:nth-child(3) { animation-delay: 0.5s; }
.location-sticker:nth-child(4) { animation-delay: 1.5s; }
.location-sticker:nth-child(5) { animation-delay: 2s; }
.location-sticker:nth-child(6) { animation-delay: 2.5s; }

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.25);
}

.feature-card .feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card .feature-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(0deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(360deg); }
}

.feature-card .feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.3));
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.feature-card:hover .feature-icon img {
    transform: scale(1.15) rotate(10deg);
}

/* Sticker Decorative Elements */
.sticker-decorative {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    opacity: 0.8;
    z-index: 0;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.2));
}

.sticker-decorative:nth-child(2n) {
    animation-delay: 1s;
}

.sticker-decorative:nth-child(3n) {
    animation-delay: 2s;
}

.sticker-decorative:hover {
    opacity: 1;
    transform: scale(1.2) rotate(15deg);
}

/* Logo Icon with Sticker */
.logo-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.4));
    animation: float 3s ease-in-out infinite;
}

/* Dark Mode Toggle Icon */
.toggle-icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(99, 102, 241, 0.3));
    transition: transform 0.3s ease;
}

.dark-mode-toggle:hover .toggle-icon {
    transform: rotate(180deg) scale(1.1);
}

/* Feature Icon Image */
.feature-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.3));
}

/* Background Sticker Decoration */
#stickerContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.sticker-bg {
    position: absolute;
    opacity: 0.05;
    animation: floatBackground 20s ease-in-out infinite;
}

.sticker-bg:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.sticker-bg:nth-child(2) { top: 20%; right: 15%; animation-delay: 2s; }
.sticker-bg:nth-child(3) { bottom: 15%; left: 20%; animation-delay: 4s; }
.sticker-bg:nth-child(4) { bottom: 10%; right: 10%; animation-delay: 6s; }
.sticker-bg:nth-child(5) { top: 50%; left: 5%; animation-delay: 8s; }
.sticker-bg:nth-child(6) { top: 15%; left: 50%; animation-delay: 10s; }

@keyframes floatBackground {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-30px) rotate(5deg); }
    50% { transform: translateY(-20px) rotate(-3deg); }
    75% { transform: translateY(-35px) rotate(3deg); }
}

/* Navigation Sticker Decoration */
.nav-sticker {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
    z-index: 0;
}

.nav-sticker:nth-child(1) { top: 20px; left: 20px; animation: float 4s ease-in-out infinite; }
.nav-sticker:nth-child(2) { top: 20px; right: 20px; animation: float 5s ease-in-out infinite 1s; }
.nav-sticker:nth-child(3) { bottom: -20px; left: 50%; transform: translateX(-50%); animation: float 6s ease-in-out infinite 2s; }

/* Section Title Decoration */
.section-title {
    position: relative;
    display: inline-block;
}




.section-title::after {
    content: '⭐';
    position: absolute;
    top: -25px;
    left: -30px;
    font-size: 1.5rem;
    animation: sparkle 2.5s ease-in-out infinite 0.5s;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.5; transform: scale(1.2) rotate(180deg); }
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* Download Section */
.download {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

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

.download-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.download-text h2 {
    position: relative;
    display: inline-block;
}

.download-text h2::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -40px;
    width: 40px;
    height: 40px;
    background-image: url('Assets/GeneratedStickers/paws/paw_01.webp');
    background-size: cover;
    background-position: center;
    animation: float 3s ease-in-out infinite;
}

.download-text h2::after {
    content: '';
    position: absolute;
    bottom: -25px;
    right: -30px;
    width: 35px;
    height: 35px;
    background-image: url('Assets/GeneratedStickers/stars/star_01.webp');
    background-size: cover;
    background-position: center;
    animation: float 4s ease-in-out infinite 1s;
}

.download-text p {
    position: relative;
}

.download-text p::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 25px;
    height: 25px;
    background-image: url('Assets/GeneratedStickers/hearts/heart_01.webp');
    background-size: cover;
    background-position: center;
    animation: float 3.5s ease-in-out infinite;
}

.download-text p::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 0;
    width: 20px;
    height: 20px;
    background-image: url('Assets/GeneratedStickers/glitter/glitter_01.webp');
    background-size: cover;
    background-position: center;
    animation: sparkle 2s ease-in-out infinite 0.5s;
}

.download-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
    position: relative;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, #7c7fff, #9d7fff);
}

.download-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-icon {
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.download-btn.primary .btn-icon {
    animation-delay: 0s;
}

.download-btn.secondary .btn-icon {
    animation-delay: 0.5s;
}

.download-btn.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.download-btn.secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.water-splash-container {
    position: relative;
    max-width: 300px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.water-splash {
    width: 80px;
    height: auto;
    opacity: 0.9;
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.3));
    animation: floatWater 3s ease-in-out infinite;
    display: block;
}

.water-splash:nth-child(1) {
    animation-delay: 0s;
}

.water-splash:nth-child(2) {
    width: 60px;
    animation-delay: 0.3s;
}

.water-splash:nth-child(3) {
    width: 50px;
    animation-delay: 0.6s;
}

.water-splash:nth-child(4) {
    width: 40px;
    animation-delay: 0.9s;
}

.water-splash:nth-child(5) {
    width: 35px;
    animation-delay: 1.2s;
}

.water-splash:nth-child(6) {
    width: 30px;
    animation-delay: 1.5s;
}

.download-artwork {
    position: relative;
}

.download-artwork::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -20px;
    width: 40px;
    height: 40px;
    background-image: url('Assets/GeneratedStickers/cat-heads/cat-head_01.webp');
    background-size: cover;
    background-position: center;
    animation: float 4s ease-in-out infinite;
}

.download-artwork::after {
    content: '';
    position: absolute;
    bottom: -25px;
    right: -15px;
    width: 30px;
    height: 30px;
    background-image: url('Assets/GeneratedStickers/stars/star_02.webp');
    background-size: cover;
    background-position: center;
    animation: sparkle 2.5s ease-in-out infinite 1s;
}

.download-cta .cta-button {
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.download-cta .cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, #7c7fff, #9d7fff);
}

.download-cta .cta-button:active {
    transform: translateY(-1px) scale(0.98);
}

.download-cta .cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.download-cta .cta-button.secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.download-artwork {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.download-artwork img {
    width: 65%;
    height: auto;
    border-radius: 20px;
  
    transition: transform 0.5s ease;
}

.download-artwork:hover img {
    transform: scale(1.02);
}

/* Section Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.cta-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.5);
}

.cta-button:active {
    transform: translateY(-1px);
}

.cta-button.loading {
    cursor: wait;
    pointer-events: none;
    opacity: 0.7;
}

/* Form Focus Styles */
input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

input:disabled,
textarea:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Navigation Focus Styles */
nav a:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.5);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-text p {
    max-width: 600px;
    margin: 0;
    text-align: left;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.service-card:hover .icon {
    transform: scale(1.2) rotate(10deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-image {
    margin-top: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

/* Counter Animation */
.counter {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 1rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 2rem 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer p {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.8;
}

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

/* Parallax Effect */
.hero {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .about h2,
    .services h2,
    .contact h2 {
        font-size: 2rem;
    }

    footer .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

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

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* --------------------------------------------------------------------------
   Catgirl GO product-page refresh
   A focused, editorial layer over the original component styles.
   -------------------------------------------------------------------------- */
:root {
    --ink: #202842;
    --muted: #68738d;
    --violet: #705cf6;
    --rose: #ef6ea9;
    --canvas: #f8f8fd;
    --line: #e9e7f5;
    --card-shadow: 0 18px 45px rgba(42, 35, 93, 0.09);
}

body {
    background: var(--canvas);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.container { max-width: 1160px; }

.navbar {
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(46, 37, 99, 0.07);
}

.navbar-container { max-width: 1240px; padding: 0.75rem 28px; }
.navbar.scrolled .navbar-container { padding: 0.6rem 28px; }
.logo { font-size: 1.15rem; color: var(--ink); gap: 0.4rem; }
.logo-icon { width: 32px; height: 32px; }
.nav-links { gap: 2.25rem; }
.nav-link { color: #3d465e; font-size: 0.78rem; padding: 0.8rem 0; }
.nav-link.active, .nav-link:hover { color: var(--violet); }
.nav-line { height: 3px; background: var(--violet); }
.dark-mode-toggle { width: 38px; height: 38px; padding: 0.3rem; background: #f4f2ff; }
.toggle-icon { width: 25px; height: 25px; }

.hero {
    min-height: 850px;
    padding: 128px 0 94px;
    background:
        radial-gradient(circle at 78% 38%, rgba(255, 189, 221, 0.58), transparent 24%),
        radial-gradient(circle at 56% 85%, rgba(152, 217, 255, 0.38), transparent 25%),
        linear-gradient(120deg, #fcfbff 0%, #f6f2ff 52%, #fff9fc 100%);
    position: relative;
    overflow: hidden;
}

.hero::before, .hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(112, 92, 246, 0.12);
    pointer-events: none;
}
.hero::before { width: 650px; height: 650px; right: -180px; top: 30px; }
.hero::after { width: 410px; height: 410px; right: 90px; top: 146px; }
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.75rem; align-items: center; }
.hero-copy { max-width: 620px; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 0.45rem; margin: 0 0 1.15rem;
    color: #755de7; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.eyebrow span { color: var(--rose); font-size: 1rem; }
.hero h1 {
    margin: 0; color: var(--ink); font-size: clamp(3.5rem, 5.8vw, 6.15rem); font-weight: 850;
    line-height: 0.98; letter-spacing: -0.065em;
}
.hero h1 span { color: var(--violet); }
.hero-description { max-width: 510px; margin: 1.5rem 0 2.1rem; color: var(--muted); font-size: 1.12rem; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 1rem; }
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 52px;
    padding: 0.75rem 1.25rem; border: 1px solid transparent; border-radius: 14px; font-size: 0.92rem;
    font-weight: 750; text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--violet); color: #fff; box-shadow: 0 12px 24px rgba(112, 92, 246, 0.25); }
.button-primary:hover { color: #fff; box-shadow: 0 16px 30px rgba(112, 92, 246, 0.35); }
.button-quiet { color: #4f4578; background: rgba(255, 255, 255, 0.65); border-color: rgba(112, 92, 246, 0.16); }
.hero-highlights { display: flex; gap: 1.6rem; margin: 2.5rem 0 0; padding: 1.35rem 0 0; list-style: none; border-top: 1px solid rgba(74, 63, 130, 0.13); }
.hero-highlights li { display: grid; gap: 0.1rem; }
.hero-highlights strong { color: var(--ink); font-size: 1.18rem; line-height: 1; }
.hero-highlights span { color: var(--muted); font-size: 0.72rem; }
.hero-showcase { position: relative; min-height: 660px; isolation: isolate; }
.hero-rosetta-art { position: absolute; z-index: 2; top: -28px; right: -7%; width: min(590px, 125%); margin: 0; filter: drop-shadow(0 32px 27px rgba(65, 34, 109, .28)); transform: rotate(1.25deg); transform-origin: center bottom; }
.hero-rosetta-art img { display: block; width: 100%; max-width: none; height: auto; transition: transform 300ms ease; }
.hero-showcase:hover .hero-rosetta-art img { transform: scale(1.018); }
.hero-fruit { position: absolute; z-index: 4; filter: drop-shadow(0 12px 12px rgba(65, 34, 109, .22)); }
.hero-fruit-strawberry { top: 3%; right: -3%; width: 112px; animation: strawberrySliceFloat 4s ease-in-out infinite; }
.hero-fruit-kiwi { bottom: 8%; left: -2%; width: 102px; animation: kiwiSliceFloat 4.2s ease-in-out infinite; }
.hero-fruit-orange { top: 31%; left: -6%; width: 96px; animation: appleSliceFloat 4.6s ease-in-out infinite; }
.hero-fruit-slice { right: -4%; bottom: 15%; width: 124px; animation: strawberrySliceFloat 4.4s ease-in-out infinite reverse; }
.hero-style-card { position: absolute; z-index: 3; display: grid; gap: .14rem; padding: .72rem .85rem; border: 1px solid rgba(255,255,255,.82); border-radius: 14px; background: rgba(255,255,255,.86); box-shadow: var(--card-shadow); color: #4d2e59; backdrop-filter: blur(8px); }
.hero-style-card span { color: #a26783; font-size: .59rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.hero-style-card strong { font-size: .82rem; }
.hero-style-card-precision { top: 22%; left: -3%; }
.hero-style-card-special { right: -6%; bottom: 16%; }
.hero-orb { position: absolute; border-radius: 50%; z-index: 0; }
.orb-one { width: 430px; height: 430px; top: 12%; right: 8%; background: linear-gradient(145deg, #b6dcff, #cfc4ff 55%, #ffc9e5); }
.orb-two { width: 140px; height: 140px; right: 1%; top: 11%; background: #ffe2b2; opacity: 0.8; }
.hero-sticker { position: absolute; z-index: 4; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 17px; font-size: 1.7rem; box-shadow: 0 14px 28px rgba(65, 45, 108, 0.16); animation: float 4s ease-in-out infinite; }
.hero-sticker-star { top: 11%; left: 10%; background: #fff0a9; color: #f0a81f; transform: rotate(-15deg); }
.hero-sticker-heart { bottom: 12%; left: 4%; background: #ffd5e7; color: #eb5d9d; animation-delay: -1.2s; transform: rotate(12deg); }

.characters, .locations, .features { padding: 105px 0; overflow: hidden; }
.characters { background: #fff; }
.locations { background: #f8f8fd; }
.features { background: #fff; }
.characters::before, .locations::before, .features::before, .download::before { display: none; }
.characters .container, .locations .container, .features .container { max-width: 1160px; }
.section-title { display: block; margin: 0 auto 0.7rem; color: var(--ink); font-size: clamp(2.1rem, 3.5vw, 3.15rem); letter-spacing: -0.055em; }
.section-title::after { content: none; }
.section-description { margin-bottom: 2.3rem; color: var(--muted); font-size: 1rem; }
.characters-tabs { margin-bottom: 2.15rem; gap: 0.55rem; }
.tab-btn { border: 1px solid #ddd9f2; color: #665c91; padding: 0.55rem 1.1rem; font-size: .78rem; }
.tab-btn:hover, .tab-btn.active { border-color: var(--violet); background: var(--violet); box-shadow: 0 8px 18px rgba(112, 92, 246, 0.2); }
.characters-grid { grid-template-columns: repeat(3, 1fr); gap: 1.35rem; }
.character-card, .location-card, .feature-card { border: 1px solid var(--line); border-radius: 16px; box-shadow: none; overflow: hidden; }
.character-card { background: #fff; }
.character-card:hover, .location-card:hover, .feature-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow); border-color: rgba(112, 92, 246, .22); }
.character-card .card-art { height: 295px; background: #eee8ff; }
.character-card .card-art img { height: 170%; object-position: center 19%; display: block; }
.character-card .card-info { padding: 1rem 1rem 1.1rem; text-align: left; }
.character-card h3, .location-info h3, .feature-card h3 { margin: 0 0 .25rem; color: var(--ink); font-size: 1rem; }
.character-card p, .location-info p, .feature-card p { margin: 0; color: var(--muted); font-size: .79rem; }

.locations { background: linear-gradient(145deg, #f8f7ff 0%, #fffafd 52%, #f4f8ff 100%); }
.locations-heading { max-width: 620px; margin: 0 auto 2.6rem; text-align: center; }
.locations-heading .eyebrow { justify-content: center; }
.locations-heading .section-description { margin: 0; }
.locations-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.location-card { min-height: 475px; background: #22194d; border: 0; border-radius: 18px; box-shadow: 0 15px 32px rgba(48, 34, 100, .13); isolation: isolate; }
.location-card-featured { grid-row: span 2; min-height: 0; }
.location-image { position: absolute; inset: 0; height: auto; background: #24194b; }
.location-image::after { position: absolute; inset: 42% 0 0; background: linear-gradient(transparent, rgba(16, 9, 43, .9)); content: ""; }
.location-image img { display: block; object-position: center 50%; }
.location-card-featured .location-image img { object-position: center 44%; }
.location-info { position: relative; z-index: 1; display: flex; min-height: 100%; padding: 1.25rem; flex-direction: column; justify-content: flex-end; text-align: left; }
.location-info > span { margin-bottom: .35rem; color: #ffc6e1; font-size: .61rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.location-info h3 { margin: 0 0 .3rem; color: #fff; font-size: 1.3rem; }
.location-info p { max-width: 20rem; color: rgba(255,255,255,.74); font-size: .76rem; line-height: 1.5; }
.location-card:hover { border-color: transparent; box-shadow: 0 22px 42px rgba(48, 34, 100, .22); }
.location-card:hover .location-image img { transform: scale(1.045); }

.features-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-card { min-height: 215px; padding: 1.35rem; }
.feature-card .feature-icon { width: 48px; height: 48px; margin-bottom: 1rem; padding: 9px; border-radius: 14px; }
.feature-card h3 { font-size: .98rem; }
.feature-card p { font-size: .78rem; line-height: 1.55; }
.sticker-decorative { display: none; }

.download { padding: 88px 0; background: #f8f8fd; }
.download .container { text-align: left; }
.download-content { overflow: hidden; grid-template-columns: 1.08fr .92fr; gap: 1rem; min-height: 430px; padding: 3.5rem 4rem; border-radius: 26px; background: linear-gradient(120deg, #302267, #5b43b7 58%, #8b61d8); box-shadow: 0 22px 52px rgba(49, 34, 103, .22); }
.download-text { max-width: 520px; }
.download-text h2 { margin: 0; color: #fff; font-size: clamp(2rem, 3vw, 3.2rem); line-height: 1.04; letter-spacing: -.055em; }
.download-text h2::before, .download-text h2::after, .download-text p::before, .download-text p::after { display: none; }
.download-text > p:not(.eyebrow) { margin: 1rem 0 0; color: rgba(255,255,255,.76); font-size: .98rem; line-height: 1.65; }
.download .eyebrow { color: #f0b5d1; }
.download .eyebrow span { color: #ffe5a1; }
.download-buttons { justify-content: flex-start; gap: .75rem; margin: 1.75rem 0 1rem; }
.download-btn { padding: .85rem 1.15rem; min-height: 48px; border-radius: 12px; box-shadow: none; font-size: .82rem; }
.download-btn.primary { background: #fff; color: #4d3ca5; }
.download-btn.primary:hover { background: #fff; color: #4d3ca5; box-shadow: 0 10px 20px rgba(19, 10, 57, .18); }
.download-btn.secondary { border-color: rgba(255,255,255,.55); color: #fff; }
.download-btn.secondary:hover { background: rgba(255,255,255,.13); color: #fff; box-shadow: none; }
.btn-icon { font-size: 1.05rem; }
.platform-note { color: rgba(255,255,255,.58); font-size: .72rem; }
.water-splash-container { display: none; }
.download-artwork { max-width: 330px; margin: 0 auto; }
.download-artwork::before { left: -4px; top: -18px; }
.download-artwork::after { bottom: 0; right: -10px; }
.download-artwork img { display: block; width: 100%; border-radius: 0; filter: drop-shadow(0 22px 16px rgba(22, 12, 57, .35)); }

footer { padding: 1.35rem 0; background: #202842; }
footer p, .social-links a { color: rgba(255,255,255,.75); font-size: .75rem; }
.social-links { gap: 1.2rem; }

body.dark-mode { --canvas: #151326; --ink: #f4f2ff; --muted: #b8b2cd; --line: #35304d; --white: #211d36; }
body.dark-mode .navbar { background: rgba(28, 24, 47, .9); }
body.dark-mode .characters, body.dark-mode .features, body.dark-mode .location-card, body.dark-mode .character-card, body.dark-mode .feature-card { background: #211d36; }
body.dark-mode .locations, body.dark-mode .download { background: #151326; }
body.dark-mode .button-quiet { background: rgba(255,255,255,.08); color: #f4f2ff; }

@media (max-width: 800px) {
    .navbar-container { padding: .65rem 20px; }
    .nav-links { top: 62px; }
    .hero { min-height: 0; padding: 120px 0 74px; }
    .hero-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero h1 { font-size: clamp(2.9rem, 13vw, 4.2rem); }
    .hero-showcase { min-height: 500px; }
    .hero-rosetta-art { top: 0; right: 50%; width: min(430px, 104vw); transform: translateX(50%) rotate(1deg); }
    .hero-fruit-strawberry { width: 69px; }
    .hero-fruit-kiwi { width: 64px; }
    .hero-fruit-orange { width: 61px; }
    .hero-fruit-slice { width: 78px; }
    .hero-style-card { padding: .57rem .67rem; }
    .hero-style-card-precision { left: 1%; }
    .hero-style-card-special { right: 1%; bottom: 2%; }
    .hero-highlights { gap: .85rem; }
    .hero-highlights strong { font-size: 1rem; }
    .characters, .locations, .features { padding: 72px 0; }
    .characters-grid, .locations-grid, .features-grid { grid-template-columns: 1fr; }
    .character-card .card-art { height: 360px; }
    .location-image { height: 210px; }
    .download { padding: 64px 0; }
    .download-content { grid-template-columns: 1fr; padding: 2.25rem 1.5rem 0; border-radius: 22px; }
    .download-visual { order: 2; }
    .download-artwork { max-width: 230px; }
    footer .container { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Dark Mode Styles */
.dark-mode {
    --light-bg: #0f172a;
    --text-dark: #f1f5f9;
    --text-light: #94a3b8;
    --white: #1e293b;
}

.dark-mode .navbar,
.dark-mode .about,
.dark-mode .services,
.dark-mode .contact {
    background: var(--white) !important;
}

.dark-mode .service-card,
.dark-mode .contact-form {
    background: var(--light-bg) !important;
}

.dark-mode .contact-form input,
.dark-mode .contact-form textarea {
    background: var(--white) !important;
    color: var(--text-dark) !important;
}

/* Dark Mode for Character Showcase */
.dark-mode .characters {
    background: var(--light-bg) !important;
}

.dark-mode .character-card {
    background: var(--white) !important;
    color: var(--text-dark) !important;
}

.dark-mode .character-card h3 {
    color: var(--text-dark) !important;
}

.dark-mode .character-card p {
    color: var(--text-light) !important;
}

.dark-mode .tab-btn {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.dark-mode .tab-btn:hover,
.dark-mode .tab-btn.active {
    background: var(--primary-color) !important;
    color: var(--white) !important;
}

/* Dark Mode for World Locations */
.dark-mode .locations {
    background: var(--white) !important;
}

.dark-mode .location-card {
    background: var(--light-bg) !important;
    color: var(--text-dark) !important;
}

.dark-mode .location-card h3 {
    color: var(--text-dark) !important;
}

.dark-mode .location-card p {
    color: var(--text-light) !important;
}

/* Dark Mode for Features */
.dark-mode .features {
    background: var(--light-bg) !important;
}

.dark-mode .feature-card {
    background: var(--white) !important;
    color: var(--text-dark) !important;
}

.dark-mode .feature-card h3 {
    color: var(--text-dark) !important;
}

.dark-mode .feature-card p {
    color: var(--text-light) !important;
}

.dark-mode .feature-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}

/* Dark Mode for Download Section */
.dark-mode .download {
    background: var(--white) !important;
}

.dark-mode .download-text h2 {
    color: var(--text-dark) !important;
}

.dark-mode .download-text p {
    color: var(--text-light) !important;
}

.dark-mode .download-cta .cta-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    border-color: var(--primary-color) !important;
}

.dark-mode .download-cta .cta-button:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color)) !important;
}

.dark-mode .download-cta .cta-button.secondary {
    background: transparent !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.dark-mode .download-cta .cta-button.secondary:hover {
    background: var(--primary-color) !important;
    color: var(--white) !important;
}

/* Notification Styles */
.notification {
    animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(-50%) translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* Nav Links Active State */
.nav-links a.active {
    color: #6366f1;
    border-bottom: 2px solid #6366f1;
}

/* Mobile Menu Animation */
.nav-links.mobile-menu {
    animation: slideInFromTop 0.3s ease;
}

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

/* Continent Cards Section */
.continents {
    padding: 100px 0;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.continents::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.continents h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.continents p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.continent-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.continent-filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.continent-filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.continent-filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.continents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.continent-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.continent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

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

.continent-card.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

.continent-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.continent-card:hover img {
    transform: scale(1.1);
}

.continent-card-content {
    padding: 1.5rem;
    text-align: center;
}

.continent-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.continent-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.continent-card .continent-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Families Section */
.families {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.families::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.families h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.families p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.family-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.family-filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.family-filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.family-filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.families-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.family-card {
    background: var(--light-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.family-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

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

.family-card.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

.family-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.family-card:hover img {
    transform: scale(1.1);
}

.family-card-content {
    padding: 1.5rem;
    text-align: center;
}

.family-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.family-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.family-card .family-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    color: var(--accent-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Featured Animals Section */
.featured {
    padding: 100px 0;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.featured h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.featured p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.featured-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

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

.featured-card.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

.featured-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover img {
    transform: scale(1.1);
}

.featured-card-content {
    padding: 1.5rem;
}

.featured-card .continent-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    color: var(--primary-color);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.featured-card .family-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    color: var(--accent-color);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.featured-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.featured-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Explore Button */
.explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.explore-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.explore-btn:active {
    transform: translateY(-1px);
}

.explore-btn.loading {
    cursor: wait;
    pointer-events: none;
    opacity: 0.7;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.scroll-to-top.visible {
    opacity: 1;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

/* Keep the product-page palette authoritative over legacy dark-mode rules. */
body.dark-mode .characters,
body.dark-mode .features { background: #211d36 !important; }
body.dark-mode .locations,
body.dark-mode .download { background: #151326 !important; }
body.dark-mode .character-card,
body.dark-mode .location-card,
body.dark-mode .feature-card { background: #211d36 !important; }
body.dark-mode .character-card h3,
body.dark-mode .location-card h3,
body.dark-mode .feature-card h3 { color: var(--ink) !important; }
body.dark-mode .character-card p,
body.dark-mode .location-card p,
body.dark-mode .feature-card p { color: var(--muted) !important; }
body.dark-mode .download-text h2 { color: #fff !important; }
body.dark-mode .download-text > p:not(.eyebrow) { color: rgba(255,255,255,.76) !important; }

/* Product-story artwork, drawn from the generated Catgirl GO runtime assets. */
.logo-wordmark {
    display: block;
    width: 124px;
    height: auto;
}

.game-loop {
    position: relative;
    overflow: hidden;
    padding: 112px 0;
    background: linear-gradient(135deg, #24204b 0%, #392c77 58%, #573b92 100%);
    color: #fff;
}

.game-loop::before {
    position: absolute;
    inset: auto -9rem -15rem auto;
    width: 32rem;
    height: 32rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    content: "";
}

.game-loop::after {
    position: absolute;
    inset: 4rem auto auto -8rem;
    width: 22rem;
    height: 22rem;
    border: 1px solid rgba(255, 205, 231, 0.13);
    border-radius: 50%;
    content: "";
}

.game-loop-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.game-loop .eyebrow { color: #f2b4d2; }
.game-loop .eyebrow span { color: #ffe59c; }
.game-loop h2 {
    max-width: 540px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.35rem, 4vw, 4.15rem);
    font-weight: 850;
    line-height: 1;
    letter-spacing: -0.06em;
}

.game-loop-copy > p:not(.eyebrow) {
    max-width: 540px;
    margin: 1.35rem 0 2rem;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1rem;
    line-height: 1.75;
}

.game-steps { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.game-steps li {
    display: grid;
    grid-template-columns: 35px 1fr;
    gap: 1rem;
    align-items: start;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.game-steps li > span { padding-top: 0.2rem; color: #ffb9d8; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; }
.game-steps strong { display: block; color: #fff; font-size: 0.94rem; }
.game-steps p { margin: 0.2rem 0 0; color: rgba(255, 255, 255, 0.63); font-size: 0.8rem; line-height: 1.55; }

.game-moments { position: relative; min-height: 590px; }
.moment-card {
    position: absolute;
    overflow: hidden;
    margin: 0;
    border: 8px solid rgba(255, 255, 255, 0.94);
    border-radius: 20px;
    box-shadow: 0 25px 46px rgba(8, 4, 35, 0.35);
    background: #252044;
}

.moment-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.moment-card figcaption {
    position: absolute;
    right: 0.65rem;
    bottom: 0.65rem;
    left: 0.65rem;
    padding: 0.62rem 0.7rem;
    border-radius: 10px;
    background: rgba(27, 20, 62, 0.74);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 750;
    backdrop-filter: blur(10px);
}

.moment-room { z-index: 1; width: min(270px, 58%); height: auto; top: 15px; right: 0; transform: rotate(4deg); }
.moment-room img { height: auto; object-fit: initial; }
.moment-companion { width: 220px; height: 270px; bottom: 0; left: 0; transform: rotate(-5deg); }
.moment-companion img { object-position: 52% center; }
.moment-companion figcaption span { color: #ff8ec0; margin-right: 0.25rem; }
.game-cutout { position: absolute; z-index: 0; bottom: -34px; left: 0; display: block; width: min(330px, 68%); height: auto; opacity: .34; filter: drop-shadow(0 22px 18px rgba(8, 4, 35, .32)); transform: rotate(-2deg); transform-origin: center bottom; }
.moment-water { position: absolute; z-index: 3; width: 116px; right: 49%; top: -18px; filter: drop-shadow(0 10px 14px rgba(22, 137, 255, 0.34)); transform: rotate(-18deg); }

body.dark-mode .game-loop { background: linear-gradient(135deg, #16122b, #2b215c); }

@media (max-width: 980px) {
    .nav-links { gap: 1.25rem; }
    .game-loop-layout { gap: 2rem; }
}

@media (max-width: 800px) {
    .logo-wordmark { width: 105px; }
    .navbar-container { min-height: 64px; flex-wrap: nowrap; }
    .header-actions { display: flex; flex: 0 0 auto; gap: .6rem; }
    .header-actions .dark-mode-toggle {
        position: static;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        padding: .3rem;
        z-index: auto;
    }
    .mobile-menu-btn {
        position: relative;
        display: grid;
        width: 42px;
        height: 42px;
        place-items: center;
        padding: 0;
    }
    .game-loop { padding: 74px 0; }
    .game-loop-layout { grid-template-columns: 1fr; gap: 2.6rem; }
    .game-moments { min-height: 570px; }
    .moment-room { width: min(250px, 67%); height: auto; }
    .moment-companion { width: 175px; height: 220px; }
    .game-cutout { display: none; }
    .moment-water { width: 102px; right: 54%; }
}

/* Real in-app captures are presented as proof, distinct from the concept art. */
.play-preview {
    padding: 108px 0 116px;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 10%, rgba(255, 194, 222, 0.3), transparent 25%),
        linear-gradient(180deg, #fdfcff, #f5f3fd);
}

.play-preview .eyebrow,
.play-preview h2 { display: block; text-align: center; }
.play-preview h2 {
    max-width: 680px;
    margin: 0 auto 0.8rem;
    color: var(--ink);
    font-size: clamp(2.25rem, 4vw, 3.75rem);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.play-preview .section-description { max-width: 610px; margin-bottom: 3.25rem; }
.screenshot-grid {
    display: grid;
    grid-template-columns: 1.13fr 0.94fr 0.94fr;
    gap: 1.65rem;
    align-items: end;
    max-width: 1000px;
    margin: 0 auto;
}

.screenshot-card { min-width: 0; margin: 0; }
.phone-frame {
    position: relative;
    overflow: hidden;
    max-width: 255px;
    margin: 0 auto;
    padding: 8px;
    border: 1px solid rgba(35, 29, 74, 0.18);
    border-radius: 31px;
    background: #211c3b;
    box-shadow: 0 22px 42px rgba(49, 37, 99, 0.2), inset 0 0 0 2px rgba(255,255,255,0.1);
}

.phone-frame::before {
    position: absolute;
    z-index: 1;
    top: 13px;
    left: 50%;
    width: 34%;
    height: 17px;
    border-radius: 12px;
    background: #211c3b;
    content: "";
    transform: translateX(-50%);
}

.phone-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 23px;
}

.screenshot-card-featured .phone-frame {
    max-width: 290px;
    transform: translateY(-16px) rotate(-2deg);
    box-shadow: 0 29px 52px rgba(49, 37, 99, 0.28), inset 0 0 0 2px rgba(255,255,255,0.1);
}

.screenshot-card-selector .phone-frame { border-color: rgba(241, 104, 164, 0.4); }
.screenshot-card-blender .phone-frame { border-color: rgba(236, 169, 66, 0.34); }
.screenshot-card-kizuna .phone-frame { border-color: rgba(239, 116, 180, 0.36); }

.screenshot-card figcaption { max-width: 290px; margin: 1.15rem auto 0; color: var(--ink); }
.screenshot-card figcaption span { display: block; margin-bottom: 0.35rem; color: var(--rose); font-size: 0.68rem; font-weight: 800; letter-spacing: .08em; }
.screenshot-card figcaption strong { display: block; font-size: 0.94rem; }
.screenshot-card figcaption p { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.78rem; line-height: 1.55; }

body.dark-mode .play-preview { background: linear-gradient(180deg, #18142a, #151326); }
body.dark-mode .play-preview h2,
body.dark-mode .screenshot-card figcaption { color: var(--ink); }

@media (max-width: 800px) {
    .play-preview { padding: 74px 0; }
    .screenshot-grid { grid-template-columns: 1fr; gap: 2.6rem; }
    .phone-frame, .screenshot-card-featured .phone-frame { max-width: min(290px, 78vw); transform: none; }
    .screenshot-card figcaption { max-width: min(290px, 78vw); text-align: center; }
}

/* Card packs are intentionally shown as a tactile, collectible object rather than a flat grid. */
.pack-collections {
    position: relative;
    overflow: hidden;
    padding: 110px 0 105px;
    background:
        radial-gradient(circle at 17% 42%, rgba(255, 180, 219, 0.4), transparent 22%),
        radial-gradient(circle at 81% 30%, rgba(166, 212, 255, 0.38), transparent 24%),
        linear-gradient(140deg, #f7f2ff, #fff9fc 52%, #f4f6ff);
}

.collections-heading { max-width: 620px; margin: 0 auto; text-align: center; }
.collections-heading h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(2.3rem, 4vw, 3.8rem);
    font-weight: 850;
    line-height: 1;
    letter-spacing: -0.065em;
}
.collections-heading > p:not(.eyebrow) { margin: 1rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }

.pack-carousel {
    max-width: 920px;
    margin: 3.5rem auto 0;
    outline: none;
    perspective: 1200px;
}
.pack-carousel:focus-visible { border-radius: 28px; box-shadow: 0 0 0 4px rgba(112, 92, 246, 0.32); }
.pack-carousel-stage {
    position: relative;
    min-height: 425px;
    overflow: hidden;
    border: 1px solid rgba(106, 75, 176, 0.2);
    border-radius: 28px;
    background:
        radial-gradient(ellipse at 50% 70%, rgba(255, 184, 223, 0.7), transparent 31%),
        radial-gradient(circle at 50% 50%, rgba(159, 123, 241, 0.38), transparent 42%),
        linear-gradient(140deg, #2c1f65, #553698 54%, #7c4bb6);
    box-shadow: 0 26px 60px rgba(59, 37, 120, 0.24), inset 0 1px rgba(255,255,255,0.2);
    transform-style: preserve-3d;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}
.pack-carousel-stage * { -webkit-user-select: none; user-select: none; }
.pack-carousel-stage::before,
.pack-carousel-stage::after {
    position: absolute;
    z-index: 0;
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}
.pack-carousel-stage::before { width: 460px; height: 460px; top: -205px; left: 50%; transform: translateX(-50%); }
.pack-carousel-stage::after { width: 280px; height: 280px; right: -105px; bottom: -115px; }
.pack-carousel-aura {
    position: absolute;
    z-index: 0;
    top: 58%;
    left: 50%;
    width: 310px;
    height: 64px;
    border-radius: 50%;
    background: rgba(20, 8, 54, 0.42);
    filter: blur(16px);
    transform: translate(-50%, -50%) rotateX(70deg);
}
.pack-carousel-sparkles { position: absolute; z-index: 7; inset: 0; pointer-events: none; }
.pack-carousel-sparkles span { position: absolute; color: #fff6bd; font-size: 1.25rem; line-height: 1; opacity: 0; filter: drop-shadow(0 0 7px rgba(255, 197, 241, .9)); animation: packSparkle 2.8s ease-in-out infinite; }
.pack-carousel-sparkles span:nth-child(1) { top: 16%; left: 37%; animation-delay: -.2s; }
.pack-carousel-sparkles span:nth-child(2) { top: 24%; left: 62%; color: #ffd5f0; font-size: .8rem; animation-delay: -1.3s; }
.pack-carousel-sparkles span:nth-child(3) { top: 39%; left: 31%; color: #c7f5ff; font-size: .9rem; animation-delay: -2.1s; }
.pack-carousel-sparkles span:nth-child(4) { top: 48%; left: 68%; font-size: 1rem; animation-delay: -.7s; }
.pack-carousel-sparkles span:nth-child(5) { top: 65%; left: 38%; color: #ffd5f0; font-size: .72rem; animation-delay: -1.8s; }
.pack-carousel-sparkles span:nth-child(6) { top: 72%; left: 61%; color: #c7f5ff; font-size: .95rem; animation-delay: -.95s; }
.pack-carousel-sparkles span:nth-child(7) { top: 10%; left: 54%; font-size: .72rem; animation-delay: -2.5s; }
@keyframes packSparkle { 0%, 100% { opacity: 0; transform: scale(.35) rotate(0deg); } 45%, 62% { opacity: .9; transform: scale(1) rotate(18deg); } }
.pack-card {
    position: absolute;
    z-index: 1;
    top: 26px;
    left: 50%;
    width: 222px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    filter: drop-shadow(0 24px 14px rgba(20, 7, 52, 0.4));
    transform-style: preserve-3d;
    transition: transform 580ms cubic-bezier(.2, .8, .2, 1), opacity 420ms ease, filter 420ms ease;
}
.pack-card img { display: block; width: 100%; height: auto; -webkit-user-drag: none; user-drag: none; }
.pack-card:focus-visible { outline: 3px solid #fff; outline-offset: 6px; border-radius: 10px; }
.pack-card[data-slot="0"] { z-index: 6; opacity: 1; filter: drop-shadow(0 31px 19px rgba(19, 6, 50, 0.53)); transform: translateX(-50%) translateZ(92px) rotateX(var(--pack-tilt-x, 0deg)) rotateY(var(--pack-tilt-y, 0deg)) rotateZ(0deg) scale(1.06); }
.pack-card.is-tilting { filter: drop-shadow(0 35px 22px rgba(19, 6, 50, 0.62)); transition: filter 180ms ease; }
.pack-card[data-slot="-1"] { z-index: 3; opacity: 0.88; transform: translateX(calc(-50% - 178px)) translateZ(-35px) rotateY(34deg) rotateZ(-9deg) scale(0.84); }
.pack-card[data-slot="1"] { z-index: 3; opacity: 0.88; transform: translateX(calc(-50% + 178px)) translateZ(-35px) rotateY(-34deg) rotateZ(9deg) scale(0.84); }
.pack-card[data-slot="2"], .pack-card[data-slot="-2"] { z-index: 2; opacity: 0.34; filter: blur(0.4px) drop-shadow(0 15px 11px rgba(20, 7, 52, 0.28)); }
.pack-card[data-slot="2"] { transform: translateX(calc(-50% + 306px)) translateZ(-155px) rotateY(-48deg) rotateZ(15deg) scale(0.64); }
.pack-card[data-slot="-2"] { transform: translateX(calc(-50% - 306px)) translateZ(-155px) rotateY(48deg) rotateZ(-15deg) scale(0.64); }

.pack-carousel-controls { display: flex; align-items: center; justify-content: center; gap: 1.15rem; margin-top: 1.45rem; }
.pack-control {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(105, 81, 186, 0.21);
    border-radius: 50%;
    background: rgba(255,255,255,0.82);
    color: #5d43b3;
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 180ms ease, background 180ms ease;
}
.pack-control:hover { background: #fff; transform: translateY(-2px); }
.pack-caption { min-width: 210px; text-align: center; }
.pack-caption p { margin: 0; color: #d85193; font-size: .68rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.pack-caption strong { display: block; margin-top: .28rem; color: var(--ink); font-size: .95rem; }
.pack-pagination { display: flex; justify-content: center; gap: .48rem; margin-top: 1.1rem; }
.pack-pagination button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: #c4bddb; cursor: pointer; transition: width 180ms ease, border-radius 180ms ease, background 180ms ease; }
.pack-pagination button.active { width: 25px; border-radius: 8px; background: #7458dc; }
.pack-pagination button:focus-visible, .pack-control:focus-visible { outline: 3px solid rgba(112, 92, 246, 0.36); outline-offset: 3px; }
.pack-carousel-note { margin: .9rem 0 0; color: #807797; font-size: .72rem; text-align: center; }

body.dark-mode .pack-collections { background: linear-gradient(140deg, #181329, #251a45); }
body.dark-mode .collections-heading h2, body.dark-mode .pack-caption strong { color: var(--ink); }
body.dark-mode .pack-control { background: #2c2544; border-color: #4b4169; color: #d9d1fb; }
body.dark-mode .pack-carousel-note { color: var(--muted); }

@media (max-width: 800px) {
    .pack-collections { padding: 74px 0; }
    .pack-carousel { margin-top: 2.4rem; }
    .pack-carousel-stage { min-height: 345px; border-radius: 23px; }
    .pack-card { top: 21px; width: 177px; }
    .pack-card[data-slot="0"] { transform: translateX(-50%) translateZ(70px) rotateX(var(--pack-tilt-x, 0deg)) rotateY(var(--pack-tilt-y, 0deg)) scale(1.04); }
    .pack-card[data-slot="-1"] { transform: translateX(calc(-50% - 115px)) translateZ(-35px) rotateY(32deg) rotateZ(-8deg) scale(.75); }
    .pack-card[data-slot="1"] { transform: translateX(calc(-50% + 115px)) translateZ(-35px) rotateY(-32deg) rotateZ(8deg) scale(.75); }
    .pack-card[data-slot="2"], .pack-card[data-slot="-2"] { opacity: 0; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
    .pack-carousel-sparkles span { animation: none; opacity: .55; }
    .pack-card.is-tilting { transition-duration: .01ms; }
}

@media (prefers-reduced-motion: reduce) {
    .pack-card, .pack-control, .pack-pagination button { transition: none; }
}

/* The Stand: use the shipped smoothie-game recipe, product, and slice assets. */
.stand-showcase {
    position: relative;
    overflow: hidden;
    padding: 112px 0;
    background:
        radial-gradient(circle at 86% 18%, rgba(255, 185, 218, 0.42), transparent 24%),
        linear-gradient(135deg, #fff9fb, #fff4f6 54%, #f7efff);
}

.stand-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.stand-copy { max-width: 450px; }
.stand-copy h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(2.55rem, 4.5vw, 4.45rem);
    font-weight: 850;
    line-height: 0.95;
    letter-spacing: -0.07em;
}

.stand-copy h2 span { color: #ee659c; }
.stand-copy > p:not(.eyebrow) { margin: 1.35rem 0 1.9rem; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.stand-stat-row { display: flex; gap: 1.25rem; padding: 1.2rem 0; border-top: 1px solid rgba(102, 83, 139, 0.16); border-bottom: 1px solid rgba(102, 83, 139, 0.16); }
.stand-stat-row div { display: grid; gap: 0.1rem; }
.stand-stat-row strong { color: #55419e; font-size: 1.25rem; line-height: 1; }
.stand-stat-row span { color: var(--muted); font-size: 0.68rem; }
.text-link { display: inline-flex; gap: 0.45rem; margin-top: 1.5rem; color: #725ce4; font-size: 0.86rem; font-weight: 800; text-decoration: none; }
.text-link:hover { color: #e95f9a; }

.recipe-stage {
    position: relative;
    min-height: 490px;
    border: 1px solid rgba(100, 71, 160, 0.18);
    border-radius: 30px;
    background:
        radial-gradient(circle at 76% 45%, rgba(255, 231, 119, 0.68), transparent 19%),
        radial-gradient(circle at 66% 67%, rgba(255, 116, 151, 0.36), transparent 29%),
        linear-gradient(140deg, #342768, #5843ab 64%, #8453ba);
    box-shadow: 0 24px 56px rgba(63, 40, 119, 0.2);
    isolation: isolate;
}

.recipe-stage::before,
.recipe-stage::after {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 50%;
    content: "";
}
.recipe-stage::before { width: 355px; height: 355px; right: -83px; top: 56px; }
.recipe-stage::after { width: 235px; height: 235px; right: 44px; top: 116px; }

.recipe-card {
    position: absolute;
    z-index: 3;
    top: 34px;
    left: -35px;
    width: 250px;
    padding: 1.35rem;
    border: 1px solid rgba(255,255,255,0.92);
    border-radius: 19px;
    background: rgba(255, 252, 252, 0.92);
    box-shadow: 0 17px 34px rgba(21, 12, 60, 0.25);
    transform: rotate(-4deg);
}

.recipe-card-top { display: flex; justify-content: space-between; color: #c85e95; font-size: 0.62rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.recipe-card h3 { margin: 1.05rem 0 0.95rem; color: #3f316b; font-size: 1.65rem; line-height: 0.95; letter-spacing: -0.055em; }
.recipe-card h3 em { color: #ef6097; font-family: inherit; font-style: normal; }
.ingredient-list { display: grid; gap: 0.4rem; }
.ingredient-list div { display: grid; grid-template-columns: 31px 1fr auto; align-items: center; gap: 0.4rem; padding: 0.32rem 0; border-top: 1px solid #f0e8f0; color: #746987; font-size: 0.72rem; }
.ingredient-list img { width: 29px; height: 29px; object-fit: contain; }
.ingredient-list strong { color: #3f316b; font-size: 0.76rem; }
.recipe-card > p { margin: 1rem 0 0; color: #958aa2; font-size: 0.66rem; line-height: 1.45; }

.smoothie-spotlight { position: absolute; z-index: 2; right: 2%; bottom: 5%; width: 345px; height: 390px; }
.smoothie-glow { position: absolute; left: 50%; bottom: 0; width: 270px; height: 55px; border-radius: 50%; background: rgba(31, 10, 70, 0.32); filter: blur(14px); transform: translateX(-50%); }
.smoothie-product { position: absolute; right: 0; bottom: 0; width: 100%; filter: drop-shadow(0 26px 18px rgba(34, 13, 69, 0.34)); animation: float 5s ease-in-out infinite; }
.fruit-slice { position: absolute; z-index: 4; width: 116px; filter: drop-shadow(0 14px 14px rgba(33, 10, 64, 0.25)); }
.fruit-slice-strawberry { top: -20px; right: 18px; animation: strawberrySliceFloat 4s ease-in-out infinite; }
.fruit-slice-apple { bottom: 10px; left: 20px; width: 94px; animation: appleSliceFloat 4.6s ease-in-out infinite; }
.fruit-slice-kiwi { right: 29px; bottom: 35px; width: 90px; animation: kiwiSliceFloat 4.2s ease-in-out infinite; }
@keyframes strawberrySliceFloat { 0%, 100% { transform: rotate(20deg) translateY(0); } 50% { transform: rotate(24deg) translateY(-11px); } }
@keyframes appleSliceFloat { 0%, 100% { transform: rotate(-20deg) translateY(0); } 50% { transform: rotate(-25deg) translateY(-8px); } }
@keyframes kiwiSliceFloat { 0%, 100% { transform: rotate(15deg) translateY(0); } 50% { transform: rotate(10deg) translateY(-12px); } }

body.dark-mode .stand-showcase { background: linear-gradient(135deg, #1c172f, #241d3c); }
body.dark-mode .stand-copy h2,
body.dark-mode .stand-stat-row strong { color: var(--ink); }

@media (max-width: 800px) {
    .stand-showcase { padding: 74px 0; }
    .stand-layout { grid-template-columns: 1fr; gap: 2.8rem; }
    .stand-copy { max-width: none; }
    .recipe-stage { min-height: 440px; margin-left: 16px; }
    .recipe-card { left: -16px; width: 215px; padding: 1.1rem; }
    .recipe-card h3 { font-size: 1.4rem; }
    .smoothie-spotlight { width: 280px; height: 340px; right: -5px; }
    .fruit-slice-strawberry { width: 91px; }
    .fruit-slice-apple { width: 75px; left: 8px; }
    .fruit-slice-kiwi { width: 68px; right: 10px; }
}

/* Support and legal pages: deliberately calm, readable, and print-friendly. */
.legal-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f8f8fd;
    color: var(--ink);
}

.legal-header {
    border-bottom: 1px solid rgba(65, 50, 116, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.legal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1080px;
    min-height: 75px;
    margin: 0 auto;
    padding: 0.9rem 24px;
}

.legal-logo img, .footer-wordmark { display: block; width: 125px; height: auto; }
.legal-back { color: #6353ae; font-size: 0.82rem; font-weight: 750; text-decoration: none; }
.legal-back:hover { color: #e65e98; }
.legal-main { flex: 1; padding: 76px 24px 92px; }
.legal-document { max-width: 760px; margin: 0 auto; }
.legal-document > h1 {
    max-width: 680px;
    margin: 0;
    color: var(--ink);
    font-size: clamp(2.7rem, 6vw, 4.7rem);
    font-weight: 850;
    line-height: 0.98;
    letter-spacing: -0.07em;
}

.legal-updated { margin: 0.9rem 0 2rem; color: #827b99; font-size: 0.78rem; }
.legal-lead { max-width: 650px; margin: 1.3rem 0 3rem; color: #5e6881; font-size: 1.12rem; line-height: 1.75; }
.legal-document section { margin-top: 2.5rem; padding-top: 2.4rem; border-top: 1px solid #e7e4f0; }
.legal-document h2 { margin: 0 0 0.8rem; color: var(--ink); font-size: 1.28rem; letter-spacing: -0.025em; }
.legal-document p, .legal-document li { color: #59647e; font-size: 0.94rem; line-height: 1.75; }
.legal-document p { margin: 0 0 1rem; }
.legal-document ul { margin: 0.9rem 0 0; padding-left: 1.3rem; }
.legal-document li + li { margin-top: 0.5rem; }
.legal-document strong { color: #3b3459; }
.legal-document a { color: #6857d6; font-weight: 700; text-decoration-color: rgba(104, 87, 214, 0.28); text-underline-offset: 3px; }
.legal-document a:hover { color: #df568e; }

.support-email, .standard-eula-link {
    display: grid;
    gap: 0.15rem;
    margin: 0 0 3.25rem;
    padding: 1.4rem 1.5rem;
    border: 1px solid rgba(112, 92, 246, 0.18);
    border-radius: 18px;
    background: linear-gradient(135deg, #f1eeff, #fff5fa);
    color: var(--ink);
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(71, 53, 140, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.support-email:hover, .standard-eula-link:hover { transform: translateY(-2px); box-shadow: 0 18px 33px rgba(71, 53, 140, 0.14); }
.support-email span { color: #8e78d8; font-size: 0.7rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.support-email strong { color: #4e3b9a; font-size: clamp(1.2rem, 3vw, 1.65rem); letter-spacing: -0.035em; }
.support-email em { color: #887e9d; font-size: 0.76rem; font-style: normal; }
.standard-eula-link { display: flex; align-items: center; justify-content: space-between; color: #4e3b9a; font-size: 1rem; font-weight: 800; }
.standard-eula-link b { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #6d59db; color: #fff; }

.footer-content { gap: 1.5rem; }
.footer-identity { display: flex; align-items: center; gap: 0.9rem; }
.footer-identity p { margin: 0; }
.footer-wordmark { width: 102px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1.25rem; }
.footer-links a { color: rgba(255,255,255,0.78); font-size: 0.75rem; font-weight: 650; text-decoration: none; }
.footer-links a:hover { color: #fff; }

.legal-footer { border-top: 1px solid rgba(65, 50, 116, 0.1); background: #fff; }
.legal-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 1080px; margin: 0 auto; padding: 1.35rem 24px; color: #827b99; font-size: 0.74rem; }
.legal-footer nav { display: flex; gap: 1.1rem; }
.legal-footer a { color: #6455bd; font-weight: 700; text-decoration: none; }
.legal-footer a:hover { color: #e65e98; }

body.dark-mode.legal-page { background: #151326; }
body.dark-mode .legal-header, body.dark-mode .legal-footer { background: #211d36; border-color: #36304d; }
body.dark-mode .legal-document h1, body.dark-mode .legal-document h2, body.dark-mode .legal-document strong { color: var(--ink); }
body.dark-mode .legal-document section { border-color: #36304d; }
body.dark-mode .legal-document p, body.dark-mode .legal-document li, body.dark-mode .legal-lead { color: var(--muted); }

@media (max-width: 650px) {
    .legal-nav { min-height: 64px; padding: 0.7rem 20px; }
    .legal-logo img { width: 105px; }
    .legal-main { padding: 54px 20px 68px; }
    .legal-document > h1 { font-size: clamp(2.55rem, 13vw, 3.8rem); }
    .legal-lead { margin-bottom: 2.4rem; font-size: 1rem; }
    .legal-document section { margin-top: 2rem; padding-top: 2rem; }
    .footer-content, .footer-identity, .legal-footer-inner { align-items: flex-start; flex-direction: column; }
    .footer-links { justify-content: flex-start; }
}

@media print {
    .legal-header, .legal-footer { display: none; }
    .legal-main { padding: 0; }
    .legal-document { max-width: none; }
}

/* A tighter companion roster makes room for visual variety and the real rarity ladder. */
.characters { padding: 92px 0 76px; }
.characters > .container > .eyebrow { display: flex; justify-content: center; }
.characters .section-description { max-width: 610px; margin-bottom: 2.5rem; }
.characters-grid { max-width: 980px; margin: 0 auto; }
.character-card .card-art { height: 318px; }
.character-card .card-art img { object-position: center 22%; }
.card-tier {
    position: absolute;
    z-index: 2;
    top: 0.85rem;
    left: 0.85rem;
    padding: 0.35rem 0.58rem;
    border: 1px solid rgba(255,255,255,0.52);
    border-radius: 999px;
    background: rgba(31, 24, 70, 0.75);
    color: #fff;
    font-size: 0.61rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(7px);
}
.card-tier-common { background: rgba(50, 57, 95, 0.72); }

.rarity-journey {
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    align-items: center;
    gap: 2rem;
    max-width: 980px;
    margin: 1.45rem auto 0;
    padding: 1.25rem 1.6rem;
    border: 1px solid rgba(112, 92, 246, 0.16);
    border-radius: 20px;
    background: linear-gradient(110deg, #f4f0ff, #fff8fb 58%, #f1f7ff);
}
.rarity-journey-copy .eyebrow { margin-bottom: 0.55rem; }
.rarity-journey-copy h3 { margin: 0; color: var(--ink); font-size: 1.3rem; letter-spacing: -0.035em; }
.rarity-journey-copy > p:not(.eyebrow) { margin: 0.5rem 0 0; color: var(--muted); font-size: 0.8rem; line-height: 1.55; }
.rarity-steps { display: flex; align-items: flex-end; justify-content: center; gap: 0.85rem; }
.rarity-step { position: relative; display: grid; grid-template-columns: 66px 1fr; align-items: center; gap: 0.6rem; min-width: 145px; margin: 0; padding: 0.45rem; border: 1px solid rgba(91, 71, 158, 0.14); border-radius: 13px; background: rgba(255,255,255,0.74); box-shadow: 0 9px 18px rgba(65, 48, 124, 0.07); }
.rarity-step img { display: block; width: 66px; height: 82px; border-radius: 8px; object-fit: cover; object-position: center top; }
.rarity-step figcaption { display: grid; gap: 0.1rem; }
.rarity-step strong { color: var(--ink); font-size: 0.76rem; }
.rarity-step span { color: var(--muted); font-size: 0.64rem; }
.rarity-step-rare { border-color: rgba(85, 127, 230, 0.28); }
.rarity-step-epic { border-color: rgba(158, 79, 205, 0.32); }
.rarity-step-legendary { border-color: rgba(232, 161, 42, 0.38); }

body.dark-mode .rarity-journey { background: linear-gradient(110deg, #27203e, #211b35); border-color: #43365f; }
body.dark-mode .rarity-journey-copy h3, body.dark-mode .rarity-step strong { color: var(--ink); }
body.dark-mode .rarity-step { background: #2a233f; border-color: #4a3c67; }

@media (max-width: 800px) {
    .characters { padding: 74px 0 62px; }
    .rarity-journey { grid-template-columns: 1fr; gap: 1.35rem; padding: 1.35rem; }
    .rarity-steps { gap: 0.5rem; }
    .rarity-step { grid-template-columns: 1fr; min-width: 0; width: min(30%, 120px); padding: 0.38rem; }
    .rarity-step img { width: 100%; height: 104px; }
    .rarity-step figcaption { text-align: center; }
}

/* The activity board gives the feature list a visual center and a clear product loop. */
.features {
    padding: 112px 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 193, 222, 0.34), transparent 22%),
        radial-gradient(circle at 87% 74%, rgba(179, 218, 255, 0.38), transparent 25%),
        #fff;
}
.features-heading { max-width: 690px; margin: 0 auto 3.25rem; text-align: center; }
.features-heading .eyebrow { justify-content: center; }
.features-heading .section-title { margin-bottom: 0.9rem; }
.features-heading .section-description { max-width: 640px; margin: 0 auto; font-size: 1rem; line-height: 1.7; }
.feature-board { display: grid; grid-template-columns: .89fr 1.11fr; gap: 1.35rem; align-items: stretch; }
.home-explorer {
    display: flex;
    min-height: 670px;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid rgba(81, 57, 156, 0.18);
    border-radius: 21px;
    background: #2d2260;
    box-shadow: 0 20px 45px rgba(56, 37, 119, 0.14);
}
.home-preview { position: relative; height: 800px; overflow: hidden; background: #24194b; }
.home-preview::after { position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(24, 15, 53, .88)); content: ""; pointer-events: none; }
.home-preview img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; transition: opacity 180ms ease, transform 420ms ease; }
.home-preview:hover img { transform: scale(1.03); }
.home-time-toggle { position: absolute; z-index: 2; top: .9rem; right: .9rem; display: grid; width: 42px; height: 42px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.48); border-radius: 50%; background: rgba(31, 21, 69, .64); box-shadow: 0 6px 18px rgba(15, 7, 42, .28); color: #fff4bb; cursor: pointer; font-size: 1.15rem; line-height: 1; backdrop-filter: blur(10px); transition: transform 180ms ease, background 180ms ease; }
.home-time-toggle:hover { transform: translateY(-1px) scale(1.04); background: rgba(59, 43, 118, .82); }
.home-time-toggle:focus-visible, .home-choices button:focus-visible { outline: 3px solid #f6c2dd; outline-offset: 3px; }
.home-preview-label { position: absolute; z-index: 1; right: 1rem; bottom: .95rem; left: 1rem; display: grid; gap: .15rem; color: #fff; }
.home-preview-label span { color: #ffc2de; font-size: .62rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.home-preview-label strong { font-size: 1.18rem; letter-spacing: -.03em; }
.home-explorer-controls { padding: 1.1rem 1.3rem 1.2rem; }
.home-explorer-heading .eyebrow { margin-bottom: .45rem; color: #f5bfdd; }
.home-explorer-heading .eyebrow span { color: #ffe498; }
.home-explorer-heading h3 { margin: 0; color: #fff; font-size: 1.65rem; letter-spacing: -.05em; }
.home-explorer-heading > p:not(.eyebrow) { min-height: 2.4rem; margin: .4rem 0 .7rem; color: rgba(255,255,255,.7); font-size: .77rem; line-height: 1.55; }
.home-choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .35rem; }
.home-choices button { min-height: 34px; padding: .4rem .35rem; border: 1px solid rgba(255,255,255,.13); border-radius: 9px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.78); cursor: pointer; font-size: .62rem; font-weight: 800; text-align: center; transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease; }
.home-choices button:hover { transform: translateY(-1px); background: rgba(255,255,255,.12); }
.home-choices button.active { border-color: rgba(255, 196, 226, .72); background: linear-gradient(135deg, rgba(255,166,207,.32), rgba(174,141,255,.32)); color: #fff; }
.home-collection-status { display: flex; justify-content: space-between; gap: .5rem; margin: .75rem 0 0; padding-top: .7rem; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.54); font-size: .63rem; }
.home-collection-status strong { color: #ffd7e8; font-weight: 800; }
.feature-spotlight {
    display: flex;
    min-height: 610px;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid rgba(81, 57, 156, 0.18);
    border-radius: 21px;
    background: #2d2260;
    box-shadow: 0 20px 45px rgba(56, 37, 119, 0.14);
}
.feature-spotlight-art { position: relative; min-height: 330px; overflow: hidden; }
.feature-spotlight-art::after { position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(28, 19, 63, 0.9)); content: ""; }
.feature-spotlight-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; transform: scale(1.02); }
.spotlight-chip { position: absolute; z-index: 1; top: 1rem; left: 1rem; padding: .45rem .72rem; border: 1px solid rgba(255,255,255,0.27); border-radius: 999px; background: rgba(26, 15, 63, 0.7); color: #fff; font-size: .68rem; font-weight: 800; backdrop-filter: blur(8px); }
.spotlight-chip span { color: #ffbddc; margin-right: .2rem; }
.feature-spotlight-copy { padding: 1.6rem 1.6rem 1.75rem; }
.feature-spotlight-copy .eyebrow { margin-bottom: .75rem; color: #f5bfdd; }
.feature-spotlight-copy .eyebrow span { color: #ffe498; }
.feature-spotlight-copy h3 { margin: 0; color: #fff; font-size: clamp(1.65rem, 2.2vw, 2.25rem); line-height: 1.04; letter-spacing: -.055em; }
.feature-spotlight-copy > p:not(.eyebrow) { margin: .9rem 0 1.3rem; color: rgba(255,255,255,.72); font-size: .88rem; line-height: 1.65; }
.spotlight-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.spotlight-tags li { padding: .43rem .58rem; border: 1px solid rgba(255,255,255,.15); border-radius: 9px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.86); font-size: .64rem; font-weight: 700; }

.activity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.activity-card {
    display: grid;
    grid-template-columns: 46px 1fr;
    grid-template-rows: auto auto auto auto auto;
    column-gap: .85rem;
    min-height: 196px;
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: rgba(255,255,255,.84);
    color: inherit;
    text-decoration: none;
}
.activity-card::after { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; border-radius: 0 0 17px 17px; background: linear-gradient(90deg, #795fe5, #f179ad); content: ""; opacity: 0; transition: opacity 180ms ease; }
.activity-card:hover::after { opacity: 1; }
.activity-number { grid-column: 2; color: #a095be; font-size: .62rem; font-weight: 850; letter-spacing: .1em; }
.activity-icon { grid-row: 1 / span 3; display: grid; width: 46px; height: 46px; place-items: center; padding: .5rem; border-radius: 14px; background: linear-gradient(135deg, #efebff, #fff0f7); }
.activity-icon img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(104, 84, 192, .18)); }
.activity-card h3 { grid-column: 2; margin: .18rem 0 .25rem; align-self: end; font-size: .94rem; }
.activity-card p { grid-column: 1 / -1; margin: .75rem 0 0; font-size: .76rem; line-height: 1.55; }
.activity-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-column: 1 / -1; gap: .5rem; margin-top: .75rem; }
.activity-facts > span { display: grid; gap: .18rem; min-height: 56px; padding: .6rem .65rem; border: 1px solid rgba(96, 75, 171, .11); border-radius: 10px; background: linear-gradient(135deg, #f7f5ff, #fff8fb); }
.activity-facts b { color: #877ca8; font-size: .6rem; font-weight: 850; letter-spacing: .055em; text-transform: uppercase; }
.activity-facts em { color: #4a405f; font-size: .68rem; font-style: normal; font-weight: 750; line-height: 1.3; }
.activity-link { grid-column: 1 / -1; align-self: end; margin-top: .72rem; color: #6c57d5; font-size: .7rem; font-weight: 800; }
.activity-link b { margin-left: .2rem; font-size: .9rem; }
body.dark-mode .features { background: linear-gradient(145deg, #1b162f, #151326); }
body.dark-mode .activity-card { background: #211d36; border-color: #38304e; }
body.dark-mode .activity-icon { background: linear-gradient(135deg, #32294f, #3e2748); }
body.dark-mode .activity-facts > span { border-color: #43365e; background: #2a233f; }
body.dark-mode .activity-facts em { color: var(--ink); }

@media (max-width: 900px) {
    .feature-board { grid-template-columns: 1fr; }
    .home-explorer { min-height: 0; }
    .home-preview { height: 420px; }
    .feature-spotlight { min-height: 0; }
    .feature-spotlight-art { height: 320px; }
}
@media (max-width: 600px) {
    .features { padding: 74px 0; }
    .features-heading { margin-bottom: 2.2rem; }
    .feature-board { gap: 1rem; }
    .home-preview { height: 320px; }
    .home-explorer-controls { padding: 1.15rem; }
    .feature-spotlight-art { height: 285px; min-height: 0; }
    .feature-spotlight-copy { padding: 1.3rem; }
    .activity-grid { grid-template-columns: 1fr; }
    .activity-card { min-height: 0; }
}

/* One stable city scene at a time avoids a brittle gallery grid. */
.locations-composition {
    display: block;
}
.section-cutout { position: absolute; z-index: 0; width: clamp(300px, 22vw, 430px); margin: 0; opacity: .2; pointer-events: none; }
.section-cutout img { display: block; width: 100%; height: auto; }
.world-cutout { top: 6.5rem; left: calc(620px - 50vw); transform: rotate(-2deg); }
.world-cutout img { filter: drop-shadow(0 23px 20px rgba(61, 42, 120, .2)); }
.world-explorer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr); min-height: 650px; max-width: 1010px; margin: 0 auto; overflow: hidden; border: 1px solid rgba(71, 51, 143, .16); border-radius: 22px; background: #fff; box-shadow: 0 22px 46px rgba(48, 34, 100, .14); cursor: default; }
.locations-composition .world-explorer { position: relative; z-index: 1; }
.world-stage { position: relative; overflow: hidden; background: #24194b; }
.world-stage::after { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(16, 9, 43, .5)); content: ""; pointer-events: none; }
.world-stage img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; transition: opacity 180ms ease, transform 420ms ease; }
.world-explorer:hover .world-stage img { transform: scale(1.025); }
.world-time-toggle { position: absolute; z-index: 2; top: 1rem; right: 1rem; display: grid; width: 42px; height: 42px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(29, 18, 68, .62); box-shadow: 0 6px 18px rgba(15, 7, 42, .24); color: #fff0a8; cursor: pointer; font-size: 1.1rem; line-height: 1; backdrop-filter: blur(10px); transition: transform 180ms ease, background 180ms ease; }
.world-time-toggle:hover { transform: translateY(-1px) scale(1.04); background: rgba(61, 44, 119, .84); }
.world-time-toggle:focus-visible { outline: 3px solid #f6c2dd; outline-offset: 3px; }
.world-stage-count { position: absolute; z-index: 1; top: 1rem; left: 1rem; padding: .42rem .62rem; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(28, 17, 65, .58); color: #fff; font-size: .64rem; font-weight: 800; letter-spacing: .08em; backdrop-filter: blur(8px); }
.world-details { display: flex; padding: clamp(2rem, 5vw, 4.5rem); flex-direction: column; justify-content: center; align-items: flex-start; background: linear-gradient(145deg, #fff, #f8f5ff); }
.world-details .eyebrow { margin-bottom: .8rem; color: #a24b7d; }
.world-details .eyebrow span { color: #e5a728; }
.world-details h3 { margin: 0; color: var(--ink); font-size: clamp(2.25rem, 4vw, 3.75rem); line-height: .98; letter-spacing: -.065em; }
.world-details > p:not(.eyebrow) { max-width: 22rem; margin: 1.15rem 0 0; color: var(--muted); font-size: .96rem; line-height: 1.7; }
.world-navigation { display: flex; width: 100%; max-width: 310px; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 2.35rem; }
.world-navigation button { display: inline-flex; align-items: center; gap: .45rem; padding: .52rem 0; border: 0; background: transparent; color: #6752ca; cursor: pointer; font-size: .72rem; font-weight: 850; }
.world-navigation button:hover { color: #423093; }
.world-navigation button:focus-visible { outline: 3px solid #d9cffd; outline-offset: 4px; border-radius: 5px; }
.world-navigation p { display: flex; align-items: baseline; gap: .3rem; margin: 0; color: #9b92b5; font-size: .68rem; }
.world-navigation strong { color: var(--ink); font-size: 1rem; }
body.dark-mode .world-explorer { border-color: #3b3259; background: #211d36; }
body.dark-mode .world-details { background: linear-gradient(145deg, #211d36, #19152b); }
body.dark-mode .world-details h3, body.dark-mode .world-navigation strong { color: #fff !important; }
@media (max-width: 1100px) {
    .world-cutout { width: 260px; left: -3rem; opacity: .13; }
}
@media (max-width: 800px) {
    .world-explorer { grid-template-columns: 1fr; min-height: 0; }
    .world-details { order: 2; }
    .world-stage { order: 1; }
    .world-stage { height: 560px; }
    .world-details { min-height: 265px; padding: 2rem; }
    .world-cutout, .feature-cutout { display: none; }
}

/* Full companion artwork is framed as a side accent, never cropped into a card. */
.features-composition {
    display: block;
}
.feature-cutout { right: calc(620px - 50vw); bottom: 2rem; transform: rotate(1.5deg); }
.feature-cutout img { filter: drop-shadow(0 23px 20px rgba(61, 42, 120, .2)); }
.features-composition .feature-board { position: relative; z-index: 1; }
@media (max-width: 1100px) {
    .feature-cutout { width: 260px; right: -3rem; opacity: .13; }
}
@media (max-width: 500px) {
    .world-stage { height: 470px; }
    .world-details { padding: 1.55rem; }
    .world-details h3 { font-size: 2.35rem; }
}
