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

body {
    font-family: 'Nunito', sans-serif;
    color: #2d2d2d;
    background: #fafbff;
    overflow-x: hidden;
}

a { color: #6C63FF; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── Navbar ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(108,99,255,0.08);
    padding: 0.8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: #2d2d2d;
    font-weight: 800;
    font-size: 1.2rem;
}

.nav-brand img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: #555;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover { color: #6C63FF; text-decoration: none; }

.nav-cta {
    background: #6C63FF;
    color: white !important;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem !important;
}

.nav-cta:hover { background: #5b53e0; }

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #2d2d2d;
}

/* ─── Hero ─── */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #6C63FF 0%, #8B7DFF 50%, #A78BFA 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-3deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-icon {
    width: 140px;
    height: 140px;
    border-radius: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
    animation: bounce 3s ease-in-out infinite;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* ─── Buttons ─── */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn:hover { text-decoration: none; }

.btn-primary {
    background: #FFD93D;
    color: #2d2d2d;
    box-shadow: 0 8px 30px rgba(255,217,61,0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255,217,61,0.5);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
}

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

/* ─── Section Styles ─── */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #2d2d2d;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ─── Characters ─── */
.characters {
    padding: 6rem 2rem;
    background: white;
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.character-card {
    background: linear-gradient(145deg, #f8f7ff, #fff);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(108,99,255,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.character-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(108,99,255,0.15);
    border-color: #6C63FF;
}

.character-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid #6C63FF;
    box-shadow: 0 6px 20px rgba(108,99,255,0.2);
}

.character-card h3 {
    font-size: 1.4rem;
    color: #6C63FF;
    margin-bottom: 0.5rem;
}

.character-card p {
    color: #666;
    line-height: 1.6;
}

/* ─── Features ─── */
.features {
    padding: 6rem 2rem;
    background: #fafbff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2d2d2d;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ─── Safety ─── */
.safety {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
}

.safety .section-title { color: white; }
.safety .section-subtitle { color: rgba(255,255,255,0.7); }

.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.safety-item {
    background: rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.safety-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #FFD93D;
}

.safety-item p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ─── Languages ─── */
.languages {
    padding: 4rem 2rem;
    background: white;
    text-align: center;
}

.language-flags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.language-flag {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.language-flag span:first-child { font-size: 2.5rem; }
.language-flag span:last-child { font-size: 0.8rem; color: #666; }

/* ─── CTA Bottom ─── */
.cta-bottom {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #6C63FF 0%, #8B7DFF 100%);
    text-align: center;
    color: white;
}

.cta-bottom h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-bottom p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* ─── Footer ─── */
footer {
    background: #1a1a2e;
    color: rgba(255,255,255,0.6);
    padding: 3rem 2rem 2rem;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-brand img {
    width: 28px;
    height: 28px;
    border-radius: 8px;
}

.footer-col h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

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

.footer-col li {
    margin-bottom: 0.4rem;
}

.footer-col a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: #A78BFA;
    text-decoration: none;
}

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

.footer-bottom a { color: #A78BFA; }

/* ─── Legal Pages ─── */
.legal-page {
    padding: 7rem 2rem 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 2.2rem;
    font-weight: 900;
    color: #6C63FF;
    margin-bottom: 0.5rem;
}

.legal-page .last-updated {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.legal-page h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #2d2d2d;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

.legal-page h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #444;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-page p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-page ul {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-page li {
    margin-bottom: 0.3rem;
}

.legal-page .highlight-box {
    background: #EEF2FF;
    border-left: 4px solid #6C63FF;
    padding: 1rem 1.5rem;
    border-radius: 0 12px 12px 0;
    margin: 1.5rem 0;
}

.legal-page .highlight-box p {
    color: #444;
    margin-bottom: 0;
}

/* ─── Contact Page ─── */
.contact-section {
    padding: 7rem 2rem 4rem;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-section h1 {
    font-size: 2.2rem;
    font-weight: 900;
    color: #6C63FF;
    margin-bottom: 1rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    text-align: center;
}

.contact-card .contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: #666;
    font-size: 0.95rem;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.1rem; }
    .hero-icon { width: 100px; height: 100px; }
    .section-title { font-size: 1.8rem; }
    .cta-bottom h2 { font-size: 1.8rem; }

    .nav-links { display: none; }
    .hamburger { display: block; }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem 2rem;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .legal-page { padding: 5rem 1.2rem 3rem; }
    .legal-page h1 { font-size: 1.6rem; }
}
