/* СЕКЦИЯ 0: БАЗОВЫЕ СТИЛИ И ПЕРЕМЕННЫЕ */
:root {
    --color-bg: #0d0d0d;
    --color-red: #d90429;
    --color-red-dark: #a4001c;
    --color-white: #FFFFFF;
    --color-text-secondary: #adb5bd;
    --color-glow: rgba(217, 4, 41, 0.6);

    --font-family-headings: 'Exo 2', sans-serif;
    --font-family-base: 'Roboto', sans-serif;
}
/* Live draw panel uses the established red, black and white palette. */
.live-draw-card {
    width: min(100%, 780px);
    background: linear-gradient(135deg, rgba(35, 11, 14, .95), rgba(13, 13, 13, .96));
    border: 1px solid rgba(255, 255, 255, .18);
    border-top: 3px solid var(--color-red);
    border-radius: 16px;
    padding: 1.4rem 1.8rem;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .3);
    text-align: left;
}
.live-draw-top, .live-draw-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.live-draw-top > span { font-size: .95rem; color: var(--color-text-secondary); }
.live-draw-top strong { font: 800 1.6rem var(--font-family-headings); }
.live-draw-date { margin-top: .5rem; font-size: 1.1rem; font-weight: 700; }
.live-draw-values { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.2rem 0; }
.live-draw-values > div { border-left: 2px solid var(--color-red); padding-left: 1rem; min-width: 0; }
.live-draw-values span, .live-draw-values strong { display: block; }
.live-draw-values span { color: var(--color-text-secondary); font-size: .9rem; margin-bottom: .35rem; }
.live-draw-values strong { font: 800 clamp(1.3rem, 2.8vw, 2rem) var(--font-family-headings); }
.live-draw-bottom { padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .12); flex-wrap: wrap; font-size: .8rem; line-height: 1.5; color: var(--color-text-secondary); }
#hero-timer-countdown { color: var(--color-white); font-variant-numeric: tabular-nums; }
.hero-section-links { display: flex; justify-content: center; gap: 1.25rem; flex-wrap: wrap; }
.hero-section-links a { color: var(--color-text-secondary); text-underline-offset: .3em; font-size: .95rem; }
.hero-section-links a:hover { color: var(--color-white); }
.section-note { max-width: 900px; font-size: 1rem; line-height: 1.8; margin-top: 1.5rem; color: var(--color-text-secondary); text-align: left; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.footer-main-text p + p { margin-top: 1rem; }
.footer-main-text a, .footer-main-text a:visited { color: var(--color-white); text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--color-white); outline-offset: 5px; }
section[id] { scroll-margin-top: 1.5rem; }
@media (max-width: 600px) {
    .live-draw-card { padding: 1rem; }
    .live-draw-top { align-items: flex-start; flex-direction: column; gap: .35rem; }
    .live-draw-top strong { font-size: 1.5rem; }
    .live-draw-values { grid-template-columns: 1fr; gap: .9rem; }
    .live-draw-values strong { font-size: 1.65rem; }
    .hero-section-links { gap: .8rem 1.1rem; }
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-family-base); background-color: var(--color-bg); color: var(--color-white); }
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

* {
    -webkit-tap-highlight-color: transparent;
}
/* КОНЕЦ СЕКЦИИ 0 */


/* СЕКЦИЯ 1: ГЛАВНЫЙ ЭКРАН */
@keyframes background-pan {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.hero-section {
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% -20%, var(--color-red-dark) 0%, var(--color-bg) 70%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.background-lines, .background-lines::before, .background-lines::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 4px;
    background: var(--color-red);
    opacity: 0.3;
    animation: slide 20s linear infinite;
}
.background-lines::before { top: 20%; animation-duration: 15s; }
.background-lines::after { top: 60%; animation-duration: 25s; }
@keyframes slide {
    from { transform: translateX(-50%); }
    to { transform: translateX(0%); }
}

.hero-container { position: relative; z-index: 2; }
.hero-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.hero-organizers {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.75rem 2rem;
    border-radius: 30px;
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(5px);
}

.logo-wrapper { margin-top: 1rem; }
.hero-logo-img {
    width: 130px;
    height: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.logo-wrapper:hover .hero-logo-img {
    transform: scale(1.08);
    filter: drop-shadow(0 0 15px var(--color-glow));
}

.hero-main-title {
    font-family: var(--font-family-headings);
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--color-white);
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: 2px;
    text-shadow: 0 5px 30px rgba(0,0,0,0.7);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    line-height: 1.6;
    color: var(--color-text-secondary);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    max-width: 650px;
    font-weight: 400;
}
.hero-subtitle-link {
    color: var(--color-white);
    font-weight: 700;
    text-decoration: none;
    background-image: linear-gradient(var(--color-red), var(--color-red));
    background-size: 0% 2px;
    background-position: 0% 100%;
    background-repeat: no-repeat;
    padding-bottom: 2px;
    transition: background-size 0.3s ease;
}
.hero-subtitle-link:hover {
    background-size: 100% 2px;
}

/* --- БЛОК СЛЕДУЮЩЕГО ТИРАЖА --- */
.next-draw-card {
margin-top: 2rem;
margin-bottom: 1rem;
background: rgba(20, 20, 20, 0.6); /* Полупрозрачный фон */
border: 1px solid rgba(255, 255, 255, 0.15);
border-left: 4px solid var(--color-red); /* Красный акцент слева */
border-radius: 12px;
padding: 1.2rem 2.5rem;
display: inline-flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
backdrop-filter: blur(10px); /* Эффект стекла */
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5),
0 0 20px rgba(217, 4, 41, 0.15); /* Легкое свечение */
animation: drawCardAppear 1s ease-out;
position: relative;
overflow: hidden;
}
/* Блик на фоне */
.next-draw-card::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
pointer-events: none;
}
.next-draw-content {
display: flex;
align-items: baseline;
gap: 10px;
flex-wrap: wrap;
justify-content: center;
position: relative;
z-index: 2;
}
.next-draw-label {
font-family: var(--font-family-headings);
font-size: 1.2rem;
text-transform: uppercase;
color: var(--color-text-secondary);
letter-spacing: 1px;
}
.next-draw-number {
font-family: var(--font-family-headings);
font-size: 2rem;
font-weight: 800;
color: #ffbf00; /* Золотой цвет */
text-shadow: 0 0 15px rgba(255, 191, 0, 0.4);
line-height: 1;
}
.next-draw-date {
font-family: var(--font-family-base);
font-size: 1.1rem;
font-weight: 700;
color: var(--color-white);
letter-spacing: 0.5px;
position: relative;
z-index: 2;
padding-top: 5px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
width: 100%;
text-align: center;
}
/* Анимация появления */
@keyframes drawCardAppear {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
/* Адаптив для мобильных */
@media (max-width: 600px) {
.next-draw-card {
padding: 1rem;
width: 100%;
margin-top: 1.5rem;
}
.next-draw-number { font-size: 1.6rem; }
.next-draw-label { font-size: 1rem; }
}

.hero-cta-wrapper { margin-top: 2rem; }
.cta-button.hero-cta {
    display: inline-block;
    padding: 18px 40px;
    font-family: var(--font-family-headings);
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
    color: var(--color-white);
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
    transition: all 0.3s ease-out;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.cta-button.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}
.cta-button.hero-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px var(--color-glow);
}
.cta-button.hero-cta:hover::before { left: 120%; }

