/* Забезпечення, що всі елементи вміщуються в межах екрана */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

/* Запобігання горизонтальному прокручуванню */
html, body {
    width: 100%;
    overflow-x: hidden; /* Забороняємо горизонтальне прокручування */
    scroll-behavior: smooth;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
}


.container {
    width: 80%;
    margin: 0 auto;
    
}

.container1 {
    width: 80%;
    margin: 0 auto;
    font-family: 'Noto Sans' ;
}
@media screen and (max-width: 768px) {
    .container1 {
        width: 80%;
        padding-top: 100px;
        font-family: 'Noto Sans';
    }
}

/* Header */
header {
    background: url('images/ai-generated-8128102_1920\ 1.png') no-repeat;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

@media screen and (max-width: 768px) {
    header {
        background: url('images/ai-generated-8128102_1920\ 1.png') no-repeat;
        background-size: cover ;
        background-position: -500px center;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        color: white;
    }
}

header h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

header p {
    font-size: 1.5rem;
    margin-bottom: 40px;
}

header .btn {
    padding: 10px 20px;
    background: #ff5722;
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

header .btn:hover {
    background: #e64a19;
    transform: scale(1.1);
}

/* Загальні стилі секції */
#about {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
}

/* Контейнер для карток */
.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Адаптивна сітка */
    gap: 30px; /* Відстань між картками */
    align-items: start; /* Вирівнювання карток по вертикалі */
}

/* Картки */
.about-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

/* Фон для шахматного стилю */
.about-card:nth-child(odd) {
    background-color: #f3f3f3; /* Легкий сірий фон для непарних карток */
}

.about-card:nth-child(even) {
    background-color: #ffffff; /* Білий фон для парних карток */
}

/* Заголовки карток */
.about-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: bold;
}

/* Текст у картках */
.about-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Ефект при наведенні */
.about-card:hover {
    transform: scale(1.05); /* Легке збільшення */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Мобільна адаптація */
@media screen and (max-width: 768px) {
    .about-cards {
        grid-template-columns: 1fr; /* Одна картка в ряд на мобільних */
    }

    .about-card {
        text-align: center; /* Центруємо текст для мобільних */
    }
}







#contact {
    padding: 60px 20px;
    background-color: #f3f3f3;
    text-align: center;
}

#contact .container {
    max-width: 600px;
    margin: 0 auto;
}

#contact h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

#contact-form button.btn-main {
    background-color: #ff6600;
    color: #fff;
    border: none;
    padding: 12px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#contact-form button.btn-main:hover {
    background-color: #e55a00;
}

#contact p {
    font-size: 16px;
    color: #555;
    margin-top: 10px;
}

#contact p:nth-child(2),
#contact p:nth-child(3),
#contact p:nth-child(4) {
    margin-top: 5px;
}
.card button {
    margin-top: 5px;
    padding: 8px 12px; /* Зменшено відступи */
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem; /* Зменшено шрифт */
    transition: background-color 0.3s ease;
    width: 100%; /* Кнопки займають всю ширину картки */
    display: flex;
    justify-content: center;
    align-items: center; /* Центруємо вміст (іконку та текст) */
}

.card button:hover {
    background-color: #45a049;
}




/* Pricing */
#pricing {
    padding: 60px 0;
    text-align: center;
}

/* Горизонтальне гортання тарифів */
/* Горизонтальне гортання тарифів */
.pricing-cards-wrapper {
    overflow-x: auto;
    display: flex;
    gap: 10px;
    padding: 10px 0;
    scroll-behavior: smooth;
    width: 100%;
}

.pricing-cards {
    display: flex;
    gap: 10px;
    width: max-content;
}

/* Уніфікований розмір карток */
.card {
    flex: 0 0 auto;
    width: 230px; /* Однакова ширина карток */
    height: 300px; /* Однакова висота карток, щоб не зміщувались */
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden; /* Забезпечуємо, щоб все знаходилось всередині */
}

