/* ===== ПЕРЕМЕННЫЕ ===== */
:root {
    /* Основные цвета */
    --primary: #4361ee;
    --primary-dark: #3a56d4;
    --primary-light: #6c8cff;
    --primary-gradient: linear-gradient(135deg, #4361ee, #6c8cff);
    
    /* Акцентные цвета */
    --accent: #f72585;
    --accent-gradient: linear-gradient(135deg, #f72585, #b5179e);
    
    /* Дополнительные цвета */
    --success: #4cc9f0;
    --warning: #f8961e;
    --danger: #f94144;
    
    /* Светлая тема */
    --bg-body: #f0f2f5;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f8f9fa;
    --bg-secondary: #e9ecef;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --text-muted: #adb5bd;
    --border-color: #dee2e6;
    --border-light: #e9ecef;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 25px 50px -12px rgba(67, 97, 238, 0.25);
    
    /* Размеры */
    --border-radius-sm: 8px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Темная тема (опционально) */
[data-theme="dark"] {
    --bg-body: #1a1b1e;
    --bg-surface: #25262b;
    --bg-card: #2c2e33;
    --bg-card-hover: #373a40;
    --bg-secondary: #2f3136;
    --text-primary: #ffffff;
    --text-secondary: #a0a4ab;
    --text-muted: #5f6369;
    --border-color: #3f4248;
    --border-light: #35373d;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 25px 50px -12px rgba(108, 140, 255, 0.25);
}

/* ===== ОБЩИЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Фикс для бургер-меню */
.main-nav {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== ШАПКА ===== */
.site-header {
    background-color: var(--bg-surface);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--border-light);
}

[data-theme="dark"] .site-header {
    background-color: rgba(37, 38, 43, 0.9);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-title {
    font-size: 2em;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    text-decoration: none;
    position: relative;
    padding: 5px 0;
}

.site-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.site-title:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Переключатель темы */
.theme-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 40px;
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    font-size: 0.95em;
    color: var(--text-primary);
}

.theme-toggle:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.theme-toggle:hover .theme-icon {
    color: white;
}

.theme-icon {
    font-size: 1.2em;
    color: var(--primary);
    transition: var(--transition);
}

/* ===== НАВИГАЦИЯ ===== */
.main-nav {
    max-width: 1200px;
    margin: 10px auto 0;
    padding: 0 20px;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 40px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid transparent;
}

.nav-link:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.nav-link.active {
    background: var(--primary-light);
    color: white;
    opacity: 0.9;
}

/* Аватар в навигации */
.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    transition: var(--transition);
    margin-right: 4px;
}

.nav-link:hover .user-avatar {
    transform: scale(1.1);
    border-color: white;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* ===== СОЦИАЛЬНЫЕ ИКОНКИ ===== */
.social-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-header span {
    color: var(--text-muted);
    font-size: 0.9em;
}

.social-header .social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.social-header .social-icon img {
    width: 20px;
    height: 20px;
    filter: none; /* Убираем затемнение */
    transition: transform 0.3s ease;
}

.social-header .social-icon:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.social-header .social-icon:hover img {
    transform: scale(1.1);
    filter: brightness(1.2); /* Делаем ярче */
}
/* ===== СЕКЦИИ ===== */
section {
    padding: 60px 20px;
    margin: 30px auto;
    max-width: 1200px;
    background-color: var(--bg-surface);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

section:hover {
    box-shadow: var(--shadow-lg);
}

.section-title {
    font-size: 2.5em;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 2px;
    background: var(--primary-gradient);
    opacity: 0.3;
}

.section-title::before {
    left: -70px;
}

.section-title::after {
    right: -70px;
}

/* ===== КАРТОЧКИ ===== */
.about-content,
.halls-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.section-image {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.section-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.section-image:hover::after {
    left: 100%;
}

.section-image:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Список залов */
.halls-list {
    list-style: none;
    display: grid;
    gap: 15px;
}

.hall-item {
    background: var(--bg-card);
    padding: 25px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.hall-item::before {
    content: '🎮';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2em;
    opacity: 0.1;
    transition: var(--transition);
}

.hall-item:hover {
    transform: translateX(10px) translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-left-width: 6px;
    background: var(--bg-card-hover);
}

.hall-item:hover::before {
    opacity: 0.2;
    transform: translateY(-50%) scale(1.2);
}

/* ===== КАРТОЧКИ ИГР ===== */
.games-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.game-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--border-light);
    position: relative;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.game-card:hover::before {
    transform: scaleX(1);
}

.game-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
}

.game-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: var(--transition);
}

.game-card:hover .game-image::after {
    opacity: 1;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-details {
    padding: 20px;
    position: relative;
    background: var(--bg-card);
}

.game-title {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary);
    transition: var(--transition);
}

.game-card:hover .game-title {
    color: var(--primary-dark);
}

.game-description {
    color: var(--text-secondary);
    font-size: 0.95em;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== КАРТОЧКИ КОМНАТ ===== */
.rooms-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.room-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.room-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.room-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.room-image::after {
    content: '🔥';
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-gradient);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9em;
    opacity: 0;
    transform: translateY(-10px);
    transition: var(--transition);
}

.room-card:hover .room-image::after {
    opacity: 1;
    transform: translateY(0);
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.room-card:hover .room-image img {
    transform: scale(1.1);
}

.room-details {
    padding: 20px;
}

.room-title {
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary);
}

.room-details p {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.room-details strong {
    color: var(--text-primary);
    font-weight: 600;
}

.price-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.price-list li {
    background: var(--bg-secondary);
    padding: 10px;
    border-radius: var(--border-radius-sm);
    text-align: center;
    font-weight: 600;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.price-list li:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    transform: scale(1.05);
}

/* ===== КАРТОЧКИ НОВОСТЕЙ ===== */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-card {
    display: grid;
    grid-template-columns: 280px 1fr auto;
    gap: 25px;
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    padding: 20px;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.news-image-container {
    width: 280px;
    height: 180px;
    overflow: hidden;
    border-radius: var(--border-radius);
    position: relative;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image {
    transform: scale(1.1);
}

.news-content {
    flex: 1;
}

.news-title {
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
}

.news-meta {
    color: var(--text-muted);
    font-size: 0.9em;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.news-meta i {
    color: var(--primary);
    margin-right: 5px;
}

.news-text {
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== ОТЗЫВЫ ===== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.review-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 10px;
    font-size: 8em;
    color: var(--primary);
    opacity: 0.1;
    font-family: serif;
}

.review-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    transition: var(--transition);
}

.review-card:hover .user-avatar {
    transform: scale(1.1);
    border-color: var(--primary-light);
}

.user-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.1em;
}

.review-rating {
    color: #ffc107;
    font-size: 1.2em;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.review-date {
    color: var(--text-muted);
    font-size: 0.85em;
    margin-left: auto;
}

.review-content {
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 1;
    font-style: italic;
}

/* Звездный рейтинг */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
    margin-bottom: 15px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    color: var(--text-muted);
    font-size: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #ffc107;
    transform: scale(1.1);
    text-shadow: 0 0 10px #ffc107;
}

/* ===== ФОРМЫ ===== */
.form-container {
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-surface);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-body);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 1em;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
    background: var(--bg-surface);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--primary-light);
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 30px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--border-radius-xl);
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
    border: 1px solid transparent;
    min-width: 120px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    filter: brightness(1.1);
}

.btn:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}