@media (max-width: 768px) {
    .hero-section { min-height: auto; padding: 4rem 1rem; }
    .hero-main-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .cta-button.hero-cta { padding: 16px 24px; font-size: 1.1rem; }
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--color-glow), transparent);
    animation: border-run 4s linear infinite;
    box-shadow: 0 0 15px var(--color-glow);
}

@keyframes border-run {
    0% { left: -100%; }
    100% { left: 100%; }
}
/* КОНЕЦ СЕКЦИИ 1 */
/* СЕКЦИЯ 2: ЧТО ТАКОЕ ЛОТЕРЕЯ ОХОТА */
@keyframes rotating-particles {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.about-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background-color: #1a1a1a;
    background-image: 
        radial-gradient(ellipse at 70% 80%, rgba(217, 4, 41, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 20%, rgba(217, 4, 41, 0.15) 0%, transparent 40%);
    border-top: 1px solid #333;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: 
        radial-gradient(circle at 15% 15%, var(--color-red) 1px, transparent 1.5px),
        radial-gradient(circle at 85% 85%, var(--color-red) 1px, transparent 1.5px);
    background-size: 100px 100px;
    animation: rotating-particles 60s linear infinite;
    opacity: 0.5;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--color-glow), transparent);
    animation: border-run 4s linear infinite;
    box-shadow: 0 0 15px var(--color-glow);
}

.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.about-title {
    font-family: var(--font-family-headings);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    text-shadow: 0 3px 20px rgba(0,0,0,0.5);
    margin-bottom: 1.5rem;
    max-width: 900px;
    line-height: 1.2;
}

.about-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--color-text-secondary);
    max-width: 800px;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.about-text-content {
    max-width: 850px;
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(10,10,10,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
}

.about-text-content p {
    margin-bottom: 1.5rem;
}
.about-text-content p:last-child {
    margin-bottom: 0;
}

.about-cta-wrapper {
    margin-top: 3rem;
}

.cta-button.about-cta {
    display: inline-block;
    padding: 16px 36px;
    font-family: var(--font-family-headings);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
    color: var(--color-white);
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease-out;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.cta-button.about-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}
.cta-button.about-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px var(--color-glow);
}
.cta-button.about-cta:hover::before {
    left: 120%;
}
/* КОНЕЦ СЕКЦИИ 2 */
/* СЕКЦИЯ 3: ПРАВИЛА ИГРЫ */
.rules-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background-color: #3a020d; 
    background-image: 
        radial-gradient(ellipse at 50% 100%, rgba(217, 4, 41, 0.4) 0%, transparent 60%);
    border-top: 1px solid #4f0312;
}

.rules-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--color-glow), transparent);
    animation: border-run 4s linear infinite;
    box-shadow: 0 0 15px var(--color-glow);
}

.rules-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.rules-title {
    font-family: var(--font-family-headings);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: var(--color-white);
    text-shadow: 0 3px 20px rgba(0,0,0,0.5);
    margin-bottom: 1.5rem;
}

.rules-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--color-text-secondary);
    max-width: 800px;
    margin-bottom: 4rem;
    line-height: 1.7;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    perspective: 2000px;
}

.rule-card {
    background: #1c1c1c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: left;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}

.rule-card:hover {
    transform: translateY(-15px) rotateX(5deg) scale(1.05);
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
}

.rule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px; 
    border: 2px solid transparent;
    background: linear-gradient(45deg, var(--color-red), var(--color-red-dark)) border-box;
    -webkit-mask: 
       linear-gradient(#fff 0 0) padding-box, 
       linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out; 
    mask-composite: exclude; 
    opacity: 0;
    transition: opacity 0.4s ease;
}

.rule-card:hover::before {
    opacity: 1;
}

.rule-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1.5rem;
    color: #ffbf00;
    filter: drop-shadow(0 0 10px var(--color-glow));
}

.rule-card h3 {
    font-family: var(--font-family-headings);
    font-size: 1.8rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.rule-card p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.rules-cta-wrapper {
    margin-top: 4rem;
}

.cta-button.rules-cta {
    display: inline-block;
    padding: 16px 36px;
    font-family: var(--font-family-headings);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-red);
    border-radius: 12px;
    box-shadow: 0 0 15px var(--color-glow);
    transition: all 0.3s ease-out;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.cta-button.rules-cta:hover {
    background-color: var(--color-red);
    box-shadow: 0 0 25px var(--color-glow);
    transform: translateY(-5px);
}

@media (max-width: 992px) {
    .rules-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .rules-grid { grid-template-columns: 1fr; }
}
/* КОНЕЦ СЕКЦИИ 3 */
/* СЕКЦИЯ 4: КАК КУПИТЬ БИЛЕТ */
@keyframes rotating-vortex {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.purchase-steps-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background-color: #1a1a1a;
    border-top: 1px solid #333;
}

.vortex-background {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150vmax;
    height: 150vmax;
    background-image:
        radial-gradient(circle at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 40%, #1a1a1a 70%),
        conic-gradient(from 0deg at 50% 50%, 
            transparent 0%, 
            var(--color-red) 5%, 
            transparent 10%,
            transparent 25%,
            var(--color-red) 30%,
            transparent 35%,
            transparent 50%,
            var(--color-red) 55%,
            transparent 60%,
            transparent 80%,
            var(--color-red) 85%,
            transparent 90%
        );
    animation: rotating-vortex 40s linear infinite;
    opacity: 0.25;
}

.purchase-steps-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--color-glow), transparent);
    animation: border-run 4s linear infinite;
    box-shadow: 0 0 15px var(--color-glow);
}