.price {
    font-size: 1rem; /* Збільшення шрифту для ціни */
    font-weight: bold;
    color: #000000; /* Колір ціни (помаранчевий) */
    margin-bottom: 2px;

}

.price2 {
    font-size: 2rem; /* Збільшення шрифту для ціни */
    font-weight: bold;
    color: #000000; /* Колір ціни (помаранчевий) */
    margin-bottom: 2px;
}
/* Центрування тарифів на великих екранах */
@media screen and (min-width: 1024px) {
    .pricing-cards-wrapper {
        justify-content: center; /* Центруємо картки */
    }
}

/* Адаптація тексту та елементів всередині карток */
.card img {
    max-width: 100px; /* Розмір зображення */
    margin: 0 auto;
}

.card h3 {
    font-size: 1rem; /* Розмір заголовка */
    margin-bottom: 10px;
}


.card button {
    padding: 8px 12px;
    font-size: 0.8rem;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.card button:hover {
    background-color: #45a049;
}
/* Мобільна версія (до 768px) */
@media screen and (max-width: 768px) {
    .card button {
        width: 100%;
        font-size: 1rem;
        padding: 10px 15px;
    }
}

/* Для великих екранів (мінімум 1024px) */
@media screen and (min-width: 1024px) {
    .card button {
        width: 100%;
        font-size: 1rem;
        padding: 12px 20px; /* Збільшення відступів для великих екранів */
    }
}
/* Мобільна версія (до 768px) */
@media screen and (max-width: 768px) {
    .card {
        width: 50%; /* Картки займають всю ширину на мобільних */
        height: auto; /* Висота картки може змінюватись в залежності від контенту */
    }
    .card img {
        max-width: 100px; /* Розмір зображення */
        margin: 0 auto;
    }
}



/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
}

footer p {
    margin: 0;
}

/* Animations */
@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}



/* 🎯 Вирівняна форма бронювання в модальному вікні */
.modal {
  display: none; /* приховане за замовчуванням */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* затемнення фону */
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  animation: modalFadeIn 0.3s ease;
}

/* Анімація появи */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 1.5rem;
  color: #666;
  cursor: pointer;
  transition: color 0.2s;
}

.close-btn:hover {
  color: #000;
}

/* 🟩 Форма в модальному вікні */
#dateTimeForm {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  text-align: left;
}

#dateTimeForm label {
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

#dateTimeForm input,
#dateTimeForm textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  box-sizing: border-box;
}

#dateTimeForm textarea {
  resize: none;
  height: 70px;
}

#dateTimeForm .btn-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

#dateTimeForm .btn-row button {
  flex: 1;
  padding: 12px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: #fff;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#dateTimeForm .btn-row button:first-child {
  background-color: #28a745;
}

#dateTimeForm .btn-row button:first-child:hover {
  background-color: #218838;
  transform: scale(1.05);
}

#dateTimeForm .btn-row button:last-child {
  background-color: #dc3545;
}

#dateTimeForm .btn-row button:last-child:hover {
  background-color: #c82333;
  transform: scale(1.05);
}

/* 📱 Адаптація для мобільних */
@media (max-width: 600px) {
  .modal-content {
    width: 90%;
    padding: 20px;
  }

  #dateTimeForm .btn-row {
    flex-direction: column;
  }
}


.close-btn {
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}

/* Стиль для кошика */
#cart-summary {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #f9f9f9;  /* Легкий фон для кошика */
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Легка тінь для кошика */
}

/* Заголовок кошика */
#cart-summary h3 {
    font-size: 1.5rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Кнопки кошика */
#cart-summary button {
    padding: 12px 20px;
    font-size: 400;
    background-color: #4CAF50; /* Зелений для кнопки "Відправити" */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 120px;
    margin: 10px;
    transition: background-color 0.3s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    opacity: 1; /* Забезпечує видимість кнопок */
}

/* Кнопка "Відправити" */
#cart-summary button:first-child {
    background-color: #4CAF50; /* Зелений для "Відправити" */
}

