:root {
    --primary-color: #4ecca3;
    --secondary-color: #0f3460;
    --dark-bg: #1a1a2e;
    --text-color: #f0f0f0;
    --card-bg: rgba(255, 255, 255, 0.08);
    --card-border: rgba(255, 255, 255, 0.1);
    --vip-gold: #ffd700;
    --survival-color: #4CAF50;
    --anarchy-color: #F44336;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--dark-bg) 0%, #16213e 50%, var(--secondary-color) 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: rgba(0, 0, 0, 0.85);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo i {
    margin-right: 10px;
    font-size: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    font-size: 1.1rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://kartinkof.club/uploads/posts/2023-05/1683436365_kartinkof-club-p-kartinki-mira-mainkraft-33.jpg') no-repeat center center/cover;
    padding: 100px 20px 80px;
}

.hero-content {
    max-width: 780px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 2.5rem;
    color: #eeeeee;
}

.server-info {
    background: var(--card-bg);
    padding: 1.8rem;
    border-radius: 12px;
    margin: 2.5rem 0;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--card-border);
    text-align: center;
}

.server-info h3 {
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.ip-address {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    word-break: break-all;
}

.ip-address:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: scale(1.02);
}

.ip-address i {
    margin-right: 10px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    margin: 0.5rem;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.btn:hover {
    transform: translateY(-5px);
    background: #3bb992;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.btn i {
    margin-right: 8px;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.4);
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 3.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2.2rem 1.8rem;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.feature-card i {
    font-size: 3.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
}

.feature-card p {
    flex-grow: 1;
    font-size: 1.05rem;
}

/* Donate Section */
.donate {
    padding: 5rem 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
}

.donate-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3.5rem;
}

.package {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid var(--card-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.package::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
}

.package.vip::before {
    height: 5px;
}

.package.vip.survival-vip::before {
    background: var(--survival-color);
}

.package.vip.anarchy-vip::before {
    background: var(--anarchy-color);
}

.package.rubles-vip::before {
    background: #FF9800;
}

.package:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.package-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.package-header i {
    font-size: 2.2rem;
}

.package-header h3 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.6rem;
}

.survival-vip .package-header i,
.survival-vip .package-header h3 {
    color: var(--survival-color);
}

.anarchy-vip .package-header i,
.anarchy-vip .package-header h3 {
    color: var(--anarchy-color);
}

.rubles-vip .package-header i,
.rubles-vip .package-header h3 {
    color: #FF9800;
}

.price {
    font-size: 2.2rem;
    font-weight: bold;
    margin: 1.2rem 0;
    color: var(--primary-color);
    position: relative;
}

.survival-vip .price {
    color: var(--survival-color);
}

.anarchy-vip .price {
    color: var(--anarchy-color);
}

.rubles-vip .price {
    color: #FF9800;
}

.package ul {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
    padding: 0;
    flex-grow: 1;
}

.package ul li {
    margin-bottom: 0.8rem;
    padding-left: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
}

.package ul li i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.survival-vip ul li i {
    color: var(--survival-color);
}

.anarchy-vip ul li i {
    color: var(--anarchy-color);
}

.rubles-vip ul li i {
    color: #FF9800;
}

.donate .btn {
    margin-top: auto;
    text-align: center;
}

.survival-btn {
    background: var(--survival-color);
    color: #000;
}

.survival-btn:hover {
    background: #3d8b40;
}

.anarchy-btn {
    background: var(--anarchy-color);
    color: #fff;
}

.anarchy-btn:hover {
    background: #d32f2f;
}

.rubles-btn {
    background: #FF9800;
    color: #000;
}

.rubles-btn:hover {
    background: #F57C00;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.85);
    padding: 3rem 0 2rem;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.footer-logo i {
    margin-right: 10px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.8rem;
    transition: color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.copyright {
    margin-top: 2rem;
    color: #aaa;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-links li {
        margin-left: 1.2rem;
    }
    
    .hero {
        padding: 90px 20px 70px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        padding: 2rem 0;
        text-align: center;
        z-index: 999;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 1.2rem 0;
    }
    
    .mobile-menu-btn {
    display: block;
    }

    .hero-content {
        padding: 0 10px;
    }
    
    .server-info {
        padding: 1.5rem;
    }
    
    .ip-address {
        padding: 0.9rem;
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.9rem 1.6rem;
        font-size: 1rem;
        margin: 0.4rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
    
    .donate-packages {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 1.6rem;
    }
    
    .logo i {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 80px 15px 60px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .server-info {
        padding: 1.2rem;
        margin: 2rem 0;
    }
    
    .ip-address {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .ip-address i {
        margin-right: 0;
    }
    
    .btn {
        display: block;
        margin: 0.8rem auto;
        width: 100%;
        max-width: 280px;
    }
    
    .features, .donate {
        padding: 3.5rem 0;
    }
    
    .feature-card {
        padding: 1.8rem 1.2rem;
    }
    
    .package {
        padding: 1.5rem;
    }
    
    .package-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .package-header h3 {
        font-size: 1.4rem;
    }
    
    .package-header i {
        font-size: 2rem;
    }
    
    .price {
        font-size: 1.8rem;
    }
    
    .package ul li {
        font-size: 0.95rem;
    }
    
    .social-links a {
        width: 45px;
        height: 45px;
        font-size: 1.6rem;
    }
}

@media (max-width: 400px) {
    .logo {
        font-size: 1.4rem;
    }
    
    .logo i {
        font-size: 1.6rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-card i {
        font-size: 2.8rem;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}