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

body {
    font-family: system-ui, -apple-system, sans-serif;
    color: #ffffff;
    background-color: #000000;
}

/* Контейнер со скроллом и прилипанием */
.video-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory; /* Фиксация по вертикали */
    scroll-behavior: smooth;
}

/* Каждая отдельная секция с видео */
.video-section {
    position: relative;
    height: 100vh;
    width: 100vw;
    scroll-snap-align: start; /* Секция защелкивается по верхнему краю */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Видео внутри каждой секции */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Текст поверх видео */
.content {
    position: relative;
    z-index: 2;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.content h1 {
    font-size: 3rem;
}

/* Часы поверху всех видео */
.clock {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 16px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
