/* CSS Design System based on ui-ux-pro-max-skill */

:root {
    /* Color Palette */
    --color-primary: #F3A3A8;        /* Soft Pastel Pink */
    --color-primary-hover: #E89196;  /* Deepened Soft Pink */
    --color-secondary: #FFF3F3;      /* Very Light Warm Pink */
    --color-accent: #E0A96D;         /* Soft Gold */
    --color-accent-hover: #D4AF37;   /* Classic Gold */
    --color-bg: #FFFBFB;             /* Milky Warm White */
    --color-bg-gradient: linear-gradient(135deg, #FFFBFB 0%, #FFEAEA 100%);
    --color-text: #3E3E3E;           /* Charcoal Gray for high contrast (WCAG AA) */
    --color-text-light: #7E7E7E;     /* Medium Muted Gray */
    --color-success: #88C399;        /* Soft Pastel Green */
    --color-danger: #F29393;         /* Soft Pastel Red */

    /* Typography */
    --font-headings: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', 'Inter', system-ui, sans-serif;

    /* Spacing & Sizing */
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --radius-btn: 30px;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.15s ease-out;

    /* Shadows & Glassmorphism */
    --shadow-soft: 0 10px 30px rgba(228, 190, 190, 0.25);
    --shadow-inset: inset 2px 2px 5px rgba(0,0,0,0.05), inset -2px -2px 5px rgba(255,255,255,0.7);
    --shadow-button: 0 6px 20px rgba(243, 163, 168, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-border: 1px solid rgba(255, 255, 255, 0.6);
    --glass-blur: blur(16px);
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg-gradient);
    color: var(--color-text);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-headings);
    font-weight: 700;
    line-height: 1.3;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Sections */
.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: var(--color-text);
    position: relative;
}

.section-title::after {
    content: "✨";
    display: block;
    font-size: 1.2rem;
    margin-top: 4px;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--color-text-light);
    font-size: 1rem;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-lg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    min-height: 48px; /* High accessibility touch target size */
    border-radius: var(--radius-btn);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: var(--shadow-button);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 163, 168, 0.5);
    outline: none;
}

.btn-primary:active {
    transform: translateY(1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: var(--color-text);
    border: 1px solid rgba(243, 163, 168, 0.3);
}

.btn-secondary:hover, .btn-secondary:focus {
    background: #fff;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
    outline: none;
}

.btn-sm {
    padding: 8px 20px;
    min-height: 38px;
    font-size: 0.85rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* 3D Parallax Hero Scene */
.parallax-scene {
    height: 100vh;
    width: 100vw;
    position: relative;
    overflow: hidden;
    background: var(--color-bg-gradient);
    display: flex;
    justify-content: center;
    align-items: center;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none; /* Пропускаем клики сквозь слои по умолчанию */
    will-change: transform;
}

/* Layer 0: Background */
.layer-bg {
    z-index: 0;
}

.stars-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(224, 169, 109, 0.2) 0px, transparent 4px),
        radial-gradient(circle at 80% 20%, rgba(243, 163, 168, 0.3) 0px, transparent 5px),
        radial-gradient(circle at 40% 70%, rgba(224, 169, 109, 0.25) 0px, transparent 3px),
        radial-gradient(circle at 75% 60%, rgba(243, 163, 168, 0.2) 0px, transparent 4px);
    background-repeat: repeat;
}

/* Layer 1: Mid Background (Clouds) */
.layer-clouds-back {
    z-index: 1;
}

/* Layer 2: Text Title Layer (Behind Baby!) */
.layer-text {
    z-index: 3;
}

.hero-text-content {
    text-align: left;
    padding: 0 20px;
    margin-left: 10%;
    margin-right: auto;
    max-width: 550px;
    margin-bottom: 220px; /* Сдвигаем вверх относительно центра */
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-primary-hover);
    display: block;
    margin-bottom: 12px;
}

