* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    cursor: pointer;
}

.nav-links a:hover {
    color: #4ECDC4;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 25px;
}

.nav-user span {
    font-size: 14px;
}

.balance {
    background: #FF6B6B;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 20px;
    color: #cccccc;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 16px;
    color: #888888;
    margin-bottom: 30px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #0f0f0f;
}

.features h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-card p {
    color: #888888;
    font-size: 14px;
}

/* Games Preview */
.games-preview {
    padding: 80px 0;
}

.games-preview h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.game-card {
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-card-content {
    padding: 20px;
    text-align: center;
}

.game-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.game-card p {
    font-size: 12px;
    color: #888888;
}

/* Tariffs Section */
.tariffs {
    padding: 80px 0;
    background: #0f0f0f;
}

.tariffs h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.tariff-card {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

.tariff-card:hover {
    transform: translateY(-5px);
}

.tariff-card.popular {
    border: 2px solid #4ECDC4;
    transform: scale(1.02);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #4ECDC4;
    color: #1a1a1a;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.tariff-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.price {
    font-size: 28px;
    font-weight: 700;
    color: #FF6B6B;
    margin-bottom: 20px;
}

.price span {
    font-size: 14px;
    color: #888888;
}

.tariff-card ul {
    list-style: none;
    text-align: left;
}

.tariff-card li {
    padding: 8px 0;
    color: #cccccc;
    font-size: 14px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(78, 205, 196, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid #4ECDC4;
    color: #4ECDC4;
}

.btn-outline:hover {
    background: #4ECDC4;
    color: #1a1a1a;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-danger {
    background: #FF6B6B;
    color: white;
}

.btn-danger:hover {
    background: #ff5252;
}

.text-center {
    text-align: center;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background: #252525;
    border: 1px solid #333;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4ECDC4;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #1a1a1a;
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.modal-content .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #888888;
}

.modal-content .close:hover {
    color: #FF6B6B;
}

.modal-content h3 {
    margin-bottom: 20px;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: flex-end;
}

/* Messages */
.error-message {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid #FF6B6B;
    color: #FF6B6B;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.success-message {
    background: rgba(78, 205, 196, 0.2);
    border: 1px solid #4ECDC4;
    color: #4ECDC4;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.loading-text {
    text-align: center;
    padding: 40px;
    color: #888888;
}

.empty-state {
    text-align: center;
    padding: 60px;
    color: #888;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.page-header p {
    color: #cccccc;
}

/* Footer */
footer {
    background: #050505;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-contacts h4,
.footer-hours h4 {
    margin-bottom: 15px;
    color: #4ECDC4;
}

.footer-contacts p,
.footer-hours p {
    color: #888888;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #222;
    color: #666;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .features-grid,
    .tariffs-grid {
        grid-template-columns: 1fr;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .nav-links {
        display: none;
    }
}

/* Улучшенные стили для тарифов */
.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.tariff-card {
    background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(78, 205, 196, 0.1);
    cursor: pointer;
}

.tariff-card:hover {
    transform: translateY(-5px);
    border-color: rgba(78, 205, 196, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tariff-card.popular {
    border: 2px solid #4ECDC4;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #4ECDC4;
    color: #1a1a1a;
    padding: 5px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.tariff-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.price {
    font-size: 32px;
    font-weight: 800;
    color: #FF6B6B;
    margin-bottom: 20px;
}

.price span {
    font-size: 14px;
    color: #888;
    font-weight: 400;
}

.tariff-card ul {
    list-style: none;
    margin: 20px 0;
    text-align: left;
    padding: 0;
}

.tariff-card li {
    padding: 8px 0;
    color: #ccc;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tariff-card li:before {
    content: "✓";
    color: #4ECDC4;
    font-weight: bold;
}

.book-tariff {
    margin-top: 15px;
    width: 100%;
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    border: none;
    padding: 10px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.book-tariff:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
}

/* Улучшенная навигация */
.nav-user {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 40px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 30px;
    transition: background 0.3s;
}

.user-profile:hover {
    background: rgba(78, 205, 196, 0.2);
}

.user-avatar {
    font-size: 20px;
}

.username {
    font-size: 14px;
    font-weight: 500;
}

.balance-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.balance {
    background: #FF6B6B;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.balance-topup-btn {
    background: linear-gradient(135deg, #4ECDC4, #FF6B6B);
    border: none;
    padding: 5px 12px;
    border-radius: 20px;
    color: white;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: transform 0.2s;
}

.balance-topup-btn:hover {
    transform: scale(1.05);
}

.logout-btn {
    background: rgba(255, 107, 107, 0.2);
    border: none;
    padding: 5px 10px;
    border-radius: 20px;
    color: #FF6B6B;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.logout-btn:hover {
    background: rgba(255, 107, 107, 0.4);
    transform: scale(1.05);
}

/* Стили для страницы бронирования */
.booking-section {
    padding: 60px 0;
}

.booking-form-container {
    background: #1a1a1a;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
}

.computers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.computer-card {
    background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(78, 205, 196, 0.1);
    transition: all 0.3s;
}

.computer-card:hover {
    transform: translateY(-3px);
    border-color: rgba(78, 205, 196, 0.3);
}

.computer-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.computer-card h3 span {
    color: #4ECDC4;
    font-size: 24px;
}

.computer-specs {
    font-size: 13px;
    color: #888;
    margin: 10px 0;
    line-height: 1.4;
}

.computer-price {
    font-size: 20px;
    font-weight: 700;
    color: #FF6B6B;
    margin: 15px 0;
}

.computer-actions {
    display: flex;
    gap: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Две колонки - Услуги и Бронирование */
.two-columns-section {
    padding: 80px 0;
    background: #0a0a0a;
}

.two-columns-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Левая колонка - Услуги */
.services-column,
.booking-column {
    background: #0f0f0f;
    border-radius: 25px;
    padding: 30px;
    border: 1px solid rgba(78, 205, 196, 0.1);
}

.services-column h2,
.booking-column h2 {
    font-size: 28px;
    margin-bottom: 10px;
    text-align: center;
}

.services-column h2 {
    background: linear-gradient(135deg, #4ECDC4, #FF6B6B);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.booking-column h2 {
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.column-subtitle {
    text-align: center;
    color: #888;
    font-size: 14px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

/* Карточки услуг */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-card {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s;
    border: 1px solid rgba(78, 205, 196, 0.1);
}

.service-card:hover {
    transform: translateY(-3px);
    border-color: rgba(78, 205, 196, 0.3);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.service-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.service-price {
    font-size: 22px;
    font-weight: 800;
    color: #4ECDC4;
}

.service-price span {
    font-size: 12px;
    color: #888;
}

.service-description {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 10px;
    line-height: 1.4;
}

.service-specs {
    font-size: 12px;
    color: #FF6B6B;
    margin-bottom: 15px;
    padding: 8px 12px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 10px;
}

.buy-service-btn {
    width: 100%;
    background: linear-gradient(135deg, #4ECDC4, #2a9d8f);
}

/* Карточки тарифов (бронирование) */
.tariffs-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tariff-card-home {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 20px;
    position: relative;
    transition: all 0.3s;
    border: 1px solid rgba(78, 205, 196, 0.1);
}

.tariff-card-home:hover {
    transform: translateY(-3px);
    border-color: rgba(78, 205, 196, 0.3);
}

.tariff-card-home.popular {
    border: 2px solid #FF6B6B;
    background: linear-gradient(135deg, #1a1a1a, #1f1f1f);
}

.popular-badge-home {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #FF6B6B;
    color: white;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.tariff-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.tariff-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.tariff-price {
    font-size: 22px;
    font-weight: 800;
    color: #FF6B6B;
}

.tariff-price span {
    font-size: 12px;
    color: #888;
}

.tariff-specs {
    list-style: none;
    margin-bottom: 15px;
}

.tariff-specs li {
    font-size: 12px;
    color: #aaa;
    padding: 4px 0;
}

.tariff-specs li.more-specs {
    color: #4ECDC4;
    font-style: italic;
}

.book-tariff-btn {
    width: 100%;
    background: linear-gradient(135deg, #FF6B6B, #ff5252);
}

/* Маленький плейсхолдер для игр на главной */
.game-placeholder-small {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .two-columns-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-column,
    .booking-column {
        padding: 20px;
    }
    
    .service-header,
    .tariff-header {
        flex-direction: column;
        text-align: center;
    }
}

/* Бейджи для услуг и тарифов (информационные) */
.service-badge,
.tariff-badge {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    width: 100%;
}

.service-badge {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.2), rgba(78, 205, 196, 0.1));
    color: #4ECDC4;
    border: 1px solid rgba(78, 205, 196, 0.3);
}

.tariff-badge {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(255, 107, 107, 0.1));
    color: #FF6B6B;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

/* Убираем курсор pointer с карточек когда нет клика */
.service-card,
.tariff-card-home {
    cursor: default;
}

.service-card:hover,
.tariff-card-home:hover {
    transform: translateY(-3px);
}

/* Стили для дневной услуги */
.service-card.day-service {
    border-left: 4px solid #FFD93D;
}

.service-card.day-service .service-note {
    color: #FFD93D;
    background: rgba(255, 217, 61, 0.1);
}

/* Стили для ночной услуги */
.service-card.night-service {
    border-left: 4px solid #4ECDC4;
}

.service-card.night-service .service-note {
    color: #4ECDC4;
    background: rgba(78, 205, 196, 0.1);
}

/* Стили для выходного дня */
.service-card.weekend-service {
    border-left: 4px solid #FF6B6B;
}

.service-card.weekend-service .service-note {
    color: #FF6B6B;
    background: rgba(255, 107, 107, 0.1);
}

/* Общие стили для карточек услуг */
.service-card {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s;
    border: 1px solid rgba(78, 205, 196, 0.1);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.service-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.service-price {
    font-size: 22px;
    font-weight: 800;
    color: #FFD93D;
}

.service-price span {
    font-size: 12px;
    color: #888;
}

.service-description {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 10px;
    line-height: 1.4;
}

.service-note {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 10px;
}

.service-specs {
    font-size: 12px;
    margin-bottom: 15px;
    padding: 8px 12px;
    border-radius: 10px;
}

.day-service .service-specs {
    background: rgba(255, 217, 61, 0.1);
    color: #FFD93D;
}

.night-service .service-specs {
    background: rgba(78, 205, 196, 0.1);
    color: #4ECDC4;
}

.weekend-service .service-specs {
    background: rgba(255, 107, 107, 0.1);
    color: #FF6B6B;
}

.service-badge {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    width: 100%;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.2), rgba(78, 205, 196, 0.1));
    color: #4ECDC4;
    border: 1px solid rgba(78, 205, 196, 0.3);
}