/* Новогодний стиль лендинга */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-gradient: linear-gradient(180deg, #fafdff 0%, #f2f7ff 50%, #ffffff 100%);
    --candy-gradient: repeating-linear-gradient(135deg, #e63946 0 14px, #fff5f2 14px 28px, #2d6a4f 28px 42px);
    --frost-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.65) 100%);
    --accent-red: #d62828;
    --accent-green: #2d6a4f;
    --accent-gold: #c88f00;
    --glow-blue: #74c0fc;
    --text-primary: #1f2d3d;
    --text-secondary: rgba(31, 45, 61, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(45, 106, 79, 0.12);
    --shadow-sm: 0 4px 16px rgba(31, 45, 61, 0.12);
    --shadow-md: 0 12px 28px rgba(31, 45, 61, 0.18);
    --shadow-lg: 0 18px 40px rgba(31, 45, 61, 0.25);
    --shadow-xl: 0 26px 70px rgba(31, 45, 61, 0.32);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    position: relative;
    overflow-x: hidden;
    padding: 14px;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(116, 192, 252, 0.18) 0%, transparent 36%),
        radial-gradient(circle at 82% 12%, rgba(214, 57, 70, 0.16) 0%, transparent 34%),
        radial-gradient(circle at 48% 78%, rgba(45, 106, 79, 0.18) 0%, transparent 36%);
    animation: backgroundShift 16s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1.5px 1.5px at 70% 20%, rgba(255, 255, 255, 0.85), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1px 1px at 80% 60%, rgba(255, 255, 255, 0.8), transparent);
    opacity: 0.8;
    animation: snowfall 22s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.85; transform: translateY(-6px); }
}

@keyframes snowfall {
    0% { transform: translateY(-10px); }
    100% { transform: translateY(40px); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 209, 102, 0.55); }
    50% { box-shadow: 0 0 0 14px rgba(255, 209, 102, 0); }
}

.product-section,
.description-section,
.reviews-section,
.how-to-order,
.order-form-section {
    position: relative;
    z-index: 1;
}

.product-section {
    padding: 32px 20px 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(45, 106, 79, 0.08);
    border-radius: 22px;
    box-shadow: var(--shadow-md);
}

.product-title,
.section-title {
    font-size: clamp(24px, 5vw, 32px);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 12px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, #fff7d1 0%, #ffd166 60%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: fadeInDown 0.8s ease;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 68px;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-gold), var(--accent-green));
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(255, 209, 102, 0.35);
}

.festive-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 22px;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.product-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
    position: relative;
    animation: fadeInUp 0.9s ease;
}

.product-image-container::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: var(--frost-gradient);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 38px;
    filter: blur(14px);
    z-index: 0;
    opacity: 0.8;
}

.product-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
    border: 3px solid rgba(45, 106, 79, 0.12);
    background: rgba(255, 255, 255, 0.9);
}

.price-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(244, 250, 255, 0.92) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    padding: 22px 18px;
    border-radius: 22px;
    box-shadow: 0 18px 36px rgba(31, 45, 61, 0.18);
    margin: 24px auto;
    width: 95%;
    position: relative;
    overflow: hidden;
}

.price-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(214, 40, 40, 0.1), transparent 45%),
                radial-gradient(circle at 80% 70%, rgba(45, 106, 79, 0.12), transparent 45%);
    opacity: 0.8;
}

.old-price,
.new-price {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.price-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 6px;
    letter-spacing: 0.8px;
}

.price-strikethrough {
    font-size: 22px;
    font-weight: 700;
    text-decoration: line-through;
    color: rgba(31, 45, 61, 0.4);
}

.new-price {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
    background: linear-gradient(120deg, rgba(255, 209, 102, 0.14), rgba(76, 201, 240, 0.08));
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(200, 143, 0, 0.55);
    box-shadow: 0 0 20px rgba(200, 143, 0, 0.2);
}

