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

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #2c2c2c 0%, #333333 50%, #2a2a2a 100%);
    color: #f0f0f0;
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Decorative Elements */
.decorative-leaves {
    position: absolute;
    width: 150px;
    height: 200px;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M20,80 Q10,50 20,20 Q30,10 50,20 Q70,10 80,20 Q90,50 80,80 Q70,90 50,80 Q30,90 20,80 Z' fill='%23D4AF37'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.left-leaves {
    top: 20%;
    left: -50px;
    transform: rotate(-15deg);
}

.right-leaves {
    bottom: 20%;
    right: -50px;
    transform: rotate(15deg) scaleX(-1);
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 3rem;
}

.couple-names {
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    color: #D4AF37;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #D4AF37, #FFD700, #B8860B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.2rem;
    color: #d4af37;
    margin: 0.5rem 0 0.3rem 0;
    font-weight: 300;
    letter-spacing: 1px;
}

.event-date {
    font-size: 1.1rem;
    color: #d4af37;
    margin: 0 0 2rem 0;
    font-weight: 400;
    letter-spacing: 1px;
    font-style: italic;
}

/* Rings Decoration */
.rings-decoration {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 2rem;
}

.ring {
    width: 40px;
    height: 40px;
    border: 3px solid #D4AF37;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.ring::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #D4AF37;
    border-radius: 50%;
}

.ring-2 {
    transform: translateX(-15px);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Form Container */
.form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 500px;
}

.form-title {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    color: #D4AF37;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Form Styles */
.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #e0e0e0;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #f0f0f0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #b0b0b0;
}

/* Radio Group */
.radio-group-label {
    margin-bottom: 1rem !important;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(212, 175, 55, 0.5);
}

.radio-option input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #D4AF37;
    margin: 0;
}

.radio-option label {
    cursor: pointer;
    margin: 0;
    font-weight: 400;
}

/* Additional Fields */
.additional-fields {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Submit Button */
.submit-btn {
    padding: 1.2rem 2rem;
    background: linear-gradient(45deg, #D4AF37, #FFD700);
    color: #2c2c2c;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
    background: linear-gradient(45deg, #FFD700, #D4AF37);
}

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

/* Success Message */
.success-message {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 500px;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    font-size: 4rem;
    color: #D4AF37;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.success-message h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    color: #D4AF37;
    margin-bottom: 1rem;
}

.success-message p {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 2rem;
}

.event-details {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
}

.event-details h3 {
    font-family: 'Great Vibes', cursive;
    font-size: 1.8rem;
    color: #D4AF37;
    margin-bottom: 1rem;
}

.event-details p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.event-details strong {
    color: #D4AF37;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer p {
    font-family: 'Great Vibes', cursive;
    font-size: 1.5rem;
    color: #D4AF37;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .couple-names {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1rem;
        margin: 0.3rem 0 0.2rem 0;
    }
    
    .event-date {
        font-size: 1rem;
        margin: 0 0 2.5rem 0;
    }
    
    .form-container,
    .success-message {
        padding: 2rem;
    }
    
    .form-title {
        font-size: 2rem;
    }
    
    .decorative-leaves {
        display: none;
    }
}

@media (max-width: 480px) {
    .couple-names {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
        margin: 0.2rem 0 0.1rem 0;
    }
    
    .event-date {
        font-size: 0.95rem;
        margin: 0 0 2rem 0;
    }
    
    .form-container,
    .success-message {
        padding: 1.5rem;
    }
    
    .radio-group {
        gap: 0.75rem;
    }
    
    .radio-option {
        padding: 0.75rem;
    }
}