/* CSS Reset и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Шрифт Minecraft для заголовков */
@font-face {
    font-family: 'Minecraft';
    src: url('../fonts/minecraft.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Основные цвета в оранжево-красной гамме */
    --primary: #FF4500;
    --primary-dark: #CC3700;
    --primary-light: #FF6B35;
    --secondary: #FF8C00;
    --secondary-dark: #D17500;
    --accent: #DC143C;
    --accent-light: #FF3366;
    
    /* Тёмная тема */
    --bg-dark: #0A0A0F;
    --bg-darker: #050508;
    --bg-card: rgba(20, 20, 25, 0.8);
    --bg-card-hover: rgba(30, 30, 40, 0.9);
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0C0;
    --text-muted: #888899;
    
    /* Градиенты */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--accent));
    --gradient-orange: linear-gradient(135deg, var(--secondary), var(--primary));
    
    /* Эффекты */
    --blur-bg: blur(10px);
    --shadow: 0 8px 32px rgba(255, 69, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(255, 69, 0, 0.15);
    --shadow-hover: 0 12px 40px rgba(255, 69, 0, 0.2);
    
    /* Скругления */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Анимации */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(ellipse 1000px 800px at 20% 30%, rgba(255, 69, 0, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 800px 1000px at 80% 70%, rgba(220, 20, 60, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 900px 700px at 50% 50%, rgba(255, 140, 0, 0.2) 0%, transparent 60%),
        var(--bg-darker);
    z-index: -1;
    animation: backgroundMove 25s ease-in-out infinite;
    filter: blur(60px);
}

@keyframes backgroundMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(5%, 8%) scale(1.1);
    }
    50% {
        transform: translate(-5%, -8%) scale(0.95);
    }
    75% {
        transform: translate(8%, -5%) scale(1.05);
    }
}

body::after {
    content: '';
    position: fixed;
    top: -30%;
    right: -30%;
    width: 160%;
    height: 160%;
    background: 
        radial-gradient(ellipse 600px 500px at 70% 40%, rgba(255, 69, 0, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 500px 600px at 30% 60%, rgba(220, 20, 60, 0.15) 0%, transparent 50%);
    z-index: -1;
    animation: backgroundMove2 30s ease-in-out infinite;
    filter: blur(80px);
}

@keyframes backgroundMove2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(-8%, 5%) scale(1.15);
    }
    66% {
        transform: translate(5%, -10%) scale(0.9);
    }
}

/* Типография */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Minecraft', 'Orbitron', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

code {
    background: rgba(255, 69, 0, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--primary-light);
}

/* Утилитные классы */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-glow {
    position: relative;
    overflow: hidden;
}

.card-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 69, 0, 0.1) 0%, transparent 70%);
    z-index: -1;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn i {
    font-size: 1.1em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(255, 69, 0, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
    overflow: hidden;
}

.preloader::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 69, 0, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.preloader-inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.loader-fox {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-fox::before {
    content: '🦊';
    font-size: 80px;
    animation: fox-rotate 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 69, 0, 0.5));
}

.loader-fox::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border: 3px solid transparent;
    border-top: 3px solid var(--primary);
    border-right: 3px solid var(--accent);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fox-rotate {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        opacity: 1; 
    }
    25% { 
        transform: scale(1.15) rotate(-10deg); 
        opacity: 0.9; 
    }
    50% { 
        transform: scale(1.1) rotate(0deg); 
        opacity: 0.8; 
    }
    75% { 
        transform: scale(1.15) rotate(10deg); 
        opacity: 0.9; 
    }
}

.loading-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    letter-spacing: 3px;
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.loading-text::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    bottom: -10px;
    left: 0;
    animation: loading-line 1.5s ease-in-out infinite;
}

@keyframes loading-line {
    0%, 100% { 
        transform: scaleX(0);
        transform-origin: left;
    }
    50% { 
        transform: scaleX(1);
        transform-origin: left;
    }
    51% {
        transform-origin: right;
    }
}

