:root {
    /* Colors */
    --bg-dark: #0a0a0c;
    --bg-card: #151518;
    --accent-purple: #bf00ff;
    --accent-blue: #00f2ff;
    --accent-pink: #ff007a;
    --text-main: #e0e0e0;
    --text-dim: #a0a0a0;
    --white: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(90deg, var(--accent-purple), var(--accent-blue));
    --gradient-glow: linear-gradient(135deg, rgba(191, 0, 255, 0.2), rgba(0, 242, 255, 0.2));
    
    /* Shadow */
    --shadow-neon: 0 0 15px rgba(191, 0, 255, 0.4);
    --shadow-blue: 0 0 15px rgba(0, 242, 255, 0.4);
    
    /* Layout */
    --container-max: 1200px;
    --navbar-height: 80px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.w-full { width: 100%; }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(191, 0, 255, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
}

.btn-outline:hover {
    background: var(--accent-blue);
    color: var(--bg-dark);
    box-shadow: var(--shadow-blue);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

/* Navbar */
.navbar {
    height: var(--navbar-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    color: var(--white);
}

.logo-accent {
    color: var(--accent-blue);
    margin-right: 2px;
}

.nav-links {
    display: flex;
    gap: 16px;
}

.nav-links a {
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    font-weight: 500;
    font-size: 14px;
}

.nav-links a:hover {
    color: var(--accent-blue);
    background: rgba(0, 242, 255, 0.05);
    border-color: rgba(0, 242, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.15);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--navbar-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(191, 0, 255, 0.15), transparent 40%),
                radial-gradient(circle at 30% 70%, rgba(0, 242, 255, 0.15), transparent 40%);
    z-index: -1;
}

.hero-content {
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(191, 0, 255, 0.1);
    color: var(--accent-purple);
    border: 1px solid var(--accent-purple);
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.neon-pulse {
    animation: neon-pulse 2s infinite ease-in-out;
}

@keyframes neon-pulse {
    0%, 100% { box-shadow: 0 0 5px var(--accent-purple); }
    50% { box-shadow: 0 0 15px var(--accent-purple); }
}

.hero-title {
    font-size: clamp(40px, 8vw, 84px);
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-blue);
}

.stat-label {
    font-size: 14px;
    color: var(--text-dim);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Features */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-dim);
    font-size: 18px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-purple);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-glow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent-blue);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-dim);
}

/* Games Section */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.game-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
}

.game-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: var(--white);
}

.game-item:hover img {
    transform: scale(1.1);
}

/* Tariffs */
.tariff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tariff-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.tariff-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-purple);
    box-shadow: 0 10px 40px rgba(191, 0, 255, 0.2);
}

.tariff-specs-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(21, 21, 24, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(100%);
    z-index: 5;
}

.tariff-card:hover .tariff-specs-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tariff-specs-overlay h4 {
    color: var(--accent-blue);
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tariff-specs-overlay ul {
    list-style: none;
    padding: 0;
}

.tariff-specs-overlay li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 6px;
}

.tariff-specs-overlay li span {
    color: var(--text-dim);
    font-weight: 600;
}

.tariff-tag {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--accent-blue);
    color: var(--bg-dark);
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.tariff-card.featured {
    border: 2px solid var(--accent-purple);
    transform: scale(1.05);
    z-index: 10;
}

.tariff-card h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.price {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
}

.price span {
    font-size: 16px;
    color: var(--text-dim);
}

.tariff-list {
    margin-bottom: 40px;
}

.tariff-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-dim);
}

.tariff-list li i {
    color: var(--accent-blue);
    width: 20px;
}

/* Promo Banner */
.promo-banner {
    padding: 60px;
    background: var(--gradient-glow);
    border: 1px solid var(--accent-purple);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.promo-content h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.promo-content p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
}

.review-stars {
    color: #ffcc00;
    margin-bottom: 16px;
}

.review-author {
    margin-top: 20px;
    font-weight: 700;
    color: var(--accent-blue);
}

