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

:root {
    --bg-primary: #0c0a0f;
    --bg-section: #100e14;
    --bg-card: rgba(232, 168, 124, 0.04);
    --bg-card-hover: rgba(232, 168, 124, 0.08);
    --text-primary: #e8e6e3;
    --text-muted: #9a8f8a;
    --accent: #e8a87c;
    --accent-light: #f0c4a0;
    --accent-glow: rgba(232, 168, 124, 0.3);
    --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, 15, 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.4rem; }

.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-mascot {
    animation: float 3s 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);
}

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

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

.bear-face.large .bear-head {
    position: absolute;
    width: 126px;
    height: 115px;
    background: #c8956c;
    border-radius: 50% 50% 48% 48%;
    top: 25px;
    left: 7px;
}

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

.bear-face.large .bear-ear::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    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: 22px;
    height: 24px;
    background: #2a1a0a;
    border-radius: 50%;
    top: 36px;
}

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

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

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

.bear-face.large .bear-mouth {
    position: absolute;
    width: 26px;
    height: 10px;
    border-bottom: 3px solid #5a3a22;
    border-radius: 0 0 50% 50%;
    top: 72px;
    left: 50%;
    transform: translateX(-50%);
}

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

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

/* ===== 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 GRID ===== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.about-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: background 0.3s, transform 0.3s;
}

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

.about-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--accent-light);
}

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

/* ===== SKILLS ===== */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.skill-tag {
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid rgba(232, 168, 124, 0.15);
    color: var(--accent-light);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
}

.skill-tag:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

/* ===== CONNECT ===== */
.connect-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.connect-card {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.8rem;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
}

.connect-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--accent-glow);
    color: var(--accent-light);
}

.connect-icon { font-size: 1.3rem; }

/* ===== 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 float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

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

    .topnav { padding: 0.8rem 1.2rem; }

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

    .bear-face.large {
        transform: scale(0.8);
    }
}
