/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-primary: #0c0a10;
    --bg-section: #100e16;
    --bg-card: rgba(200, 141, 232, 0.04);
    --bg-card-hover: rgba(200, 141, 232, 0.08);
    --text-primary: #e6e3e8;
    --text-muted: #9a8aa0;
    --accent: #c88de8;
    --accent-alt: #7cc6e8;
    --accent-warm: #e8a87c;
    --accent-light: #dab0f0;
    --accent-glow: rgba(200, 141, 232, 0.3);
    --heart-color: #e86c8a;
    --font-body: 'Quicksand', sans-serif;
    --font-accent: 'Pacifico', cursive;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-light); }

/* ===== NAV ===== */
.topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: rgba(12, 10, 16, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-accent);
    font-size: 1.3rem;
    color: var(--accent);
}

.mascot-icon { font-size: 1.1rem; }

.nav-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.nav-links a {
    color: var(--text-muted);
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.nav-home { color: var(--accent); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    gap: 2rem;
}

.hero-mascots {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hero-mascot-left { animation: floatLeft 3s ease-in-out infinite; }
.hero-mascot-right { animation: floatRight 3s ease-in-out infinite; }

.hero-heart {
    font-size: 2.5rem;
    color: var(--heart-color);
    animation: heartbeat 1.5s ease-in-out infinite;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.accent {
    font-family: var(--font-accent);
    color: var(--accent-warm);
}

.accent-alt {
    font-family: var(--font-accent);
    color: var(--accent-alt);
}

.hero-tagline {
    color: var(--text-muted);
    font-size: 1.15rem;
    letter-spacing: 1px;
}

/* ===== BUBU (LARGE) ===== */
.bear-face.large {
    position: relative;
    width: 120px;
    height: 120px;
}

.bear-face.large .bear-head {
    position: absolute;
    width: 108px;
    height: 98px;
    background: #c8956c;
    border-radius: 50% 50% 48% 48%;
    top: 22px;
    left: 6px;
}

.bear-face.large .bear-ear {
    position: absolute;
    width: 38px;
    height: 38px;
    background: #c8956c;
    border-radius: 50%;
    top: 4px;
    z-index: -1;
}

.bear-face.large .bear-ear::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    background: #e8a87c;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bear-face.large .bear-ear-l { left: 2px; }
.bear-face.large .bear-ear-r { right: 2px; }

.bear-face.large .bear-eye {
    position: absolute;
    width: 18px;
    height: 20px;
    background: #2a1a0a;
    border-radius: 50%;
    top: 32px;
}

.bear-face.large .bear-eye-l { left: 22px; }
.bear-face.large .bear-eye-r { right: 22px; }

.bear-face.large .bear-pupil {
    width: 7px;
    height: 8px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 4px;
    right: 3px;
}

.bear-face.large .bear-nose {
    position: absolute;
    width: 15px;
    height: 11px;
    background: #5a3a22;
    border-radius: 50%;
    top: 52px;
    left: 50%;
    transform: translateX(-50%);
}

.bear-face.large .bear-mouth {
    position: absolute;
    width: 22px;
    height: 9px;
    border-bottom: 2.5px solid #5a3a22;
    border-radius: 0 0 50% 50%;
    top: 62px;
    left: 50%;
    transform: translateX(-50%);
}

.bear-face.large .bear-blush {
    position: absolute;
    width: 18px;
    height: 12px;
    background: rgba(232, 168, 124, 0.5);
    border-radius: 50%;
    top: 54px;
}

.bear-face.large .bear-blush-l { left: 10px; }
.bear-face.large .bear-blush-r { right: 10px; }

/* ===== DUDU (LARGE) ===== */
.panda-face.large {
    position: relative;
    width: 120px;
    height: 120px;
}

.panda-face.large .panda-head {
    position: absolute;
    width: 108px;
    height: 98px;
    background: #f0f0f0;
    border-radius: 50% 50% 48% 48%;
    top: 22px;
    left: 6px;
}

.panda-face.large .panda-ear {
    position: absolute;
    width: 36px;
    height: 36px;
    background: #1a1a2e;
    border-radius: 50%;
    top: 6px;
    z-index: -1;
}

.panda-face.large .panda-ear-l { left: 4px; }
.panda-face.large .panda-ear-r { right: 4px; }

.panda-face.large .panda-eye-patch {
    position: absolute;
    width: 30px;
    height: 26px;
    background: #1a1a2e;
    border-radius: 50%;
    top: 28px;
}

.panda-face.large .panda-eye-patch-l { left: 14px; transform: rotate(5deg); }
.panda-face.large .panda-eye-patch-r { right: 14px; transform: rotate(-5deg); }

.panda-face.large .panda-eye {
    position: absolute;
    width: 14px;
    height: 16px;
    background: #f0f0f0;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.panda-face.large .panda-pupil {
    width: 7px;
    height: 8px;
    background: #1a1a2e;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
}

.panda-face.large .panda-nose {
    position: absolute;
    width: 14px;
    height: 10px;
    background: #1a1a2e;
    border-radius: 50%;
    top: 54px;
    left: 50%;
    transform: translateX(-50%);
}

.panda-face.large .panda-mouth {
    position: absolute;
    width: 20px;
    height: 9px;
    border-bottom: 2.5px solid #1a1a2e;
    border-radius: 0 0 50% 50%;
    top: 63px;
    left: 50%;
    transform: translateX(-50%);
}

/* ===== SECTIONS ===== */
.section {
    padding: 5rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.section-alt {
    background: var(--bg-section);
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.section-alt > * {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.section-title {
    font-family: var(--font-accent);
    font-size: 2rem;
    color: var(--accent);
    text-align: center;
    margin-bottom: 2.5rem;
}

/* ===== ABOUT DUO ===== */
.about-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: background 0.3s, transform 0.3s;
}

.about-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.card-mascot { font-size: 2.5rem; display: block; margin-bottom: 1rem; }

.about-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.card-neha h3 { color: var(--accent-warm); }
.card-rohit h3 { color: var(--accent-alt); }

.aka {
    font-family: var(--font-accent);
    font-size: 0.9em;
    font-weight: 400;
}

.about-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    transition: color 0.2s;
}

.card-link:hover { color: var(--accent-light); }

/* ===== INTERESTS ===== */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.interest-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1.5rem 1rem;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s;
}

.interest-item:hover {
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    color: var(--accent-light);
}

.interest-icon { font-size: 1.6rem; }

/* ===== PROJECTS ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.project-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.project-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--accent-light);
}

.project-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== FOOTER ===== */
.site-footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.site-footer a { color: var(--accent); }

/* ===== ANIMATIONS ===== */
@keyframes floatLeft {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-10px) rotate(-3deg); }
}

@keyframes floatRight {
    0%, 100% { transform: translateY(0) rotate(3deg); }
    50% { transform: translateY(-10px) rotate(3deg); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.25); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .about-duo, .projects-grid {
        grid-template-columns: 1fr;
    }

    .interests-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-text h1 { font-size: 2.2rem; }
    .hero-mascots { gap: 0.8rem; }

    .bear-face.large, .panda-face.large {
        transform: scale(0.7);
    }

    .hero-mascot-left { animation: floatLeftMobile 3s ease-in-out infinite; }
    .hero-mascot-right { animation: floatRightMobile 3s ease-in-out infinite; }

    .topnav { padding: 0.8rem 1.2rem; }
    .nav-links { gap: 1rem; font-size: 0.8rem; }
}

@keyframes floatLeftMobile {
    0%, 100% { transform: translateY(0) rotate(-3deg) scale(0.85); }
    50% { transform: translateY(-8px) rotate(-3deg) scale(0.85); }
}

@keyframes floatRightMobile {
    0%, 100% { transform: translateY(0) rotate(3deg) scale(0.85); }
    50% { transform: translateY(-8px) rotate(3deg) scale(0.85); }
}