.btn-accent {
    background: var(--accent-gradient);
}

.btn-delete {
    background: linear-gradient(135deg, #f94144, #f72585);
}

.btn-delete:hover {
    background: linear-gradient(135deg, #f72585, #f94144);
}

/* ===== ПРОФИЛЬ ===== */
.profile-section {
    max-width: 900px;
    margin: 0 auto;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.profile-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.profile-avatar-large:hover {
    transform: scale(1.05);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-hover);
}

.profile-info h2 {
    font-size: 2em;
    margin-bottom: 5px;
    color: var(--primary);
}

.profile-info p {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.profile-info i {
    color: var(--primary);
    width: 20px;
}

/* Бронирования */
.bookings-list {
    display: grid;
    gap: 15px;
}

.booking-card {
    background: var(--bg-card);
    padding: 20px 25px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.booking-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
    border-left-width: 6px;
}

.booking-info {
    flex: 1;
}

.booking-info p {
    margin-bottom: 5px;
    color: var(--text-secondary);
}

.booking-info strong {
    color: var(--text-primary);
    font-weight: 600;
}

.booking-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
}

.status-active {
    background: var(--primary-light);
    color: white;
}

.status-cancelled {
    background: var(--danger);
    color: white;
}

.status-completed {
    background: var(--success);
    color: white;
}

.status-paid {
    color: var(--success);
    font-weight: 600;
}

.status-not-paid {
    color: var(--danger);
    font-weight: 600;
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-surface);
    border-radius: var(--border-radius-lg);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
}

@keyframes modalSlideUp {
    from {
        transform: translateY(50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2em;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-card);
    z-index: 10;
    border: 1px solid var(--border-light);
}

.modal-close:hover {
    background: var(--danger);
    color: white;
    transform: rotate(90deg);
    border-color: transparent;
}

.modal-body {
    padding: 30px;
}

.modal-body img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
}

.modal-body h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: var(--primary);
}

