* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: #000000;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 30%, #0a3d2e 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, #1a5940 0%, transparent 50%),
        radial-gradient(ellipse at 60% 20%, #0f4a36 0%, transparent 45%),
        radial-gradient(ellipse at 30% 80%, #235f4d 0%, transparent 40%);
    animation: backgroundShift 15s ease-in-out infinite;
    pointer-events: none;
    z-index: -3;
}

/* Floating animated elements */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 15%, rgba(16, 75, 57, 0.4) 0%, transparent 25%),
        radial-gradient(circle at 85% 85%, rgba(26, 89, 64, 0.3) 0%, transparent 30%),
        radial-gradient(circle at 70% 30%, rgba(35, 95, 77, 0.2) 0%, transparent 35%),
        radial-gradient(circle at 25% 75%, rgba(20, 65, 50, 0.3) 0%, transparent 28%);
    animation: floatingElements 20s linear infinite;
    pointer-events: none;
    z-index: -2;
}

/* Additional animated layer for depth */
.animated-bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 800px 600px at 50% 0%, rgba(13, 60, 45, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 600px 800px at 0% 50%, rgba(20, 75, 58, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 700px 500px at 100% 100%, rgba(16, 68, 52, 0.12) 0%, transparent 50%);
    animation: depthShift 25s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: -1;
}

