* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: linear-gradient(135deg, #F0F4F8 0%, #D9E2EC 100%);
            min-height: 100vh;
            padding: 20px;
            display: flex;
            flex-direction: column;
        }
        .main-content {
            flex: 1;
        }
        .page-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 350px;
            gap: 30px;
            align-items: start;
        }
        @media (max-width: 968px) {
            .page-container {
                grid-template-columns: 1fr;
            }
            .sidebar {
                order: 2;
            }
        }
        .container {
            max-width: 100%;
            width: 100%;
        }
        .card {
            background: white;
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
        }
        .event-type {
            display: inline-block;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.85em;
            font-weight: 600;
            margin-bottom: 15px;
        }
        .wedding { background: #ffe4e1; color: #c71585; }
        .birthday { background: #fff0e6; color: #ff8c00; }
        .stag { background: #e6f3ff; color: #0066cc; }
        .hen { background: #ffe6f0; color: #ff1493; }
        .babyshower { background: #e8f5e9; color: #2e7d32; }
        .corporate { background: #e3f2fd; color: #1565c0; }
        .family { background: #fff9c4; color: #f57f17; }
        .holiday { background: #fce4ec; color: #c2185b; }
        .other { background: #f0f0f0; color: #666; }
        h1 {
            color: #333;
            margin-bottom: 20px;
            font-size: 2.2em;
            word-wrap: break-word;
            word-break: break-word;
            overflow-wrap: break-word;
            max-width: 100%;
        }
        .event-details {
            color: #666;
            margin: 10px 0;
            font-size: 1.1em;
        }
        .description {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 10px;
            margin: 20px 0;
            color: #555;
            line-height: 1.6;
        }
        .rsvp-count {
            margin: 25px 0;
            padding: 20px;
            background: #f0f8ff;
            border-radius: 10px;
            text-align: center;
            color: #28a745;
            font-weight: 600;
            font-size: 1.1em;
        }
        .form-section {
            margin-top: 40px;
            padding-top: 30px;
            border-top: 2px solid #eee;
        }
        .form-section h2 {
            color: #333;
            margin-bottom: 25px;
        }
        .form-group {
            margin-bottom: 20px;
        }
        label {
            display: block;
            margin-bottom: 8px;
            color: #333;
            font-weight: 600;
        }
        input, select, textarea {
            width: 100%;
            padding: 14px;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            font-size: 16px;
            transition: border-color 0.3s;
        }
        input:focus, select:focus, textarea:focus {
            outline: none;
            border-color: #4DB8B8;
        }
        textarea {
            resize: vertical;
            min-height: 80px;
        }
        .radio-group {
            display: flex;
            gap: 15px;
            margin-top: 10px;
            flex-wrap: wrap;
        }
        .radio-group label {
            display: flex;
            align-items: center;
            font-weight: 500;
            cursor: pointer;
            padding: 12px 20px;
            border-radius: 10px;
            border: 2px solid #e0e0e0;
            background: white;
            transition: all 0.3s ease;
            flex: 1;
            min-width: 200px;
            position: relative;
        }
        .radio-group label:hover {
            border-color: #4DB8B8;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(77, 184, 184, 0.2);
        }
        .radio-group input[type="radio"] {
            width: 20px;
            height: 20px;
            margin-right: 10px;
            cursor: pointer;
            accent-color: #FFFFFF;
        }
        /* Green styling for "Yes, I'll be there!" when selected */
        .radio-group label:has(input[value="attending"]:checked) {
            background: #d4edda;
            border-color: #28a745;
            color: #155724;
            font-weight: 600;
        }
        /* Red styling for "Sorry, can't make it" when selected */
        .radio-group label:has(input[value="not_attending"]:checked) {
            background: #f8d7da;
            border-color: #dc3545;
            color: #721c24;
            font-weight: 600;
        }
        .btn {
            width: 100%;
            background: #4DB8B8;
            color: white;
            border: none;
            padding: 16px;
            border-radius: 10px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 600;
            transition: background 0.3s;
        }
        .btn:hover {
            background: #3FA3A3;
        }
        #message {
            padding: 15px;
            border-radius: 10px;
            margin-bottom: 20px;
            display: none;
            text-align: center;
        }
        .success {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }
        .error {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }
        .powered-by {
            text-align: center;
            margin-top: 30px;
            color: white;
            opacity: 0.9;
        }
        .powered-by a {
            color: white;
            text-decoration: none;
            font-weight: 600;
        }
        .powered-by a:hover {
            text-decoration: underline;
        }
        .sidebar {
            background: white;
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            position: sticky;
            top: 20px;
        }
        .sidebar h2 {
            color: #4DB8B8;
            margin-bottom: 15px;
            font-size: 1.8em;
        }
        .sidebar p {
            color: #666;
            line-height: 1.6;
            margin-bottom: 20px;
        }
        .feature-list {
            margin: 25px 0;
        }
        .feature-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 15px;
            padding: 12px;
            background: #f8f9fa;
            border-radius: 10px;
        }
        .feature-icon {
            font-size: 1.5em;
            margin-right: 12px;
            flex-shrink: 0;
        }
        .feature-text {
            color: #333;
            font-size: 0.95em;
        }
        .cta-button {
            display: block;
            width: 100%;
            background: #4DB8B8;
            color: white;
            text-align: center;
            padding: 16px;
            border-radius: 10px;
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            transition: background 0.3s;
            margin-top: 20px;
        }
        .cta-button:hover {
            background: #3FA3A3;
        }
        .testimonial {
            background: #f0f8ff;
            padding: 15px;
            border-radius: 10px;
            margin-top: 20px;
            border-left: 4px solid #4DB8B8;
        }
        .testimonial-text {
            color: #555;
            font-style: italic;
            font-size: 0.9em;
            margin-bottom: 8px;
        }
        .testimonial-author {
            color: #4DB8B8;
            font-weight: 600;
            font-size: 0.85em;
        }
        .countdown {
            margin: 1px 0 25px 0;
            padding: 10px 0;
            font-size: 1.1em;
            font-weight: 600;
            text-align: center;
            color: #4DB8B8;
            background: none;
        }
        .countdown.today,
        .countdown.soon,
        .countdown.upcoming,
        .countdown.future,
        .countdown.past {
            color: #4DB8B8;
            background: none;
        }
        .past-event-notice {
            background: #fff3cd;
            border: 2px solid #ffc107;
            color: #856404;
            padding: 20px;
            border-radius: 10px;
            text-align: center;
            margin: 20px 0;
            font-weight: 600;
        }
        .btn:disabled {
            background: #ccc;
            cursor: not-allowed;
            opacity: 0.6;
        }
        .form-disabled {
            opacity: 0.5;
            pointer-events: none;
        }
        
        /* Wedding Event Details Styling */
        .wedding-detail-item {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 10px;
            border-left: 4px solid #4DB8B8;
        }
        
        .wedding-detail-icon {
            font-size: 2em;
            margin-right: 15px;
            flex-shrink: 0;
            line-height: 1;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .wedding-detail-content {
            flex: 1;
        }
        
        .wedding-detail-content h4 {
            color: #333;
            margin: 0 0 8px 0;
            font-size: 1.1em;
            font-weight: 600;
        }
        
        .wedding-detail-content p {
            color: #666;
            margin: 5px 0;
            font-size: 0.95em;
            line-height: 1.5;
        }
        
        /* Dinner Options Styling */
        .dinner-options-section {
            margin-top: 20px;
        }
        
        .dinner-options-section h4 {
            color: #333;
            margin-bottom: 10px;
            font-size: 1.1em;
            font-weight: 600;
        }
        
        .dinner-options-section ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .dinner-options-section li {
            padding: 8px 0 8px 25px;
            color: #666;
            position: relative;
            font-size: 0.95em;
        }
        
        .dinner-options-section li:before {
            content: "•";
            position: absolute;
            left: 10px;
            color: #4DB8B8;
            font-weight: bold;
        }
        
        /* Additional Details Section */
        .additional-details {
            background: #f0f8ff;
            padding: 15px;
            border-radius: 10px;
            margin-top: 15px;
            border-left: 4px solid #4DB8B8;
        }
        
        .additional-details p {
            color: #555;
            margin: 0;
            line-height: 1.6;
        }
/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #2C3E50;
    color: white;
    padding: 40px 20px;
    text-align: center;
    margin-top: 60px;
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: -20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content p {
    margin: 0 0 15px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95em;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #4DB8A8;
    text-decoration: none;
    font-weight: 500;
    font-size: 1em;
    transition: color 0.3s;
    padding: 8px 0;
}

.footer-links a:hover {
    color: #6DCDC0;
    text-decoration: underline;
}

/* Mobile responsive footer */
@media (max-width: 480px) {
    .site-footer {
        padding: 30px 20px;
        margin-top: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}