.modal-body p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ===== ФУТЕР ===== */
.site-footer {
    background: var(--bg-surface);
    padding: 60px 20px 30px;
    border-top: 1px solid var(--border-light);
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.footer-section {
    text-align: left;
}

.footer-title {
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px;
}

.footer-text {
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.footer-text:hover {
    transform: translateX(5px);
    color: var(--primary);
}

.footer-text i {
    color: var(--primary);
    width: 20px;
    font-size: 1.1em;
}

.privacy-link {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    display: inline-block;
    padding: 5px 0;
}

.privacy-link:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.social-icons .social-icon img {
    width: 22px;
    height: 22px;
    filter: none;
    transition: transform 0.3s ease;
}

.social-icons .social-icon:hover {
    background: var(--primary-gradient);
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.social-icons .social-icon:hover img {
    transform: scale(1.1);
    filter: brightness(1.2) drop-shadow(0 0 5px rgba(255,255,255,0.5));
}

/* Цветные эффекты при наведении для конкретных соцсетей */
.social-icons .social-icon[title="VKontakte"]:hover {
    background: #4c75a3;
}

.social-icons .social-icon[title="Telegram"]:hover {
    background: #0088cc;
}

.social-icons .social-icon[title="VKontakte"]:hover img,
.social-icons .social-icon[title="Telegram"]:hover img {
    filter: brightness(1) invert(0);
}
/* ===== АНИМАЦИИ ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== УВЕДОМЛЕНИЯ ===== */
.success-message,
.error-message {
    padding: 16px 24px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    animation: slideInRight 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.success-message {
    background: linear-gradient(135deg, #4cc9f0, #4361ee);
    color: white;
    box-shadow: 0 10px 20px rgba(76, 201, 240, 0.3);
}

.error-message {
    background: linear-gradient(135deg, #f94144, #f72585);
    color: white;
    box-shadow: 0 10px 20px rgba(249, 65, 68, 0.3);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== ЗАГРУЗЧИК ===== */
.loader {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2em;
        white-space: normal;
    }
    
    .section-title::before,
    .section-title::after {
        display: none;
    }
    
    .about-content,
    .halls-content,
    .news-card {
        grid-template-columns: 1fr;
    }
    
    .news-card {
        grid-template-columns: 1fr;
    }
    
    .news-image-container {
        width: 100%;
        height: 200px;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .booking-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-text {
        justify-content: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .games-list,
    .rooms-list,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .price-list {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 20px;
    }
}

/* ===== СКРОЛЛБАР ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    filter: brightness(1.1);
}
/* Добавьте в конец файла */

/* Детальная информация об игре */
.game-features,
.game-specs {
    margin-top: 25px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary);
}

.game-features h3,
.game-specs h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.2em;
}

.game-features ul,
.game-specs ul {
    list-style: none;
    padding: 0;
}

.game-features li,
.game-specs li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.game-features li:last-child,
.game-specs li:last-child {
    border-bottom: none;
}

.game-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2em;
}

.game-specs li::before {
    content: '•';
    color: var(--accent);
    font-weight: bold;
    font-size: 1.5em;
}

/* ===== КАРТА ===== */
.location-section {
    margin: 40px auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    transition: var(--transition);
}

.map-container:hover {
    box-shadow: var(--shadow-hover);
}

.map-container:hover iframe {
    filter: brightness(1.02);
}

/* Карточка расположения */
.location-card {
    background: var(--bg-surface);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    border: 1px solid var(--border-light);
}

.location-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    transition: var(--transition);
}

.location-item:hover {
    transform: translateX(5px);
}

.location-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2em;
}

.location-info h4 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1em;
}

.location-info p {
    color: var(--text-secondary);
    font-size: 0.95em;
}
.history-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 10px;
}

.history-date {
    color: var(--text-muted);
    font-size: 0.85em;
}

.hide-form {
    margin-left: auto;
}

.btn-hide {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9em;
}

.btn-hide:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.hide-icon {
    font-size: 1.1em;
}

.clear-history {
    margin-top: 30px;
    text-align: center;
}

.btn-clear-history {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-clear-history:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.bookings-count {
    background: var(--primary);
    color: white;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.7em;
    margin-left: 10px;
}




/* ===== ВЫПАДАЮЩЕЕ МЕНЮ ===== */
.nav-item.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.arrow {
    font-size: 0.7em;
    transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-surface);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid var(--border-light);
    list-style: none;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95em;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: var(--primary-gradient);
    color: white;
}

/* Для темной темы */
[data-theme="dark"] .dropdown-menu {
    background: var(--bg-surface);
    border-color: var(--border-color);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        justify-content: center;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-left: 20px;
        margin-top: 5px;
        background: transparent;
        border: none;
        width: calc(100% - 40px);
    }
    
    .dropdown-item {
        padding: 8px 15px;
        text-align: center;
    }
    
    .arrow {
        display: none;
    }
}


