* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Playfair Display', serif;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Фоновое статичное фото - НА ВЕСЬ ЭКРАН БЕЗ ЭФФЕКТОВ */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('11.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 1;
    z-index: -1;
}

/* Контейнер */
.container {
    max-width: 100%;
    padding: 0;
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

/* Верхняя секция с фото и текстом */
.top-section {
    height: 100vh;
    position: relative;
    padding: 15px;
    overflow: hidden;
}

/* Дата свадьбы в правом верхнем углу - УВЕЛИЧЕНА */
.wedding-date {
    position: absolute;
    top: 30px;
    right: 40px !important;
    text-align: center;
    font-family: 'Playfair Display', serif;
    color: #8B0000;
    font-size: 85px;
    line-height: 0.85;
    font-weight: 700;
    z-index: 100;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.wedding-date div {
    margin: 2px 0;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Рамка Polaroid для фото */
.polaroid-frame {
    position: absolute;
    background: white;
    padding: 12px 12px 40px 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    border-radius: 2px;
    z-index: 10;
}

.polaroid-frame::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 30px;
    background: white;
    bottom: 0;
    left: 0;
    border-radius: 0 0 2px 2px;
}

/* Фото невесты в левом верхнем углу - ВЕРНУЛИ ПРЕЖНИЙ РАЗМЕР */
.bride-photo-container {
    top: 20px;
    left: 15px;
    width: 55% !important; /* Оригинальный размер */
    max-width: 250px !important; /* Оригинальный размер */
    transform: rotate(-5deg);
    animation: gentleSwingRight 8s infinite ease-in-out;
}

/* Фото жениха в правом нижнем углу - ВЕРНУЛИ ПРЕЖНИЙ РАЗМЕР */
.groom-photo-container {
    bottom: 30px;
    right: 15px;
    width: 55% !important; /* Оригинальный размер */
    max-width: 250px !important; /* Оригинальный размер */
    transform: rotate(4deg);
    animation: gentleSwingLeft 8s infinite ease-in-out;
    animation-delay: 0.5s;
}

/* Декоративное фото с узорами (без рамки) - ОСТАВИЛИ ТАКИМ ЖЕ */
.decoration-photo-container {
    position: absolute;
    bottom: 120px;
    left: 15px; /* Немного вправо */
    width: 200px !important; /* Оригинальный размер */
    height: 200px !important; /* Оригинальный размер */
    z-index: 9;
    animation: gentleFloat 10s infinite ease-in-out;
}

.decoration-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Общие стили для декоративных элементов */
.decor-element {
    position: absolute;
    object-fit: contain;
    z-index: 5;
    animation: gentleFloat 12s infinite ease-in-out;
}

/* Элемент 12.png справа от кнопки музыки - УВЕЛИЧЕН И СДВИНУТ ПРАВЕЕ */
.music-decor {
    right: 10% !important; /* Сдвинуто правее */
    top: 50%;
    width: 160px !important; /* Увеличен */
    height: 160px !important; /* Увеличен */
    transform: translateY(-50%);
}

/* Элемент 13.png слева от календаря - УВЕЛИЧЕН И СДВИНУТ ВЫШЕ */
.calendar-decor {
    left: 5%;
    top: -50px !important; /* Сдвинуто выше */
    width: 160px !important; /* Увеличен */
    height: 160px !important; /* Увеличен */
}

/* Элемент 11.png справа от "дресс-код" - УВЕЛИЧЕН И СДВИНУТ ПРАВЕЕ */
.dresscode-decor {
    right: 10% !important; /* Сдвинуто правее */
    top: -40px; /* Сдвинуто выше */
    width: 160px !important; /* Увеличен */
    height: 160px !important; /* Увеличен */
}

/* Элемент 14.png справа от Welcome - УВЕЛИЧЕН И СДВИНУТ ВЫШЕ */
.welcome-decor {
    right: 5%;
    top: -45px !important; /* Сдвинуто выше */
    width: 140px !important; /* Увеличен */
    height: 140px !important; /* Увеличен */
}

/* Элемент 12.png слева от "банкет" - УВЕЛИЧЕН, СДВИНУТ ПРАВЕЕ И ВЫШЕ */
.banket-decor {
    left: 10% !important; /* Сдвинуто правее */
    top: -50px !important; /* Сдвинуто выше */
    width: 160px !important; /* Увеличен */
    height: 160px !important; /* Увеличен */
}

/* Элемент 13.png справа от завершения праздника - УВЕЛИЧЕН, СДВИНУТ ПРАВЕЕ И НИЖЕ */
.finish-decor {
    right: 10% !important; /* Сдвинуто правее */
    bottom: -50px !important; /* Сдвинуто ниже */
    width: 150px !important; /* Увеличен */
    height: 150px !important; /* Увеличен */
}

/* Элемент 15.png в пожеланиях - УВЕЛИЧЕН */
.wishes-decor {
    display: block;
    margin: 25px auto;
    width: 180px !important; /* Увеличен */
    height: 180px !important; /* Увеличен */
    animation: gentleFloat 10s infinite ease-in-out;
}

/* Второй элемент 15.png в пожеланиях - УВЕЛИЧЕН */
.second-wishes-decor {
    margin: 25px auto;
    width: 180px !important; /* Увеличен */
    height: 180px !important; /* Увеличен */
}

/* Элемент 16.png перед подписью - УВЕЛИЧЕН */
.signature-decor {
    display: block;
    margin: 0 auto 25px;
    width: 160px !important; /* Увеличен */
    height: 160px !important; /* Увеличен */
    animation: gentleFloat 8s infinite ease-in-out;
}

/* Подпись внизу */
.signature-text {
    font-family: 'Bad Script', cursive;
    font-size: 36px;
    color: #8B0000;
    text-align: center;
    margin: 30px 0 50px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    padding: 0 10px;
}

@keyframes gentleFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    25% { 
        transform: translateY(-10px) rotate(5deg); 
    }
    75% { 
        transform: translateY(5px) rotate(-5deg); 
    }
}

.bride-photo, .groom-photo {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3/4;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Подпись под фото Polaroid */
.photo-caption {
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 100%;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    color: #000000;
    z-index: 11;
    padding: 0 10px;
    font-weight: 500;
    line-height: 1.2;
}

.bride-caption {
    transform: rotate(0);
}

.groom-caption {
    transform: rotate(1deg);
}

@keyframes gentleSwingRight {
    0%, 100% { transform: rotate(-5deg); }
    25% { transform: rotate(-8deg); }
    75% { transform: rotate(-2deg); }
}

@keyframes gentleSwingLeft {
    0%, 100% { transform: rotate(4deg); }
    25% { transform: rotate(7deg); }
    75% { transform: rotate(1deg); }
}

/* Текст в центре экрана - СДЕЛАН ТОНЬШЕ */
.center-text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    z-index: 5;
}

.typing-text {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    color: #000000;
    display: inline-block;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7);
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.heart {
    color: #000000;
    display: inline-block;
    animation: heartbeat 1.5s infinite;
    opacity: 0;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 1; }
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 30px;
    background-color: #000000;
    margin-left: 8px;
    animation: blink 1s infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Стрелка для скролла вниз */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #8B0000;
    font-size: 24px;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
}