/* Навигация */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 69, 0, 0.1);
}

[data-theme="light"] .header {
    background: rgba(245, 245, 247, 0.85);
    border-bottom: 1px solid rgba(255, 69, 0, 0.2);
}

/* Светлая тема для всех карточек */
html[data-theme="light"] {
    --bg-dark: #F0F2F5;
    --bg-darker: #FFFFFF;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-card-hover: rgba(240, 240, 240, 0.95);
    --text-primary: #333333;
    --text-secondary: #555555;
    --text-muted: #777777;
    --primary: #FF4500;
    --primary-dark: #CC3700;
    --primary-light: #FF6B35;
    --secondary: #FF8C00;
    --secondary-dark: #D17500;
    --accent: #DC143C;
    --accent-light: #FF3366;
}

html[data-theme="light"] .feature-card,
html[data-theme="light"] .privilege-card,
html[data-theme="light"] .stat-card,
html[data-theme="light"] .update-item,
html[data-theme="light"] .wiki-section,
html[data-theme="light"] .floating-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 69, 0, 0.2);
}

html[data-theme="light"] .feature-card:hover,
html[data-theme="light"] .privilege-card:hover,
html[data-theme="light"] .stat-card:hover,
html[data-theme="light"] .update-item:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 69, 0, 0.3);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    margin-right: auto;
    padding-right: 20px;
}

.nav-logo .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Minecraft', 'Orbitron', sans-serif;
}

.logo-icon {
    color: var(--primary);
    font-size: 2rem;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 5px var(--primary)); }
    to { filter: drop-shadow(0 0 15px var(--primary)); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 69, 0, 0.1);
}

.telegram-btn {
    background: linear-gradient(135deg, rgba(37, 150, 190, 0.2), rgba(37, 150, 190, 0.1));
    border: 2px solid rgba(37, 150, 190, 0.5) !important;
    color: #26a5e4;
    position: relative;
    overflow: hidden;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 150, 190, 0.3);
    transition: all 0.3s ease;
}

.telegram-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../pictures/news.png');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.telegram-btn:hover {
    background: linear-gradient(135deg, rgba(37, 150, 190, 0.3), rgba(37, 150, 190, 0.2));
    border-color: rgba(37, 150, 190, 0.7) !important;
    color: #40b3e0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 150, 190, 0.4);
}

.telegram-btn:hover::before {
    opacity: 0.5;
}

html[data-theme="light"] .telegram-btn {
    background: linear-gradient(135deg, rgba(37, 150, 190, 0.25), rgba(37, 150, 190, 0.15));
    border-color: rgba(37, 150, 190, 0.6) !important;
}

html[data-theme="light"] .telegram-btn:hover {
    background: linear-gradient(135deg, rgba(37, 150, 190, 0.35), rgba(37, 150, 190, 0.25));
    border-color: rgba(37, 150, 190, 0.8) !important;
}

.nav-cta {
    margin-left: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle {
    background: rgba(255, 69, 0, 0.1);
    border: 2px solid rgba(255, 69, 0, 0.3);
    color: var(--text-primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

.theme-toggle:hover {
    background: rgba(255, 69, 0, 0.2);
    border-color: var(--primary);
    transform: rotate(180deg);
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.3);
}

[data-theme="light"] .theme-toggle {
    background: rgba(255, 69, 0, 0.15);
    border-color: rgba(255, 69, 0, 0.4);
}

.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.burger div {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Герой-секция */
.hero {
    padding: 200px 0 0;
    position: relative;
    overflow: visible;
    background: transparent;
    margin-bottom: 0;
}


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

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 40px 0;
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 20px;
    backdrop-filter: var(--blur-bg);
    border: 1px solid rgba(255, 69, 0, 0.1);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 69, 0, 0.3);
    box-shadow: var(--shadow);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 69, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 1.5rem;
}

.stat-info h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.floating-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 30px;
    backdrop-filter: var(--blur-bg);
    border: 1px solid rgba(255, 69, 0, 0.2);
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

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

.plugin-list {
    list-style: none;
    margin-top: 20px;
}

.plugin-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.plugin-list li:last-child {
    border-bottom: none;
}

.plugin-list li i {
    color: var(--primary);
}

.hero-background {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: calc(100% + 100px);
    z-index: -1;
    overflow: visible;
    pointer-events: none;
    opacity: 0.5;
}

.particle {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.1;
    filter: blur(40px);
    animation: particle-float 20s infinite linear;
}

.particle:nth-child(2) {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    animation-delay: -5s;
    animation-duration: 25s;
}

.particle:nth-child(3) {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    animation-delay: -10s;
    animation-duration: 30s;
}

@keyframes particle-float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(100px, 100px) rotate(360deg); }
}

