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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    background: #000;
    color: white;
}

/* Hotel Background */
.hotel-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    overflow: hidden;
}

.hotel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.3) contrast(1.2);
}

.hotel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(15, 23, 42, 0.8) 25%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(15, 23, 42, 0.7) 75%,
        rgba(0, 0, 0, 0.8) 100%
    );
    backdrop-filter: blur(1px);
}

/* Enhanced Dynamic Moving Gradient Background */
.ultra-gradient-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.main-shapes-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(120px);
}

.blending-group-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(80px);
    mix-blend-mode: overlay;
}

.shape-1 {
    position: absolute;
    top: 10em;
    left: 10em;
    width: 20em;
    height: 20em;
    background-color: #1e40af;
    border-radius: 50%;
    animation: float1 20s ease-in-out infinite;
}

.shape-2 {
    position: absolute;
    top: 15em;
    right: 8em;
    width: 15em;
    height: 15em;
    background-color: #0f172a;
    border-radius: 50%;
    animation: float2 25s ease-in-out infinite;
}

.shape-3 {
    position: absolute;
    bottom: 10em;
    left: 15em;
    width: 18em;
    height: 18em;
    background-color: #1e3a8a;
    border-radius: 50%;
    animation: float3 30s ease-in-out infinite;
}

.shape-4 {
    position: absolute;
    top: 5em;
    right: 20em;
    width: 12em;
    height: 12em;
    background-color: #0c4a6e;
    border-radius: 50%;
    animation: float4 22s ease-in-out infinite;
}

.shape-5 {
    position: absolute;
    bottom: 15em;
    right: 10em;
    width: 16em;
    height: 16em;
    background-color: #1e293b;
    border-radius: 50%;
    animation: float5 28s ease-in-out infinite;
}

.shape-6 {
    position: absolute;
    top: 20em;
    left: 5em;
    width: 14em;
    height: 14em;
    background-color: #0f172a;
    border-radius: 50%;
    animation: float6 24s ease-in-out infinite;
}

.background-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter></defs><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.1"/></svg>');
    opacity: 0.1;
}

/* Animation Keyframes */
@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -20px) scale(1.1); }
    50% { transform: translate(-20px, 30px) scale(0.9); }
    75% { transform: translate(20px, 20px) scale(1.05); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-25px, 25px) scale(1.1); }
    66% { transform: translate(25px, -15px) scale(0.95); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    20% { transform: translate(20px, -30px) scale(1.05); }
    40% { transform: translate(-30px, 20px) scale(0.9); }
    60% { transform: translate(15px, 25px) scale(1.1); }
    80% { transform: translate(-20px, -20px) scale(0.95); }
}

@keyframes float4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 30px) scale(1.1); }
}

@keyframes float5 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(25px, -25px) scale(0.9); }
    75% { transform: translate(-25px, 25px) scale(1.05); }
}

@keyframes float6 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    40% { transform: translate(30px, 20px) scale(1.1); }
    80% { transform: translate(-20px, -30px) scale(0.95); }
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    animation: fadeInUp 1.5s ease-out;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    animation: slideInFromTop 1s ease-out 0.2s both;
}

.brand-logo {
    display: flex;
    align-items: center;
}

.wyk-logo {
    height: 60px;
    width: auto;
    max-width: 160px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.event-date {
    display: flex;
    align-items: center;
}

.date-wrapper {
    height: 60px;
    width: auto;
    max-width: 80px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 40px;
}

.scroll-indicator {
    animation: slideInFromBottom 1s ease-out 1s both;
}

.scroll-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0;
    animation: pulse 2s ease-in-out infinite;
}

.event-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: slideInFromBottom 1s ease-out 1.5s both;
}

.the-text {
    font-family: 'Instrument Serif', serif;
    font-size: 24px;
    font-weight: 400;
    color: white;
    letter-spacing: 3px;
    transform: rotate(-5deg);
    margin-bottom: 10px;
}

.main-title {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInFromBottom 1s ease-out 0.8s both;
}

.tnp-text {
    height: 80px;
    width: auto;
    max-width: 600px;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 60px;
    animation: slideInFromBottom 1s ease-out 1.4s both;
}

.hotel-date-text {
    height: 60px;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Form Section */
/* Ensure body doesn't interfere with modal */
body.modal-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

/* Form Modal - Simplified Approach */
.form-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 99999 !important;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.15) !important; /* Subtle background overlay */
    box-sizing: border-box;
    overflow: auto;
    margin: 0 !important;
    transform: none !important;
}

.form-modal.show {
    display: flex !important;
}