.hero-title {
    font-size: 4.8rem; /* Огромный журнальный заголовок */
    margin-bottom: 16px;
    color: var(--color-text);
    font-family: var(--font-headings);
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-title .highlight {
    color: var(--color-primary);
}

.hero-date-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-text-light);
}

.hero-date-box .divider {
    color: var(--color-primary);
}

/* Layer 3: Main Subject (The Baby Cutout) */
.layer-baby {
    z-index: 4;
}

.baby-cutout-container {
    position: relative;
    height: 78vh; /* Увеличили масштаб ребенка! */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-left: auto;
    margin-right: 8%; /* Сместили вправо */
    width: 42%;
    margin-top: 5vh;
}

.baby-cutout-img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 25px 25px rgba(228, 190, 190, 0.45));
    animation: gentleFloat 6s ease-in-out infinite alternate;
}

.baby-shadow {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 25px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0) 80%);
    border-radius: 50%;
    filter: blur(4px);
    z-index: -1;
}

/* Layer 3.5: Fast Decorations Behind Baby */
.layer-decorations-fore {
    z-index: 1;
}

/* Layer 4: Forefront Elements (CTA Button) */
.layer-forefront {
    z-index: 5;
}

.hero-cta-box {
    position: absolute;
    bottom: 8vh; /* Фиксируем снизу левой колонки */
    margin-left: 10%;
    margin-right: auto;
    left: 0;
    max-width: 480px;
    width: 90%;
    padding: 24px 32px;
    text-align: left;
    pointer-events: auto; /* Позволяем нажимать кнопку RSVP */
    box-shadow: 0 15px 35px rgba(228, 190, 190, 0.25);
    animation: fadeInUp 1.3s ease-out;
}

/* Встроенный таймер в Hero */
.hero-countdown {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    justify-content: flex-start;
}

.countdown-mini-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 8px 12px;
    text-align: center;
    min-width: 72px;
    box-shadow: 0 6px 15px rgba(228, 190, 190, 0.12);
}

.countdown-mini-card .countdown-value {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary-hover);
    display: block;
    line-height: 1.2;
}

.countdown-mini-card .countdown-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-top: 2px;
}

/* Встроенный адрес в Hero */
.hero-location-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.35);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.loc-icon {
    font-size: 1.6rem;
}

.loc-details {
    flex: 1;
}

.loc-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-primary-hover);
    display: block;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}

.loc-address {
    font-size: 0.85rem;
    color: var(--color-text);
    font-weight: 600;
    line-height: 1.35;
}

.btn-mini {
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(243, 163, 168, 0.3);
    color: var(--color-text);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease-out;
    box-shadow: 0 3px 6px rgba(0,0,0,0.03);
}

.btn-mini:hover {
    border-color: var(--color-primary);
    background: var(--color-secondary);
    transform: translateY(-1px);
}

.hero-cta-text {
    font-size: 0.95rem;
    color: var(--color-text);
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.5;
}

.hero-btns-wrapper {
    display: flex;
    flex-direction: row; /* В одну строку на десктопе */
    align-items: center;
    gap: 20px;
}

.hero-btns-wrapper .ideas-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary-hover);
    text-decoration: underline;
}

@keyframes gentleFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-12px); }
}

/* Animations for balloons and clouds */
.decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.balloon {
    position: absolute;
    width: 80px;
    height: 100px;
    border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
    opacity: 0.6;
}

.balloon::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 10px solid inherit;
}

.balloon::before {
    content: "";
    position: absolute;
    bottom: -40px;
    left: 50%;
    width: 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
}

.balloon-1 {
    background-color: #F8D3D5; /* Розовый */
    left: 8%;
    top: 15%;
    animation: floatUp 8s ease-in-out infinite alternate;
}

.balloon-2 {
    background-color: #FDF3C7; /* Желтый */
    right: 48%;
    top: 20%;
    animation: floatUp 10s ease-in-out infinite alternate-reverse;
}

