/* БАЗОВЫЕ НАСТРОЙКИ */
body {
    margin: 0;
    padding: 0;
    font-family: "Arial", sans-serif;
    background: #0a0a0f;
    color: #fff;
}
a { color: inherit; text-decoration: none; }
h1,h2,h3{ margin:0; }

/* КНОПКИ */
.btn { background:#ff0084; padding:14px 32px; border-radius:8px; display:inline-block; font-size:1.1rem; transition:0.3s;}
.btn:hover { background:#ff33a0;}
.btn.small { padding:10px 20px; font-size:0.9rem;}

/* НАВИГАЦИЯ */
.navbar { position:fixed; top:0; left:0; width:90%; display:flex; justify-content:space-between; padding:20px 5%; z-index:10; align-items:center; background: linear-gradient(180deg, black, transparent)}
.navbar ul { display:flex; gap:25px; list-style:none; margin-top: 0}
.navbar.dark { position:relative; background:#0d0d15; border-bottom:1px solid #222;}
.navbar a:hover { color:#ff0084;}
.navbar .active { color:#ff0084;}
.logo { height:50px;}

/* HERO */
.hero { height:100vh; position:relative; background:url("https://images.unsplash.com/photo-1605721911519-3dfeb3f9c7c1?auto=format&w=2000") center/cover no-repeat; display:flex; justify-content:center; align-items:center; text-align:center;}
.hero .overlay { position:absolute; inset:0; background: rgba(0,0,0,0.6); z-index: 0 }
.hero .overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 10;
}
.hero .overlay .overlay-video { 
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-content { position:relative; z-index:2;}
.hero h1 { font-size:4rem; margin-bottom:20px;}
.hero p { font-size:1.3rem; margin-bottom:30px;}

/* FEATURES */
.features, .games, .gallery, .booking { padding:80px 10%; text-align:center; }
h2 { font-size:2.6rem; }
.feature-list { margin-top:50px; display:grid; grid-template-columns:repeat(2,1fr); gap:40px;}
.feature { background:#13131c; padding:30px; border-radius:12px; border:1px solid #1e1e29; }

/* GAMES */
.game-grid { margin-top:50px; display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
.game-card { background:#13131c; border-radius:12px; overflow:hidden; border:1px solid #1e1e29; }
.game-card img { width:100%; height:220px; object-fit:cover; }
.game-card h3 { margin-top:15px; font-size:1.4rem; }
.game-card p { margin-bottom:20px; }

/* GALLERY */
.gallery-row { margin-top:50px; display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.gallery-row img { width:100%; height:200px; object-fit:cover; border-radius:12px; }

/* BOOKING */
.booking-form { margin:40px auto 0; max-width:450px; display:grid; gap:20px; }
.booking-form input { padding:14px; font-size:1rem; border-radius:8px; border:none; }

/* PRICES */
.page-prices { background:#0a0a0f; }
.prices-section { padding:120px 10%; text-align:center; }
.price-cards { margin-top:60px; display:grid; grid-template-columns:repeat(3,1fr); gap:35px; }
.price-card { background:#13131c; border-radius:14px; padding:40px 20px; border:1px solid #1f1f29; position:relative;}
.price-card .price { font-size:2.2rem; margin:20px 0; color:#ff0084;}
.price-card.popular { border:2px solid #ff0084;}
.tag { position:absolute; top:-12px; left:50%; transform:translateX(-50%); background:#ff0084; padding:5px 14px; border-radius:20px; font-size:0.9rem;}

/* CONTACTS */
.contacts-hero { background: url('https://images.unsplash.com/photo-1605721911519-3dfeb3f9c7c1?auto=format&w=2000') center/cover no-repeat; padding:80px 0; text-align:center; color:#fff;}
.contacts-block { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:25px; margin-top:40px; }
.contact-card { background: rgba(20,20,20,0.8); border:1px solid #333; border-radius:12px; padding:25px; }
.contact-card h2 { color:#0ff; margin-bottom:10px; }
.contact-link { color:#0ff; text-decoration:none; }
.contact-link:hover { text-decoration:underline; }
.map { margin-top:15px; width:100%; height:200px; border:0; border-radius:12px; }

/* FOOTER */
footer { padding:20px; text-align:center; background:#0d0d15; margin-top:0; border-top:1px solid #1f1f29; }

/* АДАПТИВ */
@media(max-width:900px){
    .game-grid, .feature-list, .gallery-row, .price-cards { grid-template-columns:1fr; }
    .hero h1 { font-size:2.6rem; }
}
.contacts-booking {
  padding: 60px 20px;
  background: #111;
  color: #fff;
  padding-block-end: 0;
}

.contacts-booking h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.contacts-booking-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.contacts-info, .booking-form-container {
  flex: 1 1 300px;
}

.contact-card {
  background: #1a1a2e;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  transition: transform 0.2s, background 0.2s;
}

.contact-card:hover {
  background: #22224a;
  transform: translateY(-5px);
}

.contact-card .icon {
  font-size: 2rem;
}

.contact-info h3 {
  margin: 0 0 5px 0;
  font-size: 1.2rem;
}

.contact-info p {
  margin: 0;
  font-size: 1rem;
}

.booking-form-container h3 {
  margin-bottom: 20px;
}

.booking-form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: none;
  box-sizing: border-box;
}

.booking-form button.btn {
  width: 100%;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 30px;
}

.map {
  width: 100%;
  height: 100%;
  border: 0;
}
/* Скрываем меню по умолчанию на мобильных */
.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
  color: white;
}

.nav-links a.active {
  color: inherit;
}

.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 21px;
    position: relative;
    z-index: 10;
}

.burger div {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Мобильная версия */
@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        height: 100vh;
        top: 0;
        background-color: #111;
        flex-direction: column;
        align-items: center;
        width: 60%;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
        padding-top: 100px;
        gap: 30px;
    }

    .nav-links.active {
        transform: translateX(0%);
    }

    .burger {
        display: flex;
    }
}
.burger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.toggle .line2 {
    opacity: 0;
}

.burger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}