/* Ensure body doesn't interfere with modal */
body.modal-open {
    overflow: hidden;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-modal.show .modal-backdrop {
    opacity: 1;
}

.modal-content {
    position: relative !important;
    width: 90% !important;
    max-width: 500px !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin: auto !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    z-index: 1 !important;
    outline: none !important;
    /* Hide scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.modal-content::-webkit-scrollbar {
    display: none; /* WebKit browsers (Chrome, Safari, Edge) */
}

/* Modal form content - use original styling */
.form-modal .modal-content .rsvp-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 8px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.form-modal .modal-content .rsvp-form {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.form-modal .modal-content .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-modal .modal-content .form-group label {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-modal .modal-content .form-group input {
    padding: 18px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1001;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.rsvp-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 8px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: scale(0.9) translateY(30px);
    opacity: 0;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

/* Form Styles */
.rsvp-form {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

/* Prevent mobile auto-zoom */
input, textarea, select {
    font-size: 16px !important; /* Minimum 16px to prevent auto-zoom on iOS */
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}

/* Prevent form movement on mobile focus */
.form-modal {
    position: relative;
    transform-origin: center center;
}

/* Ensure inputs don't cause layout shifts */
.form-group input:focus {
    transform: none !important;
    zoom: 1 !important;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px !important;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.form-group label {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group input {
    padding: 18px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    font-size: 16px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 0 0 4px rgba(59, 130, 246, 0.1),
        0 8px 25px -5px rgba(0, 0, 0, 0.2),
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.form-group input:hover:not(:focus) {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.form-group input:focus::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Plus One Section */
.plus-one-section {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.plus-one-btn {
    background: rgba(59, 130, 246, 0.2);
    border: 2px solid rgba(59, 130, 246, 0.4);
    border-radius: 50px;
    padding: 12px 24px;
    color: white;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    white-space: nowrap;
    min-width: fit-content;
}

.plus-one-btn:hover {
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
}

.plus-one-form {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    animation: slideDown 0.3s ease-out;
}

.plus-one-form .form-group {
    margin-bottom: 20px;
}

.plus-one-form .form-group:last-child {
    margin-bottom: 0;
}

.plus-one-form .form-group label {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.plus-one-form .form-group input {
    padding: 18px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    font-size: 16px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.plus-one-form .form-group input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 0 0 4px rgba(59, 130, 246, 0.1),
        0 8px 25px -5px rgba(0, 0, 0, 0.2),
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.plus-one-form .form-group input:hover:not(:focus) {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.plus-one-form .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.plus-one-form .form-group input:focus::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Hero RSVP Button */
.hero-rsvp-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: none;
    border-radius: 16px;
    padding: 18px 32px;
    color: white;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 20px rgba(59, 130, 246, 0.3),
        0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-rsvp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 30px rgba(59, 130, 246, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.2);
}

.hero-rsvp-btn:active {
    transform: translateY(-1px);
}

.thank-you-message {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: white;
    text-align: center;
    padding: 20px 40px;
    animation: fadeInScale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    letter-spacing: 1px;
}

.rsvp-button-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    animation: slideInFromBottom 1s ease-out 2s both;
}

/* Form Error Message */
.form-error {
    background: rgba(239, 68, 68, 0.15);
    border: 2px solid rgba(239, 68, 68, 0.5);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInError 0.3s ease-out;
}

.form-error .error-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.form-error .error-text {
    color: #fecaca;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

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

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: none;
    border-radius: 16px;
    padding: 18px 20px;
    color: white;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 20px rgba(59, 130, 246, 0.3),
        0 4px 6px -1px rgba(0, 0, 0, 0.1);
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    will-change: transform, opacity;
    backface-visibility: hidden;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 30px rgba(59, 130, 246, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
    white-space: nowrap;
    width: 100%;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    flex-shrink: 0;
}

.loading-text {
    font-size: 12px;
    color: white;
    white-space: nowrap;
    animation: pulse 1.5s ease-in-out infinite;
    line-height: 1;
    display: inline-block;
}

/* Thank You Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.5s ease-out;
}

.success-animation {
    margin-bottom: 30px;
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    margin: 0 auto;
    position: relative;
    animation: checkmarkPop 0.6s ease-out;
}

.checkmark-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 3px solid white;
    border-radius: 50%;
}

.checkmark-stem {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 3px;
    height: 25px;
    background: white;
    border-radius: 2px;
}

.checkmark-kick {
    position: absolute;
    top: 55%;
    left: 45%;
    transform: translate(-50%, -50%) rotate(-45deg);
    width: 3px;
    height: 15px;
    background: white;
    border-radius: 2px;
}

.modal-content h2 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.modal-content p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.6;
}

.close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px 24px;
    color: white;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.thank-you-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-top: 10px;
    font-style: italic;
}

/* Error States */
.form-group input.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.error-message {
    color: #ef4444;
    font-size: 12px;
    margin-top: 8px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUpFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes checkmarkPop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .wyk-logo {
        height: 50px;
        max-width: 140px;
    }
    
    .date-wrapper {
        height: 50px;
        max-width: 70px;
    }
    
    .tnp-text {
        height: 60px;
        max-width: 500px;
    }
    
    .hotel-date-text {
        height: 50px;
    }
    
    .footer {
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 768px) {
    .hero-content {
        padding: 0 15px;
    }
    
    .header {
        padding: 30px 0 20px 0; /* Extra top margin on mobile */
        padding-left: 30px; /* More margin from left edge */
        padding-right: 30px; /* More margin from right edge */
    }
    
    .wyk-logo {
        height: 45px;
        max-width: 120px;
    }
    
    .date-wrapper {
        height: 45px;
        max-width: 60px;
    }
    
    .main-content {
        gap: 20px;
        margin-top: -80px; /* Move content much higher up */
    }
    
    .scroll-text {
        font-size: 12px;
    }
    
    .the-text {
        font-size: 20px;
    }
    
    .tnp-text {
        height: 50px;
        max-width: 400px;
    }
    
    .hotel-date-text {
        height: 45px;
    }
    
    .footer {
        margin-bottom: 80px; /* Extra margin for mobile URL bars */
    }
    
    .rsvp-card {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .form-group input {
        padding: 16px 18px;
        font-size: 14px;
        border-radius: 14px;
    }
    
    .submit-btn {
        padding: 15px 12px;
        font-size: 12px;
        gap: 8px;
    }
    
    .loading-text {
        font-size: 10px;
    }
    
    .loading-spinner {
        gap: 8px;
    }
    
    .plus-one-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}

@media screen and (max-width: 479px) {
    .wyk-logo {
        height: 40px;
        max-width: 100px;
    }
    
    .date-wrapper {
        height: 40px;
        max-width: 50px;
    }
    
    .tnp-text {
        height: 40px;
        max-width: 300px;
    }
    
    .hotel-date-text {
        height: 40px;
    }
    
    .footer {
        margin-bottom: 100px; /* Even more margin for small mobile URL bars */
    }
    
    .header {
        padding: 40px 0 20px 0; /* Even more top margin on small screens */
        padding-left: 40px; /* Even more margin from left edge on small screens */
        padding-right: 40px; /* Even more margin from right edge on small screens */
    }
    
    .main-content {
        gap: 15px;
        margin-top: -100px; /* Move content much higher on small screens */
    }
    
    .form-group input {
        padding: 12px 16px;
        font-size: 13px;
        border-radius: 12px;
        height: auto;
        min-height: 44px;
    }
    
    /* Modal form inputs on mobile */
    .form-modal .modal-content .form-group input {
        padding: 12px 16px;
        font-size: 13px;
        border-radius: 12px;
        height: auto;
        min-height: 44px;
    }
    
    /* Make modal wider and more compact on mobile */
    .form-modal .modal-content {
        width: 95% !important;
        max-width: none !important;
        max-height: 90vh !important;
    }
    
    /* Make form more compact on mobile */
    .form-modal .modal-content .rsvp-card {
        padding: 20px 16px !important;
        margin: 0 !important;
    }
    
    .form-modal .modal-content .rsvp-form {
        margin-bottom: 20px !important;
    }
    
    .form-modal .modal-content .form-group {
        margin-bottom: 15px !important;
    }
    
    .form-modal .modal-content .form-group label {
        font-size: 12px !important;
        margin-bottom: 6px !important;
    }
    
    .form-modal .modal-content .form-group input {
        padding: 10px 14px !important;
        font-size: 14px !important;
        min-height: 40px !important;
    }
    
    .form-modal .modal-content .plus-one-section {
        margin: 15px 0 !important;
    }
    
    .form-modal .modal-content .submit-btn {
        margin-top: 10px !important;
        padding: 12px 10px !important;
        font-size: 13px !important;
        gap: 6px !important;
    }
    
    .form-modal .loading-text {
        font-size: 9px !important;
    }
    
    .form-modal .loading-spinner {
        gap: 6px !important;
    }
    
    .form-modal .spinner {
        width: 16px !important;
        height: 16px !important;
    }
    
    .plus-one-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    /* Make hero RSVP button smaller on mobile */
    .hero-rsvp-btn {
        padding: 12px 20px !important;
        font-size: 14px !important;
        max-width: 280px !important;
    }
    
    .rsvp-button-container {
        margin-top: 20px !important;
    }
}