.balloon-3 {
    background-color: #E2ECF7; /* Голубой */
    left: 42%;
    bottom: 25%;
    animation: floatUp 12s ease-in-out infinite alternate;
}

.balloon-4 {
    background-color: #E6F3EA; /* Нежно-зеленый */
    right: 42%;
    top: 8%;
    width: 70px; height: 90px;
    animation: floatUp 9s ease-in-out infinite alternate;
}

.balloon-5 {
    background-color: #FEE8D6; /* Нежно-оранжевый */
    left: 5%;
    top: 55%;
    width: 90px; height: 110px;
    animation: floatUp 11s ease-in-out infinite alternate-reverse;
}

.balloon-6 {
    background-color: #E8F1F5; /* Нежно-синий */
    right: 5%;
    bottom: 20%;
    width: 80px; height: 100px;
    animation: floatUp 7s ease-in-out infinite alternate;
}

.balloon-7 {
    background-color: #E8DDF1; /* Нежно-фиолетовый */
    left: 20%;
    top: 45%;
    width: 75px; height: 95px;
    animation: floatUp 11s ease-in-out infinite alternate;
}

.balloon-8 {
    background-color: #FFF2CC; /* Нежно-желтый */
    right: 32%;
    bottom: 35%;
    width: 85px; height: 105px;
    animation: floatUp 13s ease-in-out infinite alternate-reverse;
}

.balloon-9 {
    background-color: #FADAD8; /* Пудрово-красный */
    right: 25%;
    top: 25%;
    width: 70px; height: 90px;
    animation: floatUp 8s ease-in-out infinite alternate;
}

.balloon-10 {
    background-color: #D2EBD9; /* Мятно-зеленый */
    left: 30%;
    top: 5%;
    width: 65px; height: 85px;
    animation: floatUp 9s ease-in-out infinite alternate-reverse;
}

.cloud {
    position: absolute;
    background: #fff;
    border-radius: 100px;
    opacity: 0.8;
}

.cloud::before, .cloud::after {
    content: "";
    position: absolute;
    background: #fff;
    border-radius: 50%;
}

.cloud-1 {
    width: 120px;
    height: 40px;
    top: 8%;
    left: 20%;
    animation: drift 30s linear infinite;
}
.cloud-1::before { width: 50px; height: 50px; top: -20px; left: 15px; }
.cloud-1::after { width: 70px; height: 70px; top: -35px; right: 15px; }

.cloud-2 {
    width: 160px;
    height: 50px;
    top: 45%;
    left: -5%;
    animation: drift 45s linear infinite;
    opacity: 0.5;
}
.cloud-2::before { width: 70px; height: 70px; top: -30px; left: 20px; }
.cloud-2::after { width: 90px; height: 90px; top: -50px; right: 25px; }

.cloud-3 {
    width: 140px; height: 45px;
    top: 15%;
    right: 15%;
    animation: drift 38s linear infinite;
    opacity: 0.6;
}
.cloud-3::before { width: 60px; height: 60px; top: -25px; left: 15px; }
.cloud-3::after { width: 80px; height: 80px; top: -40px; right: 20px; }

.cloud-4 {
    width: 110px; height: 35px;
    top: 55%;
    right: 30%;
    animation: drift 50s linear infinite;
    opacity: 0.4;
}
.cloud-4::before { width: 45px; height: 45px; top: -18px; left: 12px; }
.cloud-4::after { width: 60px; height: 60px; top: -30px; right: 15px; }

.cloud-5 {
    width: 130px; height: 40px;
    top: 30%;
    left: 45%;
    animation: drift 35s linear infinite;
    opacity: 0.5;
}
.cloud-5::before { width: 55px; height: 55px; top: -22px; left: 15px; }
.cloud-5::after { width: 75px; height: 75px; top: -38px; right: 18px; }