/* Contacts */
.sections-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-items {
    margin: 40px 0;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    color: var(--accent-purple);
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.socials {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    transform: translateY(-5px);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.social-link.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
}

.social-link.telegram:hover {
    background: #0088cc;
}

.social-link.tiktok:hover {
    background: #010101;
    box-shadow: -2px -2px 5px #ff0050, 2px 2px 5px #00f2ea;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.map-placeholder {
    height: 400px;
    background: var(--bg-card);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(255,255,255,0.2);
    color: var(--text-dim);
}

/* Final CTA */
.cta-box {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), 
                url('https://images.unsplash.com/photo-1542751371-adc38448a05e?auto=format&fit=crop&q=80&w=1200');
    background-size: cover;
    background-position: center;
    padding: 80px 40px;
    border-radius: 40px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
}

.cta-box h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 20px;
    margin-bottom: 40px;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    padding: 60px 40px;
    border-radius: 30px;
    width: 100%;
    max-width: 500px;
    position: relative;
    border: 1px solid var(--accent-purple);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header p {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.selected-tariff-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(191, 0, 255, 0.15);
    border: 1px solid rgba(191, 0, 255, 0.4);
    border-radius: 50px;
    color: var(--accent-blue);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    position: relative; /* For tooltip positioning */
    cursor: help;
    animation: fadeInSlide 0.4s ease-out;
}

.tariff-tooltip {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(21, 21, 24, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid var(--accent-purple);
    padding: 15px;
    border-radius: 15px;
    width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--shadow-neon);
    z-index: 100;
}

.selected-tariff-badge:hover .tariff-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.tariff-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: var(--accent-purple) transparent transparent transparent;
}

.tariff-tooltip ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.tariff-tooltip li {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 4px;
    text-transform: none;
    letter-spacing: 0;
}

.tariff-tooltip li span {
    color: var(--accent-blue);
    font-weight: 600;
    margin-right: 10px;
}

@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.booking-form .form-group {
    margin-bottom: 20px;
}

.booking-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-dim);
}

.booking-form input, .booking-form select {
    width: 100%;
    padding: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: var(--white);
    font-family: inherit;
    transition: var(--transition);
}

.booking-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.booking-form select option {
    background-color: var(--bg-card);
    color: var(--white);
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300f2ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
    pointer-events: none;
    opacity: 0.7;
    transition: var(--transition);
}

.select-wrapper:hover::after {
    opacity: 1;
}

.booking-form input:focus, .booking-form select:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
}

.success-icon {
    color: #4ade80;
    margin-bottom: 20px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .nav-links, .nav-actions { display: none; }
    .mobile-menu-toggle { display: block; }
    .sections-split { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .stat-divider { width: 60px; height: 1px; }
    .hero-cta { flex-direction: column; gap: 15px; }
    .hero-cta .btn { width: 100%; }
    .tariff-card.featured { transform: scale(1); }
    .section-title { font-size: 32px; }
    
    .games-grid, .tariff-grid, .reviews-grid, .feature-grid { 
        grid-template-columns: 1fr; 
    }
    
    .promo-banner { padding: 30px 20px; border-radius: 20px; }
    .promo-content h2 { font-size: 28px; }
    
    .cta-box { padding: 40px 20px; border-radius: 20px; }
    .cta-box h2 { font-size: 32px; }
    
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
    
    .modal-content { padding: 40px 20px; border-radius: 20px; }
}

/* Mobile Nav Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 3000;
    padding: 40px;
    transition: 0.4s ease;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.mobile-nav-links {
    margin-bottom: 40px;
}

.mobile-nav-links li {
    margin-bottom: 20px;
    font-size: 20px;
    font-family: 'Orbitron', sans-serif;
}

.mobile-nav-links a {
    display: block;
    padding: 15px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: var(--transition);
}

.mobile-nav-links a:hover, 
.mobile-nav-links a:active {
    background: rgba(0, 242, 255, 0.1);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}
