  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        :root {
            --page-bg: #f0f0f2; --card-bg: #ffffff; --surface-2: #f7f7f9; --border: #e5e5ea;
            --text: #1d1d1f; --text-secondary: #6e6e73; --accent: #ff5a3c; --accent-hover: #e04e32;
            --accent-glow: rgba(255, 90, 60, 0.08); --green: #1a9c5e; --green-bg: rgba(26, 156, 94, 0.06);
            --radius: 20px; --radius-sm: 12px;
        }
        html { scroll-behavior: smooth; }
        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--page-bg); color: var(--text); line-height: 1.6;
            -webkit-font-smoothing: antialiased; min-height: 100vh;
            display: flex; flex-direction: column; align-items: center; padding: 24px 16px;
        }
        .frame {
            background: var(--card-bg); border-radius: var(--radius);
            box-shadow: 0 2px 16px rgba(0,0,0,0.06), 0 0 0 1px var(--border);
            max-width: 640px; width: 100%; overflow: hidden;
        }
        .frame-inner { padding: 36px 28px 40px; }
        
        /* === НАВИГАЦИЯ === */
        .top-nav {
            display: flex; flex-wrap: wrap; gap: 8px;
            margin-bottom: 28px; padding-bottom: 20px;
            border-bottom: 1px solid var(--border);
        }
        .nav-link {
            padding: 8px 16px; border-radius: var(--radius-sm);
            font-size: 14px; font-weight: 600; color: var(--text-secondary);
            text-decoration: none; background: var(--surface-2);
            transition: all 0.2s ease; border: 1px solid transparent;
        }
        .nav-link:hover { 
            background: var(--accent-glow); color: var(--accent); 
            border-color: rgba(255,90,60,0.15);
        }
        .nav-link.active { background: var(--accent); color: #ffffff; }
        .nav-link.active:hover { background: var(--accent-hover); color: #ffffff; }

        .hero { text-align: center; margin-bottom: 28px; }
        .badge {
            display: inline-flex; align-items: center; gap: 6px;
            padding: 6px 14px; background: var(--accent-glow);
            border: 1px solid rgba(255,90,60,0.15); border-radius: 100px;
            font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 20px;
        }
        .badge::before {
            content: ''; width: 6px; height: 6px; background: var(--accent);
            border-radius: 50%; animation: pulse-dot 2s infinite;
        }
        @keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:0.3} }
        h1 { font-size: clamp(22px,6vw,32px); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 10px; }
        h1 span { color: var(--accent); }
        .subtitle { font-size: 15px; color: var(--text-secondary); max-width: 420px; margin: 0 auto; line-height: 1.5; }
        
        .steps { margin-bottom: 28px; text-align: left; }
        .policy-section { margin-bottom: 24px; }
        .policy-section h2 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
        .step-text { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
        .step-text a { color: var(--accent); text-decoration: none; font-weight: 500; }
        .step-text a:hover { text-decoration: underline; }
        
        .footer {
            padding-top: 20px; border-top: 1px solid var(--border); text-align: center;
            font-size: 12px; color: var(--text-secondary);
        }
        .footer a { color: var(--text-secondary); text-decoration: none; margin: 0 4px; }
        .footer a:hover { color: var(--text); }
        .policy-note { font-size: 12px; color: var(--text-secondary); margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border); line-height: 1.5; }
        
        @media (max-width: 480px) {
            body { padding: 12px 8px; }
            .frame-inner { padding: 24px 18px 32px; }
            h1 { font-size: 22px; }
            .top-nav { gap: 6px; }
            .nav-link { padding: 6px 12px; font-size: 13px; flex: 1 1 calc(50% - 6px); text-align: center; }
        }
        
        
/* upd */

.promo-box{
    display:flex;
    align-items:center;
    gap:12px;
    background:var(--surface-2,#f5f5f7);
    border:1px solid var(--border,#e5e5ea);
    border-radius:12px;
    padding:16px 20px;
    margin:20px 0;
    flex-wrap:wrap;
    justify-content:center;
}
.promo-code{
    font-family:'Inter',sans-serif;
    font-size:28px;
    font-weight:800;
    letter-spacing:2px;
    color:var(--accent,#ff3b30);
    user-select:all;
}
.copy-btn{
    background:var(--accent,#ff3b30);
    color:#fff;
    border:none;
    padding:12px 20px;
    border-radius:8px;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:background 0.2s, transform 0.1s;
    font-family:'Inter',sans-serif;
}
.copy-btn:hover{background:#e6352b}
.copy-btn:active{transform:scale(0.97)}
.copy-btn.copied{background:#28a745}
.guides-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:12px;
    margin-top:16px;
}
.guide-card{
    display:block;
    padding:14px 16px;
    background:var(--surface-2,#f5f5f7);
    border:1px solid var(--border,#e5e5ea);
    border-radius:10px;
    color:var(--text,#1d1d1f);
    text-decoration:none;
    font-weight:500;
    transition:border-color 0.2s, background 0.2s;
    font-size:15px;
}
.guide-card:hover{border-color:var(--accent,#ff3b30);background:#fff}
.guide-card .emoji{margin-right:8px}

/* Обновлённые стили для кнопки "Наверх" */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent, #ff3b30);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    
    /* Скрыта по умолчанию */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px);
    
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 1000;
}

/* Класс для отображения кнопки */
.back-to-top.is-visible {
    opacity: 0.9;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top.is-visible:hover {
    opacity: 1;
    transform: translateY(-3px);
}

html{scroll-behavior:smooth}
.bonus-alert{
    border-left:4px solid #28a745;
    background:linear-gradient(to right, rgba(40,167,69,0.05), transparent);
}
/* Стили для раскрывающихся блоков */
.collapsible-section {
    background: var(--surface-2, #f5f5f7);
    border: 1px solid var(--border, #e5e5ea);
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}
.collapsible-section summary {
    padding: 16px;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}
.collapsible-section summary:hover {
    background: rgba(0,0,0,0.02);
}
.collapsible-section summary::-webkit-details-marker {
    display: none;
}
.collapsible-section summary::after {
    content: '▼';
    font-size: 12px;
    color: var(--accent, #ff3b30);
    transition: transform 0.3s;
}
.collapsible-section[open] summary::after {
    transform: rotate(180deg);
}
.collapsible-section .step-text {
    padding: 0 16px 16px 16px;
    margin: 0;
    border-top: 1px solid var(--border, #e5e5ea);
    padding-top: 12px;
    color: var(--text, #1d1d1f);
}