.cloud-6 {
    width: 150px; height: 48px;
    bottom: 15%;
    left: 15%;
    animation: drift 42s linear infinite;
    opacity: 0.45;
}
.cloud-6::before { width: 65px; height: 65px; top: -28px; left: 18px; }
.cloud-6::after { width: 85px; height: 85px; top: -45px; right: 22px; }

.cloud-7 {
    width: 100px; height: 32px;
    top: 65%;
    left: 60%;
    animation: drift 48s linear infinite;
    opacity: 0.55;
}
.cloud-7::before { width: 40px; height: 40px; top: -16px; left: 10px; }
.cloud-7::after { width: 55px; height: 55px; top: -28px; right: 12px; }

.cloud-8 {
    width: 140px; height: 45px;
    top: 3%;
    right: 40%;
    animation: drift 32s linear infinite;
    opacity: 0.65;
}
.cloud-8::before { width: 60px; height: 60px; top: -25px; left: 15px; }
.cloud-8::after { width: 80px; height: 80px; top: -40px; right: 20px; }

/* Countdown Section */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
}

.countdown-card {
    width: 110px;
    padding: 16px;
    text-align: center;
    flex-grow: 1;
}

.countdown-value {
    font-family: var(--font-headings);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary-hover);
    display: block;
    margin-bottom: 4px;
}

.countdown-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
}

/* Location Section */
.location-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.location-card {
    max-width: 600px;
    width: 100%;
    padding: 40px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: var(--transition-smooth);
}

.location-card:hover {
    transform: translateY(-3px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 8px;
}

.location-card h3 {
    font-size: 1.4rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.address-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.5;
    margin-bottom: 8px;
}

/* Crowdfunding / Main Gifts Section */
.crowd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    margin-top: 20px;
}

.crowd-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.crowd-card:hover {
    transform: translateY(-5px);
}

.card-img-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background: #fff;
    border-bottom: 1px solid rgba(243, 163, 168, 0.15);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.crowd-card:hover .card-img {
    transform: scale(1.05);
}

.card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Progress bar in Soft UI */
.progress-container {
    margin-bottom: 20px;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
    box-shadow: var(--shadow-inset);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: 6px;
    width: 0%;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
}

.stats-percent {
    color: var(--color-primary-hover);
}

.stats-amount {
    color: var(--color-text);
}

/* Donors list */
.donors-list {
    margin-top: 20px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    padding-top: 16px;
}

.donors-list h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.donors-list ul {
    list-style: none;
    max-height: 120px;
    overflow-y: auto;
}

.donors-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding: 4px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.donors-list .donor-name {
    font-weight: 600;
}

.donors-list .donor-amount {
    color: var(--color-accent-hover);
    font-weight: 700;
}

.empty-list-msg {
    color: var(--color-text-light);
    font-style: italic;
}

/* Wishlist Section */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.wishlist-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.wishlist-card:hover {
    transform: translateY(-5px);
}

.wish-img-container {
    width: 100%;
    height: 220px;
    background: #fff;
    overflow: hidden;
    border-bottom: 1px solid rgba(243, 163, 168, 0.15);
}

.wish-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.wishlist-card:hover .wish-img {
    transform: scale(1.05);
}

.wish-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.wish-content h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.wish-desc {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

.booking-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 16px;
}

/* Custom Checkbox (Soft UI Style) */
.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    user-select: none;
    padding-left: 30px;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    box-shadow: var(--shadow-inset);
    transition: var(--transition-fast);
}

.checkbox-container:hover input ~ .checkmark {
    background-color: rgba(243, 163, 168, 0.1);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--color-success);
    box-shadow: 0 3px 10px rgba(136, 195, 153, 0.4);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    transition: var(--transition-fast);
}

.checkbox-container input:checked ~ .checkbox-text {
    color: var(--color-text-light);
    text-decoration: line-through;
}

.booking-status {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 10px;
    text-transform: uppercase;
}

