* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(233, 69, 96, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    color: #e94560;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    display: block;
    padding: 8px 16px;
    border-radius: 6px;
    color: #a0a0a0;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s, background 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #e94560;
    background: rgba(233, 69, 96, 0.1);
}

.nav-icons {
    display: flex;
    gap: 15px;
}

.icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #a0a0a0;
    transition: color 0.3s;
}

.icon-link:hover {
    color: #e94560;
}

/* Hero Section */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 500px;
    overflow: hidden;
    isolation: isolate;
}

.hero-video {
    position: absolute;
    inset: 0;
    z-index: -2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            90deg,
            rgba(7, 7, 10, 0.82) 0%,
            rgba(7, 7, 10, 0.60) 45%,
            rgba(7, 7, 10, 0.35) 100%
        );
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 760px;
    margin: 0;
    text-align: left;
}

.hero h1 {
    margin-bottom: 20px;
    color: #e94560;
    font-size: 72px;
    font-weight: 700;
    line-height: 1.1;
    text-align: left;
    text-shadow: 0 0 40px rgba(233, 69, 96, 0.55);
}

.hero .subtitle {
    margin-bottom: 30px;
    color: #e0e0e0;
    font-size: 24px;
    text-align: left;
}

.server-status {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.status-online {
    color: #00ff88;
    font-weight: 600;
}

.players-count {
    color: #e0e0e0;
    font-weight: 500;
}

/* Features */
.features {
    padding: 80px 0;
    background: #0f0f0f;
}

.features h2,
.features-section h2,
.tech-info h2 {
    margin-bottom: 50px;
    color: #e94560;
    font-size: 36px;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(233, 69, 96, 0.05);
    border: 1px solid rgba(233, 69, 96, 0.2);
    border-radius: 12px;
    transition: background 0.3s, transform 0.3s;
}

.feature-card:hover {
    background: rgba(233, 69, 96, 0.1);
    transform: translateY(-2px);
}

.check {
    color: #e94560;
    font-size: 20px;
    font-weight: 700;
}

/* Tech Info */
.tech-info {
    padding: 80px 0;
    background: #0a0a0a;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.tech-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.tech-item .label {
    color: #a0a0a0;
    font-weight: 500;
}

.tech-item .value {
    color: #e94560;
    font-weight: 600;
    text-align: right;
}

/* Page Header */
.page-header {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    text-align: center;
}

.page-header h1 {
    margin-bottom: 15px;
    color: #e94560;
    font-size: 48px;
}

.page-header .subtitle {
    color: #a0a0a0;
    font-size: 20px;
}

/* Welcome Section */
.welcome-section {
    padding: 60px 0;
}

.welcome-box {
    padding: 40px;
    background: rgba(233, 69, 96, 0.05);
    border: 1px solid rgba(233, 69, 96, 0.2);
    border-radius: 16px;
}

.welcome-box h2 {
    margin-bottom: 20px;
    color: #e94560;
    font-size: 32px;
}

.welcome-box p {
    margin-bottom: 15px;
    color: #c0c0c0;
    line-height: 1.8;
}

/* Screenshots */
.screenshots {
    padding: 60px 0;
    background: #0f0f0f;
}

.screenshot-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.screenshot {
    display: none;
    overflow: hidden;
    border: 1px solid rgba(233, 69, 96, 0.2);
    border-radius: 12px;
}

.screenshot.active {
    display: block;
}

.screenshot img {
    display: block;
    width: 100%;
    height: auto;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(233, 69, 96, 0.3);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #e94560;
}

/* Pass Section */
.pass-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 70px);
    padding: 60px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.pass-box {
    max-width: 600px;
    padding: 60px;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(233, 69, 96, 0.2);
    text-align: center;
}

.pass-icon {
    margin-bottom: 30px;
    color: #e94560;
}

.pass-box h1 {
    margin-bottom: 20px;
    color: #e94560;
    font-size: 36px;
}

.pass-description {
    margin-bottom: 40px;
    color: #a0a0a0;
    font-size: 18px;
    line-height: 1.6;
}

.pass-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.btn-boosty {
    background: #f47920;
}

.btn-boosty:hover {
    background: #ff6b00;
    box-shadow: 0 10px 30px rgba(244, 121, 32, 0.3);
    transform: translateY(-2px);
}

.btn-telegram {
    background: #0088cc;
}

.btn-telegram:hover {
    background: #0099dd;
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.3);
    transform: translateY(-2px);
}

.pass-info {
    padding: 30px;
    background: rgba(233, 69, 96, 0.05);
    border: 1px solid rgba(233, 69, 96, 0.2);
    border-radius: 12px;
    text-align: left;
}

.pass-info h3 {
    margin-bottom: 15px;
    color: #e94560;
    font-size: 20px;
}

.pass-info ul {
    list-style: none;
    color: #c0c0c0;
}

