/* ===== ВСЕ СТИЛИ ОСТАЮТСЯ БЕЗ ИЗМЕНЕНИЙ ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: #0B0B0B;
    color: #EAE7E0;
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease;
}
:root { --gold: #D4AF37; --gold-light: #E8D5A5; --gold-dark: #9A7B3A; }
body.light { background: #F7F5F0; color: #1C1B1A; }
body.light .post-card,
body.light .modal-content,
body.light .streaming-grid a,
body.light .referrals-bar { background: rgba(255,255,255,0.96); border-color: rgba(0,0,0,0.08); }
body.light .nav-link { color: #1C1B1A; }
body.light .nav-link.active { color: var(--gold); }
.container { max-width: 1280px; margin: 0 auto; padding: 2.5rem 3rem; }
@keyframes fadeInUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes scaleIn { from { transform:scale(0.95); opacity:0; } to { transform:scale(1); opacity:1; } }
.post-card, .streaming-grid a, .hero, .subscribe, .social-links, .referrals-bar { animation: fadeInUp 0.5s ease forwards; }
.header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(234,231,224,0.15);
    position: relative;
}
.header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.3;
}
body.light .header { border-bottom-color: rgba(0,0,0,0.1); }
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: inherit;
}
.logo span { font-weight: 500; font-style: italic; color: var(--gold); transition: 0.2s; }
.logo:hover span { text-shadow: 0 0 8px rgba(212,175,55,0.5); }
.tagline { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 0.3rem; opacity: 0.6; }
.nav { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; }
.nav-link {
    background: none;
    border: none;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    color: #EAE7E0;
    opacity: 0.7;
    transition: 0.2s;
    font-weight: 400;
    text-decoration: none;
}
.nav-link.active { opacity: 1; color: var(--gold); }
.theme-btn {
    background: none;
    border: 1px solid rgba(234,231,224,0.3);
    padding: 0.4rem 1rem;
    border-radius: 40px;
    cursor: pointer;
    font-size: 0.75rem;
    color: inherit;
    transition: 0.2s;
}
.theme-btn:hover { border-color: var(--gold); }
.hero { margin-bottom: 4rem; text-align: center; }
.hero-eyebrow { font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 1rem; opacity: 0.5; }
.hero-main { font-family: 'Playfair Display', serif; font-size: 3.5rem; font-weight: 400; line-height: 1.2; max-width: 800px; margin: 0 auto 1rem; letter-spacing: -0.02em; }
.content-pane { display: none; animation: fadeIn 0.4s ease; }
.content-pane.active-pane { display: block; }
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2.5rem; margin: 2rem 0; }
.post-card {
    background: rgba(20,20,20,0.8);
    border: 1px solid rgba(234,231,224,0.1);
    padding: 1.8rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 12px 24px rgba(0,0,0,0.3); border-color: var(--gold); }
body.light .post-card:hover { box-shadow: 0 12px 24px rgba(0,0,0,0.1); }
.post-date { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.5; margin-bottom: 1rem; }
.post-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 400; margin-bottom: 1rem; line-height: 1.3; letter-spacing: -0.02em; }
.post-excerpt { font-size: 0.9rem; opacity: 0.8; margin-bottom: 1.2rem; }
.post-excerpt::after { content: ' ✧'; color: var(--gold); opacity: 0.7; }
.read-more-link {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    background: none;
    border: none;
    cursor: pointer;
    margin-top: 0.5rem;
    display: inline-block;
    text-decoration: none;
}
.streaming-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; margin: 2rem 0 2rem; }
.streaming-grid a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: #1a1a1a;
    width: 100px;
    padding: 0.8rem 0.3rem;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(212,175,55,0.3);
    transition: 0.2s;
    text-align: center;
}
.streaming-grid a:hover { border-color: var(--gold); transform: translateY(-4px); background: #252525; box-shadow: 0 4px 12px rgba(212,175,55,0.2); }
body.light .streaming-grid a { background: #e8e4dc; }
body.light .streaming-grid a:hover { background: #ddd6cc; }
.service-logo { width: 48px; height: 48px; object-fit: contain; display: block; margin: 0 auto; }
.service-name { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.02em; opacity: 0.8; }
.referrals-bar {
    margin: 2rem 0 1rem;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(234,231,224,0.1);
    border-bottom: 1px solid rgba(234,231,224,0.1);
    text-align: center;
    position: relative;
}
.referrals-bar::before,
.social-links::before,
.subscribe::before {
    content: '✦';
    position: absolute;
    top: -1.2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    opacity: 0.3;
    color: var(--gold);
}
.referrals-bar span { font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.4; margin-right: 1rem; }
.referrals-bar a { color: var(--gold); text-decoration: none; font-size: 0.7rem; margin: 0 0.8rem; transition: 0.2s; opacity: 0.7; }
.referrals-bar a:hover { opacity: 1; text-decoration: underline; }
.map-placeholder {
    background: rgba(15,15,15,0.7);
    backdrop-filter: blur(4px);
    padding: 2.5rem;
    text-align: center;
    margin: 2rem 0;
    border-radius: 32px;
    border: 1px solid rgba(212,175,55,0.25);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}
.map-placeholder:hover { border-color: rgba(212,175,55,0.5); box-shadow: 0 12px 32px rgba(212,175,55,0.1); }
body.light .map-placeholder { background: rgba(240,235,225,0.8); border-color: rgba(212,175,55,0.35); box-shadow: 0 8px 20px rgba(0,0,0,0.05); }
body.light .map-placeholder:hover { border-color: rgba(212,175,55,0.6); }
.map-placeholder li { margin: 0.8rem 0; font-size: 0.9rem; opacity: 0.85; position: relative; padding-left: 1.2rem; transition: 0.2s; text-align: left; list-style: none; }
.map-placeholder li::before { content: '▸'; color: var(--gold); position: absolute; left: 0; transition: 0.2s; }
.map-placeholder li:hover { opacity: 1; transform: translateX(4px); }
.map-placeholder li:hover::before { transform: scale(1.1); }
.map-emoji { font-size: 2.2rem; margin-bottom: 0.5rem; }
.map-subtitle { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.5; margin-bottom: 1rem; }
.map-text-container { max-width: 500px; margin: 0 auto; }
.map-list-container { max-width: 400px; margin: 1.5rem auto 0; text-align: left; }
.social-links {
    margin: 2rem 0 1rem;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(234,231,224,0.1);
    border-bottom: 1px solid rgba(234,231,224,0.1);
    text-align: center;
    position: relative;
}
.social-links span { font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.4; margin-right: 1rem; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; margin: 0 0.6rem; opacity: 0.7; transition: 0.2s; text-decoration: none; }
.social-links a:hover { opacity: 1; transform: translateY(-2px); }
.social-icon { width: 20px; height: 20px; display: block; filter: brightness(0) saturate(100%) invert(58%) sepia(8%) saturate(380%) hue-rotate(15deg) brightness(95%) contrast(88%); transition: filter 0.2s; }
.social-links a:hover .social-icon { filter: brightness(0) saturate(100%) invert(67%) sepia(48%) saturate(680%) hue-rotate(2deg) brightness(95%) contrast(92%); }
body.light .social-icon { filter: brightness(0) saturate(100%) invert(58%) sepia(8%) saturate(380%) hue-rotate(15deg) brightness(95%) contrast(88%); }
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(2px);
    z-index: 1100;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal.open {
    opacity: 1;
}
.modal.closing {
    opacity: 0;
}
.modal-content {
    background: #121212;
    max-width: 1100px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    border: 1px solid rgba(212,175,55,0.3);
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.modal.open .modal-content {
    opacity: 1;
    transform: scale(1);
}
body.light .modal-content { background: #fff; }
.modal-close { position: absolute; top: 0.8rem; right: 1.2rem; font-size: 1.8rem; cursor: pointer; background: none; border: none; color: inherit; z-index: 10; }
.modal-layout { display: flex; gap: 2rem; align-items: flex-start; }
.modal-layout.vertical { flex-direction: row; }
.modal-layout.vertical .video-side { flex: 0 0 auto; width: 320px; }
.modal-layout.horizontal { flex-direction: column; }
.modal-layout.horizontal .video-side { width: 100%; max-width: 800px; margin: 0 auto; }
.modal-layout.no-video { flex-direction: column; align-items: center; }
.modal-layout.no-video .text-side { max-width: 700px; margin: 0 auto; text-align: center; }
.video-container { position: relative; background: #000; border-radius: 0.75rem; overflow: hidden; }
.video-container iframe { display: block; width: 100%; height: auto; border: none; }
.modal-layout.vertical .video-container iframe { aspect-ratio: 9 / 16; max-height: 70vh; }
.modal-layout.horizontal .video-container iframe { aspect-ratio: 16 / 9; width: 100%; }
.modal-date { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; margin-bottom: 0.5rem; }
.modal-title { font-family: 'Playfair Display', serif; font-size: 1.8rem; margin-bottom: 1rem; line-height: 1.3; color: var(--gold); }
.modal-text { font-size: 0.95rem; line-height: 1.6; opacity: 0.9; }
.modal-hashtags { margin-top: 1.5rem; font-size: 0.7rem; letter-spacing: 0.05em; opacity: 0.6; }
.subscribe { margin: 4rem 0 2rem; text-align: center; border-top: 1px solid rgba(234,231,224,0.15); padding-top: 2.5rem; position: relative; }
.subscribe h4 { letter-spacing: 0.2em; font-size: 0.7rem; }
.sub-form { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }
.sub-form input { background: transparent; border: 1px solid rgba(234,231,224,0.3); padding: 0.7rem 1rem; width: 240px; color: inherit; transition: 0.2s; }
.sub-form input:focus { border-color: var(--gold); outline: none; }
.sub-form button { background: var(--gold); border: none; padding: 0.7rem 1.5rem; cursor: pointer; color: #0B0B0B; font-weight: 500; transition: 0.2s; }
.sub-form button:hover { background: var(--gold-light); transform: translateY(-1px); }
footer { text-align: center; font-size: 0.7rem; opacity: 0.5; padding: 2rem 0; }
footer a { color: var(--gold); text-decoration: none; font-size: 0.65rem; opacity: 0.6; transition: 0.2s; }
footer a:hover { opacity: 1; text-decoration: underline; }
@keyframes fadeIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }
.about-wrapper {
    background: rgba(15,15,15,0.5);
    backdrop-filter: blur(4px);
    padding: 2.5rem;
    margin: 2rem 0;
    border-radius: 32px;
    border: 1px solid rgba(212,175,55,0.25);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
body.light .about-wrapper {
    background: rgba(240,235,225,0.8);
    border-color: rgba(212,175,55,0.35);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
.about-text { font-size: 0.95rem; line-height: 1.7; opacity: 0.9; }
.about-text p { margin-bottom: 1.2rem; }
.about-signature { margin-top: 2rem; font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--gold); }
.silence-breath { margin: 2.5rem 0 1.5rem; text-align: center; padding: 1rem; border-radius: 48px; background: rgba(212,175,55,0.03); }
.silence-label { font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.4; margin-bottom: 1.5rem; }
.pulse-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: radial-gradient(circle, rgba(212,175,55,0.7) 0%, rgba(212,175,55,0.1) 80%);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(212,175,55,0.4);
    animation: breathe 6s ease-in-out infinite;
    cursor: pointer;
}
@keyframes breathe {
    0% { transform: scale(0.88); opacity: 0.6; box-shadow: 0 0 15px rgba(212,175,55,0.3); }
    50% { transform: scale(1.08); opacity: 1; box-shadow: 0 0 40px rgba(212,175,55,0.6); }
    100% { transform: scale(0.88); opacity: 0.6; box-shadow: 0 0 15px rgba(212,175,55,0.3); }
}
.silence-quote { margin-top: 1.2rem; font-size: 0.75rem; font-style: italic; opacity: 0.6; transition: opacity 0.3s ease; min-height: 50px; }
.silence-hint { margin-top: 0.8rem; font-size: 0.6rem; opacity: 0.3; letter-spacing: 0.05em; text-transform: uppercase; }
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem 0 2rem;
    flex-wrap: wrap;
}
.pagination a, .pagination button, .pagination-dots {
    background: transparent;
    border: 1px solid rgba(234,231,224,0.2);
    color: #EAE7E0;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: 0.2s;
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
}
.pagination-dots {
    border: none;
    cursor: default;
    padding: 0.5rem 0.3rem;
}
body.light .pagination a, body.light .pagination button, body.light .pagination-dots {
    color: #1C1B1A;
    border-color: rgba(0,0,0,0.15);
}
.pagination a:hover, .pagination button:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.pagination a.active, .pagination button.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #0B0B0B;
}
.pagination .page-numbers {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
}
#cookieConsent {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0B0B0B;
    border-top: 1px solid rgba(212,175,55,0.3);
    padding: 1rem 2rem;
    z-index: 9999;
    backdrop-filter: blur(8px);
    font-size: 0.8rem;
}
.cookieConsent-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.cookieConsent-text { flex: 1; }
.cookieConsent-text span { color: var(--gold); font-weight: 500; }
.cookieConsent-text p { margin-top: 0.25rem; opacity: 0.7; font-size: 0.7rem; }
.cookieConsent-buttons { display: flex; gap: 0.75rem; }
#acceptCookies { background: var(--gold); border: none; padding: 0.5rem 1.2rem; border-radius: 40px; cursor: pointer; color: #0B0B0B; font-weight: 500; }
#declineCookies { background: transparent; border: 1px solid rgba(212,175,55,0.5); padding: 0.5rem 1.2rem; border-radius: 40px; cursor: pointer; color: inherit; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
@media (max-width:800px) {
    .container { padding: 1.2rem; }
    .hero-main { font-size: 2.2rem; }
    .post-title { font-size: 1.2rem; }
    .modal-layout.vertical { flex-direction: column; }
    .modal-layout.vertical .video-side { width: 100%; max-width: 280px; margin: 0 auto; }
}

/* =========================================================
   ДОПОЛНИТЕЛЬНЫЕ СТРАНИЦЫ (общий внешний CSS для всех страниц)
   Стили изолированы через классы body-страниц, чтобы не
   затрагивать главную страницу (index.html).
   ========================================================= */

