:root {
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --background-color: #f8f9fa;
    --text-color: #2d3436;
    --accent-color: #FFE66D;
    --doodle-color: #FFB6C1;
    --flame-color: #FFA500;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    position: relative;
    overflow-x: hidden;
}

/* Doodle Background */
.doodle-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 182, 193, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 230, 109, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(255, 165, 0, 0.05) 0%, transparent 30%);
    pointer-events: none;
    z-index: -1;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px dashed var(--doodle-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Indie Flower', cursive;
    transform: rotate(-2deg);
}

.nav-links a {
    margin-left: 2rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    background: linear-gradient(135deg, #fff 0%, var(--background-color) 100%);
}

.hero-content {
    max-width: 800px;
}

.doodle-frame {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: rotate(-1deg);
    border: 3px dashed var(--doodle-color);
    margin-bottom: 2rem;
    position: relative;
}

.doodle-frame::after {
    content: '🕯️';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 2rem;
    animation: flicker 2s infinite;
    transform: rotate(15deg);
}

h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-family: 'Indie Flower', cursive;
    transform: rotate(1deg);
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-family: 'Indie Flower', cursive;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px dashed white;
    transform: rotate(-1deg);
}

.cta-button:hover {
    transform: rotate(1deg) translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
    background-color: var(--secondary-color);
}

/* Sections */
.section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.handwritten {
    font-family: 'Indie Flower', cursive;
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-color);
    transform: rotate(-2deg);
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.doodle-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05),
                0 0 20px rgba(255, 165, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px dashed var(--doodle-color);
    position: relative;
    transform: rotate(-1deg);
    overflow: visible;
}

.doodle-card::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--flame-color);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.doodle-card:hover::before {
    opacity: 0.3;
    animation: flicker 1s infinite;
}

.doodle-decoration {
    position: absolute;
    font-size: 2rem;
    opacity: 0.5;
    transform: rotate(15deg);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 600;
    border: 2px dashed white;
}

/* Participation Box */
.participation-box {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    transform: rotate(1deg);
}

.address {
    margin: 2rem 0;
    padding: 1rem;
    background: var(--background-color);
    border-radius: 15px;
    border: 2px dashed var(--doodle-color);
}

.note {
    color: var(--primary-color);
    font-weight: 500;
    font-family: 'Indie Flower', cursive;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    padding: 2rem;
    transform: rotate(-1deg);
}

/* Footer */
.doodle-footer {
    text-align: center;
    padding: 2rem;
    background: white;
    color: var(--text-color);
    border-top: 2px dashed var(--doodle-color);
    position: relative;
}

/* Flame Decorations */
.flame-decoration {
    position: fixed;
    font-size: 2rem;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
    animation: flicker 2s infinite;
}

.flame-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.flame-2 {
    top: 30%;
    right: 10%;
    animation-delay: 0.5s;
}

.flame-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

@keyframes flicker {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: scale(1.1) rotate(5deg);
        opacity: 0.8;
    }
    50% {
        transform: scale(0.9) rotate(-5deg);
        opacity: 0.4;
    }
    75% {
        transform: scale(1.1) rotate(5deg);
        opacity: 0.8;
    }
}

/* Candle Decorations */
.doodle-decoration.candle {
    animation: flicker 3s infinite;
    transform-origin: bottom;
}

/* Update existing styles */
.doodle-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1),
                0 0 30px rgba(255, 165, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .nav-links {
        display: none;
    }

    .section {
        padding: 3rem 1rem;
    }

    .doodle-card {
        transform: none;
    }

    .doodle-card:hover {
        transform: translateY(-5px);
    }
} 