@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 {
    padding: 40px 20px 80px;
    position: relative;
    z-index: 2;
    background: transparent;
    margin-top: 0;
    border-radius: 0;
}

/* ОБЩИЙ СТИЛЬ ДЛЯ ЗАГОЛОВКОВ */
.main-title {
    font-family: 'Bad Script', cursive;
    font-size: 42px;
    color: #8B0000;
    text-align: center;
    margin: 50px 0 30px;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.9);
    padding: 0 10px;
    font-weight: 400;
    letter-spacing: 1px;
    position: relative;
}

/* Заголовок "Дорогие и любимые!" */
.handwritten-title {
    font-family: 'Bad Script', cursive;
    font-size: 46px;
    color: #8B0000;
    text-align: center;
    margin: 50px 0 40px;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.9);
    padding: 0 10px;
    font-weight: 400;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
}

/* Музыкальный плеер - ТОЛЬКО КНОПКА */
.music-section {
    text-align: center;
    margin: 30px 0;
    padding: 0 15px;
    position: relative;
}

.music-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
}

.player-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.play-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #666666;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 2;
}

.play-button:hover {
    transform: scale(1.05);
    background: #777777;
}

.circle-text {
    position: absolute;
    width: 120px;
    height: 120px;
    animation: rotateText 20s linear infinite;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    fill: #000000;
    font-weight: normal;
}

