/* ========================================
   CSS ПЕРЕМЕННЫЕ ДЛЯ ТЕМ
======================================== */

:root[data-theme="dark"] {
    --bg-primary: #0f0f0f;
    --bg-secondary: rgba(15, 15, 15, 0.95);
    --bg-card: rgba(220, 38, 38, 0.06);
    --bg-card-hover: rgba(220, 38, 38, 0.12);
    --text-primary: #e8e8e8;
    --text-secondary: #b8b8b8;
    --accent-primary: #dc2626;
    --accent-secondary: #b91c1c;
    --border-color: rgba(220, 38, 38, 0.2);
    --shadow-color: rgba(220, 38, 38, 0.15);
    --gradient-start: rgba(220, 38, 38, 0.08);
    --gradient-end: rgba(185, 28, 28, 0.08);
}

:root[data-theme="light"] {
    --bg-primary: #fafafa;
    --bg-secondary: rgba(255, 255, 255, 0.95);
    --bg-card: rgba(220, 38, 38, 0.04);
    --bg-card-hover: rgba(220, 38, 38, 0.08);
    --text-primary: #2a2a2a;
    --text-secondary: #5a5a5a;
    --accent-primary: #dc2626;
    --accent-secondary: #b91c1c;
    --border-color: rgba(220, 38, 38, 0.15);
    --shadow-color: rgba(220, 38, 38, 0.1);
    --gradient-start: rgba(220, 38, 38, 0.05);
    --gradient-end: rgba(185, 28, 28, 0.05);
}

/* ========================================
   БАЗОВЫЕ СТИЛИ
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    width: 100%;
    position: relative;
    transition: background 0.5s ease, color 0.5s ease;
}

/* ========================================
   PARALLAX ФОН
======================================== */

.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

.parallax-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