.status-free {
    background: rgba(136, 195, 153, 0.15);
    color: #559368;
}

.status-busy {
    background: rgba(242, 147, 147, 0.15);
    color: #c95d5d;
}

.status-busy-other {
    background: rgba(0, 0, 0, 0.06);
    color: var(--color-text-light);
}

/* Gray filter on card when booked */
.wishlist-card.booked {
    opacity: 0.75;
}

.wishlist-card.booked-by-other {
    opacity: 0.55;
    pointer-events: none;
    cursor: not-allowed;
    filter: grayscale(40%);
}

/* RSVP Section & Form */
.rsvp-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 48px 32px;
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
}

.form-control {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-inset);
}

.form-control:focus {
    border-color: var(--color-primary);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(243, 163, 168, 0.25);
}

/* Radio buttons */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.radio-container {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    user-select: none;
    padding-left: 28px;
}

.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radiomark {
    position: absolute;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    box-shadow: var(--shadow-inset);
    transition: var(--transition-fast);
}

.radio-container:hover input ~ .radiomark {
    background-color: rgba(243, 163, 168, 0.1);
}

.radio-container input:checked ~ .radiomark {
    background-color: var(--color-primary);
    box-shadow: 0 3px 8px rgba(243, 163, 168, 0.4);
}

.radiomark:after {
    content: "";
    position: absolute;
    display: none;
}

.radio-container input:checked ~ .radiomark:after {
    display: block;
}

.radio-container .radiomark:after {
    left: 7px;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
}

/* Success message on form submit */
.success-message {
    display: none;
    text-align: center;
    padding: 32px 16px;
    animation: scaleUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

.success-message h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--color-text);
}

.success-message p {
    color: var(--color-text-light);
    margin-bottom: 24px;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(243, 163, 168, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    width: 90%;
    max-width: 450px;
    padding: 32px;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 1.8rem;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--color-text-light);
    line-height: 1;
    transition: var(--transition-fast);
    padding: 4px;
}

.modal-close:hover {
    color: var(--color-text);
}

.modal-title {
    font-size: 1.6rem;
    margin-bottom: 8px;
    text-align: center;
}

.modal-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    text-align: center;
    margin-bottom: 24px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 60px 20px;
    border-top: 1px solid rgba(243, 163, 168, 0.15);
    background: rgba(255, 255, 255, 0.3);
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 12px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes floatUp {
    from {
        transform: translateY(0) rotate(-2deg);
    }
    to {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes drift {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(110vw);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .parallax-scene {
        height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 50px 16px;
        box-sizing: border-box;
    }
    
    .parallax-layer {
        position: relative;
        width: 100%;
        height: auto;
        display: block;
        transform: none !important; /* Отключаем JS-трансформации на мобильных */
    }
    
    .layer-bg, .layer-clouds-back, .layer-decorations-fore {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
    }
    
    .layer-text { z-index: 3; }
    .layer-decorations-fore { z-index: 1; }
    .layer-baby { z-index: 4; }
    .layer-forefront { z-index: 5; }
    
    .hero-text-content {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        max-width: 100%;
        padding: 0;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-date-box {
        justify-content: center;
    }
    
    .baby-cutout-container {
        width: 100%;
        margin-right: auto;
        margin-left: auto;
        height: 46vh;
        margin-top: 15px;
    }
    
    .hero-cta-box {
        position: relative;
        bottom: auto;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        width: 100%;
        box-shadow: none;
        padding: 20px;
        background: rgba(255, 255, 255, 0.6);
        margin-top: 15px;
    }
    
    .hero-btns-wrapper {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .hero-countdown {
        justify-content: center;
    }
    
    .hero-location-info {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 12px;
    }
    
    .loc-icon {
        font-size: 1.4rem;
    }
    
    .btn-mini {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .countdown-container {
        gap: 8px;
    }

    .hero-title {
        font-size: 2.2rem;
    }
}