.purchase-steps-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.purchase-steps-title {
    font-family: var(--font-family-headings);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.purchase-steps-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--color-text-secondary);
    max-width: 800px;
    margin-bottom: 4rem;
}

.steps-grid-purchase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
}

.step-card-purchase {
    background: rgba(15, 15, 15, 0.7);
    border: 1px solid rgba(217, 4, 41, 0.5);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-card-purchase:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.step-number-bg {
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: var(--font-family-headings);
    font-size: 10rem;
    font-weight: 800;
    color: rgba(217, 4, 41, 0.1);
    line-height: 1;
    z-index: 1;
    transition: transform 0.4s ease;
}

.step-card-purchase:hover .step-number-bg {
    transform: scale(1.1) rotate(-5deg);
}

.step-card-content {
    position: relative;
    z-index: 2;
}

.step-card-purchase h3 {
    font-family: var(--font-family-headings);
    font-size: 2rem;
    color: #ffbf00;
    margin-bottom: 1rem;
}

.step-card-purchase p {
    color: var(--color-text-secondary);
    line-height: 1.6;
    font-size: 1.1rem;
}

.purchase-steps-cta-wrapper {
    margin-top: 4rem;
}

.cta-button.purchase-steps-cta {
    display: inline-block;
    padding: 16px 36px;
    font-family: var(--font-family-headings);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
    color: var(--color-white);
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease-out;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.cta-button.purchase-steps-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}
.cta-button.purchase-steps-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px var(--color-glow);
}
.cta-button.purchase-steps-cta:hover::before {
    left: 120%;
}
/* КОНЕЦ СЕКЦИИ 4 */
/* ==========================================================================
   СЕКЦИЯ 5: ГЕНЕРАТОР СЧАСТЛИВЫХ ЧИСЕЛ
   ========================================================================== */
@keyframes wave-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.generator-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background-color: #000;
    background-image: 
        radial-gradient(ellipse at 70% 80%, rgba(217, 4, 41, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 20%, rgba(217, 4, 41, 0.2) 0%, transparent 40%);
    background-size: 200% 200%;
    animation: wave-animation 20s ease infinite;
    border-top: 1px solid #333;
}

.generator-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--color-glow), transparent);
    animation: border-run 4s linear infinite;
    box-shadow: 0 0 15px var(--color-glow);
}

.generator-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.generator-title {
    font-family: var(--font-family-headings);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    margin-bottom: 1.5rem;
}

.generator-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--color-text-secondary);
    max-width: 800px;
    margin-bottom: 3rem;
}

.generator-module {
    width: 100%;
    max-width: 900px;
    background: #1c1c1c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.ticket-header { margin-bottom: 2rem; }
.ticket-header h3 { font-family: var(--font-family-headings); font-size: 1.5rem; color: var(--color-white); }
.ticket-header p { color: var(--color-text-secondary); }

.fields-wrapper { display: flex; gap: 2.5rem; justify-content: center; }
.ticket-field { flex: 1; min-width: 0; }
.field-label { display: block; font-weight: 700; margin-bottom: 1rem; color: var(--color-white); }

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.number-ball {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #383838, #1e1e1e);
    border-radius: 50%;
    color: var(--color-white);
    font-weight: 700;
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    box-shadow: 0 5px 10px rgba(0,0,0,0.4);
    transition: all 0.2s ease-out;
    cursor: pointer;
}

.number-ball.selected {
    background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
    transform: scale(1.1);
    box-shadow: 
        inset 0 0 5px rgba(0,0,0,0.4), 
        0 0 20px var(--color-glow);
}

.generator-controls {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
}

.control-btn {
    padding: 12px 24px;
    font-family: var(--font-family-headings);
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}
.control-btn.primary {
    background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
    color: var(--color-white);
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.control-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--color-glow);
}
.control-btn.secondary {
  background-color: transparent;
  color: #FBE215;
  border: 2px solid #df0e0e;
}
.control-btn.secondary:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: var(--color-red);
}

/* Стили для фокуса и отключения синей рамки */
.number-ball, .control-btn {
    -webkit-tap-highlight-color: transparent;
}
.number-ball:focus, .control-btn:focus {
    outline: none;
}
.number-ball:focus-visible, .control-btn:focus-visible {
    box-shadow: 0 0 0 3px #1c1c1c, 0 0 0 5px var(--color-red);
}

.how-to-use {
    margin-top: 3rem;
    background: #1c1c1c;
    padding: 2rem;
    border-radius: 15px;
    max-width: 900px;
    text-align: left;
    border: 1px solid rgba(255,255,255,0.1);
}
.how-to-use h3 {
    font-family: var(--font-family-headings);
    font-size: 1.8rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    text-align: center;
}
.how-to-use ol { list-style: none; padding-left: 0; }
.how-to-use li {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}
.how-to-use li span {
    font-family: var(--font-family-headings);
    font-size: 1.5rem;
    color: var(--color-red);
    margin-right: 1rem;
    line-height: 1.2;
}
.how-to-use li:last-child { margin-bottom: 0; }

.generator-cta-wrapper {
    margin-top: 3rem;
}
.cta-button.generator-cta {
    background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
    color: var(--color-white);
    display: inline-block;
    padding: 16px 36px;
    font-family: var(--font-family-headings);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease-out;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.cta-button.generator-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}
.cta-button.generator-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px var(--color-glow);
}
.cta-button.generator-cta:hover::before {
    left: 120%;
}

@media (max-width: 600px) {
    .fields-wrapper { flex-direction: column; gap: 2.5rem; }
}
/* КОНЕЦ СЕКЦИИ 5 */
/* СЕКЦИЯ 6: СРАВНИТЕЛЬНАЯ ТАБЛИЦА ЛОТЕРЕЙ */
.comparison-section {
    padding: 6rem 0;
    position: relative;
    background-color: #1a1a1a;
    background-image: 
        radial-gradient(ellipse at 50% 100%, rgba(217, 4, 41, 0.2) 0%, transparent 60%);
    border-top: 1px solid #333;
}