/* ===== МОБИЛЬНАЯ ВЕРСИЯ ХЕДЕРА ===== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .header-top {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .logo-area {
        flex: 1;
    }
    
    .site-title {
        font-size: 1.5em;
    }
    
    .social-header span {
        display: none;
    }
    
    .social-header {
        gap: 8px;
    }
    
    .social-header .social-icon {
        width: 32px;
        height: 32px;
    }
    
    .social-header .social-icon img {
        width: 18px;
        height: 18px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-surface);
        box-shadow: -5px 0 20px rgba(0,0,0,0.2);
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 80px 20px 20px;
        margin: 0;
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 15px;
        font-size: 1em;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-left: 20px;
        margin-top: 10px;
        background: var(--bg-secondary);
        width: calc(100% - 20px);
    }
    
    .dropdown-toggle .arrow {
        display: inline-block;
    }
    
    /* Оверлей при открытом меню */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Скрываем выпадающее меню по умолчанию на мобильных */
    .dropdown-menu {
    display: none;
    }

    /* Показываем при открытии */
    .dropdown-menu.show {
    display: block;
    }

    /* Анимация стрелочки */
    .dropdown-toggle.active .arrow {
    transform: rotate(180deg);
    }

    .arrow {
    transition: transform 0.3s ease;
    display: inline-block;
    }
}

/* Запрещаем горизонтальный скролл */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Фикс для навигации на десктопе */
@media (min-width: 769px) {
    .main-nav {
        overflow: visible;
    }
    
    .nav-list {
        flex-wrap: nowrap;
        overflow-x: visible;
    }
    
    /* Убираем лишние отступы */
    .site-header {
        overflow-x: visible;
    }
}

/* Фикс для выпадающего меню */
.dropdown-menu {
    right: 0;
    left: auto;
}