/* ---------- Общие элементы ---------- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.back-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 0.7rem;
    color: var(--gold);
    text-decoration: none;
    opacity: 0.7;
    transition: 0.2s;
}
.back-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Кнопка темы в правом верхнем углу для отдельных страниц */
body.error-page .theme-btn,
body.privacy-page .theme-btn,
body.megafon-page .theme-btn,
body.eda-page .theme-btn {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
}

/* ---------- Страница 404 (body.error-page) ---------- */
body.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.error-container {
    max-width: 600px;
    text-align: center;
    padding: 2rem;
    background: rgba(15, 15, 15, 0.5);
    backdrop-filter: blur(4px);
    border-radius: 32px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    animation: fadeInUp 0.5s ease;
}
body.error-page.light .error-container { background: rgba(240, 235, 225, 0.7); }
.error-code {
    font-size: 8rem;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}
.error-title {
    font-size: 1.3rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 1.5rem;
}
.error-message {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
body.error-page .pulse-circle {
    width: 80px;
    height: 80px;
    margin: 1.5rem auto;
    background: radial-gradient(circle, rgba(212,175,55,0.6) 0%, rgba(212,175,55,0.05) 70%);
    border-radius: 50%;
    animation: breathe 4s ease-in-out infinite;
}
.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}
.nav-links a {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 40px;
    transition: 0.2s;
}
.nav-links a:hover { border-color: var(--gold); background: rgba(212, 175, 55, 0.1); }

