:root {
    --primary-red: #c41e3a;
    --primary-green: #2d5016;
    --gold: #ffd700;
    --snow-white: #fff;
    --warm-red: #dc143c;
    --forest-green: #228b22;
    --dark-bg: #0a0e27;
    --light-bg: #f8f9fa;
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    /* Holiday red and green plaid pattern background */
    background: 
        repeating-linear-gradient(
            45deg,
            #c41e3a 0px,
            #c41e3a 20px,
            #dc143c 20px,
            #dc143c 40px,
            #2d5016 40px,
            #2d5016 60px,
            #228b22 60px,
            #228b22 80px
        ),
        linear-gradient(135deg, #c41e3a 0%, #2d5016 100%);
    background-blend-mode: overlay;
    min-height: 100vh;
    color: var(--text-dark);
    overflow-x: hidden;
    position: relative;
}

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

.snowflake {
    position: absolute;
    top: -10px;
    font-size: 1.5rem;
    color: white;
    opacity: 0.8;
    animation: snowfall linear infinite;
}

.snowflake:nth-child(1) { left: 10%; animation-duration: 10s; animation-delay: 0s; }
.snowflake:nth-child(2) { left: 20%; animation-duration: 12s; animation-delay: 1s; }
.snowflake:nth-child(3) { left: 30%; animation-duration: 14s; animation-delay: 2s; }
.snowflake:nth-child(4) { left: 40%; animation-duration: 11s; animation-delay: 0.5s; }
.snowflake:nth-child(5) { left: 50%; animation-duration: 13s; animation-delay: 1.5s; }
.snowflake:nth-child(6) { left: 60%; animation-duration: 15s; animation-delay: 2.5s; }
.snowflake:nth-child(7) { left: 70%; animation-duration: 10s; animation-delay: 0.3s; }
.snowflake:nth-child(8) { left: 80%; animation-duration: 12s; animation-delay: 1.3s; }
.snowflake:nth-child(9) { left: 90%; animation-duration: 14s; animation-delay: 2.3s; }
.snowflake:nth-child(10) { left: 15%; animation-duration: 11s; animation-delay: 0.7s; }
.snowflake:nth-child(11) { left: 55%; animation-duration: 13s; animation-delay: 1.7s; }
.snowflake:nth-child(12) { left: 85%; animation-duration: 15s; animation-delay: 2.7s; }

@keyframes snowfall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0.2;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.logo {
    font-family: 'Mountains of Christmas', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.santa-icon {
    font-size: 3rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0;
    color: var(--text-light);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Mountains of Christmas', cursive;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Slideshow Section */
.slideshow-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.95);
    margin: 2rem 0;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-family: 'Mountains of Christmas', cursive;
    color: var(--primary-red);
    margin-bottom: 3rem;
}

.slideshow-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.slideshow-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    transform: translateX(100%);
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.slide.prev {
    transform: translateX(-100%);
}

.slide-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.slide-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slide-image .emoji {
    font-size: 8rem;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.slide-info {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    text-align: center;
}

.slide-info h3 {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    font-family: 'Mountains of Christmas', cursive;
}

.slide-info p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.slideshow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--primary-red);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slideshow-btn:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slideshow-btn.prev {
    left: 20px;
}

.slideshow-btn.next {
    right: 20px;
}

.slideshow-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.indicator.active {
    background: var(--primary-red);
    transform: scale(1.3);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    text-align: center;
}

.cta-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    max-width: 700px;
    margin: 0 auto;
}

.cta-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

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

.cta-title {
    font-size: 2.5rem;
    font-family: 'Mountains of Christmas', cursive;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.2rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-red) 0%, #a01a2e 100%);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.4);
    font-family: 'Inter', sans-serif;
    width: 100%;
    justify-content: center;
    max-width: 400px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.6);
}

.cta-button:active {
    transform: translateY(-1px);
}

.cta-button-secondary {
    background: white;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.2);
}

.cta-button-secondary:hover {
    background: var(--primary-red);
    color: white;
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.4);
}

.cta-or-divider {
    text-align: center;
    margin: 1.5rem 0;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
    position: relative;
}

.cta-or-divider::before,
.cta-or-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #e0e0e0;
}

.cta-or-divider::before {
    left: 0;
}

.cta-or-divider::after {
    right: 0;
}

.button-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .button-icon {
    transform: translateX(5px);
}

.cta-note {
    margin-top: 1.5rem;
    color: #666;
    font-size: 0.95rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--primary-red);
    background: rgba(196, 30, 58, 0.1);
}

.modal-content h2 {
    font-family: 'Mountains of Christmas', cursive;
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-red);
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-red) 0%, #a01a2e 100%);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    font-family: 'Inter', sans-serif;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(196, 30, 58, 0.4);
}

.form-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.form-note {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
    font-size: 0.9rem;
}

.form-note a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
}

.form-note a:hover {
    text-decoration: underline;
}

.auth-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    display: none;
}

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

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

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-dark);
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .logo {
        font-size: 2rem;
    }

    .santa-icon {
        font-size: 2.5rem;
    }

    .slideshow-wrapper {
        height: 400px;
    }

    .slide-image .emoji {
        font-size: 5rem;
    }

    .slide-info h3 {
        font-size: 1.5rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .slideshow-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .slideshow-btn.prev {
        left: 10px;
    }

    .slideshow-btn.next {
        right: 10px;
    }
}