/* Particle effect animation */
.particle-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(82, 196, 176, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(63, 168, 150, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(45, 138, 122, 0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(35, 95, 77, 0.3), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(82, 196, 176, 0.2), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particles 30s linear infinite;
    pointer-events: none;
    z-index: -1;
    opacity: 0.4;
}

@keyframes particles {
    0% {
        transform: translateY(0) translateX(0);
    }
    100% {
        transform: translateY(-100px) translateX(50px);
    }
}

@keyframes backgroundShift {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: hue-rotate(0deg);
    }
    25% {
        transform: scale(1.1) rotate(1deg);
        filter: hue-rotate(5deg);
    }
    50% {
        transform: scale(1.05) rotate(-0.5deg);
        filter: hue-rotate(-3deg);
    }
    75% {
        transform: scale(1.08) rotate(0.8deg);
        filter: hue-rotate(8deg);
    }
}

@keyframes floatingElements {
    0% {
        transform: translateX(-10px) translateY(-10px) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateX(15px) translateY(-5px) scale(1.05);
        opacity: 0.4;
    }
    50% {
        transform: translateX(10px) translateY(20px) scale(0.98);
        opacity: 0.35;
    }
    75% {
        transform: translateX(-5px) translateY(15px) scale(1.02);
        opacity: 0.4;
    }
    100% {
        transform: translateX(-10px) translateY(-10px) scale(1);
        opacity: 0.3;
    }
}

@keyframes depthShift {
    0%, 100% {
        transform: translateX(0) translateY(0) scale(1);
        opacity: 0.6;
    }
    33% {
        transform: translateX(-20px) translateY(10px) scale(1.1);
        opacity: 0.4;
    }
    66% {
        transform: translateX(15px) translateY(-15px) scale(0.95);
        opacity: 0.5;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Add the animated layer before container content */
.container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 800px 600px at 50% 0%, rgba(13, 60, 45, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 600px 800px at 0% 50%, rgba(20, 75, 58, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 700px 500px at 100% 100%, rgba(16, 68, 52, 0.12) 0%, transparent 50%);
    animation: depthShift 25s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: -1;
}

/* Header Styles */
.header {
    text-align: center;
    padding: 60px 0 40px;
    position: relative;
}

.nvidia-logo {
    width: 80px;
    height: auto;
    margin-bottom: 40px;
    filter: brightness(1.2) contrast(1.1);
    opacity: 0.9;
}

.header h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.5;
}

/* Modern Glass Card Design */
.form-section {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.section-title {
    font-size: 24px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 35px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #52c4b0, #3fa896);
    border-radius: 2px;
}

.section-title i {
    font-size: 20px;
    color: #52c4b0;
}

/* Form Elements */
.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    letter-spacing: 0.3px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    backdrop-filter: blur(10px);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2352c4b0' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.form-group select option {
    background: #1a1a1a;
    color: #ffffff;
    padding: 12px 16px;
    border: none;
    font-size: 16px;
    font-family: inherit;
}

.form-group select option:hover,
.form-group select option:focus {
    background: #2a2a2a;
    color: #52c4b0;
}

.form-group select option:checked {
    background: #52c4b0;
    color: #ffffff;
    font-weight: 600;
}

.form-group select option[value=""] {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #52c4b0;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 0 0 3px rgba(82, 196, 176, 0.1),
        0 4px 12px rgba(82, 196, 176, 0.15);
    transform: translateY(-1px);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.error-message {
    color: #ff8a8a;
    font-size: 12px;
    margin-top: 6px;
    min-height: 16px;
    font-weight: 400;
    opacity: 0.9;
}

/* Modern Date Picker */
.date-picker-container {
    position: relative;
    width: 100%;
}

.date-input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(10px);
}

.date-input:hover,
.date-input:focus {
    border-color: #52c4b0;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 0 0 3px rgba(82, 196, 176, 0.1),
        0 4px 12px rgba(82, 196, 176, 0.15);
}

.date-input-text {
    color: #ffffff;
}

.date-input-text.placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.date-input-icon {
    color: #52c4b0;
    font-size: 18px;
}

.date-picker {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    z-index: 1000;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.date-picker.show {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.date-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.month-year {
    font-size: 18px;
    font-weight: 500;
    color: #52c4b0;
}

.nav-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: rgba(82, 196, 176, 0.15);
    color: #52c4b0;
    transform: scale(1.1);
}

.calendar-grid {
    padding: 20px 24px 24px;
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 12px;
}

.weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #52c4b0;
    padding: 8px 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.day {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-height: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.day:hover {
    background: rgba(82, 196, 176, 0.2);
    color: #52c4b0;
    transform: scale(1.05);
}

.day.other-month {
    color: rgba(255, 255, 255, 0.3);
}

.day.selected {
    background: linear-gradient(135deg, #52c4b0, #3fa896);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(82, 196, 176, 0.3);
}

.day.today {
    background: rgba(82, 196, 176, 0.2);
    color: #52c4b0;
    font-weight: 500;
    border: 1px solid rgba(82, 196, 176, 0.3);
}

.day.disabled {
    color: rgba(255, 255, 255, 0.2);
    cursor: not-allowed;
}

/* Info Box */
.info-box {
    background: rgba(82, 196, 176, 0.1);
    border: 1px solid rgba(82, 196, 176, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.info-box strong {
    color: #52c4b0;
    font-weight: 600;
}

/* Cabin Selection */
.cabin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.cabin-button {
    padding: 16px 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    backdrop-filter: blur(10px);
}

.cabin-button:hover {
    border-color: #52c4b0;
    background: rgba(82, 196, 176, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(82, 196, 176, 0.2);
}

.cabin-button.selected {
    background: linear-gradient(135deg, #52c4b0, #3fa896);
    border-color: #52c4b0;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(82, 196, 176, 0.3);
}

.cabin-button.disabled {
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    opacity: 0.5;
}

.cabin-number {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.cabin-availability {
    font-size: 11px;
    opacity: 0.8;
}

/* Time Slots */
.time-slots-container {
    margin-top: 16px;
}

.slot-button {
    display: inline-block;
    padding: 16px 24px;
    margin: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    min-width: 150px;
    backdrop-filter: blur(10px);
}

.slot-button:hover {
    border-color: #52c4b0;
    background: rgba(82, 196, 176, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(82, 196, 176, 0.2);
}

.slot-button.selected {
    background: linear-gradient(135deg, #52c4b0, #3fa896);
    border-color: #52c4b0;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(82, 196, 176, 0.3);
}

.slot-button.disabled {
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    opacity: 0.5;
}

.slot-time {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.slot-availability {
    font-size: 11px;
    opacity: 0.8;
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 30px;
    margin-top: 16px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
}

.radio-option:hover {
    background: rgba(255, 255, 255, 0.05);
}

.radio-option input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #52c4b0;
    cursor: pointer;
}

/* Consultation Section */
#consultationSection {
    background: rgba(82, 196, 176, 0.1);
    border: 1px solid rgba(82, 196, 176, 0.2);
    border-radius: 16px;
    padding: 35px;
    margin-top: 25px;
    backdrop-filter: blur(15px);
}

/* Submit Button */
.btn {
    background: linear-gradient(135deg, #52c4b0 0%, #3fa896 50%, #2d8a7a 100%);
    color: #ffffff;
    padding: 18px 36px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    margin-top: 30px;
    font-family: inherit;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(82, 196, 176, 0.3);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover:not(:disabled)::before {
    left: 100%;
}

.btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(82, 196, 176, 0.4);
    background: linear-gradient(135deg, #5dd4c4 0%, #52c4b0 50%, #3fa896 100%);
}

.btn:disabled {
    background: rgba(255, 255, 255, 0.1);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.4);
}

/* Loading and Alert States */
.loading {
    text-align: center;
    padding: 35px;
    color: #52c4b0;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(82, 196, 176, 0.2);
    backdrop-filter: blur(10px);
}

.alert {
    padding: 18px 24px;
    margin: 25px 0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(15px);
}

.alert-error {
    background: rgba(255, 138, 138, 0.1);
    color: #ff8a8a;
    border: 1px solid rgba(255, 138, 138, 0.3);
}

.alert-info {
    background: rgba(82, 196, 176, 0.1);
    color: #52c4b0;
    border: 1px solid rgba(82, 196, 176, 0.3);
}

.flash-messages {
    margin-bottom: 30px;
}

.cabin-disabled-reason,
.cabin-availability {
    font-size: 10px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .container {
        padding: 16px;
    }

    .form-section {
        padding: 30px 24px;
    }
    
    .header h1 {
        font-size: 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 16px;
    }
    
    .slot-button {
        display: block;
        width: 100%;
        margin: 8px 0;
    }
    
    .cabin-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .nvidia-logo {
        width: 60px;
    }
    
    .calendar-grid {
        padding: 16px 20px 20px;
    }
    
    .days {
        gap: 2px;
    }
    
    #consultationSection {
        padding: 20px;
    }

    .nav-btn {
        padding: 8px;
        font-size: 16px;
    }

    .date-picker {
        margin-top: 4px;
    }

    .header {
        padding: 40px 0 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 12px;
    }

    .form-section {
        padding: 24px 16px;
        margin-bottom: 20px;
    }

    .header {
        padding: 30px 0 20px;
    }

    .header h1 {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .header p {
        font-size: 16px;
    }

    .cabin-grid {
        grid-template-columns: 1fr;
    }

    .slot-button {
        min-width: auto;
        margin: 4px 0;
    }

    .form-group input,
    .form-group select,
    .date-input {
        padding: 14px 16px;
        font-size: 15px;
    }

    .btn {
        padding: 16px 24px;
        font-size: 15px;
    }
}