/* Секции */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.features {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: transparent;
    margin-top: 0;
    margin-bottom: 0;
}

.features .container {
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 30px;
    backdrop-filter: var(--blur-bg);
    border: 1px solid rgba(255, 69, 0, 0.1);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 69, 0, 0.3);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 69, 0, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: var(--primary);
}

/* Донат превью */
.donate-preview {
    padding: 100px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.donate-preview .container {
    position: relative;
    z-index: 1;
}

.privilege-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.privilege-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 30px;
    backdrop-filter: var(--blur-bg);
    border: 2px solid rgba(255, 69, 0, 0.1);
    transition: var(--transition);
    position: relative;
}

.privilege-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.privilege-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
}

.privilege-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.maximum-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FFD700, #FFA500, #FF6347);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    animation: glow-gold 2s ease-in-out infinite alternate;
    z-index: 5;
}

@keyframes glow-gold {
    from {
        box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    }
    to {
        box-shadow: 0 4px 20px rgba(255, 215, 0, 0.7);
    }
}

.privilege-card.maximum {
    border-color: rgba(255, 215, 0, 0.3);
}

.privilege-header {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.privilege-header h3 {
    margin: 0;
    font-size: 1.6rem;
    font-family: 'Minecraft', 'Orbitron', sans-serif;
    word-wrap: break-word;
    hyphens: auto;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Minecraft', 'Orbitron', sans-serif;
    color: var(--primary);
    margin-top: 10px;
    margin-bottom: 20px;
    display: block;
    text-align: center;
}

/* Градиенты для привилегий на главной странице */
.privilege-card h3 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Первопроходец - красный градиент */
.privilege-card:first-child .privilege-header h3 {
    background: linear-gradient(to right, #DC143C, #E23B5D, #E8627D, #EE8A9E, #F3B1BE, #F9D8DF, #FFFFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Антигрифер - красный градиент */
.privilege-card.maximum .privilege-header h3 {
    background: linear-gradient(to right, #FF0000, #FF1A1A, #FF3333, #FF4D4D, #FF6666, #FF8080, #FF9999, #FFB3B3, #FFCCCC, #FFE6E6, #FFFFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Защитник - оранжево-красный градиент */
.privilege-card:last-child .privilege-header h3 {
    background: linear-gradient(to right, #FF4500, #FF6024, #FF7A49, #FF956D, #FFAF92, #FFCAB6, #FFE4DB, #FFFFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.privilege-features {
    list-style: none;
    margin: 30px 0;
}

.privilege-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: var(--text-secondary);
}

.privilege-features li i {
    color: var(--primary);
}

.preview-footer {
    text-align: center;
    margin-top: 50px;
}

/* Футер */
.footer {
    background: transparent;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 69, 0, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-links h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.server-ip {
    background: rgba(255, 69, 0, 0.1);
    border-radius: var(--radius-md);
    padding: 15px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.server-ip code {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    color: var(--primary);
}

.copy-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-secondary);
    padding: 8px 15px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.copy-btn:hover {
    background: rgba(255, 69, 0, 0.2);
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: 0.3s;
    }
    
    html[data-theme="light"] .nav-menu {
        background: rgba(245, 245, 247, 0.95);
    }
    
    .nav-logo {
        margin-right: 10px;
        padding-right: 10px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .burger {
        display: flex;
    }
    
    .burger.active .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .burger.active .line2 {
        opacity: 0;
    }
    
    .burger.active .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .privilege-cards {
        grid-template-columns: 1fr;
    }
    
    .privilege-card.popular {
        transform: none;
    }
    
    .privilege-card.popular:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

/* Добавьте в конец файла */

/* Список функций */
.feature-list-wrapper {
    height: 300px;
    overflow: hidden;
    position: relative;
    margin-top: 20px;
    mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    animation: scrollFeatures 40s linear infinite;
}

.feature-list:hover {
    animation-play-state: paused;
}

@keyframes scrollFeatures {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    white-space: nowrap;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li i {
    color: var(--primary);
    min-width: 20px;
}

/* Секция подключения */
.connect-section {
    padding: 100px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.connect-section .container {
    position: relative;
    z-index: 1;
}

.connect-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step {
    text-align: center;
    padding: 30px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    backdrop-filter: var(--blur-bg);
    border: 1px solid rgba(255, 69, 0, 0.1);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 69, 0, 0.3);
    box-shadow: var(--shadow);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 20px;
    font-family: 'Minecraft', 'Orbitron', sans-serif;
}

.server-address {
    background: rgba(255, 69, 0, 0.1);
    border-radius: var(--radius-md);
    padding: 15px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.server-address:hover {
    background: rgba(255, 69, 0, 0.2);
}

.server-address code {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    color: var(--primary);
    user-select: all;
}

/* Статус сервера в футере */
.server-info {
    margin-top: 10px;
}

.online-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.online {
    background: #00ff00;
    box-shadow: 0 0 10px #00ff00;
    animation: pulse 2s infinite;
}

.status-dot.offline {
    background: #ff0000;
    box-shadow: 0 0 10px #ff0000;
}

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

.disclaimer {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 10px;
}

/* Адаптивность для шагов */
@media (max-width: 768px) {
    .connect-steps {
        grid-template-columns: 1fr;
    }
    
    .step {
        padding: 20px;
    }
}

/* Стили для страницы Википедии */
.wiki-hero,
.updates-hero {
    padding: 150px 0 80px;
    text-align: center;
    background: transparent;
}

.wiki-hero h1,
.updates-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-family: 'Minecraft', 'Orbitron', sans-serif;
}

.wiki-hero p,
.updates-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.wiki-content,
.updates-content {
    padding: 60px 0 100px;
}

.wiki-section {
    margin-bottom: 60px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: var(--blur-bg);
    border: 1px solid rgba(255, 69, 0, 0.1);
}

.wiki-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary);
    font-family: 'Minecraft', 'Orbitron', sans-serif;
    display: flex;
    align-items: center;
    gap: 15px;
}

.wiki-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wiki-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.wiki-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-family: 'Minecraft', 'Orbitron', sans-serif;
}

.wiki-item p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.wiki-item ul {
    list-style: none;
    padding-left: 0;
}

.wiki-item li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.wiki-item li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.wiki-item code {
    background: rgba(255, 69, 0, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--primary);
    font-size: 0.9em;
}

/* Стили для страницы Обновлений */
.update-item {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 30px;
    backdrop-filter: var(--blur-bg);
    border: 1px solid rgba(255, 69, 0, 0.1);
    transition: var(--transition);
}

.update-item:hover {
    border-color: rgba(255, 69, 0, 0.3);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.update-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 69, 0, 0.2);
}

.update-date {
    display: inline-block;
    background: rgba(255, 69, 0, 0.1);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.update-header h2 {
    font-size: 2rem;
    margin: 0;
    font-family: 'Minecraft', 'Orbitron', sans-serif;
    color: var(--text-primary);
}

.update-body h3 {
    font-size: 1.3rem;
    margin: 25px 0 15px 0;
    color: var(--primary);
    font-family: 'Minecraft', 'Orbitron', sans-serif;
}

.update-body h3:first-child {
    margin-top: 0;
}

.update-body ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.update-body li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.update-body li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}