:root {
    --primary-color: #ff6b6b; /* Soft red/pink */
    --secondary-color: #4ecdc4; /* Teal */
    --accent-color: #ffcc5c; /* Yellow */
    --bg-color: #fdfdfd;
    --card-bg: #ffffff;
    --text-main: #2f3542;
    --text-muted: #57606f;
}

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

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    padding: 20px;
    /* Subtle polka dot background */
    background-image: radial-gradient(#e0e0e0 2px, transparent 2px);
    background-size: 30px 30px;
}

h1, h2, h3, h4 {
    font-family: 'Fredoka', sans-serif;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
}

.hero {
    text-align: center;
    margin-bottom: 30px;
    padding: 40px 20px;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    border-top: 8px solid var(--secondary-color);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero h2 {
    font-size: 1.3rem;
    color: var(--text-muted);
    font-weight: 400;
}

.details-card, .rsvp-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.details-card {
    border-left: 8px solid var(--accent-color);
}

.rsvp-card {
    border-left: 8px solid var(--primary-color);
}

.details-list {
    list-style: none;
    margin-bottom: 20px;
}

.details-list li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.extra-info {
    background-color: #fff9e6;
    padding: 15px;
    border-radius: 12px;
    border: 1px dashed var(--accent-color);
}

.extra-info h4 {
    margin-bottom: 8px;
    color: #e6a817;
}

.extra-info ul {
    padding-left: 20px;
}

.extra-info li {
    margin-bottom: 6px;
}

.tally-container {
    margin-top: 20px;
    min-height: 300px; /* Gives some space while iframe loads */
    width: 100%;
}

footer {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-muted);
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .hero {
        padding: 30px 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .details-card, .rsvp-card {
        padding: 20px;
    }
}