@keyframes rotateText {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Текст приглашения */
.invitation-text {
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    color: #000000;
    text-align: center;
    margin: 40px 20px 50px;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.invitation-text p {
    margin-bottom: 25px;
}

.invitation-text p:last-child {
    margin-bottom: 0;
}

/* КАЛЕНДАРЬ - УЛУЧШЕННАЯ ВЕРСИЯ */
.calendar-section {
    text-align: center;
    margin: 50px 20px;
    padding: 0;
    position: relative;
}

.calendar-frame {
    display: inline-block;
    background: #f8f8f8;
    padding: 18px 18px 42px 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    border-radius: 2px;
    position: relative;
    animation: gentleSwingCalendar 7s infinite ease-in-out;
    width: 320px;
    height: 320px;
    max-width: 90%;
    max-height: 320px;
    overflow: hidden;
}

.calendar-frame::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 30px;
    background: white;
    bottom: 0;
    left: 0;
    border-radius: 0 0 2px 2px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 8px;
    height: calc(100% - 28px);
}

.calendar-day {
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    color: #000000;
    font-weight: 600;
    text-align: center;
    padding: 3px 0;
}

.calendar-date-cell {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    color: #000000;
    text-align: center;
    padding: 5px 0;
    border-radius: 4px;
    cursor: default;
}

.calendar-date-cell.empty {
    color: transparent;
}

.calendar-date-cell.other-month {
    color: #ccc;
}

.calendar-date-cell.wedding-day {
    background-color: #8B0000;
    color: white;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(139, 0, 0, 0.3);
}

.calendar-date-cell.current-day {
    border: 2px solid #8B0000;
}

.calendar-month-label {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    color: #000000;
    z-index: 11;
    padding: 0 10px;
}

@keyframes gentleSwingCalendar {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-3deg); }
    75% { transform: rotate(3deg); }
}

/* Текст после календаря */
.after-calendar-text {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    color: #000000;
    text-align: center;
    margin: 40px 20px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    padding: 0;
}