.discount-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d62828, #ff6b6b);
    color: #fff;
    font-weight: 800;
    padding: 10px 14px;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(214, 40, 40, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.price-today {
    font-size: 34px;
    font-weight: 900;
    color: var(--accent-green);
    text-shadow: 0 0 18px rgba(45, 106, 79, 0.35);
    animation: pulseGlow 2.2s ease infinite;
}

.price-note {
    font-size: 13px;
    color: rgba(31, 45, 61, 0.65);
    letter-spacing: 0.3px;
}

.order-button,
.gradient-button {
    display: block;
    text-align: center;
    margin: 28px auto;
    padding: 18px 36px;
    background: linear-gradient(120deg, #e63946 0%, #ff7b7b 45%, #ffe8a3 100%);
    color: #3c0a0a;
    font-size: 19px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 18px;
    width: 92%;
    max-width: 420px;
    border: 2px solid rgba(230, 57, 70, 0.6);
    box-shadow: 0 12px 30px rgba(230, 57, 70, 0.3), 0 8px 22px rgba(255, 232, 163, 0.5);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.order-button::before,
.gradient-button::before {
    content: '❄';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #3c0a0a;
    font-size: 18px;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.7);
}

.order-button::after,
.gradient-button::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.order-button:hover,
.gradient-button:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 16px 38px rgba(230, 57, 70, 0.35), 0 10px 28px rgba(255, 232, 163, 0.55);
    filter: drop-shadow(0 0 12px rgba(255, 232, 163, 0.45));
}

.order-button:hover::after,
.gradient-button:hover::after {
    opacity: 1;
}

.order-button:active,
.gradient-button:active {
    transform: translateY(-1px) scale(0.99);
}

.description-section,
.reviews-section,
.how-to-order,
.order-form-section {
    padding: 36px 20px;
}

.description-item,
.review-main,
.order-step,
.order-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(45, 106, 79, 0.1);
    border-radius: 22px;
    padding: 22px;
    box-shadow: var(--shadow-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.description-item:hover,
.review-main:hover,
.order-step:hover,
.order-form:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 209, 102, 0.5);
}

.description-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 26px;
}

.description-image,
.review-image,
.order-image {
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.description-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.7;
    white-space: pre-line;
}

.reviews-section {
    padding-top: 20px;
}

.review-main {
    margin-bottom: 18px;
}

.review-image {
    display: block;
}

.review-image.active {
    animation: fadeInUp 0.6s ease;
}

.how-to-order {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.order-step {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.95);
}

.order-image {
    width: 78px;
    height: 78px;
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 18px;
}

.order-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.5;
}

.specs-section {
    padding: 36px 20px;
}

.specs-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.specs-item {
    background: var(--frost-gradient);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: var(--shadow-sm);
}

.specs-item--wide {
    grid-column: 1 / -1;
}

.specs-name {
    display: block;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.specs-value {
    display: block;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.6;
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    border-radius: 24px;
}

.order-form label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.order-form input {
    width: 100%;
    padding: 16px 18px;
    font-size: 16px;
    border: 2px solid var(--glass-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.order-form input:focus {
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 4px rgba(255, 209, 102, 0.18);
}

.order-form input::placeholder {
    color: var(--text-secondary);
}

.checkbox-wrapper {
    text-align: left;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-gold);
    cursor: pointer;
    margin-top: 2px;
    flex-shrink: 0;
}

.checkbox-label a {
    color: var(--accent-gold);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.checkbox-label a:hover {
    color: #ffe591;
    text-decoration: underline;
}

.footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 100%);
    padding: 28px 18px 32px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 38px;
    border-radius: 18px 18px 0 0;
    box-shadow: var(--shadow-sm);
}

.footer-links {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 5px 0;
}

.footer-links a:hover {
    color: var(--accent-gold);
    transform: translateX(3px);
}

@media (max-width: 480px) {
    body { padding: 10px; }
    .price-container { flex-direction: column; gap: 14px; }
    .order-step { flex-direction: column; text-align: center; }
    .order-text { text-align: center; }
    .product-image { border-radius: 22px; }
}

