/* --- 1. General Styles & Background --- */
body {
    font-family: 'Consolas', 'Courier New', monospace; /* Tech/Terminal font */
    margin: 0;
    padding: 0;
    background-color: #0d1117; /* Very dark background */
    color: #e6e6e6; /* Light text */
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    /* Subtle dark pattern background for texture */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%230d1117"/><circle cx="50" cy="50" r="1" fill="%231f4e79"/></svg>'); 
}

/* --- 2. Container and Headers --- */
.container {
    max-width: 650px;
    width: 90%;
    background-color: rgba(18, 24, 33, 0.95); /* Slightly lighter dark container */
    padding: 40px;
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.3); /* Neon blue glow effect */
    border-radius: 15px;
    border: 1px solid #00bfff; /* Neon blue border */
    text-align: center;
    /* Animation for container to fly in */
    animation: fadeIn 1s ease-out; 
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

h1 {
    color: #00ffff; /* Cyan neon color */
    font-size: 3em;
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00bfff;
    margin-bottom: 5px;
}

h2 {
    color: #a0a0a0;
    font-size: 1.1em;
    font-weight: 400;
}

/* --- 3. Event Details --- */
.details p {
    margin: 5px 0;
    color: #c0c0c0;
}

.dress-code {
    font-style: italic;
    color: #ffcc00; /* Yellow accent */
    font-weight: bold;
    margin-top: 15px;
}

hr {
    border: 0;
    height: 1px;
    /* Neon gradient line */
    background: linear-gradient(to right, #0d1117, #00bfff, #0d1117); 
    margin: 30px 0;
}

/* --- 4. Form and Inputs --- */
.rsvp-section h3 {
    color: #ff69b4; /* Hot pink neon for RSVP deadline */
    margin-bottom: 25px;
    font-size: 1.5em;
    text-shadow: 0 0 5px #ff69b4;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #00ffff;
    text-shadow: 0 0 3px #00ffff;
    animation: pulse 2s infinite alternate; /* Subtle breathing effect */
}

@keyframes pulse {
    from { opacity: 0.8; }
    to { opacity: 1; }
}

input[type="text"],
input[type="email"],
input[type="number"],
textarea {
    width: 100%;
    padding: 12px;
    background-color: #1f2a38; /* Dark input background */
    border: 1px solid #00bfff;
    color: #e6e6e6;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
textarea:focus {
    border-color: #ff69b4; /* Pink border on focus */
    box-shadow: 0 0 8px rgba(255, 105, 180, 0.8); /* Pink glow on focus */
    outline: none;
}

/* --- 5. Radio Buttons (Attendance) --- */
.attendance {
    /* Use flex to align the paragraph and radio inputs nicely */
    display: flex;
    flex-direction: column; 
    align-items: flex-start;
    margin-top: 10px;
}

.attendance p {
    text-align: left;
    margin-bottom: 10px;
    color: #e6e6e6;
}

.attendance div {
    display: inline-block;
    margin-right: 20px;
}

.attendance label {
    font-weight: normal;
    text-shadow: none;
    animation: none;
    cursor: pointer;
    color: #e6e6e6;
    display: inline; /* Keep label inline with radio button */
    margin-left: 5px;
}

.attendance input[type="radio"] {
    width: auto;
    vertical-align: middle;
}

/* --- 6. Button Styling (The most exciting part!) --- */
button[type="submit"] {
    background: linear-gradient(45deg, #00ffff, #ff69b4); /* Cyan to Pink Gradient */
    color: #0d1117;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    width: 100%;
    margin-top: 20px;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

button[type="submit"]:hover {
    transform: scale(1.02); /* Slight scale up on hover */
    /* Intense double neon glow on hover */
    box-shadow: 0 0 20px #00ffff, 0 0 30px #ff69b4; 
}

/* --- 7. Footer --- */
footer {
    text-align: center;
    margin-top: 30px;
    font-size: 0.8em;
    color: #404040;
}

/* --- 8. Watermark Styling (SAMPLE overlay) --- */
#watermark {
    position: fixed; 
    top: 50%;
    left: 50%;
    
    /* Center and rotate for diagonal watermark effect */
    transform: translate(-50%, -50%) rotate(-30deg); 
    
    /* Text styling */
    font-size: 8em; 
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1); /* Very low opacity white */
    pointer-events: none; /* Allows user interaction through the watermark */
    
    /* Positioning over everything */
    z-index: 9999; 
    text-transform: uppercase;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.1); /* Subtle neon edge */
}


/* --- 9. Basic Responsiveness --- */
@media (max-width: 600px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 2em;
    }

    #watermark {
        font-size: 5em;
        transform: translate(-50%, -50%) rotate(-40deg);
    }
}