/* ---------- Страница политики (body.privacy-page) ---------- */
body.privacy-page { padding: 2rem; }
body.privacy-page .container { max-width: 800px; }
body.privacy-page h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--gold);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}
body.privacy-page h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 400;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--gold);
}
body.privacy-page p { margin-bottom: 0.75rem; opacity: 0.85; }
body.privacy-page a { color: var(--gold); text-decoration: underline; }
body.privacy-page hr {
    margin: 1.5rem 0;
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.3;
}
body.privacy-page .update-note { font-size: 0.75rem; opacity: 0.5; }

/* ---------- Страница Мегафон (body.megafon-page) ---------- */
body.megafon-page {
    --green: #2E7D32;
    --green-light: #4CAF50;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}
body.megafon-page::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(0, 128, 0, 0.08) 0%, rgba(0, 0, 0, 0.95) 90%);
    pointer-events: none;
    z-index: 0;
}
body.megafon-page.light::before {
    background: radial-gradient(circle at 10% 20%, rgba(0, 128, 0, 0.05) 0%, rgba(247, 245, 240, 0.95) 90%);
}
.tariff-card {
    max-width: 650px;
    width: 100%;
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 48px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease;
    position: relative;
    z-index: 2;
}
body.megafon-page.light .tariff-card {
    background: rgba(240, 235, 225, 0.85);
    border-color: rgba(212, 175, 55, 0.4);
}
.tariff-card:hover { border-color: rgba(212, 175, 55, 0.6); box-shadow: 0 12px 32px rgba(212, 175, 55, 0.1); }
.logo-container { display: flex; justify-content: center; align-items: center; margin: 1rem 0 0.5rem 0; }
.logo-img { width: 400px; max-width: 90%; height: auto; object-fit: contain; }
.tariff-name { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.5; margin-bottom: 1.5rem; }
.price { font-size: 2.8rem; font-weight: 700; color: var(--green-light); margin: 1rem 0; }
.price span { font-size: 1rem; font-weight: 400; opacity: 0.7; }
.features { background: rgba(212, 175, 55, 0.05); border-radius: 32px; padding: 1.5rem; margin: 1.5rem 0; text-align: left; }
.feature-item { display: flex; align-items: center; gap: 0.75rem; margin: 0.8rem 0; font-size: 0.95rem; }
.feature-icon { font-size: 1.3rem; min-width: 32px; }
.info-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 0.85rem; margin: 0.5rem 0; padding: 0.5rem; border-bottom: 1px dashed rgba(212, 175, 55, 0.2); }
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gold);
    border: none;
    padding: 0.8rem 2rem;
    margin-top: 1rem;
    border-radius: 60px;
    cursor: pointer;
    color: #0B0B0B;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.2s;
    text-decoration: none;
}
.contact-btn:hover { background: var(--gold-light); transform: translateY(-2px); }
.telegram-note { font-size: 0.65rem; opacity: 0.4; margin-top: 1rem; }

