* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background: linear-gradient(135deg, #0a1f14 0%, #1a3d2e 50%, #0f281f 100%);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Landing Container */
.landing-container {
    position: relative;
    min-height: 100vh;
    width: 100%;
    z-index: 1;
}

/* Video Section */
.video-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-section video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1001;
    backdrop-filter: blur(2px);
}

.play-button {
    background: #c41e3a;
    color: white;
    border: none;
    padding: 20px 50px;
    font-size: 1.5rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.5);
    font-family: inherit;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.play-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(196, 30, 58, 0.6);
    background: #a91a32;
}


/* Welcome Section */
.welcome-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
    animation: fadeIn 0.6s ease;
    gap: 25px;
    padding: 20px;
}

.welcome-title {
    font-size: 4.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 5px;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 0.8s ease;
}

.welcome-year {
    font-size: 3rem;
    font-weight: 200;
    color: #d4af37;
    text-align: center;
    animation: fadeInUp 0.8s ease 0.2s both;
    letter-spacing: 2px;
}

.instruction-text {
    font-size: 1.3rem;
    font-weight: 300;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeIn 1s ease 0.4s both;
    margin-top: 10px;
    letter-spacing: 1px;
}

.start-button {
    background: #c41e3a;
    color: white;
    border: none;
    padding: 16px 48px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
    font-family: inherit;
    margin-top: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: fadeIn 1s ease 0.6s both;
}

.start-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
    background: #a91a32;
}

.start-button:active {
    transform: translateY(0);
}

/* Form Section */
.form-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px 15px;
    animation: fadeIn 0.6s ease;
    z-index: 1;
    overflow-y: auto;
    box-sizing: border-box;
}

.form-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 25px 20px;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    color: #333;
    margin: 10px 0;
}

.form-wrapper h1 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 3px;
    color: #c41e3a;
    font-weight: 300;
    letter-spacing: 1px;
}

.form-wrapper h2 {
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: #666;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    color: #333;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.95rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-family: inherit;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group input[type="text"]:focus {
    outline: none;
    border-color: #c41e3a;
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.form-group input[type="text"]::placeholder {
    color: #999;
}

/* Form Section Groups */
.form-section-group {
    margin-bottom: 16px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #c41e3a;
}

.section-title {
    font-size: 0.9rem;
    color: #c41e3a;
    margin-bottom: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-subtitle {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 10px;
    font-weight: 400;
    font-style: italic;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.checkbox-label:hover:not(.disabled) {
    background: #f8f9fa;
    border-color: #c41e3a;
    transform: translateX(2px);
}

.checkbox-label.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    cursor: pointer;
    accent-color: #c41e3a;
    flex-shrink: 0;
}

.checkbox-label.disabled input[type="checkbox"] {
    cursor: not-allowed;
}

.checkbox-label span {
    flex: 1;
    color: #333;
}

.checkbox-label.disabled span {
    color: #999;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.submit-button {
    background: #c41e3a;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
    background: #a91a32;
}

.submit-button:active:not(:disabled) {
    transform: translateY(0);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.message {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    display: none;
    font-size: 0.9rem;
}

.message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    display: block;
}

.message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    display: block;
}

/* Snowfall Animation - Dynamic */
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: rgba(255, 255, 255, 0.8);
    font-family: Arial;
    animation: snowfall linear infinite;
    opacity: 0.8;
}

@keyframes snowfall {
    to {
        transform: translateY(110vh);
    }
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Results Styles */
.results-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 40px 20px;
}

.results-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 40px;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    color: #333;
}

.results-wrapper h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #c41e3a;
    font-weight: 300;
    letter-spacing: 2px;
}

.results-wrapper h2 {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 30px;
    color: #666;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.results-list {
    margin: 30px 0;
}

.result-item {
    background: #f8f9fa;
    padding: 24px;
    margin-bottom: 16px;
    border-radius: 8px;
    border-left: 4px solid #c41e3a;
    transition: all 0.2s ease;
    color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.result-item:hover {
    background: #f0f0f0;
    transform: translateX(3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e0e0e0;
}

.result-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #c41e3a;
    flex: 1;
}

.delete-button {
    background: #dc3545;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-weight: bold;
    padding: 0;
    flex-shrink: 0;
}

.delete-button:hover {
    background: #c82333;
    transform: scale(1.1);
}

.delete-button:active {
    transform: scale(0.95);
}

.delete-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.result-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result-detail-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 1rem;
    line-height: 1.5;
}

.result-label {
    font-weight: 600;
    color: #666;
    min-width: 140px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.result-value {
    color: #333;
    font-weight: 500;
    flex: 1;
}

.results-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.copy-button {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.copy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    background: #218838;
}

.back-link {
    text-align: center;
    color: #c41e3a;
    text-decoration: none;
    padding: 10px;
    transition: color 0.2s ease;
    font-weight: 500;
}

.back-link:hover {
    color: #a91a32;
}

/* Thank You Page Styles */
.thankyou-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
    animation: fadeIn 0.6s ease;
}

.thankyou-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 60px 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.thankyou-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: #c41e3a;
    margin-bottom: 15px;
    letter-spacing: 2px;
    animation: fadeInDown 0.8s ease;
}

.thankyou-subtitle {
    font-size: 2rem;
    font-weight: 300;
    color: #d4af37;
    margin-bottom: 30px;
    letter-spacing: 1px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.thankyou-message {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    animation: fadeIn 1s ease 0.4s both;
}

.thankyou-actions {
    margin-top: 40px;
    animation: fadeIn 1s ease 0.6s both;
}

.back-home-button {
    display: inline-block;
    background: #c41e3a;
    color: white;
    text-decoration: none;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.back-home-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
    background: #a91a32;
}

/* Responsive Design */
@media (max-width: 768px) {
    .welcome-title {
        font-size: 3rem;
    }
    
    .welcome-year {
        font-size: 2rem;
    }
    
    .instruction-text {
        font-size: 1.1rem;
    }
    
    .start-button {
        font-size: 1rem;
        padding: 14px 36px;
    }
    
    .form-section {
        padding: 10px 10px;
        align-items: flex-start;
        min-height: auto;
    }
    
    .form-wrapper {
        padding: 20px 15px;
        max-width: 100%;
        margin: 5px 0;
    }
    
    .form-wrapper h1 {
        font-size: 1.5rem;
        margin-bottom: 2px;
    }
    
    .form-wrapper h2 {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .form-group label {
        font-size: 0.8rem;
        margin-bottom: 5px;
    }
    
    .form-group input[type="text"] {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
    
    .form-section-group {
        margin-bottom: 12px;
        padding: 12px;
    }
    
    .section-title {
        font-size: 0.85rem;
        margin-bottom: 3px;
    }
    
    .section-subtitle {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }
    
    .checkbox-group {
        gap: 6px;
    }
    
    .checkbox-label {
        font-size: 0.85rem;
        padding: 8px 10px;
    }
    
    .checkbox-label input[type="checkbox"] {
        width: 16px;
        height: 16px;
        margin-right: 8px;
    }
    
    .form-actions {
        margin-top: 15px;
        gap: 10px;
    }
    
    .submit-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .results-wrapper {
        padding: 25px 15px;
    }
    
    .results-wrapper h1 {
        font-size: 1.5rem;
    }
    
    .result-item {
        font-size: 0.9rem;
        padding: 15px;
    }
}