.parallax-layer-1 {
    background: radial-gradient(circle at 20% 50%, var(--gradient-start) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

.parallax-layer-2 {
    background: radial-gradient(circle at 80% 80%, var(--gradient-end) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

/* ========================================
   ПЕРЕКЛЮЧАТЕЛЬ ТЕМ
======================================== */

.theme-switcher:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.theme-switcher-title {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
}

.theme-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.theme-btn {
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.theme-btn:hover {
    background: var(--bg-card-hover);
    transform: scale(1.05);
}

.theme-btn.active {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.theme-icon {
    font-size: 16px;
}

/* ========================================
   ШАПКА САЙТА
======================================== */

header {
    background: var(--bg-secondary);
    padding: 20px 0;
    box-shadow: 0 4px 20px var(--shadow-color);
    border-bottom: 2px solid var(--accent-primary);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.hidden {
    transform: translateY(-100%);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px var(--accent-primary));
}

@keyframes glow-logo {
    0%, 100% { filter: drop-shadow(0 0 10px var(--accent-primary)); }
    50% { filter: drop-shadow(0 0 20px var(--accent-primary)); }
}

nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center; /* ДОБАВЛЕНО */
}

nav ul li {
    display: flex; /* ДОБАВЛЕНО */
    align-items: center; /* ДОБАВЛЕНО */
}

nav ul li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
    display: inline-flex; /* ИЗМЕНЕНО */
    align-items: center; /* ДОБАВЛЕНО */
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-primary);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--accent-primary);
}
/* ========================================
   ГЛАВНЫЙ БАННЕР
======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 140px 40px 80px;
    position: relative;
    width: 100%;
}

.hero::before {
    content: '❤️';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 400px;
    opacity: 0.03;
    animation: heartbeat 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heartbeat {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    width: 100%;
}

.hero h1 {
    font-size: 72px;
    margin-bottom: 30px;
    text-shadow: 0 0 30px var(--accent-primary);
    animation: glow-title 2s ease-in-out infinite;
    line-height: 1.2;
    color: var(--text-primary);
}

@keyframes glow-title {
    0%, 100% { text-shadow: 0 0 20px var(--accent-primary), 0 0 40px var(--shadow-color); }
    50% { text-shadow: 0 0 30px var(--accent-primary), 0 0 60px var(--shadow-color); }
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 50px;
    color: var(--text-secondary);
    line-height: 1.6}

/* ========================================
   СЕРДЕЧКИ
======================================== */

.hearts {
    font-size: 56px;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.hearts span {
    display: inline-block;
    color: var(--accent-primary);
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px var(--accent-primary));
}

.hearts span:nth-child(1) { animation-delay: 0s; }
.hearts span:nth-child(2) { animation-delay: 0.2s; }
.hearts span:nth-child(3) { animation-delay: 0.4s; }
.hearts span:nth-child(4) { animation-delay: 0.6s; }
.hearts span:nth-child(5) { animation-delay: 0.8s; }
.hearts span:nth-child(6) { animation-delay: 1s; }
.hearts span:nth-child(7) { animation-delay: 1.2s; }
.hearts span:nth-child(8) { animation-delay: 1.4s; }
.hearts span:nth-child(9) { animation-delay: 1.6s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ========================================
   IP АДРЕС
======================================== */

.ip-box,
.ip-copy {
    display: inline-block;
    background: var(--bg-card);
    border: 3px solid var(--accent-primary);
    padding: 25px 50px;
    border-radius: 15px;
    font-size: 32px;
    font-weight: bold;
    color: var(--accent-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 40px;
    user-select: none;
}

.ip-box:hover,
.ip-copy:hover {
    background: var(--bg-card-hover);
    transform: scale(1.05);
    box-shadow: 0 0 40px var(--accent-primary);
}

.ip-copy {
    margin-bottom: 0;
    margin-top: 20px;
    font-size: 20px;
    padding: 15px 30px;
}

/* ========================================
   КНОПКИ
======================================== */

.buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px var(--shadow-color);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--shadow-color);
}

.btn-discord:hover {
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    box-shadow: 0 12px 35px rgba(88, 101, 242, 0.4);
}

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

.btn-large {
    padding: 22px 50px;
    font-size: 20px;
}

.btn-small {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.btn:hover .btn-icon {
    transform: scale(1.2);
}

/* ========================================
   СЕКЦИЯ ИНФОРМАЦИИ
======================================== */

.info {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    width: 100%;
}

.info h2,
.steps-title {
    text-align: center;
    font-size: 48px;
    margin-bottom: 70px;
    color: var(--accent-primary);
    text-shadow: 0 0 20px var(--shadow-color);
}

/* ========================================
   СТАТИСТИКА
======================================== */

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 100px;
    width: 100%;
}

.stat-card {
    padding: 40px 30px;
    background: var(--bg-card);
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.stat-number {
    font-size: 56px;
    font-weight: bold;
    color: var(--accent-primary);
    margin-bottom: 15px;
    text-shadow: 0 0 20px var(--shadow-color);
}

.stat-label {
    font-size: 18px;
    color: var(--text-secondary);
}

/* ========================================
   ОСОБЕННОСТИ
======================================== */

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 100px;
    width: 100%;
}

.feature-card {
    background: var(--bg-card);
    padding: 50px 40px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--bg-card-hover) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-color);
    border-color: var(--accent-primary);
}

.feature-card h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--accent-secondary);
    position: relative;
    z-index: 1;
}

.feature-card p {
    line-height: 1.8;
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.feature-card ul {
    list-style: none;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.feature-card ul li {
    margin: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-secondary);
    font-size: 16px;
}

.feature-card ul li::before {
    content: '❤️';
    position: absolute;
    left: 0;
    font-size: 16px;
}

/* ========================================
   ШАГИ
======================================== */

.steps {
    display: grid;
    gap: 40px;
    width: 100%;
}

.step-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border-left: 6px solid var(--accent-primary);
    display: flex;
    align-items: center;
    gap: 40px;
    transition: all 0.4s ease;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.2s; }
.step-card:nth-child(3) { animation-delay: 0.3s; }
.step-card:nth-child(4) { animation-delay: 0.4s; }
.step-card:nth-child(5) { animation-delay: 0.5s; }

.step-card:hover {
    transform: translateX(15px);
    box-shadow: -8px 8px 30px var(--shadow-color);
}

.step-number {
    font-size: 80px;
    font-weight: bold;
    color: var(--accent-primary);
    opacity: 0.3;
    min-width: 100px;
    text-align: center;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
}

