:root {
    --gold: #c9a063;
    --dark: #1a1a1a;
    --paper-bg: rgba(245, 242, 237, 0.94);
    --pale: rgba(26, 26, 26, 0.5);
}

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

/* ФОН Firefly НА ВЕСЬ ЭКРАН */
html {
    background: url("/static/bg_firefly.png") no-repeat center center fixed;
    background-size: cover;
}

body {
    background-color: transparent;
    color: var(--dark);
    font-family: Cambria, serif;
    font-size: 19px;
    line-height: 1.6;
}

/* ЦЕНТРАЛЬНАЯ КОЛОНКА - ЛИСТ БУМАГИ */
.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--paper-bg);
    padding: 0 40px;
    box-shadow: 0 0 50px rgba(0,0,0,0.3);
    min-height: 100vh;
}

.accent { color: var(--gold); }

.main-title {
    font-size: 2.8rem;
    text-align: center;
    padding: 6vh 0 2vh;
    line-height: 1.1;
    font-weight: bold;
}

.hero-subtitle { text-align: center; font-size: 1.3rem; margin-bottom: 4vh; font-weight: bold; }

.social-grid-top { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0; }
.social-card { height: 90px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; font-weight: bold; }
.tg { background-color: #24A1DE; } .wa { background-color: #25D366; } .max { background-color: #000; border: 1px solid var(--gold); } .inst { background-color: #E1306C; }

.hero-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin: 30px auto;
    width: 60%;
    opacity: 0.3;
}

.cta-row { display: flex; gap: 15px; align-items: center; margin-top: 40px; }
.call-btn-rect { flex: 2; background: var(--gold); color: white; padding: 22px; text-align: center; text-decoration: none; border-radius: 4px; font-weight: bold; font-size: 1.6rem; }
.social-row-mini { flex: 1; display: flex; gap: 6px; }
.mini-card { flex: 1; height: 45px; background: #333; color: white; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 0.7rem; border-radius: 4px; }

.ps-block { margin: 30px 0; border-top: 1px solid rgba(0,0,0,0.05); padding-top: 20px; }
.ps-text { font-style: italic; font-size: 0.85rem; color: var(--pale); }

/* ПРЕЦИЗИОННЫЙ КРОП ЧАСОВ */
.hourglass-platform {
    position: relative;
    margin: 30px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hourglass-crop-window {
    width: 6vw;
    height: 12vh;
    min-width: 90px;
    min-height: 150px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    background: #000;
    border: 1px solid var(--gold);
    transition: transform 1.2s ease;
}

.hourglass-video-element {
    position: absolute;
    top: 50%;
    left: 50%;
    /* МАКСИМАЛЬНЫЙ ЗУМ ДЛЯ КРУПНЫХ ЧАСОВ */
    transform: translate(-50%, -50%) scale(2.8);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.floor-line { width: 100%; border: 0; border-top: 1px solid rgba(0,0,0,0.1); }
.is-flipped { transform: rotate(180deg); }

.footer { 
    background-color: var(--paper-bg);
    padding: 20px 0 60px; 
    text-align: center; 
    color: var(--pale); 
    font-size: 0.7rem;
}