.comparison-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.comparison-title {
    font-family: var(--font-family-headings);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    margin-bottom: 1.5rem;
}

.comparison-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--color-text-secondary);
    max-width: 800px;
    margin-bottom: 4rem;
}

.comparison-table-wrapper {
    width: 100%;
    max-width: 1100px;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    text-align: center;
}

.comparison-table th {
    font-family: var(--font-family-headings);
    font-size: 1.25rem;
    padding: 1rem;
    color: #ffbf00;
}

.comparison-table td {
    background: #1c1c1c;
    padding: 1.5rem 1rem;
    color: #bdbdbd;
    font-size: 1.1rem;
}

.comparison-table td:first-child {
    font-weight: 700;
    color: var(--color-white);
    text-align: left;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.comparison-table td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.highlight-row td {
    background: linear-gradient(90deg, #2a0000, #1c1c1c 40%);
    border-top: 1px solid var(--color-red);
    border-bottom: 1px solid var(--color-red);
}

.highlight-row td:first-child {
    border-left: 1px solid var(--color-red);
}

.highlight-row td:last-child {
    border-right: 1px solid var(--color-red);
}

.comparison-cta-wrapper {
    margin-top: 3rem;
}

.cta-button.comparison-cta {
    display: inline-block;
    padding: 16px 36px;
    font-family: var(--font-family-headings);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
    color: var(--color-white);
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease-out;
    cursor: pointer;
}

.cta-button.comparison-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px var(--color-glow);
}

@media (max-width: 768px) {
    .comparison-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border: 1px solid #333;
        border-radius: 12px;
        padding-bottom: 8px;
    }

    .comparison-table {
        min-width: 700px;
    }

    .comparison-table-wrapper::-webkit-scrollbar {
        height: 12px;
    }

    .comparison-table-wrapper::-webkit-scrollbar-track {
        background: #1c1c1c;
        border-radius: 6px;
    }

    .comparison-table-wrapper::-webkit-scrollbar-thumb {
        background-color: var(--color-red);
        border-radius: 6px;
        border: 3px solid #1c1c1c;
    }
    
    .comparison-table-wrapper {
      scrollbar-width: auto;
      scrollbar-color: var(--color-red) #1c1c1c;
    }
}
/* СЕКЦИЯ 7: СОВЕТЫ УЧАСТНИКАМ (С КАЛЬКУЛЯТОРОМ) */
.tips-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg); 
    background-image: 
        radial-gradient(ellipse at 50% 0%, rgba(217, 4, 41, 0.3) 0%, transparent 50%);
    border-top: 1px solid #222;
}

.tips-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.tips-title {
    font-family: var(--font-family-headings);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: var(--color-white);
    text-shadow: 0 3px 20px rgba(0,0,0,0.5);
    margin-bottom: 1.5rem;
}

.tips-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--color-text-secondary);
    max-width: 800px;
    margin-bottom: 4rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
}

.tip-card {
    background: #1c1c1c;
    border-top: 3px solid var(--color-red);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.tip-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px var(--color-glow);
}

.tip-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1.5rem;
    color: var(--color-red);
    filter: drop-shadow(0 0 10px var(--color-glow));
}

.tip-card h3 {
    font-family: var(--font-family-headings);
    font-size: 1.8rem;
    color: #ffbf00;
    margin-bottom: 1rem;
}

.tip-card p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* СЕКЦИЯ 8: СОВЕТЫ УЧАСТНИКАМ (С КАЛЬКУЛЯТОРОМ) */
.tips-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg); 
    background-image: 
        radial-gradient(ellipse at 50% 0%, rgba(217, 4, 41, 0.3) 0%, transparent 50%);
    border-top: 1px solid #222;
}

.tips-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.tips-title {
    font-family: var(--font-family-headings);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: var(--color-white);
    text-shadow: 0 3px 20px rgba(0,0,0,0.5);
    margin-bottom: 1.5rem;
}

.tips-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--color-text-secondary);
    max-width: 800px;
    margin-bottom: 4rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
}

.tip-card {
    background: #1c1c1c;
    border-top: 3px solid var(--color-red);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.tip-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px var(--color-glow);
}

.tip-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1.5rem;
    color: var(--color-red);
    filter: drop-shadow(0 0 10px var(--color-glow));
}

.tip-card h3 {
    font-family: var(--font-family-headings);
    font-size: 1.8rem;
    color: #ffbf00;
    margin-bottom: 1rem;
}

.tip-card p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* СТИЛИ ДЛЯ КАЛЬКУЛЯТОРА ШАНСОВ */
.calculator-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 4rem auto 0 auto;
    text-align: center;
}

.calculator-title {
    font-family: var(--font-family-headings);
    font-size: 2rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.calculator-description {
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem auto;
    line-height: 1.7;
}

.chance-calculator-module {
    background: linear-gradient(145deg, #222, #1c1c1c);
    border: 1px solid #333;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.calculator-controls-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.control-group label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--color-white);
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.chance-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: #111;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

.chance-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--color-red);
    border-radius: 50%;
    border: 3px solid var(--color-white);
    box-shadow: 0 0 10px var(--color-glow);
}

.chance-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--color-red);
    border-radius: 50%;
    border: 3px solid var(--color-white);
    box-shadow: 0 0 10px var(--color-glow);
}

.slider-value {
    font-family: var(--font-family-headings);
    font-size: 2rem;
    font-weight: 800;
    color: #ffbf00;
}

.chance-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    border-top: 1px solid #333;
    padding-top: 2rem;
}

.result-item {
    display: flex;
    flex-direction: column;
}

