/* --- Подключение шрифтов --- */
@font-face {
    font-family: 'Kommuna';
    src: url('Kommuna-Normal.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Handwritten';
    src: url('20094.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* --- Сброс базовых стилей --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Kommuna', monospace, sans-serif;
    background-color: #f4f4f4;
    color: #000000;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    /* Убираем полосу прокрутки, но позволяем скроллить (если она появится) */
    overflow-x: hidden; 
}
/* --- Секция Hero --- */
.wedding-hero {
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-content {
    max-width: 460px; 
    width: 100%;
    position: relative;
}

/* Заголовки */
.header-text {
    text-align: center;
    margin-bottom: 25px;
}

.header-text h1 {
    font-size: 28px;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.header-text h2 {
    font-size: 18px;
    font-weight: normal;
    line-height: 1.2;
}

/* Текстовые блоки с отступом */
.text-content {
    padding-left: 10px; /* Можно менять под себя */
}

.authorized-person, .action-text, .footer-text {
    font-size: 13px;
    line-height: 1.2;
    margin-bottom: 40px;
}

.action-text { margin-top: 20px; }
.footer-text { margin-top: 20px; margin-bottom: 40px; }

/* Блок с фото невесты - увеличиваем нижний отступ */
.name-block-bride {
    margin-bottom: 80px !important;   /* было 55px, увеличили */
}

/* --- Блоки с именами --- */
.name-block {
    position: relative;
    margin-bottom: 55px;
    padding-right: 170px; /* Оставляем место справа для больших фото */
}

/* Контейнер для одной клетки (УМЕНЬШИЛИ КЛЕТКИ) */
.grid-cell-wrapper {
    position: relative;
    width: 160px;  /* Было 180px, уменьшили */
    height: 20px !important;  /* Было 45px, уменьшили */
    margin-bottom: 30px !important; 
}

/* Сама картинка с клетками (фото 3.webp) */
/* Сама картинка с клетками (фото 3.webp) */
.grid-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Меняем cover на contain - это покажет все 12 клеток целиком */
    object-fit: contain; 
    /* Выравниваем строго по левому краю, чтобы не было пустот справа */
    object-position: left center; 

    z-index: 1;
}

/* Текст и подписи */
.grid-text-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-left: 15px; 
}

/* ШРИФТ ИМЕН НЕ МЕНЯЕМ */
.handwritten-name {
    font-family: 'Handwritten', cursive;
    font-size: 30px !important; 
    color: #222;
    line-height: 1;
    text-align: center !important;
}

.label {
    font-family: 'Kommuna', monospace;
    font-size: 10px !important;
    color: #000000;
    position: absolute;
    bottom: -14px;
    left: 48px !important;
    text-align: center !important;
}

/* Сдвигаем только слово "имя" правее */
.label-name {
    left: 60px !important; /* <--- Меняйте это число, чтобы подвинуть именно "имя" */
}

/* --- Фотографии (УВЕЛИЧИЛИ ФОТО) --- */
.polaroid-photo {
    position: absolute;
    z-index: 2;
    width: 175px !important; /* Увеличили (было 150px) */
    height: auto;
    background-color: #fff;
    padding: 6px 6px 30px 6px; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.09);
    object-fit: cover;
    border: 1px solid #ddd;
}

/* Фото 2.png (Жених) */
.photo-groom {
    right: -20px !important;
    top: -85px !important;
    transform: rotate(-5deg);
}

/* Фото 1.png (Невеста) */
.photo-bride {
    right: -20px !important;
    top: -45px !important;
    transform: rotate(7deg);
}

/* --- Адаптация под мобильные устройства --- */
@media (max-width: 500px) {
    .hero-content { max-width: 100%; }
    .text-content { padding-left: 5px; }
    
    .name-block { padding-right: 130px; }
    
    /* На телефоне клетки тоже меньше */
    .grid-cell-wrapper { width: 130px; height: 32px; margin-bottom: 8px; }
    .handwritten-name { font-size: 22px; } /* На телефоне чуть меньше, чтобы влезло */
    .label { font-size: 9px; bottom: -12px; left: 15px; }
    .grid-text-content { padding-left: 12px; }

    .polaroid-photo {
        width: 140px; /* Увеличены и на мобилке */
        padding: 4px 4px 20px 4px;
    }
    .photo-groom { right: -5px; top: -25px; }
    .photo-bride { right: -5px; top: 0; }
}


/* === НОВАЯ СЕКЦИЯ: ПРИГОВОР === */
.verdict-section {
    margin-top: 30px;
    padding-left: 0px; /* Отступ слева, чтобы совпадал с верхним текстом */
    padding-bottom: 40px;
}

.circumstances-text {
    font-size: 13px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.circumstances-list {
    font-size: 13px;
    line-height: 1.2;
    padding-left: 20px; /* Отступ для цифр 1, 2, 3... */
    margin-bottom: 25px;
}

.circumstances-list li {
    margin-bottom: 5px; /* Расстояние между пунктами списка */
}

.order-title {
    font-size: 13px;
    line-height: 1.2;
    font-weight: bold;
    margin-bottom: 15px;
}

.order-text {
    font-size: 13px;
    line-height: 1;
    margin-bottom: -15px;
}

/* Рукописная дата (29, августа, 2026) */
.handwritten-date {
    font-family: 'Handwritten', cursive;
    font-size: 40px;
    color: #222;
    text-decoration: none; 
    border-bottom: 1px solid #222; 
    padding-bottom: -10px !important; /* Убираем нижний отступ */

    /* Волшебная строка: сдвигаем линию вверх */
    /* Чем больше отрицательное число, тем выше линия (например, -2px, -4px, -6px) */
    transform: translateY(-2px); 
    
    /* Чтобы линия не смещалась влево-вправо при сдвиге */
    display: inline-block; 
}

/* Наручники по центру */
.handcuffs-wrapper {
    display: flex;
    justify-content: center;
    margin-top: -10px !important;
}

.handcuffs-img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* === НАРУЧНИКИ (Эффект выезда) === */

/* 1. Сцена, где происходит всё движение. Скрываем всё, что выходит за края. */
.handcuffs-stage {
    width: 100%;
    /* overflow: hidden;  */
    position: relative;
    margin-top: 0px !important;
    /* Высота задается автоматически картинкой, либо поставьте min-height, если нужно */
}

/* 2. Контейнер, который мы будем двигать скриптом. */
.handcuffs-wrapper {
    display: flex;
    justify-content: center;
    /* Начальная точка: фото спрятано за правым краем */
    transform: translateX(50%); 
    /* Плавный переход, чтобы не дергалось */
    transition: transform 0.1s linear; 
}

/* 3. Сама картинка. Никакого изменения масштаба! Всегда 100%. */
.handcuffs-img {
    max-width: 100%; /* Размер фото на ПК */
    height: auto;
    display: block;
}


/* ========== СЕКЦИЯ 2: МЕСТО ПРОВЕДЕНИЯ ========== */
.location-section {
    margin-top: 40px;
    padding-bottom: 40px;
    padding-left: 10px; /* Чтобы совпадал с отступом первого текста */
}

/* Заголовок */
.location-header {
    font-size: 18px;
    line-height: 1.2;
    font-weight: bold;
    text-transform: uppercase; /* Делает буквы заглавными */
    margin-bottom: 25px;
}

/* Подзаголовок */
.location-subtitle {
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 10px;
}

/* Рукописное название зала */
.handwritten-location {
    font-family: 'Handwritten', cursive;
    font-size: 32px;
    color: #222;
    display: inline-block;
    
    /* Рисуем две линии снизу */
    border-bottom: 1px solid #222; 
    padding-bottom: 0px;
    transform: translateY(-8px); /* Подтягиваем линию вверх под буквы */
}

/* Обертка для названия, чтобы две линии шли подряд */
.location-name-wrapper {
    margin-bottom: 20px;
    /* Небольшой отступ слева, чтобы название не прилипало */
    padding-left: 10px; 
}

/* Сама фотография локации */
.location-photo-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.location-photo {
    width: 95%; /* Фото почти на всю ширину блока */
    height: auto;
    object-fit: cover;
    /* Приятная тень, как на референсе */
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-radius: 2px;
}


/* ========== СЕКЦИЯ 3: ПРОГРАММА ========== */
.program-section {
    margin-top: 40px;
    padding-bottom: 40px;
    padding-left: 10px; /* Единый отступ */
}

.program-header {
    font-size: 18px;
    line-height: 1.2;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 25px;
}

/* Список */
.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Расстояние между пунктами */
    margin-bottom: 30px;
}

.schedule-item {
    display: flex;
    font-size: 15px;
    line-height: 1.2;
}

.schedule-time {
    width: 55px; /* Фиксированная ширина для времени (11:30, 12:00...) */
    flex-shrink: 0;
    margin-right: 15px;
}

.schedule-desc {
    flex-grow: 1;
}

/* Специфичные стили для фото кольца (поверх стилей наручников) */
.rings-img {
    max-width: 60% !important; /* По умолчанию кольца чуть меньше наручников */
    transform: rotate(-10deg); 
}

@media (max-width: 500px) {
    .rings-img {
        max-width: 70%; /* На телефоне кольца можно сделать побольше */
    }
}



/* ========== СЕКЦИЯ 4: ДРЕСС-КОД ========== */
.dresscode-section {
    margin-top: 40px;
    padding-bottom: 40px;
    padding-left: 10px;
}

.dresscode-header {
    font-size: 18px;
    line-height: 1.2;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.dresscode-desc {
    font-size: 15px;
    line-height: 1.2;
    margin-bottom: 25px;
}

/* СЦЕНА: скрываем всё, что выезжает за левый край */
.palette-stage {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* ОБЕРТКА: спрятана за левым краем */
.palette-wrapper {
    display: flex;
    justify-content: flex-start; /* Палитра прижата к левому краю */
    transform: translateX(-50%); /* Сдвигаем за левый край */
}

/* Сама палитра */
.color-palette {
    display: flex;
    gap: 0px;
}

/* Квадратики */
.color-box {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(0,0,0,0.05);
}

.color-5 { background-color: #F5F0ED; }
.color-4 { background-color: #E6DFCF; }
.color-3 { background-color: #ECD7D2; }
.color-2 { background-color: #C69D97; }
.color-1 { background-color: #A07F88; }



/* ========== СЕКЦИЯ 5: РУКИ (БЕЗ ОБРЕЗАНИЯ) ========== */

.evidence-section {        /* <--- ДОБАВИТЬ ЭТОТ КЛАСС */
    padding-left: 10px;    /* <--- И ЭТОТ ОТСТУП */
}
.hands-container {
    position: relative;
    width: 100%;
    height: 160px;
    margin-bottom: 30px;
    overflow: visible; /* Убираем обрезание */
}

.evidence-header {
    font-size: 18px;
    line-height: 1.2;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hand-img {
    height: 160px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* --- ЛЕВАЯ РУКА --- */
.hand-left-stage {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    overflow: visible; /* Убираем обрезание */
}

.hand-left-wrapper {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    transform: translateX(-100%);
    transition: none !important;
}

/* --- ПРАВАЯ РУКА --- */
.hand-right-stage {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    overflow: visible;
    z-index: 2;
}

.hand-right-wrapper {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    transform: translateX(100%);
    transition: none !important;
}

.hand-left-stage { width: 68%; }
.hand-right-stage { width: 68%; }



/* --- ПРАВАЯ РУКА (выезжает справа) --- */
.hand-right-stage {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    overflow: visible;
    z-index: 2;
}

.hand-right-wrapper {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    transform: translateX(100%);
    transition: none !important;
    position: relative; /* ВАЖНО: чтобы псевдо-элемент работал внутри */
}

/* Сама правая рука */
.hand-right-img {
    height: 160px !important;
    width: auto;
    display: block;
    object-fit: contain;
    z-index: 2;
}

/* --- КОНВЕРТ (money.webp) поверх правой руки --- */
/* .hand-right-wrapper::after {
    content: '';
    position: absolute;
    
    bottom: 75px;  
    right: 160px;  
    width: 110px; 
    height: 80px;  
    background-image: url('money.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    z-index: 1;
    pointer-events: none;
} */

/* Замените старые стили для этих двух классов на этот код: */
.evidence-desc,
.evidence-footer {
    font-size: 15px;        /* Размер шрифта как в 6-й секции */
    line-height: 1.2;       /* Межстрочный интервал */
    margin-bottom: 25px;
}

/* Убедитесь, что у evidence-footer убрано лишнее */
.evidence-footer p {
    margin-bottom: 15px;    /* Небольшой отступ между абзацами, если их несколько */
}

/* ========== СЕКЦИЯ 6: ДОПОЛНИТЕЛЬНЫЕ РАСПОРЯЖЕНИЯ ========== */
.extra-section {
    margin-top: 40px;
    padding-bottom: 40px;
    padding-left: 10px;
}

.extra-header {
    font-size: 18px;
    line-height: 1.2;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.extra-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.extra-item {
    display: flex;
    font-size: 15px;
    line-height: 1.2;
}

.extra-number {
    width: 25px;
    flex-shrink: 0;
}

.extra-text {
    flex-grow: 1;
    font-size: 15px; /* <--- ДОБАВЬТЕ ЭТУ СТРОКУ */
    line-height: 1.4; /* Полезно добавить межстрочный интервал, если шрифт стал крупным */
}

.child-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.child-img {
    max-width: 50%;
    height: auto;
    display: block;
    margin-left: 80px;
}

/* ========== СЕКЦИЯ 7: ЯВКА ПОНЯТОГО ========== */
.attend-section {
    margin-top: 40px;
    padding-bottom: 60px;
    padding-left: 10px;
}

.attend-header {
    font-size: 18px;
    line-height: 1.2;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.attend-intro {
    font-size: 15px;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Рукописная дата в интро */
.attend-date {
    font-family: 'Handwritten', cursive;
    font-size: 42px;
    color: #222;
}

.attend-question {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* --- Радиокнопки --- */
.attend-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.attend-radio {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    cursor: pointer;
    position: relative;
}

.attend-radio input[type="radio"] {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #222;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s;
}

.attend-radio input[type="radio"]:checked + .radio-custom {
    border-color: #222;
}

.attend-radio input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #222;
    border-radius: 50%;
}

/* --- Поле ввода --- */
.attend-input-wrapper {
    margin-bottom: 25px;
}

.attend-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #222;
    font-family: 'Kommuna', monospace;
    font-size: 15px;
    background-color: transparent;
    outline: none;
    color: #000;
}

.attend-input::placeholder {
    color: #999;
}

/* --- Согласие с чекбоксом --- */
.attend-agreement {
    margin-bottom: 30px;
}

.agreement-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    line-height: 1.2;
}

.checkbox-wrapper {
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
}

.checkbox-wrapper input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.checkbox-custom {
    display: block;
    width: 18px;
    height: 18px;
    border: 1px solid #222;
    background-color: transparent;
    position: relative;
    cursor: pointer;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 1px;
    font-size: 20px;
    color: #000;
}

/* --- Кнопка отправки --- */
.attend-submit-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.attend-submit {
    position: relative;
    background: transparent;
    border: none;
    font-family: 'Kommuna', monospace;
    font-size: 20px;
    font-weight: bold;
    color: #000;
    padding: 15px 60px;
    cursor: pointer;
    letter-spacing: 1px;
    transition: color 0.3s;
}

/* Красная рамка вокруг кнопки */
.attend-submit::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid #D32F2F;
    pointer-events: none;
}

.attend-submit:hover {
    color: #D32F2F;
}

/* --- Адаптация на мобилке --- */
@media (max-width: 500px) {
    .attend-section {
        padding-left: 5px;
        padding-right: 5px;
    }
    .attend-question {
        font-size: 16px;
    }
    .attend-submit {
        font-size: 18px;
        padding: 12px 40px;
    }
}



/* ========== СЕКЦИЯ 8: ЗАКЛЮЧЕНИЕ ========== */
.final-section {
    margin-top: 40px;
    padding-bottom: 60px;
    padding-left: 10px;
}

.final-header {
    font-size: 18px;
    line-height: 1.2;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.final-desc {
    font-size: 15px;
    line-height: 1.2;
    margin-bottom: 30px;
}

/* Визуальный блок */
.final-visuals {
    position: relative;
    width: 100%;
    height: 250px;
    margin-top: 10px;
}

/* --- МОЛОТОК --- */
.final-gavel-stage {
    position: absolute;
    right: 0;
    top: 0;
    width: 60%;
    height: 100%;
    overflow: visible;
}

.final-gavel-wrapper {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    transform: translateX(100%);
    transition: none !important;
}

.final-gavel-img {
    height: 200px;
    width: auto;
    display: block;
    object-fit: contain;
    /* Анимация: выезд + стук */
    animation: gavelSequence 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-play-state: paused; /* Ждем команды от JS */
}

@keyframes gavelSequence {
    0%   { transform: translateX(0) rotate(0deg); }
    60%  { transform: translateX(-40px) rotate(-15deg); }
    100% { transform: translateX(0) rotate(0deg); }
}

/* --- ПЕЧАТЬ --- */
.final-stamp-wrapper {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
    /* Анимация появления */
    animation: stampAppear 0.8s ease-out forwards;
    animation-delay: 1.8s; /* Появляется через 1.8с после начала удара */
    animation-play-state: paused; /* Ждем команды от JS */
}

@keyframes stampAppear {
    0%   { opacity: 0; transform: scale(0.5) rotate(-10deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

.final-stamp-img {
    width: 250px;
    height: auto;
    display: block;
}

/* Класс для запуска анимации через JS */
.final-section.active .final-gavel-img,
.final-section.active .final-stamp-wrapper {
    animation-play-state: running;
}


/* ========== ФУТЕР (ФИНАЛЬНЫЙ БЛОК) ========== */
.wedding-footer {
    width: 100%;
    overflow: hidden;
    background-color: #f4f4f4;
    padding: 0;
    margin-top: 30px;
    position: relative;
}

.footer-stage {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
}

.footer-wrapper {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    /* ДОБАВЬТЕ ЭТУ СТРОКУ - начальное состояние */
    transform: translateX(100%);
    /* И добавьте плавность */
    transition: transform 0.1s linear;
}

.footer-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}


/* ===== АЛКОГОЛЬНЫЕ ПРЕДПОЧТЕНИЯ (В СТОЛБИК) ===== */
.alcohol-section {
    margin-bottom: 25px;
    padding: 15px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.alcohol-title {
    font-size: 15px;
    margin-bottom: 12px;
}

.alcohol-options {
    display: flex;
    flex-direction: column; /* <- ГЛАВНОЕ ИЗМЕНЕНИЕ: теперь в столбик */
    gap: 10px; /* расстояние между пунктами */
}

.alcohol-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
}

.alcohol-checkbox input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.checkbox-custom-alcohol {
    display: block;
    width: 18px;
    height: 18px;
    border: 1.5px solid #222;
    background-color: transparent;
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s;
}

.alcohol-checkbox input[type="checkbox"]:checked + .checkbox-custom-alcohol {
    border-color: #222;
    background-color: #ffffff;
}

.alcohol-checkbox input[type="checkbox"]:checked + .checkbox-custom-alcohol::after {
    content: '✓';
    position: absolute;
    top: -3px;
    left: 1px;
    font-size: 18px;
    color: #000000;
}

.alcohol-note {
    font-size: 11px;
    color: #888;
    margin-top: 8px;
    font-style: italic;
}

/* Адаптация под мобилку */
@media (max-width: 500px) {
    .alcohol-checkbox {
        font-size: 13px;
    }
}



/* Убираем синее выделение при нажатии на мобильных */
.attend-radio,
.alcohol-checkbox,
.attend-submit,
.attend-input,
.attend-radio input[type="radio"],
.alcohol-checkbox input[type="checkbox"],
.checkbox-wrapper input[type="checkbox"] {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    outline: none;
}

/* Для полей ввода - оставляем возможность ввода, но убираем синюю рамку */
.attend-input {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

/* Убираем синюю рамку у кнопок при фокусе (для всех браузеров) */
.attend-submit:focus,
.attend-input:focus {
    outline: none;
}

/* Для Safari и WebKit - убираем синий фон при нажатии на радио/чекбоксы */
.attend-radio input[type="radio"]:focus,
.alcohol-checkbox input[type="checkbox"]:focus,
.checkbox-wrapper input[type="checkbox"]:focus {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* Дополнительно для всех интерактивных элементов */
button,
input,
label,
.attend-radio,
.alcohol-checkbox {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

/* ========== ЗАСТАВКА (СЕКЦИЯ 0) ========== */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.splash-screen.hidden {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
}

.splash-content {
    text-align: center;
    padding: 40px;
    max-width: 400px;
}

.splash-icon {
    font-size: 72px;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.splash-content h2 {
    font-family: 'Kommuna', monospace;
    font-size: 28px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.splash-content p {
    font-family: 'Kommuna', monospace;
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.splash-btn {
    font-family: 'Kommuna', monospace;
    font-size: 18px;
    padding: 15px 50px;
    background: transparent;
    border: 2px solid #222;
    color: #222;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.splash-btn:hover {
    background: #222;
    color: #fff;
}
