:root {
    /* Color Palette - Premium Purple/Green (Mascot Theme) */
    --bg-primary: #0F0518;
    /* Deep Purple Black */
    --bg-secondary: #1A0B2E;
    /* Lighter Deep Purple */

    --accent-purple: #4C1D95;
    /* Darker Purple for Mascot Match */
    --accent-green: #22C55E;
    /* Signal Green (Mascot Light) */

    --accent-glow: rgba(139, 92, 246, 0.5);
    /* Glowing Purple */

    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;

    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --section-spacing: 120px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Layout Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: var(--section-spacing) 0;
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-main);
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-purple) 50%, var(--accent-green));
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent-purple) 50%, var(--accent-green));
    border: none;
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

/* Glassmorphism Card Utility */
.glass-card {
    background: rgba(26, 11, 46, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 20px;
}

/* Mascot Animation Styles */
#mascot-container {
    position: absolute;
    z-index: 2000;
    pointer-events: none;
    transition: top 0.8s ease-in-out, left 0.8s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 250px;
    opacity: 0;
    /* Hidden initially */
}

.mascot-actor {
    width: 140px;
    height: auto;
    filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.5));
}

.mascot-waddle {
    animation: waddle 0.4s infinite ease-in-out alternate;
}

@keyframes waddle {
    from {
        transform: rotate(-8deg) translateY(0);
    }

    to {
        transform: rotate(8deg) translateY(-10px);
    }
}

.speech-bubble {
    background: white;
    color: var(--accent-purple);
    padding: 1.2rem;
    border-radius: 20px;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 15px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(10px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    line-height: 1.4;
    border: 2px solid var(--accent-purple);
}

.speech-bubble.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: white transparent transparent transparent;
}