.result-item span:first-child {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.result-item .result-value {
    font-family: var(--font-family-headings);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    color: #ffbf00;
}

.expert-verdict {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #111;
    border-radius: 10px;
    color: var(--color-text-secondary);
    font-style: italic;
}

.tips-disclaimer {
    margin-top: 3rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    max-width: 600px;
}

.tips-cta-wrapper {
    margin-top: 2rem;
}

.cta-button.tips-cta {
    display: inline-block;
    padding: 16px 36px;
    font-family: var(--font-family-headings);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
    color: var(--color-white);
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease-out;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.cta-button.tips-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px var(--color-glow);
}

@media (max-width: 768px) {
    .calculator-controls-grid {
        grid-template-columns: 1fr;
    }
    .chance-results {
        grid-template-columns: 1fr;
    }
    .result-item:not(:last-child) {
        border-bottom: 1px solid #333;
        padding-bottom: 1.5rem;
    }
}
/* КОНЕЦ СЕКЦИИ 7 */
/* СЕКЦИЯ 8: ПРЕИМУЩЕСТВА */
@keyframes gold-wave {
    0% { transform: translateX(-50%) translateY(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) translateY(-50%) rotate(360deg); }
}

.benefits-section {
    position: relative;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150vmax;
    height: 150vmax;
    background-image:
        radial-gradient(ellipse at 70% 80%, rgba(255, 191, 0, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 20%, rgba(255, 191, 0, 0.1) 0%, transparent 40%);
    animation: gold-wave 60s linear infinite;
    z-index: 1;
}

.benefits-container {
    position: relative; 
    z-index: 2;
}
.benefits-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;    
    background-color: #1a1a1a;
    background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 25px 25px;
    color: var(--color-white);
}

.benefits-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--color-glow), transparent);
    animation: border-run 4s linear infinite;
    box-shadow: 0 0 15px var(--color-glow);
}

.benefits-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.benefits-title {
    font-family: var(--font-family-headings);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    margin-bottom: 1.5rem;
}

.benefits-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--color-text-secondary);
    max-width: 800px;
    margin-bottom: 4rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 900px;
}

.benefit-card {
    background: #1c1c1c;
    border: 1px solid #444;
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 15px;
    background: radial-gradient(circle at center, var(--color-glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.benefit-card:hover {
    transform: scale(1.03);
    border-color: var(--color-red);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    margin-right: 1.5rem;
    color: #ffbf00;
    position: relative;
    z-index: 2;
}

.benefit-text {
    position: relative;
    z-index: 2;
}

.benefit-card h3 {
    font-family: var(--font-family-headings);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.benefit-card p {
    line-height: 1.6;
    color: var(--color-text-secondary);
}

.benefits-cta-wrapper {
    margin-top: 4rem;
}

.cta-button.benefits-cta {
    display: inline-block;
    padding: 16px 36px;
    font-family: var(--font-family-headings);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
    color: var(--color-white);
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease-out;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.cta-button.benefits-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}
.cta-button.benefits-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px var(--color-glow);
}
.cta-button.benefits-cta:hover::before {
    left: 120%;
}
/* КОНЕЦ СЕКЦИИ 8 */
/* СЕКЦИЯ 9: ИСТОРИИ ПОБЕДИТЕЛЕЙ */
.winners-story-section {
    padding: 6rem 0;
    position: relative;
    background-color: var(--color-bg);
    border-top: 1px solid #222;
}

.winners-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.winners-title {
    font-family: var(--font-family-headings);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    margin-bottom: 1.5rem;
}

.winners-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--color-text-secondary);
    max-width: 800px;
    margin-bottom: 4rem;
}

.winners-story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    width: 100%;
    max-width: 900px;
}

.winner-story-block {
    background: linear-gradient(145deg, #222, #1c1c1c);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid #333;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.story-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 1rem;
    border-bottom: 1px solid #444;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.story-winner-name {
    font-family: var(--font-family-headings);
    font-size: 1.8rem;
    color: var(--color-white);
}

.story-win-amount {
    font-family: var(--font-family-headings);
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 800;
    color: #ffbf00;
    line-height: 1;
}

.story-body p {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.story-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #444;
}

.detail-block h4 {
    font-family: var(--font-family-headings);
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.detail-block p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.winning-combo span {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    background-color: var(--color-red);
    color: var(--color-white);
    border-radius: 50%;
    margin: 4px 4px 4px 0;
    font-weight: 700;
}

.winners-cta-wrapper {
    margin-top: 4rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.winners-cta-wrapper .cta-button {
    padding: 14px 30px;
    font-family: var(--font-family-headings);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-white);
    background: transparent;
    border: 2px solid var(--color-red);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.winners-cta-wrapper .cta-button:hover {
    background: var(--color-red);
    color: var(--color-white);
    box-shadow: 0 0 20px var(--color-glow);
    transform: translateY(-3px);
}

@media (max-width: 600px) {
    .story-details {
        grid-template-columns: 1fr;
    }
}
/* КОНЕЦ СЕКЦИИ 9 */
/* СЕКЦИЯ 10: КАК ПОЛУЧИТЬ ВЫИГРЫШ */
.payout-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg);
    background-image: radial-gradient(ellipse at 50% 0%, rgba(217, 4, 41, 0.3) 0%, transparent 50%);
    border-top: 1px solid #222;
}

.payout-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--color-glow), transparent);
    animation: border-run 4s linear infinite;
    box-shadow: 0 0 15px var(--color-glow);
}

.payout-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.payout-title {
    font-family: var(--font-family-headings);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.payout-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--color-text-secondary);
    max-width: 800px;
    margin-bottom: 4rem;
}

.payout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
}

.payout-card {
    background: #1c1c1c;
    padding: 2.5rem 2rem;
    text-align: left;
    transition: transform 0.3s ease, background-color 0.3s ease;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
    position: relative;
    overflow: hidden;
}

.payout-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--color-glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.payout-card:hover {
    transform: translateY(-10px);
}

.payout-card:hover::before {
    opacity: 1;
}

.payout-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1.5rem;
    color: var(--color-red);
    filter: drop-shadow(0 0 10px var(--color-glow));
    position: relative;
    z-index: 2;
}

.payout-card h3 {
    font-family: var(--font-family-headings);
    font-size: 1.8rem;
    color: var(--color-white);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.payout-card p {
    color: var(--color-text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.payout-cta-wrapper {
    margin-top: 4rem;
}

.cta-button.payout-cta {
    display: inline-block;
    padding: 16px 36px;
    font-family: var(--font-family-headings);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
    color: var(--color-white);
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease-out;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.cta-button.payout-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}
.cta-button.payout-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px var(--color-glow);
}
.cta-button.payout-cta:hover::before {
    left: 120%;
}
/* КОНЕЦ СЕКЦИИ 10 */
/* СЕКЦИЯ 11: НАЛОГИ НА ВЫИГРЫШ */
.tax-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background-color: var(--color-red-dark);
    background-image: 
        radial-gradient(ellipse at 50% -10%, rgba(217, 4, 41, 0.7) 0%, transparent 50%),
        linear-gradient(to top, var(--color-red-dark) 0%, #4c0000 100%);
}

.tax-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(
        -45deg, 
        transparent 45%, 
        rgba(217, 4, 41, 0.5) 49%, 
        rgba(217, 4, 41, 0.5) 51%, 
        transparent 55%
    );
    background-size: 50px 50px;
    transform: perspective(100px) rotateX(45deg);
    opacity: 0.5;
}

.tax-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--color-white), transparent);
    animation: border-run-white 5s linear infinite;
    opacity: 0.7;
}