.step-content h4 {
    font-size: 26px;
    color: var(--accent-secondary);
    margin-bottom: 15px;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 17px;
    margin-bottom: 20px;
}

.step-content strong {
    color: var(--accent-primary);
}

/* ========================================
   БАННЕР С ПРАВИЛАМИ
======================================== */

.rules-banner {
    background: var(--bg-card);
    padding: 60px 40px;
    border-top: 3px solid var(--accent-primary);
    border-bottom: 3px solid var(--accent-primary);
    animation: banner-pulse 3s ease-in-out infinite;
    margin-top: 100px;
}

@keyframes banner-pulse {
    0%, 100% { 
        border-color: var(--accent-primary);
        box-shadow: inset 0 0 20px var(--shadow-color);
    }
    50% { 
        border-color: var(--accent-secondary);
        box-shadow: inset 0 0 40px var(--shadow-color);
    }
}

.rules-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.rules-banner-icon {
    font-size: 80px;
    filter: drop-shadow(0 0 20px var(--accent-primary));
    animation: icon-float 3s ease-in-out infinite;
}

@keyframes icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.rules-banner-text {
    flex: 1;
    min-width: 300px;
}

.rules-banner-text h3 {
    font-size: 32px;
    color: var(--accent-secondary);
    margin-bottom: 15px;
}

.rules-banner-text p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   ПРИЗЫВ К ДЕЙСТВИЮ
======================================== */

