/* Основные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #e74560 0%, #d63851 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(231, 69, 96, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 69, 96, 0.4);
}

.btn-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #e74560;
    padding: 18px 36px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.btn-large {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #e74560;
    padding: 18px 36px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Шапка */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
    font-weight: 800;
    color: #e74560;
}

.logo img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
}

.nav {
    display: flex;
    gap: 40px;
}

.nav a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -8px;
    left: 50%;
    background: linear-gradient(135deg, #e74560 0%, #d63851 100%);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav a:hover {
    color: #e74560;
}

.nav a:hover::after {
    width: 100%;
}/* Главн
ый экран */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #e74560 0%, #d63851 100%);
    opacity: 0.95;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 32px;
    opacity: 0.95;
    font-weight: 400;
}

.hero-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
}

.price-text {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

.slots-text {
    font-size: 16px;
    opacity: 0.8;
    font-weight: 500;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Секция возможностей */
.features {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.features h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1a202c;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 40px 32px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #e74560 0%, #d63851 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 56px;
    margin-bottom: 24px;
    filter: grayscale(0.2);
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a202c;
}

.feature-card p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 16px;
}/* Секци
я руководства */
.guide {
    padding: 100px 0;
    background: #ffffff;
}

.guide h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 60px;
    color: #1a202c;
}

.guide-content {
    max-width: 900px;
    margin: 0 auto;
}

.guide-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: #2d3748;
}

.guide-text h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 40px 0 24px 0;
    color: #e74560;
}

.guide-list {
    list-style: none;
    margin: 32px 0;
    padding: 0;
}

.guide-list li {
    padding: 12px 0 12px 40px;
    position: relative;
    font-size: 17px;
    line-height: 1.6;
    color: #4a5568;
}

.guide-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #e74560;
    font-weight: bold;
    font-size: 18px;
}

/* Техническая секция */
.technical {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
}

.technical h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 60px;
    color: #ffffff;
}

.technical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.tech-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 40px 32px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.tech-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.tech-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #e74560;
}

.tech-card p {
    line-height: 1.7;
    color: #cbd5e0;
    font-size: 16px;
}

/* О RageMP */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.about h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 60px;
    color: #1a202c;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: #2d3748;
}

.servers-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 32px 0;
    padding: 0;
    list-style: none;
}

.servers-list li {
    background: rgba(231, 69, 96, 0.1);
    padding: 12px 20px;
    border-radius: 25px;
    color: #e74560;
    font-weight: 600;
    text-align: center;
    border: 1px solid rgba(231, 69, 96, 0.2);
    transition: all 0.3s ease;
}

/* Компактный слайдер */
.mini-slider {
    max-width: 400px;
    margin: 30px auto 50px auto;
    position: relative;
}

.mini-slider-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.mini-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.mini-slide.active {
    opacity: 1;
}

.mini-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mini-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    padding: 5px 0;
}

.mini-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(231, 69, 96, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mini-dot.active {
    background: #e74560;
    transform: scale(1.3);
}

.mini-dot:hover {
    background: rgba(231, 69, 96, 0.7);
}/*
 CTA секция */
.cta {
    background: linear-gradient(135deg, #e74560 0%, #d63851 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 24px;
}

.cta p {
    font-size: 20px;
    margin-bottom: 50px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Подвал */
.footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
    padding: 60px 0 40px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    color: #e74560;
}

.footer-logo img {
    width: 36px;
    height: 36px;
    border-radius: 6px;
}

.footer-text p {
    margin-bottom: 8px;
    color: #cbd5e0;
    font-size: 16px;
}

/* Адаптивность для планшетов */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
        padding: 15px 0;
    }
    
    .nav {
        gap: 20px;
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .price-text {
        font-size: 24px;
    }
    
    .features h2, .guide h2, .technical h2, .about h2, .gallery h2, .cta h2 {
        font-size: 32px;
    }
    
    .features-grid, .technical-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .guide-text h3 {
        font-size: 24px;
    }
    
    .mini-slider {
        max-width: 300px;
    }
    
    .mini-slider-container {
        height: 150px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .price-text {
        font-size: 20px;
    }
    
    .features, .guide, .technical, .about, .gallery, .cta {
        padding: 60px 0;
    }
    
    .features h2, .guide h2, .technical h2, .about h2, .gallery h2, .cta h2 {
        font-size: 28px;
    }
    
    .slider-container {
        height: 250px;
    }
    
    .feature-card, .tech-card {
        padding: 25px 20px;
    }
    
    .nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav a {
        padding: 10px;
        text-align: center;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .btn-hero, .btn-large {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    .guide-text h3 {
        font-size: 22px;
    }
    
    .mini-slider {
        max-width: 280px;
    }
    
    .mini-slider-container {
        height: 140px;
    }
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card, .tech-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Улучшения для SEO и доступности */
img {
    max-width: 100%;
    height: auto;
}

a:focus, button:focus {
    outline: 2px solid #e74560;
    outline-offset: 2px;
}

/* Скрытие элементов для скринридеров */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}