.tax-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tax-title {
    font-family: var(--font-family-headings);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.tax-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--color-text-secondary);
    max-width: 800px;
    margin-bottom: 4rem;
}

.tax-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
}

.tax-card {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    text-align: left;
}

.tax-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.tax-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    margin-right: 1.5rem;
    color: #ffbf00;
    filter: drop-shadow(0 0 10px rgba(255, 191, 0, 0.5));
}

.tax-card h3 {
    font-family: var(--font-family-headings);
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.tax-card p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.tax-cta-wrapper {
    margin-top: 4rem;
}

.cta-button.tax-cta {
    display: inline-block;
    padding: 16px 36px;
    font-family: var(--font-family-headings);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: #ffbf00;    
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease-out;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.cta-button.tax-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}
.cta-button.tax-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 191, 0, 0.4);
    background-color: #eab100;
}
.cta-button.tax-cta:hover::before {
    left: 120%;
}

@media (max-width: 768px) {
    .tax-grid {
        grid-template-columns: 1fr;
    }
}
/* СТИЛИ ДЛЯ КАЛЬКУЛЯТОРА НАЛОГОВ */
.tax-calculator-module {
    width: 100%;
    max-width: 800px;
    margin: 4rem auto 0 auto;
    background: #1c1c1c;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.tax-calculator-module h3 {
    font-family: var(--font-family-headings);
    font-size: 2rem;
    text-align: center;
    color: #ffbf00;
    margin: 0 auto 2rem auto;
}

.calculator-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.calculator-input-group {
    display: flex;
    flex-direction: column;
}

.calculator-input-group label {
    text-align: left;
    margin-bottom: 0.75rem;
    color: var(--color-text-secondary);
    font-weight: 700;
}

.tax-input {
    width: 100%;
    padding: 15px;
    background: #111;
    border: 1px solid #444;
    border-radius: 10px;
    color: var(--color-white);
    font-size: 1.25rem;
    font-family: var(--font-family-headings);
    outline: none;
    transition: all 0.3s ease;
}

.tax-input:focus {
    border-color: #ffbf00;
    box-shadow: 0 0 15px rgba(255, 191, 0, 0.3);
}

.status-selector {
    display: flex;
    background: #111;
    border-radius: 10px;
    padding: 5px;
}

.status-btn {
    flex: 1;
    padding: 12px 10px;
    font-size: 0.9rem;
    font-weight: 700;
    border: none;
    background: transparent;
    color: var(--color-text-secondary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.status-btn.active {
    background: var(--color-red-dark);
    color: var(--color-white);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.4);
}

.calculator-results {
    background: #111;
    border-radius: 10px;
    padding: 1.5rem;
}

.result-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 1.1rem;
    color: var(--color-text-secondary);
}

.result-line:not(:last-child) {
    border-bottom: 1px solid #222;
}

.result-line span:last-child {
    font-weight: 700;
    color: var(--color-white);
    text-align: right;
}

.final-amount {
    font-size: 1.3rem;
}

.final-amount .amount {
    font-family: var(--font-family-headings);
    font-size: clamp(2rem, 8vw, 3rem);
    color: #ffbf00;
    text-shadow: 0 2px 10px rgba(255, 191, 0, 0.4);
}

/* ИСПРАВЛЕНИЕ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ */
@media (max-width: 600px) {
    .tax-calculator-module {
        padding: 1.5rem;
    }
    .status-selector {
        flex-direction: column;
        gap: 0.5rem;
        padding: 8px; /* Добавим немного воздуха */
    }
    .status-btn {
        font-size: 1rem;
        white-space: normal; /* Разрешаем перенос текста на кнопках */
    }
    .result-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .result-line span:last-child {
        align-self: flex-end;
    }
}
/* КОНЕЦ СЕКЦИИ 11 */

/* СЕКЦИЯ 12: FAQ */
.faq-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg);
    background-image: 
        radial-gradient(ellipse at 10% 90%, rgba(217, 4, 41, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 10%, rgba(217, 4, 41, 0.15) 0%, transparent 40%);
    border-top: 1px solid #222;
}

.faq-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--color-glow), transparent);
    animation: border-run 4s linear infinite;
    box-shadow: 0 0 15px var(--color-glow);
}

.faq-container {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.faq-title {
    font-family: var(--font-family-headings);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.faq-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--color-text-secondary);
    max-width: 800px;
    margin-bottom: 4rem;
}

.faq-accordion {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.faq-accordion details {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.faq-accordion details:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}
.faq-accordion details[open] {
    border-color: var(--color-red);
    box-shadow: 0 8px 30px rgba(0,0,0,0.5), 0 0 15px var(--color-glow);
}

.faq-accordion summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    font-family: var(--font-family-headings);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
    list-style: none; 
    text-align: left;
    width: 100%;
    transition: color 0.3s ease;
}

.faq-accordion summary::-webkit-details-marker {
    display: none;
}

.faq-accordion summary:hover,
.faq-accordion details[open] summary {
    color: #ffbf00;
}
.faq-accordion summary::after {
    content: '+';
    font-size: 2.5rem;
    color: var(--color-red);
    font-weight: 300;
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s ease;
    line-height: 1;
}
.faq-accordion details[open] summary::after {
    transform: rotate(45deg);
    color: #ffbf00;
}

.faq-answer {
    padding: 1.5rem 2rem; 
    margin: 0 1px 1px 1px;
    background-color: rgba(10, 10, 10, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 14px 14px;
    text-align: left;
    color: #e0e0e0; 
    line-height: 1.8;
    font-size: 1.1rem;
}

.faq-answer p {
    margin: 0;
}

.faq-cta-wrapper {
    margin-top: 4rem;
}
.cta-button.faq-cta {
    display: inline-block;
    padding: 16px 36px;
    font-family: var(--font-family-headings);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
    color: var(--color-white);
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease-out;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.cta-button.faq-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}

.cta-button.faq-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px var(--color-glow);
}

