:root {
    --bg-color: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --accent-color: #0ea5e9;
    /* Sky blue */
    --accent-gold: #d97706;
    --card-bg: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

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

.cilansSystemLogo {
    margin-bottom: 50px;
}

/* Cake Boy Image Positioning */
.cake-boy {
    position: absolute;
    bottom: -45px;
    right: 5%;
    z-index: 2;
    pointer-events: none;
}

.cake-boy img {
    width: 480px;
    max-width: 35vw;
    height: auto;
}

/* Tablet */
@media (max-width: 1024px) {
    .cake-boy img {
        width: 220px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .cake-boy {
        right: 50%;
        transform: translateX(50%);
        bottom: -10px;
    }

    .cake-boy img {
        width: 180px;
    }
}

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

#confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--text-primary);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(to bottom, #f0f9ff, #e0f2fe);
    position: relative;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: white;
    border-radius: 100px;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

.title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--accent-gold);
    position: relative;
    display: inline-block;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.arrow {
    font-size: 1.5rem;
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.message-section {
    padding: 6rem 0;
    background: white;
    text-align: center;
}

.boss-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    overflow: hidden;
    font-size: 3rem;
    color: var(--text-secondary);
    border: 4px solid white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

audio {
    display: none;
}

.main-message h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.main-message p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Wishes Section */
.wishes-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.wishes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .wishes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .wishes-grid {
        grid-template-columns: 1fr;
    }
}

.wish-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--accent-gold);
    transition: transform 0.3s ease;
}

.wish-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.wish-text {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    font-style: italic;
    color: var(--text-primary);
}

.wish-author {
    font-weight: 600;
    color: var(--text-secondary);
    text-align: right;
}

.celebrate-action {
    text-align: center;
    margin-top: 4rem;
}

.cta-button {
    background: var(--accent-gold);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 100px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(217, 119, 6, 0.3);
}

.cta-button:hover {
    background: #b45309;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(217, 119, 6, 0.4);
}

/* Footer */
.footer {
    padding: 2rem;
    text-align: center;
    background: white;
    color: var(--text-secondary);
    border-top: 1px solid #e2e8f0;
}

/* Animations */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .title {
        font-size: 3rem;
    }

    .hero-section {
        padding: 1rem;
    }
}