/* Адрес мероприятия */
.address-text {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    color: #000000;
    text-align: center;
    margin: 20px 20px 30px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* Фото места проведения */
.location-photo {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 20px auto 30px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(139, 0, 0, 0.2);
}

/* Кнопка "Карта" - ЧЕРНАЯ РАМКА */
.map-button-section {
    text-align: center;
    margin: 30px 20px;
}

.map-button {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: #000000;
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: none;
    cursor: pointer;
    border: 2px solid #000000;
}

.map-button:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

/* Заглушка для карты */
.map-placeholder {
    width: 100%;
    height: 300px;
    background: #f0f0f0;
    border: 2px solid #8B0000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    color: #8B0000;
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

/* ДРЕСС-КОД */
.dresscode-section {
    margin: 60px 20px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    position: relative;
}

.dresscode-text {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    color: #000000;
    text-align: center;
    line-height: 1.6;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

/* Подзаголовки для дресс-кода */
.dresscode-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    color: #8B0000;
    text-align: center;
    margin: 40px 0 20px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* Фото для дресс-кода - БОЛЬШИЕ */
.dresscode-photo {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto 40px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(139, 0, 0, 0.2);
}

/* ПРОГРАММА ДНЯ */
.program-section {
    margin: 60px 20px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.program-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(139, 0, 0, 0.3);
    position: relative;
}

.program-time-event {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.program-event {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    color: #000000;
    font-weight: 500;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}

.program-time {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #8B0000;
    font-weight: 600;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}

.program-note {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: #5a3e1b;
    font-style: italic;
    line-height: 1.5;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
    padding-left: 10px;
    border-left: 2px solid rgba(139, 0, 0, 0.3);
    margin-top: 5px;
}

/* ПОЖЕЛАНИЯ */
.wishes-section {
    margin: 60px 20px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.wishes-text {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    color: #000000;
    text-align: center;
    line-height: 1.6;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

/* Специальный стиль для текста 14+ */
.wishes-age-text {
    font-family: 'Raleway', sans-serif !important;
    font-size: 20px !important;
    color: #000000 !important;
    text-align: center !important;
    line-height: 1.6 !important;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 20px !important;
}

/* Телефонный номер центрированный */
.phone-text-centered {
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    color: #8B0000;
    font-weight: 600;
    text-align: center;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
    margin-top: 10px;
    margin-bottom: 30px;
}

.wishes-list {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    color: #000000;
    line-height: 1.6;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
    padding-left: 20px;
    margin: 0 20px;
}

.wishes-list li {
    margin-bottom: 15px;
}

/* Кнопка Telegram - такой же стиль как у кнопки "Карта" */
.telegram-button {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: #000000;
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: none;
    cursor: pointer;
    border: 2px solid #000000;
    margin-top: 20px;
}

.telegram-button:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.telegram-button i {
    margin-right: 8px;
}

/* АНКЕТА ГОСТЯ - ПРОСТАЯ ВЕРСИЯ */
.form-section {
    margin: 60px 20px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    color: #000000;
    margin-bottom: 10px;
    font-weight: 500;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}

.form-input, .form-select {
    width: 100%;
    padding: 15px 18px;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    color: #000000;
    border: 2px solid #000000;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: #8B0000;
    background: rgba(255, 255, 255, 0.9);
}

.radio-group, .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.radio-label, .checkbox-label {
    display: flex;
    align-items: center;
    font-family: 'Raleway', sans-serif;
    font-size: 17px;
    color: #000000;
    cursor: pointer;
    padding: 5px 0;
    transition: all 0.3s;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}

.radio-label:hover, .checkbox-label:hover {
    color: #8B0000;
}

/* ЧЕРНЫЙ ЦВЕТ ДЛЯ РАДИО И ЧЕКБОКСОВ */
.radio-input, .checkbox-input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #000000;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 15px;
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    color: #000000;
    background: transparent;
    border: 2px solid #000000;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.3s;
    font-weight: 600;
}

.submit-button:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* КОНТАКТЫ - ПРОСТОЙ ТЕКСТ */
.contacts-section {
    margin: 60px 20px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
}

.contacts-text {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 10px;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}

.phone-text {
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    color: #8B0000;
    font-weight: 600;
    text-align: center;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
    margin-top: 10px;
}

/* ФУТЕР С ОБРАТНЫМ ОТСЧЕТОМ - МИНИМАЛИСТИЧНЫЙ */
.footer-section {
    margin: 60px 20px 40px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.countdown-number {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    text-align: center;
}

.countdown-label {
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    color: #000000;
    margin-top: 5px;
    text-transform: uppercase;
    font-weight: 600;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}

/* =========================================== */
/* АДАПТАЦИЯ ДЛЯ РАВНОМЕРНОГО ОТОБРАЖЕНИЯ НА ВСЕХ УСТРОЙСТВАХ */
/* =========================================== */

/* Базовые размеры для декоративных элементов */
.decor-element {
    /* Единый подход для всех устройств */
}

/* Для очень маленьких экранов (до 360px) */
@media (max-width: 360px) {
    .wedding-date {
        font-size: 54px !important;
        right: 20px !important;
        top: 25px;
    }
    
    .bride-photo-container, .groom-photo-container {
        width: 50% !important;
        max-width: 150px !important;
    }
    
    .decoration-photo-container {
        width: 140px !important;
        height: 140px !important;
        bottom: 140px !important;
        left: 10px !important;
    }
    
    /* Декоративные элементы - одинаковые пропорции */
    .music-decor {
        width: 100px !important;
        height: 100px !important;
        right: 0% !important;
    }
    
    .calendar-decor {
        width: 100px !important;
        height: 100px !important;
        left: 10px !important;
        top: -40px !important;
    }
    
    .dresscode-decor {
        width: 100px !important;
        height: 100px !important;
        right: 15px !important;
        top: -30px !important;
    }
    
    .welcome-decor {
        width: 90px !important;
        height: 90px !important;
        right: 15px !important;
        top: -35px !important;
    }
    
    .banket-decor {
        width: 100px !important;
        height: 100px !important;
        left: 15px !important;
        top: -40px !important;
    }
    
    .finish-decor {
        width: 95px !important;
        height: 95px !important;
        right: 15px !important;
        bottom: -40px !important;
    }
    
    .wishes-decor, .second-wishes-decor {
        width: 120px !important;
        height: 120px !important;
        margin: 20px auto !important;
    }
    
    .signature-decor {
        width: 110px !important;
        height: 110px !important;
        margin: 0 auto 20px !important;
    }
}

/* iPhone 12 Pro (390px) и подобные - ОПТИМАЛЬНЫЕ РАЗМЕРЫ */
@media (min-width: 361px) and (max-width: 420px) {
    .wedding-date {
        font-size: 58px;
        right: 25px !important;
        top: 25px;
    }
    
    .bride-photo-container, .groom-photo-container {
        width: 55% !important;
        max-width: 180px !important;
    }
    
    /* Объект 11.png в начале */
    .decoration-photo-container {
        width: 160px !important;
        height: 160px !important;
        bottom: 130px !important;
        left: 0px !important;
    }
    
    /* Объект 12.png у плеера */
    .music-decor {
        width: 140px !important;
        height: 140px !important;
        right: -7% !important;
        top: -50% !important;
    }
    
    /* Объект 13.png у календаря */
    .calendar-decor {
        width: 120px !important;
        height: 120px !important;
        left: 5px !important;
        top: -45px !important;
    }
    
    /* Объект 11.png у "дресс-код" */
    .dresscode-decor {
        width: 120px !important;
        height: 120px !important;
        right: -30px !important;
        top: -35px !important;
    }
    
    /* Объект 14.png у "Welcome" */
    .welcome-decor {
        width: 90px !important;
        height: 90px !important;
        right: 25px !important;
        top: -40px !important;
    }
    
    /* Объект 12.png у "банкет" */
    .banket-decor {
        width: 120px !important;
        height: 120px !important;
        left: 40px !important;
        top: -45px !important;
    }
    
    /* Объект 13.png у "завершение праздника" */
    .finish-decor {
        width: 115px !important;
        height: 115px !important;
        right: -10px !important;
        bottom: -45px !important;
    }
    
    /* Объект 15.png в пожеланиях */
    .wishes-decor, .second-wishes-decor {
        width: 140px !important;
        height: 140px !important;
        margin: 20px auto !important;
    }
    
    /* Объект 16.png перед подписью */
    .signature-decor {
        width: 150px !important;
        height: 150px !important;
        margin: 0 auto 20px !important;
    }
}

/* iPhone 14 Pro Max и большие телефоны (421px - 480px) */
@media (min-width: 421px) and (max-width: 480px) {
    .wedding-date {
        font-size: 62px;
        right: 30px !important;
        top: 25px;
    }
    
    .bride-photo-container, .groom-photo-container {
        width: 55% !important;
        max-width: 200px !important;
    }
    
    .decoration-photo-container {
        width: 180px !important;
        height: 180px !important;
        bottom: 120px !important;
        left: 5px !important;
    }
    
    /* Декоративные элементы - такие же как для iPhone 12 Pro */
    .music-decor {
        width: 150px !important;
        height: 150px !important;
        right: 0% !important;
        top: -42px;
    }
    
    .calendar-decor {
        width: 130px !important;
        height: 130px !important;
        left: 15px !important;
        top: -50px !important;
    }
    
    .dresscode-decor {
        width: 130px !important;
        height: 130px !important;
        right: -25px !important;
        top: -40px !important;
    }
    
    .welcome-decor {
        width: 100px !important;
        height: 100px !important;
        right: 25px !important;
        top: -45px !important;
    }
    
    .banket-decor {
        width: 130px !important;
        height: 130px !important;
        left: 40px !important;
        top: -50px !important;
    }
    
    .finish-decor {
        width: 125px !important;
        height: 125px !important;
        right: 15px !important;
        bottom: -50px !important;
        top: 45px;
    }
    
    .wishes-decor, .second-wishes-decor {
        width: 150px !important;
        height: 150px !important;
    }
    
    .signature-decor {
        width: 140px !important;
        height: 140px !important;
    }
}

/* Для устройств с большей высотой экрана */
@media (min-height: 700px) and (max-width: 480px) {
    .decoration-photo-container {
        bottom: 140px !important;
    }
    
    .bride-photo-container, .groom-photo-container {
        max-width: 220px !important;
    }
}

/* Для планшетов и горизонтальной ориентации (от 481px) */
@media (min-width: 481px) {
    .wedding-date {
        font-size: 74px;
        right: 40px !important;
        top: 30px;
    }
    
    .bride-photo-container, .groom-photo-container {
        max-width: 250px !important;
        width: 45% !important;
    }
    
    .decoration-photo-container {
        width: 200px !important;
        height: 200px !important;
        bottom: 120px !important;
        left: 25px !important;
    }
    
    /* Декоративные элементы - базовые размеры (как указаны выше) */
    .music-decor {
        width: 140px !important;
        height: 140px !important;
        right: 10% !important;
    }
    
    .calendar-decor {
        width: 140px !important;
        height: 140px !important;
        left: 8% !important;
        top: -50px !important;
    }
    
    .dresscode-decor {
        width: 140px !important;
        height: 140px !important;
        right: 10% !important;
        top: -40px !important;
    }
    
    .welcome-decor {
        width: 130px !important;
        height: 130px !important;
        right: 8% !important;
        top: -45px !important;
    }
    
    .banket-decor {
        width: 140px !important;
        height: 140px !important;
        left: 10% !important;
        top: -50px !important;
    }
    
    .finish-decor {
        width: 135px !important;
        height: 135px !important;
        right: 10% !important;
        bottom: -50px !important;
    }
    
    .wishes-decor, .second-wishes-decor {
        width: 160px !important;
        height: 160px !important;
    }
    
    .signature-decor {
        width: 150px !important;
        height: 150px !important;
    }
}

/* Для очень больших экранов (от 768px) */
@media (min-width: 768px) {
    .bride-photo-container, .groom-photo-container {
        max-width: 280px !important;
        width: 35% !important;
    }
    
    .decoration-photo-container {
        width: 220px !important;
        height: 220px !important;
    }
    
    /* Декоративные элементы чуть больше для больших экранов */
    .decor-element {
        transform: scale(1.1);
    }
}

/* Базовая адаптация остального контента */
@media (max-width: 480px) {
    .signature-text {
        font-size: 28px !important;
        margin: 20px 0 40px !important;
    }
    
    .typing-text {
        font-size: 22px !important;
    }
    
    .handwritten-title, .main-title {
        font-size: 38px !important;
    }
    
    .play-button {
        width: 60px !important;
        height: 60px !important;
        font-size: 24px !important;
    }
    
    .circle-text {
        width: 100px !important;
        height: 100px !important;
        font-size: 10px !important;
    }
    
    .invitation-text {
        font-size: 20px !important;
    }
    
    .calendar-frame {
        width: 280px !important;
        height: 280px !important;
        padding: 15px 15px 38px 15px !important;
    }
    
    .calendar-date-cell {
        font-size: 12px !important;
        padding: 4px 0 !important;
    }
    
    .calendar-day {
        font-size: 11px !important;
    }
    
    .calendar-month-label {
        font-size: 14px !important;
        bottom: 8px !important;
    }
    
    .after-calendar-text {
        font-size: 18px !important;
    }
    
    .location-photo, .dresscode-photo {
        max-width: 350px !important;
    }
    
    .dresscode-subtitle {
        font-size: 24px !important;
    }
    
    .dresscode-text {
        font-size: 18px !important;
    }
    
    .program-event, .program-time {
        font-size: 18px !important;
    }
    
    .program-note {
        font-size: 15px !important;
    }
    
    .wishes-text, .wishes-age-text {
        font-size: 18px !important;
    }
    
    .phone-text-centered {
        font-size: 20px !important;
    }
    
    .wishes-list {
        font-size: 16px !important;
    }
    
    .telegram-button {
        font-size: 16px !important;
        padding: 10px 20px !important;
    }
    
    .countdown-number {
        font-size: 24px !important;
    }
    
    .countdown-label {
        font-size: 11px !important;
    }
    
    .photo-caption {
        font-size: 14px !important;
        bottom: 10px !important;
    }
}

/* Стиль для текста с датой подтверждения */
.confirmation-deadline {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: #8B0000;
    text-align: center;
    background: rgba(139, 0, 0, 0.1);
    border-left: 3px solid #8B0000;
    border-right: 3px solid #8B0000;
    padding: 12px 15px;
    margin-bottom: 25px;
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.confirmation-deadline i {
    margin-right: 8px;
    font-size: 16px;
}

/* Адаптация для мобильных устройств */
@media (max-width: 480px) {
    .confirmation-deadline {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .confirmation-deadline i {
        font-size: 14px;
    }
}
