* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0a0a0a;
    color: #f0f0f0;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: rgba(10, 10, 10, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #3a1a5f;
    box-shadow: 0 5px 15px rgba(90, 0, 150, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #b266ff;
    text-decoration: none;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo i {
    margin-right: 10px;
    color: #9a4dff;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
    position: relative;
    cursor: pointer;
}

.nav-links a:hover,
.nav-links a.active {
    color: #b266ff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #b266ff;
    left: 0;
    bottom: 0;
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hero {
    padding: 20px; 
    background: radial-gradient(ellipse at center, #1a0a2e 0%, #0a0a0a 70%);
    position: relative;
    overflow: hidden;
    min-height: auto; 
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><rect width="100" height="100" fill="none"/><path d="M0,0 L100,0 L100,100 Z" fill="rgba(90, 0, 150, 0.03)"/></svg>');
    background-size: cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1200px; 
    margin: 0 auto;
    padding: 20px; 
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #b266ff, #9a4dff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #ccc;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #6a00cc, #9a4dff);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(154, 77, 255, 0.4);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(154, 77, 255, 0.6);
    background: linear-gradient(45deg, #7a1ccc, #aa6dff);
}

.services-section {
    background-color: #111;
    padding: 100px 0;
    min-height: 80vh;
    display: none;
}

.services-section.active {
    display: block;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #b266ff;
    font-size: 36px;
}

.services-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: linear-gradient(145deg, #1a1a1a, #222);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    width: 450px;
    transition: all 0.3s ease;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(154, 77, 255, 0.2);
    border-color: #9a4dff;
}

.service-icon {
    font-size: 60px;
    margin-bottom: 25px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vless-icon {
    color: #00b894;
}

.hosting-icon {
    color: #fdcb6e;
}

.service-card h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.service-card p {
    color: #aaa;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6;
}

.price-tag {
    display: inline-block;
    background: linear-gradient(45deg, #6a00cc, #9a4dff);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    margin: 20px 0;
}

.service-features {
    text-align: left;
    margin: 20px 0;
    padding-left: 20px;
}

.service-features li {
    margin-bottom: 10px;
    color: #ccc;
}

.service-features i {
    color: #9a4dff;
    margin-right: 10px;
}

.order-button {
    display: inline-block;
    background: linear-gradient(45deg, #6a00cc, #9a4dff);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-top: 15px;
}

.order-button:hover {
    background: linear-gradient(45deg, #7a1ccc, #aa6dff);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(154, 77, 255, 0.4);
}

.banners-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.banner {
    background: linear-gradient(145deg, #1a1a1a, #222);
    border-radius: 15px;
    padding: 30px;
    width: 550px;
    transition: all 0.3s ease;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 25px;
}

.banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(154, 77, 255, 0.2);
    border-color: #9a4dff;
}

.banner-icon {
    font-size: 50px;
    color: #9a4dff;
    min-width: 80px;
    text-align: center;
}

.banner-content h4 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #f0f0f0;
}

.banner-content p {
    color: #aaa;
    font-size: 15px;
    line-height: 1.5;
}

.contacts-section {
    background-color: #111;
    padding: 100px 0;
    min-height: 80vh;
    display: none;
}

.contacts-section.active {
    display: block;
}

.contacts-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-card {
    background: linear-gradient(145deg, #1a1a1a, #222);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    width: 300px;
    transition: all 0.3s ease;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(154, 77, 255, 0.2);
    border-color: #9a4dff;
}

.contact-icon {
    font-size: 60px;
    margin-bottom: 25px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.telegram-icon {
    color: #0088cc;
}

.discord-icon {
    color: #5865F2;
}

.vk-icon {
    color: #4C75A3;
}

.contact-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #f0f0f0;
}

.contact-card p {
    color: #aaa;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.5;
}

.contact-link {
    display: inline-block;
    background: linear-gradient(45deg, #6a00cc, #9a4dff);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.contact-link:hover {
    background: linear-gradient(45deg, #7a1ccc, #aa6dff);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(154, 77, 255, 0.4);
}

.contact-username {
    background-color: #0a0a0a;
    padding: 10px 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-family: monospace;
    font-size: 16px;
    color: #b266ff;
    border: 1px solid #333;
    word-break: break-all;
}

.about-section {
    background-color: #111;
    padding: 100px 0;
    min-height: 80vh;
    display: none;
}

.about-section.active {
    display: block;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 40px;
    text-align: left;
}

.about-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.about-feature {
    background: linear-gradient(145deg, #1a1a1a, #222);
    border-radius: 15px;
    padding: 30px;
    width: 350px;
    text-align: center;
    border: 1px solid #333;
}

.about-feature i {
    font-size: 40px;
    color: #9a4dff;
    margin-bottom: 20px;
}

.about-feature h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #f0f0f0;
}

.about-feature p {
    color: #aaa;
    font-size: 15px;
    line-height: 1.6;
}

.back-to-home {
    display: inline-block;
    margin-top: 30px;
    color: #b266ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: color 0.3s;
    cursor: pointer;
}

.back-to-home:hover {
    color: #9a4dff;
    text-decoration: underline;
}

footer {
    background-color: #080808;
    padding: 10px 0;
    position: sticky;
    top: 100%;
    text-align: center;
    border-top: 1px solid #3a1a5f;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-bottom: 5px;
}

.social-links a {
    color: #b266ff;
    font-size: 20px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #9a4dff;
}

.copyright {
    color: #777;
    font-size: 14px;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 15px 0;
    }
    
    .nav-links {
        margin-top: 15px;
    }
    
    .nav-links li {
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .service-card, .contact-card, .banner, .about-feature {
        width: 100%;
        max-width: 350px;
    }
    
    .banner {
        flex-direction: column;
        text-align: center;
    }
    
    .banner-icon {
        min-width: auto;
    }
}

.purple-blur {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(154, 77, 255, 0.2) 0%, rgba(154, 77, 255, 0) 70%);
    filter: blur(20px);
    z-index: 0;
}

.purple-blur-1 {
    top: 10%;
    left: 10%;
}

.purple-blur-2 {
    bottom: 10%;
    right: 10%;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.gif-banner-section {
    padding: 60px 0;
}

.simple-gif-banner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.simple-gif-banner img {
    width: 100%; 
    max-width: 800px; 
    height: auto; 
    max-height: 50vh; 
    border-radius: 15px;
    margin: 0 auto;
    border: 3px solid #3a1a5f;
    box-shadow: 
        0 0 25px rgba(154, 77, 255, 0.4),
        inset 0 0 15px rgba(154, 77, 255, 0.1);
    display: block;
}

.gif-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.gif-btn {
    background: linear-gradient(45deg, #6a00cc, #9a4dff);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gif-btn:hover {
    background: linear-gradient(45deg, #7a1ccc, #aa6dff);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(154, 77, 255, 0.6);
}

.gif-timer {
    color: #aaa;
    font-size: 16px;
    padding: 8px 15px;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 20px;
    border: 1px solid #333;
}

.gif-timer span {
    color: #9a4dff;
    font-weight: 600;
}

@media (max-width: 768px) {
    .gif-banner-section {
        padding: 40px 0;
    }
    
    .simple-gif-banner {
        max-width: 95%;
    }
    
    .gif-controls {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .gif-timer {
        order: -1;
        width: 100%;
        text-align: center;
    }
}

.info-button {
    display: inline-block;
    background-color: #2d3748; 
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
    font-size: 16px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.info-button:hover {
    background-color: #4a5568; 
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(154, 77, 255, 0.2);
}

.info-button i {
    margin-right: 8px;
}

.info-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    overflow-y: auto;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.4s ease;
    padding: 20px;
}

.info-modal.active {
    display: flex;
}

.modal-content {
    background: linear-gradient(145deg, #1a1a1a, #222);
    width: 90%;
    max-width: 800px;
    border-radius: 15px;
    padding: 40px 30px;
    position: relative;
    animation: slideUp 0.4s ease;
    border: 2px solid #9a4dff;
    box-shadow: 0 20px 40px rgba(154, 77, 255, 0.3);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    cursor: pointer;
    color: #b266ff;
    transition: color 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.8);
}

.close-modal:hover {
    color: white;
    background: rgba(154, 77, 255, 0.2);
}

.modal-title {
    text-align: center;
    margin-bottom: 40px;
    color: #b266ff;
    font-size: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid #333;
}

.info-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.info-block {
    background: rgba(10, 10, 10, 0.7);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.info-block:hover {
    transform: translateY(-5px);
    border-color: #9a4dff;
    box-shadow: 0 10px 20px rgba(154, 77, 255, 0.2);
}

.block-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.block-title i {
    color: #9a4dff;
    font-size: 28px;
}

.price-large {
    font-size: 42px;
    font-weight: 700;
    color: #00b894;
    margin: 20px 0;
    text-shadow: 0 0 10px rgba(0, 184, 148, 0.3);
}

.period {
    font-size: 18px;
    color: #aaa;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    text-align: left;
}

.feature-list li {
    padding: 10px 0;
    color: #ccc;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list i {
    color: #9a4dff;
    margin-right: 10px;
    font-size: 14px;
}

.block-description {
    color: #aaa;
    font-size: 16px;
    line-height: 1.6;
    margin-top: 20px;
}

.instructions {
    text-align: left;
    font-size: 16px;
    line-height: 1.6;
    padding-left: 20px;
}

.instructions li {
    margin-bottom: 15px;
    color: #ccc;
    position: relative;
}

.instructions li:before {
    content: "•";
    color: #9a4dff;
    font-size: 20px;
    position: absolute;
    left: -20px;
    top: 0;
}

.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.modal-button {
    display: inline-block;
    background: linear-gradient(45deg, #6a00cc, #9a4dff);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}

.modal-button:hover {
    background: linear-gradient(45deg, #7a1ccc, #aa6dff);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(154, 77, 255, 0.4);
}

.modal-button.secondary {
    background: #2d3748;
}

.modal-button.secondary:hover {
    background: #4a5568;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    .info-blocks {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-block {
        padding: 20px;
    }
    
    .price-large {
        font-size: 36px;
    }
    
    .modal-title {
        font-size: 26px;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    .modal-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-button {
        width: 100%;
    }
}

.price-info-button {
    display: inline-block;
    background-color: #1a1a1a;
    color: #b266ff; 
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin: 20px 0;
    transition: all 0.3s ease;
    border: 2px solid #333;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.price-info-button:hover {
    background-color: #222;
    border-color: #9a4dff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(154, 77, 255, 0.2);
    color: #9a4dff;
}

.price-info-button i {
    margin-right: 8px;
    color: #9a4dff;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 480px) {
    .stat-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-value {
        font-size: 16px;
    }
    
    .stat-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

.price-info-button {
    display: inline-block;
    background-color: #1a1a1a;
    color: #b266ff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin: 20px 0;
    transition: all 0.3s ease;
    border: 2px solid #333;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.price-info-button:hover {
    background-color: #222;
    border-color: #9a4dff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(154, 77, 255, 0.2);
    color: #9a4dff;
}

.price-info-button i {
    margin-right: 8px;
    color: #9a4dff;
}

.service-card .price-info-button {
    margin-top: 15px;
    margin-bottom: 10px;
}

.service-card .price-info-button {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@media (max-width: 768px) {
    .admin-stats .stat-footer {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    #clearLogsBtn,
    #refreshStatsBtn {
        min-width: 140px;
    }
}

.admin-stats .stat-footer {
    justify-content: space-between;
}

.admin-stats .admin-action-btn,
.admin-stats .refresh-btn {
    all: unset;
}

.single-instruction-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(45deg, #6a00cc, #9a4dff);
    color: white;
    padding: 20px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    margin: 20px auto;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 18px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(154, 77, 255, 0.3);
    width: 100%;
    box-sizing: border-box;
}

.single-instruction-button:hover {
    background: linear-gradient(45deg, #7a1ccc, #aa6dff);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(154, 77, 255, 0.4);
    color: white;
}

.single-instruction-button i {
    font-size: 24px;
}

@media (max-width: 768px) {
    .single-instruction-button {
        padding: 15px 20px;
        font-size: 16px;
    }
}