.cta-button.faq-cta:hover::before {
    left: 120%;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 4rem 0;
    }
    .faq-accordion summary {
        font-size: 1.1rem;
        padding: 1rem;
    }
    .faq-accordion summary::after {
        font-size: 2rem;
    }
    .faq-answer {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
}
/* КОНЕЦ СЕКЦИИ 12 */
/* СЕКЦИЯ 13: О ПРОЕКТЕ */
@keyframes background-pan-slow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 15px var(--color-glow); }
    50% { box-shadow: 0 0 25px var(--color-glow); }
}

.mission-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg);
    border-top: 1px solid #222;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(ellipse at 70% 80%, rgba(217, 4, 41, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 20%, rgba(217, 4, 41, 0.1) 0%, transparent 40%);
    background-size: 200% 200%;
    animation: background-pan-slow 30s ease-in-out infinite;
    z-index: 1;
}

.mission-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.mission-title {
    font-family: var(--font-family-headings);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    margin-bottom: 1.5rem;
}

.mission-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--color-text-secondary);
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-red), var(--color-red-dark), var(--color-glow));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    margin-bottom: 50px;
    opacity: 0;
    animation: slide-in 0.6s forwards;
}

@keyframes slide-in {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.timeline-item:nth-child(odd) {
    left: 0;
    animation-delay: 0.2s;
}

.timeline-item:nth-child(even) {
    left: 50%;
    animation-delay: 0.4s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.6s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.8s;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    background-color: var(--color-bg);
    border: 4px solid var(--color-red);
    border-radius: 50%;
    z-index: 1;
    animation: pulse-glow 2.5s infinite ease-in-out;
}

.timeline-item:nth-child(odd)::after {
    right: -10px;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    padding: 2rem;
    background: #1c1c1c;
    border-radius: 12px;
    border: 1px solid #333;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--color-glow);
}

.timeline-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
    color: #ffbf00;
}

.timeline-content h3 {
    font-family: var(--font-family-headings);
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.mission-cta-wrapper {
    margin-top: 1rem;
}

.mission-cta-wrapper .cta-button {
    padding: 16px 36px;
    font-family: var(--font-family-headings);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
    color: var(--color-white);
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease-out;
    cursor: pointer;
}

.mission-cta-wrapper .cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px var(--color-glow);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 15px;
    }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
    }
    .timeline-item::after {
        left: 20px;
    }
}
/* КОНЕЦ СЕКЦИИ 13) */
/* СЕКЦИЯ 14: ПОДВАЛ (FOOTER) */
.site-footer {
    position: relative;
    padding: 5rem 0 2.5rem 0;
    background: var(--color-bg);
    border-top: 1px solid #222;
    overflow: hidden;
}

.footer-glow-line {
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-glow), transparent);
    animation: border-run 5s linear infinite;
    box-shadow: 0 0 15px var(--color-glow);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    display: block;
    width: 100px;
    margin: 0 auto 2rem auto;
    opacity: 0.8;
}

.footer-main-text {
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-legal-links {
    margin-bottom: 2rem;
}

.footer-legal-links a,
.footer-legal-links a:visited { 
    color: var(--color-text-secondary);
    text-decoration: none;
    margin: 0 0.75rem;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--color-white);
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
}

.footer-copyright p {
    margin-bottom: 0.5rem;
}

.footer-copyright p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 4rem 0 2rem 0;
    }
    .footer-main-text {
        font-size: 0.9rem;
    }
    .footer-legal-links {
        display: flex;
        flex-direction: column;
    }
    .footer-legal-links a {
        margin-bottom: 1rem;
    }
}
/* КОНЕЦ СЕКЦИИ 14) */
/* СТИЛИ ДЛЯ ЮРИДИЧЕСКИХ СТРАНИЦ */
.legal-page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #0d0d0d;
    background-image: radial-gradient(ellipse at 80% 20%, rgba(217, 4, 41, 0.1), transparent 50%);
    z-index: -1;
}

.minimal-header {
    padding: 1rem 0;
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #222;
}

.header-container-minimal {
    display: flex;
    justify-content: center;
}

.header-brand-minimal {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-white);
    font-family: var(--font-family-headings);
    font-size: 1.5rem;
    gap: 1rem;
}

.brand-logo-img-minimal {
    width: 50px;
    height: auto;
}

.text-page-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 3rem;
    background: #1c1c1c;
    border: 1px solid #333;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.text-page-container h2 {
    font-family: var(--font-family-headings);    
    font-size: clamp(2rem, 1.5rem + 2vw, 2.5rem); 
    margin-bottom: 1.5rem;
    color: var(--color-white);
    border-bottom: 2px solid var(--color-red);
    padding-bottom: 1rem;
    word-wrap: break-word;
}

.text-page-container h3 {
    font-family: var(--font-family-headings);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}
.text-page-container h1 {
    font-family: var(--font-family-headings);
    font-size: clamp(2rem, 1.5rem + 2vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-red);
    overflow-wrap: anywhere;
}
.text-page-container h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0;
    border-bottom: 0;
}

.text-page-container p, 
.text-page-container li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.text-page-container strong {
    color: var(--color-white);
    font-weight: 700;
}

.text-page-container ul {
    padding-left: 20px;
}

.text-page-container a {
    color: var(--color-red);
    text-decoration: none;
}

.text-page-container a:hover {
    text-decoration: underline;
}

.back-to-home {
    display: inline-block;
    margin-top: 2.5rem;
    font-weight: 700;
    color: var(--color-white) !important;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.back-to-home:hover {
    transform: translateX(-5px);
    text-decoration: none !important;
}

@media (max-width: 768px) {
    .text-page-container {
        margin: 2rem auto;
        padding: 1.5rem;
    }
}
/* СТИЛИ ДЛЯ КНОПКИ "НАВЕРХ" */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    
    /* Начальное состояние (скрыто) */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
}

.scroll-to-top svg {
    width: 28px;
    height: 28px;
    fill: var(--color-white);
}