/* ---------- Страница Яндекс.Еда (body.eda-page) ---------- */
body.eda-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.promo-card {
    max-width: 600px;
    width: 100%;
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 32px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease;
}
body.eda-page.light .promo-card { background: rgba(240, 235, 225, 0.85); border-color: rgba(212, 175, 55, 0.4); }
.promo-card:hover { border-color: rgba(212, 175, 55, 0.6); box-shadow: 0 12px 32px rgba(212, 175, 55, 0.1); }
.logo-icon { font-size: 3rem; margin-bottom: 0.5rem; }
body.eda-page .service-name { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.5; margin-bottom: 1.5rem; }
.promo-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 400; color: var(--gold); margin-bottom: 1rem; }
.offer-text { font-size: 0.85rem; opacity: 0.7; margin-bottom: 1.5rem; }
.offer-text-small { font-size: 0.75rem; opacity: 0.7; margin-bottom: 1.5rem; }
.promo-code {
    background: rgba(212, 175, 55, 0.1);
    border: 2px dashed var(--gold);
    border-radius: 20px;
    padding: 1.2rem;
    margin: 1.5rem 0;
    transition: 0.2s;
    animation: pulse 2s ease-in-out infinite;
}
.promo-code:hover { background: rgba(212, 175, 55, 0.15); }
.promo-code-label { font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.5; margin-bottom: 0.5rem; }
.promo-code-value { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 600; letter-spacing: 0.05em; color: var(--gold); word-break: break-word; }
.copy-btn {
    background: var(--gold);
    border: none;
    padding: 0.6rem 1.8rem;
    margin-top: 0.8rem;
    border-radius: 40px;
    cursor: pointer;
    color: #0B0B0B;
    font-weight: 500;
    font-size: 0.75rem;
    transition: 0.2s;
}
.copy-btn:hover { background: var(--gold-light); transform: translateY(-2px); }
.copy-btn.copied { background: #4CAF50; color: white; }
.terms { font-size: 0.65rem; opacity: 0.4; margin-top: 1rem; }
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* ---------- Адаптивность дополнительных страниц ---------- */
@media (max-width: 550px) {
    body.error-page .error-code { font-size: 5rem; }
    body.error-page .error-title { font-size: 1rem; }
    body.error-page .pulse-circle { width: 60px; height: 60px; }
    body.megafon-page .tariff-card { padding: 1.5rem; }
    body.megafon-page .price { font-size: 2rem; }
    body.megafon-page .logo-img { width: 300px; }
    body.eda-page .promo-card { padding: 1.5rem; }
    body.eda-page .promo-code-value { font-size: 1.5rem; }
    body.eda-page .promo-title { font-size: 1.2rem; }
}
@media (max-width: 600px) {
    body.privacy-page { padding: 1rem; }
    body.privacy-page h1 { font-size: 1.6rem; }
    body.privacy-page h2 { font-size: 1.1rem; }
}