* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #0a0a0a;
    --bg-secondary: #111111;
    --text-color: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-color: #ffffff;
    --border-color: #1f1f1f;
    --time-color: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-color);
    min-height: 100vh;
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

.background-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -2;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity;
}

.background-video.loaded {
    opacity: 1;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.6);
    z-index: -1;
    pointer-events: none;
}

.container {
    text-align: center;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 2rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container {
    margin-bottom: 5rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    max-width: 320px;
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(1.1);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, filter;
}

.logo:hover {
    filter: brightness(1.2);
    transform: scale(1.02);
}

.countdown {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 0 auto 4rem;
    padding: 2rem 0;
    width: 100%;
    flex-wrap: nowrap;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.time-value {
    font-size: 2.5rem;
    font-weight: 200;
    color: var(--time-color);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
    will-change: transform, color, text-shadow;
}

.time-value:hover {
    transform: translateY(-3px) scale(1.05);
    color: #ffffff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.time-label {
    font-size: 0.65rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 400;
}

.time-separator {
    width: 1px;
    height: 40px;
    background: var(--border-color);
    align-self: center;
    margin: 0;
}

.target-date {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 1rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--text-color);
    border-bottom: 2px solid var(--text-color);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.scroll-indicator:hover .scroll-arrow {
    transform: rotate(45deg) translateY(5px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Content Section */
.content-section {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 8rem 2rem 6rem;
}

.delivery-info,
.custom-order-section {
    margin-bottom: 8rem;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.custom-order-section {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delivery-info h2,
.custom-order-section h2 {
    font-size: 1.8rem;
    font-weight: 200;
    margin-bottom: 2rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-color);
    line-height: 1.4;
}

.delivery-text {
    font-size: 1.3rem;
    color: var(--text-secondary);
    line-height: 2;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

.delivery-text strong {
    color: var(--text-color);
    font-weight: 400;
    letter-spacing: 0.05em;
}

.custom-text {
    font-size: 1.3rem;
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 1.5rem;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.custom-text strong {
    color: var(--text-color);
    font-weight: 400;
    letter-spacing: 0.05em;
}

.custom-subtext {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
    font-weight: 300;
    opacity: 0.8;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    
    .content-section {
        padding: 6rem 1.5rem 4rem;
    }
    
    .delivery-info,
    .custom-order-section {
        margin-bottom: 5rem;
    }
    
    .delivery-info h2,
    .custom-order-section h2 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .delivery-text,
    .custom-text {
        font-size: 1.1rem;
    }
    
    .logo {
        max-width: 240px;
    }
    
    .logo-container {
        margin-bottom: 4rem;
    }
    
    .countdown {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .time-value {
        font-size: 2rem;
    }
    
    .time-separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .countdown {
        gap: 1rem;
    }
    
    .time-value {
        font-size: 1.75rem;
    }
    
    .time-label {
        font-size: 0.55rem;
    }
    
    .time-separator {
        display: none;
    }
    
    .logo {
        max-width: 200px;
    }
}