/* Класс, который добавляет ваш JS для появления кнопки */
.scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--color-glow);
}
/* СТИЛИ ДЛЯ ИНДИКАТОРА ПРОКРУТКИ */
@keyframes pulse-comet {
    0%, 100% { box-shadow: 0 0 10px #ffbf00, 0 0 15px #ffbf00; }
    50% { box-shadow: 0 0 20px #ffbf00, 0 0 30px #ffbf00; }
}

.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    height: 7px; /* <<< СДЕЛАЛ ЧУТЬ ПОТОЛЩЕ */
    background: linear-gradient(90deg, #ffbf00, var(--color-red));
    box-shadow: 0 0 15px var(--color-glow);
    z-index: 9999;
    width: 0%; /* Начальная ширина, управляется JS */
}

.progress-indicator-comet {
    position: absolute;
    right: -10px; /* Сдвигаем чуть правее конца полосы */
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #ffbf00;
    border-radius: 5%;   
}
/* СТИЛИ ДЛЯ ТАЙМЕРА ОБРАТНОГО ОТСЧЕТА*/
/* === ULTRA PREMIUM TIMER STYLE === */

/* Контейнер - теперь это стильная карточка, а не просто текст */
.timer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    
    /* Фон карточки (темный градиент) */
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    
    /* Рамка и скругление */
    border: 1px solid #333;
    border-bottom: 3px solid #e60023; /* Красный акцент снизу */
    border-radius: 12px;
    
    /* Отступы и размеры */
    padding: 15px 30px;
    margin: 30px auto;
    max-width: 400px; /* Ограничиваем ширину, чтобы не растягивало */
    
    /* Тень и свечение */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 
                0 0 20px rgba(230, 0, 35, 0.15); /* Красное зарево */
    
    font-family: 'Roboto', sans-serif;
}

/* Анимация пульсации для иконки */
@keyframes pulse-red {
    0% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(230,0,35,0.5)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 8px rgba(230,0,35,1)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(230,0,35,0.5)); }
}

.timer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05); /* Еле заметный круг */
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.timer-icon svg {
    width: 28px;
    height: 28px;
    stroke: #e60023; /* Ярко-красный */
    animation: pulse-red 2s infinite; /* Вечная пульсация */
}

.timer-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Цифры - строгие, четкие */
.timer-digits {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: 2px;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 2px 10px rgba(0,0,0,1);
}

/* Подпись */
.timer-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-top: 5px;
    font-weight: 600;
}

/* Мобильная адаптация */
@media (max-width: 480px) {
    .timer-container {
        padding: 12px 20px;
        gap: 15px;
        width: 90%; /* На мобиле чуть уже */
    }
    .timer-digits {
        font-size: 28px;
    }
    .timer-icon {
        width: 40px;
        height: 40px;
    }
    .timer-icon svg {
        width: 22px;
        height: 22px;
    }
}

/* Responsive details for the updated three-column price table. */
.footer-copyright { color: var(--color-text-secondary); }
.hero-cta-wrapper { margin-top: .5rem; }
@media (max-width: 768px) {
    .comparison-table { min-width: 0; }
    .comparison-table th { font-size: 1rem; padding: .8rem .5rem; }
    .comparison-table td { font-size: 1rem; padding: 1rem .5rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Editorial result dossiers, scoped to the added sections. */
.field-dossier,.ticket-dossier{padding:80px 24px;color:#fff;border-block:1px solid rgba(255,255,255,.2)}.field-dossier{background:#210d12}.ticket-dossier{background:#09264f}.field-dossier-wrap,.ticket-dossier-wrap{max-width:1180px;margin:auto}.dossier-kicker{font-size:12px!important;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:#ffd16c;margin-bottom:18px!important}.field-dossier h2,.ticket-dossier h2{color:#fff;font-size:clamp(30px,3.1vw,46px);line-height:1.2;margin:0 0 24px;max-width:960px}.field-dossier p,.ticket-dossier p{font-size:17px;line-height:1.75;margin:0 0 18px}.dossier-intro,.ticket-dossier-heading{max-width:980px;margin-bottom:33px}.field-dossier figure,.ticket-dossier figure{margin:0}.field-dossier figure img,.ticket-dossier figure img{width:100%;height:auto;display:block;border-radius:24px}.field-dossier figcaption,.ticket-dossier figcaption{font-size:12px;line-height:1.6;color:#e6cbd0;margin-top:13px}.ticket-dossier figcaption{color:#c5d8f2}.dossier-cases{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-top:38px}.dossier-cases article,.ticket-dossier-cases article{padding-top:22px;border-top:2px solid #e5455d}.dossier-cases span,.ticket-dossier-cases span{display:block;color:#ffd16c;font-size:12px;margin-bottom:12px}.field-dossier h3,.ticket-dossier h3{color:#fff;font-size:25px;line-height:1.3;margin:0 0 18px}.dossier-cases p,.ticket-dossier-cases p{font-size:15px}.dossier-method,.ticket-dossier-note{border-top:1px solid rgba(255,255,255,.2);padding-top:30px;margin-top:30px}.dossier-method span,.ticket-dossier-note span{overflow-wrap:anywhere}.dossier-method p,.ticket-dossier-note p{max-width:1020px}.dossier-cta{display:inline-flex;justify-content:center;align-items:center;padding:18px 29px;background:#df233c;color:#fff!important;font-size:17px;font-weight:700;border-radius:12px;text-decoration:none;max-width:100%;margin-top:12px;line-height:1.4;text-align:center}.dossier-cta:focus-visible{outline:3px solid #ffd16c;outline-offset:4px}.ticket-dossier-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:38px;align-items:start}.ticket-dossier-grid figure{position:sticky;top:35px}.ticket-dossier-cases article{border-color:#ffd16c;margin-bottom:25px}.ticket-dossier-note p{font-size:16px}
@media(max-width:1000px){.ticket-dossier-grid{grid-template-columns:1fr}.ticket-dossier-grid figure{position:static}.dossier-cases{grid-template-columns:1fr}.dossier-cases article{max-width:850px}}
@media(max-width:600px){.field-dossier,.ticket-dossier{padding:50px 22px}.field-dossier h2,.ticket-dossier h2{font-size:31px}.field-dossier p,.ticket-dossier p{font-size:16px}.dossier-cta{width:100%;box-sizing:border-box}.ticket-dossier-grid{gap:28px}.field-dossier figure img,.ticket-dossier figure img{border-radius:16px}}