.pass-info li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pass-info li:last-child {
    border-bottom: none;
}

/* Rules Section */
.rules-section {
    padding: 60px 0;
    background: #0a0a0a;
}

.rules-section h1 {
    margin-bottom: 50px;
    color: #e94560;
    font-size: 48px;
    text-align: center;
}

.rules-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.rules-content {
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

.rule-section {
    margin-bottom: 50px;
    scroll-margin-top: 100px;
}

.rule-section h2 {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(233, 69, 96, 0.3);
    color: #e94560;
    font-size: 28px;
}

.rule-section h3 {
    margin: 25px 0 15px;
    color: #ffffff;
    font-size: 20px;
}

.rule-section ol {
    padding-left: 25px;
    color: #c0c0c0;
}

.rule-section li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.rule-section p {
    margin-bottom: 15px;
    color: #c0c0c0;
    line-height: 1.7;
}

.rules-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.rules-sidebar h3 {
    margin-bottom: 20px;
    color: #e94560;
    font-size: 20px;
}

.rules-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rules-nav a {
    padding: 12px 16px;
    border-left: 3px solid transparent;
    border-radius: 8px;
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s, background 0.3s, border-color 0.3s;
}

.rules-nav a:hover,
.rules-nav a.active {
    border-left-color: #e94560;
    background: rgba(233, 69, 96, 0.1);
    color: #e94560;
}

.toggle-list-btn {
    margin-top: 15px;
    padding: 12px 24px;
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: 8px;
    background: rgba(233, 69, 96, 0.1);
    color: #e94560;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.toggle-list-btn:hover {
    background: rgba(233, 69, 96, 0.2);
}

.mod-list {
    margin-top: 15px;
    padding: 20px;
    background: rgba(233, 69, 96, 0.05);
    border: 1px solid rgba(233, 69, 96, 0.2);
    border-radius: 8px;
}

.mod-list ul {
    padding-left: 0;
    list-style: none;
}

.mod-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #c0c0c0;
}

.rule-note {
    margin-top: 30px;
    padding: 20px;
    border-left: 4px solid #e94560;
    border-radius: 8px;
    background: rgba(233, 69, 96, 0.1);
}

.rule-note p {
    margin: 0;
    color: #e0e0e0;
}

/* Footer */
footer {
    margin-top: 80px;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(233, 69, 96, 0.2);
    background: #050505;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-left h3 {
    margin-bottom: 10px;
    color: #e94560;
    font-size: 24px;
}

.footer-left p {
    max-width: 500px;
    color: #808080;
}

.footer-right {
    display: flex;
    gap: 20px;
}

.social-link {
    padding: 10px 20px;
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: 8px;
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s, border-color 0.3s, background 0.3s;
}

.social-link:hover {
    border-color: #e94560;
    background: rgba(233, 69, 96, 0.1);
    color: #e94560;
}

.footer-bottom {
    color: #606060;
    font-size: 14px;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 968px) {
    .rules-layout {
        grid-template-columns: 1fr;
    }

    .rules-sidebar {
        position: static;
    }

    .hero {
        min-height: 460px;
    }

    .hero h1 {
        font-size: 52px;
    }

    .pass-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        height: 64px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        min-height: 420px;
    }

    .hero-overlay {
        background: rgba(7, 7, 10, 0.62);
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero .subtitle {
        font-size: 18px;
    }

    .server-status {
        flex-wrap: wrap;
        gap: 10px 18px;
    }

    .features-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .tech-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .tech-item .value {
        text-align: left;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-right {
        flex-wrap: wrap;
    }

    .pass-box {
        padding: 35px 24px;
    }

    .rules-content,
    .welcome-box {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        min-height: 380px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .features h2,
    .tech-info h2 {
        font-size: 30px;
    }

    .features,
    .tech-info {
        padding: 60px 0;
    }
}

/* Видеошапка внутренних страниц */
.page-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 340px;
    overflow: hidden;
    isolation: isolate;
}

.page-hero-video {
    position: absolute;
    inset: 0;
    z-index: -2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            90deg,
            rgba(7, 7, 10, 0.86) 0%,
            rgba(7, 7, 10, 0.66) 50%,
            rgba(7, 7, 10, 0.45) 100%
        );
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-content {
    max-width: 760px;
    text-align: left;
}

.page-hero h1 {
    margin-bottom: 15px;
    color: #e94560;
    font-size: 52px;
    line-height: 1.15;
    text-shadow: 0 0 35px rgba(233, 69, 96, 0.55);
}

.page-hero .subtitle {
    margin: 0;
    color: #e0e0e0;
    font-size: 21px;
    text-align: left;
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 280px;
    }

    .page-hero h1 {
        font-size: 38px;
    }

    .page-hero .subtitle {
        font-size: 18px;
    }

    .page-hero-overlay {
        background: rgba(7, 7, 10, 0.65);
    }
}