* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff5a09;
    --secondary-color: #1a1a1a;
    --accent-color: #ff8c42;
    --dark-color: #0d0d0d;
    --light-color: #f5f5f5;
    --text-color: #e0e0e0;
    --success-color: #4CAF50;
    --card-bg: #222;
    --border-color: #444;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-color);
    color: var(--text-color);
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 90, 9, 0.15) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(76, 175, 80, 0.1) 0%, transparent 20%);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
header {
    background-color: rgba(13, 13, 13, 0.97);
    border-bottom: 3px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    color: var(--primary-color);
    font-size: 2.8rem;
}

.logo-text {
    font-family: 'Oxanium', sans-serif;
    font-size: 2rem;
    color: var(--light-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 90, 9, 0.7);
}

.logo-text span {
    color: var(--primary-color);
    font-weight: 800;
}

/* Компактная информация о серверах */
.server-info-compact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.server-address-small {
    background-color: var(--secondary-color);
    padding: 6px 10px;
    border-radius: 6px;
    border-left: 2px solid var(--primary-color);
    font-size: 0.85rem;
    color: var(--text-color);
}

.server-address-small strong {
    color: var(--primary-color);
    font-family: 'Oxanium', sans-serif;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    padding: 8px 0;
    position: relative;
    text-transform: uppercase;
    font-family: 'Oxanium', sans-serif;
    letter-spacing: 1px;
}

nav a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(255, 90, 9, 0.5);
}

nav a.active {
    color: var(--primary-color);
}

nav a.active:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 90, 9, 0.7);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.3s;
}

.mobile-menu-btn:hover {
    color: var(--primary-color);
}

/* Hero section - ГЛАВНАЯ */
.hero {
    background: linear-gradient(rgba(13, 13, 13, 0.92), rgba(13, 13, 13, 0.92));
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    border-bottom: 3px solid var(--primary-color);
}

.hero h1 {
    font-family: 'Oxanium', sans-serif;
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--light-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(255, 90, 9, 0.8);
}

.hero h1 span {
    color: var(--primary-color);
    font-weight: 800;
}

.welcome-text {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.project-name {
    font-size: 2.5rem;
    color: var(--light-color);
    margin-bottom: 30px;
    font-family: 'Oxanium', sans-serif;
}

.hero p {
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto 30px;
    color: var(--text-color);
    font-weight: 300;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 15px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    box-shadow: 0 5px 15px rgba(255, 90, 9, 0.4);
    font-family: 'Oxanium', sans-serif;
    margin: 10px;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 90, 9, 0.6);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

.cta-button.secondary {
    background: linear-gradient(135deg, #333, #555);
}

.cta-button.secondary:hover {
    background: linear-gradient(135deg, #555, #333);
}

/* Features section - ОСОБЕННОСТИ */
.features-section {
    padding: 80px 0;
    background-color: rgba(0, 0, 0, 0.3);
}

.section-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--light-color);
    text-transform: uppercase;
    position: relative;
    letter-spacing: 2px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    border: 2px solid var(--primary-color);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 90, 9, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--light-color);
}

.feature-card p {
    font-size: 1.1rem;
    color: #aaa;
}

.telegram-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #0088cc;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 20px;
    transition: all 0.3s;
}

.telegram-link:hover {
    background-color: #006699;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.4);
}

/* Servers section */
.servers-section {
    padding: 60px 0;
}

.servers-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 40px auto;
}

.server-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    border-left: 4px solid var(--primary-color);
}

.server-card h3 {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--light-color);
}

.server-details p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.server-details i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

.connect-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid var(--primary-color);
    transition: all 0.3s;
    margin-top: 15px;
}

.connect-button:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Shop Modal - ОТДЕЛЬНОЕ ОКНО МАГАЗИНА */
.shop-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    padding: 20px;
}

.shop-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.shop-modal {
    background-color: var(--dark-color);
    border-radius: 15px;
    width: 100%;
    max-width: 1400px;
    height: 90vh;
    padding: 0;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s;
    border: 3px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.shop-modal-overlay.active .shop-modal {
    transform: translateY(0);
}

.shop-modal-header {
    padding: 20px 30px;
    background-color: var(--secondary-color);
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shop-modal-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 2rem;
    color: var(--light-color);
}

.shop-modal-close {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.3s;
}

.shop-modal-close:hover {
    color: var(--primary-color);
}

.shop-modal-content {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}

.shop-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.category-btn {
    background-color: var(--secondary-color);
    color: var(--text-color);
    border: 2px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Oxanium', sans-serif;
}

.category-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.category-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.shop-product-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.shop-product-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.shop-product-name {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--light-color);
    line-height: 1.4;
}

.shop-product-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-align: right;
    font-family: 'Oxanium', sans-serif;
    margin-bottom: 15px;
}

.shop-product-button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Oxanium', sans-serif;
}

.shop-product-button:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

/* Purchase Modal */
.purchase-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 4000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.purchase-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.purchase-modal {
    background-color: var(--card-bg);
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
    border: 2px solid var(--primary-color);
}

.purchase-modal-overlay.active .purchase-modal {
    transform: translateY(0);
}

.purchase-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.purchase-modal-close:hover {
    color: var(--primary-color);
}

.purchase-modal-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--light-color);
}

.purchase-form input, .purchase-form select, .purchase-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
}

.purchase-form button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    padding: 40px 0 15px;
    border-top: 3px solid var(--primary-color);
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--light-color);
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: #777;
    font-size: 0.9rem;
}

/* Responsive styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .project-name {
        font-size: 2rem;
    }
    
    .shop-modal {
        height: 95vh;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .server-info-compact {
        align-items: center;
        width: 100%;
    }
    
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .nav-menu {
        display: none;
        width: 100%;
        margin-top: 15px;
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .shop-products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .project-name {
        font-size: 1.6rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
        margin: 5px;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}