/* ========================================
   AI Toyverse - Liquid Glass Design System
   ======================================== */

:root {
    /* Color Palette - Based on Reference */
    --primary-purple: #6B47DC;
    --deep-purple: #5534B8;
    --light-purple: #8B68E8;
    --accent-yellow: #FFB800;
    --accent-orange: #FF8A00;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --glass-white: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.18);
    --text-dark: #1A1A2E;
    --text-light: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.7);
    
    /* Spacing & Layout */
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    --border-radius-full: 9999px;
    --container-width: 1200px;
    --section-padding: 80px 20px;
    
    /* Effects */
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 8px 32px rgba(107, 71, 220, 0.25);
    --shadow-hover: 0 12px 48px rgba(107, 71, 220, 0.35);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #6B47DC 0%, #5534B8 50%, #7E3AF2 100%);
    background-attachment: fixed;
    color: var(--text-light);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Liquid Glass Components
   ======================================== */

.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s var(--transition-smooth);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.25);
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(107, 71, 220, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    padding: 20px 0;
}

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

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.logo-dot {
    color: var(--accent-yellow);
    font-size: 32px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-yellow);
    border-radius: var(--border-radius-full);
    transition: width 0.3s var(--transition-smooth);
}

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

.btn-nav {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-yellow));
    color: var(--white);
    padding: 12px 28px;
    border-radius: var(--border-radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s var(--transition-smooth);
    box-shadow: 0 4px 16px rgba(255, 184, 0, 0.3);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 184, 0, 0.5);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: var(--section-padding);
    padding-top: 120px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.title-line-1 {
    background: linear-gradient(135deg, var(--white), rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line-2 {
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 24px rgba(255, 184, 0, 0.4);
}

.title-line-3 {
    background: linear-gradient(135deg, var(--white), var(--light-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-yellow));
    color: var(--white);
    padding: 16px 40px;
    border-radius: var(--border-radius-full);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.4s var(--transition-smooth);
    box-shadow: 0 8px 24px rgba(255, 184, 0, 0.4);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 184, 0, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 16px 40px;
    border-radius: var(--border-radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: 1px solid var(--glass-border);
    transition: all 0.4s var(--transition-smooth);
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* Hero Visual - Floating Cards */
.hero-visual {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-xl);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    animation: float 6s ease-in-out infinite;
}

.card-magic {
    top: 50px;
    right: 100px;
    animation-delay: 0s;
}

.card-scifi {
    top: 200px;
    right: 20px;
    animation-delay: 2s;
}

.card-retro {
    top: 350px;
    right: 150px;
    animation-delay: 4s;
}

.card-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.floating-card p {
    font-weight: 600;
    font-size: 16px;
    color: var(--white);
}

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

/* Hero Background Blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: blob-move 20s ease-in-out infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--light-purple), transparent);
    top: -200px;
    right: -100px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-yellow), transparent);
    bottom: -100px;
    left: -100px;
    animation-delay: 10s;
}

@keyframes blob-move {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

/* ========================================
   Worlds Section
   ======================================== */

.worlds-section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--white), var(--light-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
}

.worlds-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.world-card {
    padding: 40px;
    text-align: center;
    position: relative;
}

.world-card.featured {
    border-color: var(--accent-yellow);
    border-width: 2px;
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 30px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-yellow));
    color: var(--white);
    padding: 6px 16px;
    border-radius: var(--border-radius-full);
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.4);
}

.world-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.world-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.world-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.world-features {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
}

.world-features li {
    padding: 12px 0;
    color: var(--text-light);
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.world-features li:last-child {
    border-bottom: none;
}

.btn-world {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 12px 32px;
    border-radius: var(--border-radius-full);
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--glass-border);
    transition: all 0.3s var(--transition-smooth);
}

.btn-world:hover {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-yellow));
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(255, 184, 0, 0.4);
}

/* ========================================
   Features Section
   ======================================== */

.features-section {
    padding: var(--section-padding);
    background: rgba(0, 0, 0, 0.1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-item {
    padding: 40px 32px;
    text-align: center;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.feature-item p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ========================================
   About Section
   ======================================== */

.about-section {
    padding: var(--section-padding);
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-description {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.stat-item {
    padding: 32px;
    text-align: center;
}

.stat-item h3 {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
    padding: var(--section-padding);
}

.cta-content {
    padding: 80px 60px;
    text-align: center;
}

.cta-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-description {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ========================================
   Footer
   ======================================== */

.footer {
    background: rgba(0, 0, 0, 0.2);
    padding: 60px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 12px;
    font-size: 15px;
}

.footer-domain {
    color: var(--accent-yellow);
    font-weight: 600;
    margin-top: 8px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

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

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

.footer-column ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s var(--transition-smooth);
}

.footer-column ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        display: none;
    }
    
    .worlds-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .worlds-grid,
    .features-grid,
    .stats-grid,
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
