/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background: linear-gradient(135deg, #FFE5B4 0%, #FFDAB9 25%, #FFE4E1 50%, #E6E6FA 75%, #F0E68C 100%);
    background-attachment: fixed;
    color: #4A3728;
    line-height: 1.6;
    padding: 20px;
}

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

/* Header */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #FF6B9D 0%, #FFA07A 50%, #FFD700 100%);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.hero-emoji {
    font-size: 80px;
    margin-bottom: 10px;
    line-height: 1;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    margin-bottom: 10px;
}

.tagline {
    font-size: 18px;
    color: #FFFFFF;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Sections */
.section {
    margin-bottom: 30px;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 6px solid #FF6B9D;
}

.section:nth-child(even) {
    border-left-color: #4169E1;
}

.section:nth-child(3n) {
    border-left-color: #32CD32;
}

.section:nth-child(4n) {
    border-left-color: #FFD700;
}

.section:nth-child(5n) {
    border-left-color: #FF8C00;
}

.section h2 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #FF6B9D;
}

.section:nth-child(even) h2 {
    color: #4169E1;
}

.section:nth-child(3n) h2 {
    color: #32CD32;
}

.section:nth-child(4n) h2 {
    color: #FF8C00;
}

.section:nth-child(5n) h2 {
    color: #9370DB;
}

.info {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.info-detail {
    font-size: 16px;
    color: #8B7355;
}

.description {
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Activity List */
.activity-list {
    list-style: none;
    margin-bottom: 20px;
}

.activity-list li {
    font-size: 16px;
    margin-bottom: 10px;
    padding-left: 5px;
    line-height: 1.6;
}

/* Calendar Link */
.calendar-link {
    margin-top: 25px;
    text-align: center;
}

.btn-calendar {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #FFFFFF;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 165, 0, 0.3);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.btn-calendar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 165, 0, 0.4);
}

/* RSVP Form */
.rsvp-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border: 3px solid #FFB6C1;
    border-radius: 10px;
    background-color: #FFFFFF;
    color: #4A3728;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #FF69B4;
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.3);
}

.form-group input::placeholder {
    color: #B8A99A;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #FF6B9D 0%, #FF1493 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 107, 157, 0.4);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 107, 157, 0.5);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Messages */
.message {
    padding: 14px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 16px;
    text-align: center;
    font-weight: 500;
}

.message.success {
    background: linear-gradient(135deg, #90EE90 0%, #32CD32 100%);
    color: #FFFFFF;
    border: 2px solid #228B22;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.message.error {
    background-color: #F8D7DA;
    color: #721C24;
    border: 2px solid #F5C6CB;
}

/* Attendees */
#attendees-container {
    margin-top: 15px;
}

.loading {
    color: #8B7355;
    font-style: italic;
}

.attendees-list {
    list-style: none;
}

.attendees-list li {
    padding: 12px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #FFF8E7 0%, #FFE4B5 100%);
    border-radius: 10px;
    border-left: 5px solid #FFD700;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.attendees-list li:hover {
    transform: translateX(5px);
}

.attendees-list li:nth-child(even) {
    border-left-color: #FF69B4;
}

.attendees-list li:nth-child(3n) {
    border-left-color: #4169E1;
}

.attendees-list li:nth-child(4n) {
    border-left-color: #32CD32;
}

.attendee-name {
    font-weight: 600;
    color: #4A3728;
}

.attendee-cereal {
    font-size: 14px;
    color: #8B7355;
    margin-top: 4px;
}

.no-attendees {
    color: #8B7355;
    font-style: italic;
    padding: 12px;
}

/* File Upload */
.upload-form {
    margin-bottom: 20px;
}

.file-input-wrapper {
    position: relative;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border: 3px dashed #9370DB;
    border-radius: 10px;
    background-color: #F8F4FF;
    color: #4A3728;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-label:hover {
    background-color: #F0E6FF;
    border-color: #8A2BE2;
}

.file-icon {
    font-size: 24px;
    margin-right: 10px;
}

#file-name {
    font-weight: 500;
}

.presentations-list {
    list-style: none;
}

.presentation-item {
    padding: 12px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #E6E6FA 0%, #D8BFD8 100%);
    border-radius: 10px;
    border-left: 5px solid #9370DB;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.presentation-info {
    flex: 1;
}

.presentation-name {
    font-weight: 600;
    color: #4A3728;
}

.presentation-uploader {
    font-size: 14px;
    color: #6B5B7A;
    margin-top: 4px;
}

.download-link {
    background: linear-gradient(135deg, #9370DB 0%, #8A2BE2 100%);
    color: #FFFFFF;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(147, 112, 219, 0.3);
}

.download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(147, 112, 219, 0.4);
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 0 20px;
    color: #8B7355;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    body {
        padding: 15px;
    }

    .hero-emoji {
        font-size: 60px;
    }

    .header h1 {
        font-size: 28px;
    }

    .tagline {
        font-size: 16px;
    }

    .section h2 {
        font-size: 20px;
    }
}