#cart-summary button:first-child:hover {
    background-color: #45a049;
    transform: scale(1.05); /* Легка анімація збільшення при наведенні */
}

/* Кнопка "Очистити кошик" */
#cart-summary button:nth-child(2) {
    background-color: #f44336; /* Червоний для "Очистити" */
}

#cart-summary button:nth-child(2):hover {
    background-color: #d32f2f;
    transform: scale(1.05); /* Легка анімація збільшення при наведенні */
}

/* Іконки на кнопках */
#cart-summary button svg {
    margin-right: 8px;
}

/* Поле для суми */
#cart-summary .total-price {
    font-size: 1.6rem;
    color: #333;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Стиль для сумарної ціни */
#total-price {
    font-weight: bold;
    color: #ff5722;
    font-size: 1.5rem;
}

/* Мобільна адаптація */
@media screen and (max-width: 768px) {
    #cart-summary button {
        width: 100%; /* Кнопки займають всю ширину на мобільних пристроях */
        font-size: 1.2rem;
        padding: 15px;
    }
}
/* Центрування кнопок та іконок */
.centered-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #37b24d;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 15px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  width: 100%;
  transition: background 0.3s ease, transform 0.1s ease;
}

.centered-btn:hover {
  background: #2f9e44;
}

.centered-btn:active {
  transform: scale(0.97);
}

.clear-btn {
  background: #f03e3e;
}

.clear-btn:hover {
  background: #d63333;
}

.centered-btn svg {
  vertical-align: middle;
  flex-shrink: 0;
}


/* Центрування контейнера кнопок (якщо їх кілька) */
#cart-summary {
    text-align: center; /* Центруємо весь контейнер кнопок */
    margin-top: 20px;
}

/* Для великих екранів (мінімізуємо відстань між кнопками) */
@media screen and (min-width: 1024px) {
    .centered-btn {
        width: 80%; /* Зменшуємо ширину кнопок на великих екранах */
        font-size: 1.4rem;
        padding: 15px;
    }
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Частинки позаду контенту */
    background-color: #000; /* Фон для частинок */
}

#pricing h2 {
    color: #ffffff; /* Робимо текст білим */
    text-align: center; /* Центруємо текст, якщо потрібно */
    font-size: 2rem; /* Розмір шрифту, якщо потрібно змінити */
}

/* ======== NAVBAR ======== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.8);
  padding: 10px 25px;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  backdrop-filter: blur(6px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
}

.logo-text {
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
}

/* Меню */
.menu {
  display: flex;
  align-items: center;
  gap: 25px;
}

.menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.menu a:hover {
  color: #00ff88;
}

/* Кнопка Забронювати */
.menu-book-btn {
  background: #00a63c;
  color: white;
  padding: 8px 15px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.menu-book-btn:hover {
  background: #009030;
}

/* ======== Бургер ======== */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle div {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.4s ease;
}

/* Активний бургер */
.menu-toggle.active div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active div:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active div:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ======== Mobile ======== */
@media (max-width: 768px) {
  .menu {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    animation: slideDown 0.3s ease forwards;
  }

  .menu.active {
    display: flex;
  }

  .menu a {
    padding: 12px;
    text-align: center;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .menu-book-btn {
    width: 80%;
    text-align: center;
    margin: 10px auto 20px auto;
  }

  .menu-toggle {
    display: flex;
  }
}

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



.vrgame {
    padding: 20px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
}
.content {
    margin-top: 80px;
    background: transparent;
    color: white;
    padding: 20px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}
.games-list {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
}
.game-card {
    background: rgba(50, 50, 50, 0.9);
    padding: 15px;
    border-radius: 10px;
    flex-shrink: 0;
    width: 200px;
    text-align: center;
}
.game-card img {
    width: 100%;
    border-radius: 10px;
}
.game-card h3 {
    font-size: 16px;
}
.games-list-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.psgames {
    padding: 20px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
}

.game1 {
    padding: 20px;
    font-size: 30px;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