.cta {
    background: var(--bg-card);
    padding: 100px 40px;
    text-align: center;
    position: relative;
    width: 100%;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.cta h2 {
    font-size: 48px;
    margin-bottom: 30px;
    color: var(--accent-primary);
    text-shadow: 0 0 20px var(--shadow-color);
}

.cta p {
    font-size: 20px;
    margin-bottom: 50px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   ФУТЕР
======================================== */

footer {
    background: var(--bg-secondary);
    padding: 60px 40px 30px;
    text-align: center;
    border-top: 2px solid var(--accent-primary);
    position: relative;
    z-index: 1;
    width: 100%;
}

.footer-logo {
    font-size: 20px;
    color: var(--accent-primary);
    margin-bottom: 20px;
    font-weight: bold;
}

.footer-copyright,
.footer-disclaimer {
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-size: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-block;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 5px var(--accent-primary));
}

.social-links a:hover .social-icon {
    transform: scale(1.3) rotate(10deg);
    filter: drop-shadow(0 0 15px var(--accent-primary));
}

.footer-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.footer-info p {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-info a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

/* ========================================
   УВЕДОМЛЕНИЯ
======================================== */

.notification {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    padding: 20px 35px;
    border-radius: 12px;
    box-shadow: 0 10px 40px var(--shadow-color);
    transform: translateX(500px);
    transition: transform 0.4s ease;
    z-index: 10000;
    font-size: 16px;
    font-weight: bold;
    max-width: calc(100vw - 80px);
    word-wrap: break-word;
}

.notification.show {
    transform: translateX(0);
}

/* ========================================
   АНИМАЦИИ
======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   СКРОЛЛБАР
======================================== */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
}

/* ========================================
   ВЫДЕЛЕНИЕ ТЕКСТА
======================================== */

::selection {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

/* ========================================
   АДАПТИВ: ПЛАНШЕТЫ (768px - 1024px)
======================================== */

@media (max-width: 1024px) {
    nav {
        padding: 0 30px;
    }

    .hero h1 {
        font-size: 60px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hearts {
        font-size: 48px;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .step-card {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .step-card:hover {
        transform: translateY(-10px);
    }

    .step-number {
        min-width: auto;
    }

    .rules-banner {
        padding: 50px 30px;
    }

    .rules-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .rules-banner-icon {
        font-size: 70px;
    }

    .rules-banner-text h3 {
        font-size: 28px;
    }

    .rules-banner-text p {
        font-size: 17px;
    }

    .theme-switcher {
        right: 15px;
        top: 90px;
        padding: 12px;
    }

    .theme-switcher-title {
        font-size: 11px;
    }

    .theme-btn {
        padding: 8px 12px;
        font-size: 11px;
    }
}

/* ========================================
   АДАПТИВ: МОБИЛЬНЫЕ (до 768px)
======================================== */

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    nav {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    .logo {
        font-size: 28px;
    }

    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li a {
        font-size: 15px;
        padding: 8px 12px;
    }

    .hero {
        padding: 120px 20px 60px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 42px;
        margin-bottom: 20px;
        word-wrap: break-word;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .hearts {
        font-size: 36px;
        gap: 5px;
        margin-bottom: 30px;
    }

    .ip-box {
        font-size: 20px;
        padding: 18px 30px;
        margin-bottom: 30px;
        word-break: break-all;
    }

    .ip-copy {
        font-size: 16px;
        padding: 12px 20px;
        word-break: break-all;
    }

    .buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0;
    }

    .btn {
        width: 100%;
        padding: 16px 30px;
        font-size: 16px;
    }

    .btn-large {
        padding: 18px 35px;
        font-size: 17px;
    }

    .btn-icon {
        width: 20px;
        height: 20px;
    }

    .info {
        padding: 60px 20px;
    }

    .info h2,
    .steps-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 60px;
    }

    .stat-card {
        padding: 30px 20px;
    }

    .stat-number {
        font-size: 48px;
    }

    .stat-label {
        font-size: 16px;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 60px;
    }

    .feature-card {
        padding: 30px 25px;
    }

    .feature-card h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .feature-card p {
        font-size: 15px;
    }

    .feature-card ul li {
        font-size: 15px;
        padding-left: 25px;
    }

    .steps {
        gap: 25px;
    }

    .step-card {
        padding: 30px 20px;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .step-card:hover {
        transform: translateY(-8px);
    }

    .step-number {
        font-size: 60px;
    }

    .step-content h4 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .step-content p {
        font-size: 15px;
    }

    .rules-banner {
        padding: 40px 20px;
        margin-top: 60px;
    }

    .rules-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .rules-banner-icon {
        font-size: 60px;
    }

    .rules-banner-text h3 {
        font-size: 24px;
    }

    .rules-banner-text p {
        font-size: 16px;
    }

    .cta {
        padding: 60px 20px;
    }

    .cta h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .cta p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    footer {
        padding: 40px 20px 25px;
    }

    .footer-logo {
        font-size: 18px;
    }

    .social-links {
        gap: 25px;
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }

    .theme-switcher {
        top: auto;
        bottom: 20px;
        right: 15px;
        padding: 10px;
        max-width: calc(100vw - 30px);
    }

    .theme-buttons {
        flex-direction: row;
        gap: 8px;
    }

    .theme-btn {
        padding: 8px 10px;
        font-size: 10px;
        flex: 1;
    }

    .theme-icon {
        font-size: 14px;
    }

    .theme-btn span:not(.theme-icon) {
        display: none;
    }

    .notification {
        bottom: 90px;
        right: 15px;
        left: 15px;
        padding: 16px 20px;
        font-size: 14px;
        max-width: calc(100vw - 30px);
    }
}

/* ========================================
   АДАПТИВ: МАЛЕНЬКИЕ МОБИЛЬНЫЕ (до 480px)
======================================== */

@media (max-width: 480px) {
    .logo {
        font-size: 24px;
    }

    nav ul li a {
        font-size: 13px;
        padding: 6px 10px;
    }

    .hero {
        padding: 100px 15px 50px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hearts {
        font-size: 28px;
        gap: 4px;
    }

    .ip-box {
        font-size: 18px;
        padding: 15px 20px;
    }

    .ip-copy {
        font-size: 14px;
        padding: 10px 15px;
    }

    .btn {
        padding: 14px 25px;
        font-size: 14px;
    }

    .btn-large {
        padding: 16px 30px;
        font-size: 15px;
    }

    .info {
        padding: 50px 15px;
    }

    .info h2,
    .steps-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .stat-card {
        padding: 25px 15px;
    }

    .stat-number {
        font-size: 40px;
    }

    .stat-label {
        font-size: 14px;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .feature-card h3 {
        font-size: 20px;
    }

    .feature-card p,
    .feature-card ul li {
        font-size: 14px;
    }

    .step-card {
        padding: 25px 15px;
        gap: 15px;
    }

    .step-number {
        font-size: 50px;
    }

    .step-content h4 {
        font-size: 18px;
    }

    .step-content p {
        font-size: 14px;
    }

    .rules-banner {
        padding: 35px 15px;
    }

    .rules-banner-icon {
        font-size: 50px;
    }

    .rules-banner-text h3 {
        font-size: 22px;
    }

    .rules-banner-text p {
        font-size: 14px;
    }

    .cta {
        padding: 50px 15px;
    }

    .cta h2 {
        font-size: 26px;
    }

    .cta p {
        font-size: 14px;
    }

    footer {
        padding: 35px 15px 20px;
    }

    .footer-logo,
    .footer-copyright,
    .footer-disclaimer {
        font-size: 14px;
    }

    .social-icon {
        width: 32px;
        height: 32px;
    }

    .footer-info p {
        font-size: 12px;
    }

    .notification {
        bottom: 80px;
        right: 10px;
        left: 10px;
        padding: 14px 18px;
        font-size: 13px;
    }

    .theme-switcher {
        bottom: 15px;
        right: 10px;
        left: 10px;
        padding: 8px;
    }

    .theme-btn {
        padding: 6px 8px;
        font-size: 9px;
    }

    .theme-icon {
        font-size: 12px;
    }
}

/* ========================================
   АДАПТИВ: БОЛЬШИЕ ЭКРАНЫ (от 1600px)
======================================== */

@media (min-width: 1600px) {
    nav,
    .hero-content,
    .info,
    .cta-content {
        max-width: 1600px;
    }

    .hero h1 {
        font-size: 84px;
    }

    .hero-subtitle {
        font-size: 28px;
    }

    .hearts {
        font-size: 64px;
    }

    .ip-box {
        font-size: 36px;
        padding: 30px 60px;
    }

    .info h2,
    .steps-title {
        font-size: 56px;
    }

    .stat-number {
        font-size: 64px;
    }

    .cta h2 {
        font-size: 56px;
    }
}

/* ========================================
   УЛУЧШЕНИЯ ПРОИЗВОДИТЕЛЬНОСТИ
======================================== */

.hero::before,
.hearts span,
.stat-card,
.feature-card,
.step-card,
.btn {
    will-change: transform;
}

/* ========================================
   УТИЛИТЫ
======================================== */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.hearts span,
.step-number {
    user-select: none;
}

/* ========================================
   ФОКУС ДЛЯ ДОСТУПНОСТИ
======================================== */

a:focus,
button:focus {
    outline: 3px solid var(--accent-primary);
    outline-offset: 4px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

/* ========================================
   ПЕЧАТЬ
======================================== */

@media print {
    header {
        position: static;
        box-shadow: none;
    }
    
    .hero::before,
    .parallax-bg,
    .theme-switcher {
        display: none;
    }
    
    .btn {
        border: 2px solid var(--accent-primary);
        background: white;
        color: var(--accent-primary);
    }
    
    .social-links,
    .notification {
        display: none;
    }

    .hero {
        min-height: 0;
        padding: 40px 20px;
    }

    .stat-card,
    .feature-card,
    .step-card {
        page-break-inside: avoid;
    }
}

/* ========================================
   ДОПОЛНИТЕЛЬНЫЕ ФИКСЫ
======================================== */

@supports (-webkit-touch-callout: none) {
    body {
        -webkit-overflow-scrolling: touch;
    }
}

@media (hover: none) and (pointer: coarse) {
    .btn,
    nav ul li a,
    .social-links a,
    .ip-box,
    .ip-copy,
    .theme-btn {
        min-height: 44px;
        min-width: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* ========================================
   SVG ИКОНКИ И МИНИМАЛИСТИЧНЫЙ ПЕРЕКЛЮЧАТЕЛЬ
======================================== */

/* SVG сердце в логотипе */
.logo .heart-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-primary);
    filter: drop-shadow(0 0 8px var(--accent-primary));
    transition: all 0.3s ease;
    animation: heartbeat-logo 1.5s ease-in-out infinite;
    margin-right: 8px;
}

@keyframes heartbeat-logo {
    0%, 100% { 
        transform: scale(1); 
    }
    10%, 30% { 
        transform: scale(1.1); 
    }
    20%, 40% { 
        transform: scale(1); 
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0;
}

.logo:hover .heart-icon {
    transform: scale(1.2);
    filter: drop-shadow(0 0 15px var(--accent-primary));
}

/* SVG сердце в заголовке hero */
.heart-icon-title {
    width: 60px;
    height: 60px;
    color: var(--accent-primary);
    filter: drop-shadow(0 0 20px var(--accent-primary));
    animation: heartbeat-title 1.5s ease-in-out infinite;
    margin-right: 15px;
}

@keyframes heartbeat-title {
    0%, 100% { 
        transform: scale(1); 
    }
    10%, 30% { 
        transform: scale(1.15); 
    }
    20%, 40% { 
        transform: scale(1); 
    }
}

.hero h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* SVG сердце в футере */
.heart-icon-footer {
    width: 20px;
    height: 20px;
    color: var(--accent-primary);
    filter: drop-shadow(0 0 5px var(--accent-primary));
    animation: heartbeat-logo 1.5s ease-in-out infinite;
    margin-right: 8px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

/* ========================================
   МИНИМАЛИСТИЧНЫЙ ПЕРЕКЛЮЧАТЕЛЬ ТЕМ В HEADER
======================================== */

.theme-toggle-header {
    display: flex;
    gap: 6px;
    align-items: center;
    background: transparent;
    padding: 0;
    margin-left: 20px;
}

.theme-toggle-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.theme-toggle-btn svg {
    width: 18px;
    height: 18px;
    transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    transform: scale(1.05);
}

.theme-toggle-btn.active {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.theme-toggle-btn.active svg {
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
}

.theme-toggle-btn:active {
    transform: scale(0.95);
}

/* Анимация иконок */
.sun-icon {
    animation: rotate-sun 20s linear infinite;
}

@keyframes rotate-sun {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.moon-icon {
    animation: moon-glow 3s ease-in-out infinite;
}

@keyframes moon-glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

/* Удаление старого переключателя */
.theme-switcher {
    display: none !important;
}

/* ========================================
   АДАПТИВ ДЛЯ ПЕРЕКЛЮЧАТЕЛЯ
======================================== */

@media (max-width: 1024px) {
    .logo .heart-icon {
        width: 26px;
        height: 26px;
    }
    
    .heart-icon-title {
        width: 55px;
        height: 55px;
    }
    
    .theme-toggle-btn {
        width: 34px;
        height: 34px;
    }
    
    .theme-toggle-btn svg {
        width: 17px;
        height: 17px;
    }
}

@media (max-width: 768px) {
    nav {
        position: relative;
    }
    
    .logo .heart-icon {
        width: 24px;
        height: 24px;
    }
    
    .heart-icon-title {
        width: 45px;
        height: 45px;
        margin-right: 10px;
    }
    
    /* Переключатель в правом верхнем углу на мобильных */
    .theme-toggle-header {
        position: absolute;
        top: 15px;
        right: 15px;
        gap: 5px;
        margin-left: 0;
    }
    
    .theme-toggle-btn {
        width: 32px;
        height: 32px;
    }
    
    .theme-toggle-btn svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .logo .heart-icon {
        width: 20px;
        height: 20px;
    }
    
    .heart-icon-title {
        width: 38px;
        height: 38px;
        margin-right: 8px;
    }
    
    .heart-icon-footer {
        width: 18px;
        height: 18px;
    }
    
    .theme-toggle-header {
        top: 12px;
        right: 12px;
    }
    
    .theme-toggle-btn {
        width: 28px;
        height: 28px;
    }
    
    .theme-toggle-btn svg {
        width: 14px;
        height: 14px;
    }
}
/* ========================================
   ВЫПАДАЮЩЕЕ МЕНЮ
======================================== */

.dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    min-width: 220px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px var(--shadow-color);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 16px;
}

.dropdown-item:hover {
    background: var(--bg-card-hover);
    color: var(--accent-primary);
    transform: translateX(4px);
}

.dropdown-item-icon {
    font-size: 20px;
    flex-shrink: 0;
}

/* Стрелка меню */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--border-color);
}

.dropdown-menu::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid var(--bg-secondary);
}

/* ========================================
   АДАПТИВ ДЛЯ ВЫПАДАЮЩЕГО МЕНЮ
======================================== */

@media (max-width: 768px) {
    .dropdown-menu {
        position: fixed;
        top: 70px;
        left: 10px;
        right: 10px;
        transform: none;
        min-width: auto;
    }
    
    .dropdown:hover .dropdown-menu {
        transform: none;
    }
    
    .dropdown-menu::before,
    .dropdown-menu::after {
        display: none;
    }
    
    .dropdown-item {
        font-size: 15px;
        padding: 14px 16px;
    }
}

@media (max-width: 480px) {
    .dropdown-item {
        font-size: 14px;
        padding: 12px 14px;
    }
    
    .dropdown-item-icon {
        font-size: 18px;
    }
}
/* ========================================
   ОБНОВЛЕННАЯ ШАПКА САЙТА
======================================== */

header {
    background: var(--bg-secondary);
    padding: 20px 0;
    box-shadow: 0 4px 20px var(--shadow-color);
    border-bottom: 2px solid var(--accent-primary);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.hidden {
    transform: translateY(-100%);
}

header:hover {
    box-shadow: 0 6px 30px var(--shadow-color);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

/* ========================================
   ЛОГОТИП С SVG СЕРДЦЕМ
======================================== */

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.heart-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-primary);
    filter: drop-shadow(0 0 8px var(--accent-primary));
    transition: all 0.3s ease;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { 
        transform: scale(1); 
    }
    10%, 30% { 
        transform: scale(1.1); 
    }
    20%, 40% { 
        transform: scale(1); 
    }
}

.logo:hover .heart-icon {
    transform: scale(1.2);
    filter: drop-shadow(0 0 15px var(--accent-primary));
}

.logo:hover {
    transform: scale(1.05);
}

/* ========================================
   НАВИГАЦИЯ
======================================== */

nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
}

nav ul li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-primary);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--accent-primary);
}

/* ========================================
   МИНИМАЛИСТИЧНЫЙ ПЕРЕКЛЮЧАТЕЛЬ ТЕМ
======================================== */

.theme-toggle-header {
    display: flex;
    gap: 6px;
    align-items: center;
    background: transparent;
    padding: 0;
}

.theme-toggle-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.theme-toggle-btn svg {
    width: 18px;
    height: 18px;
    transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    transform: scale(1.05);
}

.theme-toggle-btn.active {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.theme-toggle-btn.active svg {
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
}

.theme-toggle-btn:active {
    transform: scale(0.95);
}

/* Анимация иконок */
.sun-icon {
    animation: rotate-sun 20s linear infinite;
}

@keyframes rotate-sun {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.moon-icon {
    animation: moon-glow 3s ease-in-out infinite;
}

@keyframes moon-glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

/* ========================================
   АДАПТИВ: ПЛАНШЕТЫ
======================================== */

@media (max-width: 1024px) {
    nav {
        padding: 0 30px;
    }

    .logo {
        font-size: 26px;
    }
    
    .heart-icon {
        width: 26px;
        height: 26px;
    }
    
    .theme-toggle-btn {
        width: 34px;
        height: 34px;
    }
    
    .theme-toggle-btn svg {
        width: 17px;
        height: 17px;
    }
}

/* ========================================
   АДАПТИВ: МОБИЛЬНЫЕ
======================================== */

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
        position: relative;
    }

    .logo {
        font-size: 24px;
    }
    
    .heart-icon {
        width: 24px;
        height: 24px;
    }

    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li a {
        font-size: 15px;
    }
    
    /* Переключатель в правом верхнем углу на мобильных */
    .theme-toggle-header {
        position: absolute;
        top: 15px;
        right: 15px;
        gap: 5px;
    }
    
    .theme-toggle-btn {
        width: 32px;
        height: 32px;
    }
    
    .theme-toggle-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* ========================================
   АДАПТИВ: МАЛЕНЬКИЕ МОБИЛЬНЫЕ
======================================== */

@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }
    
    .heart-icon {
        width: 20px;
        height: 20px;
    }

    nav ul li a {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .theme-toggle-header {
        top: 12px;
        right: 12px;
    }
    
    .theme-toggle-btn {
        width: 28px;
        height: 28px;
    }
    
    .theme-toggle-btn svg {
        width: 14px;
        height: 14px;
    }
}