:root {
  --bg: #061120;
  --nav: #0d1b31;
  --card: #0d1c34;
  --card-2: #081527;
  --blue: #0ea5ff;
  --text: #f4f8ff;
  --muted: #9fb4d0;
  --border: rgba(96, 165, 250, 0.22);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, Arial, sans-serif;
}

body {
    background:
    radial-gradient(circle at 18% 18%, rgba(14, 165, 255, 0.12), transparent 28%),
    radial-gradient(circle at 82% 28%, rgba(37, 99, 235, 0.18), transparent 32%),
    radial-gradient(circle at 50% 85%, rgba(14, 165, 255, 0.08), transparent 30%),
    #061120;
  color: var(--text);
  letter-spacing: 0.2px;
}

button {
  font: inherit;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 99;
  height: 68px;
  background: rgba(13, 27, 49, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.nav-container {
  max-width: 1400px;
  height: 100%;
  margin: auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo,
.nav-link,
.footer button {
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
}

.logo b {
  color: var(--blue);
}

.logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  display: grid;
  place-items: center;
}

.nav-menu {
  display: flex;
  gap: 24px;
}

.nav-link {
  color: var(--muted);
  padding: 10px 17px;
  border-radius: 13px;
}

.nav-link:hover,
.nav-link.active {
  color: white;
  background: rgba(255,255,255,0.08);
}

.offer-btn,
.primary-btn {
  border: none;
  background: var(--blue);
  color: white;
  padding: 13px 23px;
  border-radius: 15px;
  font-weight: 800;
  cursor: pointer;
}

.secondary-btn {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: white;
  padding: 13px 23px;
  border-radius: 15px;
  font-weight: 800;
  cursor: pointer;
}

.page-section {
  min-height: auto;
  padding: 70px 24px;
}

.hero.page-section {
  min-height: 82vh;
  padding: 120px 24px 80px;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  background-image: url("../Assets/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(6, 17, 32, 0.94), rgba(7, 35, 90, 0.88)),
    radial-gradient(circle at 70% 20%, rgba(14, 165, 255, 0.25), transparent 30%);
}

.hero-content {
  position: relative;
  max-width: 860px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  padding: 9px 16px;
  border-radius: 999px;
  margin-bottom: 30px;
}

.badge svg {
  width: 17px;
  color: var(--blue);
}

.hero h1 {
  font-size: clamp(44px, 7vw, 78px);
  line-height: 1.15;
  margin-bottom: 26px;
}

.hero h1 span {
  color: var(--blue);
}

.hero p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

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

.section-header h1 {
  font-size: 52px;
  margin-bottom: 18px;
}

.section-header p {
  color: var(--muted);
  font-size: 18px;
}

.cards-grid {
  max-width: 1220px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card,
.game-card,
.contact-card,
.work-hours {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 34px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 28px;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.service-card h2,
.game-card h2 {
  margin-bottom: 14px;
}

.service-card p,
.game-card p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.service-card ul {
  list-style: none;
}

.service-card li {
  margin-top: 13px;
}

.service-card li::before {
  content: "✓";
  color: var(--blue);
  margin-right: 10px;
}

.game-image {
  height: 170px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(14,165,255,0.3), rgba(255,255,255,0.04)),
    #0b1830;
  margin-bottom: 24px;
}

.game-buttons {
  display: flex;
  gap: 12px;
}

.game-buttons a {
  flex: 1;
  text-align: center;
  color: white;
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: 13px;
}

.contact-grid {
  max-width: 760px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  text-align: center;
}

.contact-card .card-icon {
  margin-inline: auto;
}

.contact-card span {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 1px;
}

.contact-card h2 {
  font-size: 17px;
  margin-top: 10px;
}

.work-hours {
  max-width: 670px;
  margin: 50px auto 0;
  text-align: center;
}

.work-hours p {
  color: var(--muted);
  margin-top: 8px;
}

.footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  background: #050b14;
  padding: 80px 24px 35px;
}

.footer-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(5, 11, 20, 0.90), rgba(5, 11, 20, 0.96)),
    url("../Assets/footer-bg.jpg") center/cover no-repeat;
  opacity: 0.65;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(14, 165, 255, 0.16), transparent 28%),
    radial-gradient(circle at 80% 30%, rgba(14, 165, 255, 0.10), transparent 30%);
  pointer-events: none;
}

.footer-container {
  position: relative;
  z-index: 2;
  max-width: 1150px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 90px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.footer-logo-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 22px;
}

.footer h2 {
  color: white;
  font-size: 28px;
}

.footer h2 span {
  color: var(--blue);
}

.footer h3 {
  color: #b8d4f5;
  margin-bottom: 22px;
  letter-spacing: 1px;
  font-size: 19px;
}

.footer h3::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  background: var(--blue);
  margin-top: 10px;
  border-radius: 99px;
}

.footer p {
  color: #b8d4f5;
  line-height: 1.9;
}

.footer-copy {
  margin-top: 32px;
  font-size: 14px;
  opacity: 0.75;
}

.footer button {
  display: block;
  border: none;
  background: transparent;
  color: #b8d4f5;
  cursor: pointer;
  font-size: 16px;
  margin-bottom: 13px;
  transition: 0.25s;
}

.footer button:hover {
  color: var(--blue);
  transform: translateX(6px);
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #dbeafe;
  text-decoration: none;
  margin-bottom: 14px;
  transition: 0.25s;
}

.footer-contact a svg {
  width: 19px;
  height: 19px;
  color: var(--blue);
}

.footer-contact i {
  width: 20px;
  text-align: center;
  margin-right: 10px;
  color: var(--blue);
  font-size: 16px;
}

.footer-contact a:hover {
  color: var(--blue);
  transform: translateX(6px);
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 45px;
  }
}

.primary-btn,
.secondary-btn,
.offer-btn {
  transition: all 0.25s ease;
}

.primary-btn:hover,
.secondary-btn:hover,
.offer-btn:hover {
  transform: translateY(-3px);
}

.service-card,
.game-card,
.contact-card {
  transition: all 0.3s ease;
}

.service-card:hover,
.game-card:hover,
.contact-card:hover {
  transform: translateY(-8px);
}

.cta-box {
  max-width: 900px;
  margin: auto;
  padding: 70px 30px;
  text-align: center;

  background: linear-gradient(180deg, #0d1c34, #081527);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.cta-box h2 {
  font-size: 38px;
  margin-bottom: 16px;
}

.cta-box p {
  color: var(--muted);
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .navbar {
    height: auto;
  }

  .nav-container {
    padding: 14px 18px;
    flex-wrap: wrap;
    gap: 14px;
  }

  .logo {
    font-size: 20px;
  }

  .nav-menu {
    order: 3;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .nav-link {
    font-size: 14px;
    padding: 9px 12px;
    white-space: nowrap;
  }

  .offer-btn {
    display: inline-flex;
    padding: 10px 16px;
    font-size: 14px;
  }

  .hero.page-section {
    min-height: 78vh;
    padding: 110px 18px 60px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .page-section {
    padding: 55px 18px;
  }

  .section-header h1 {
    font-size: 36px;
  }

  .section-header p {
    font-size: 16px;
  }

  .cards-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-card,
  .game-card,
  .contact-card {
    padding: 26px;
  }

  .cta-box {
    padding: 45px 22px;
  }

  .cta-box h2 {
    font-size: 28px;
  }

  .footer {
    padding: 55px 22px 30px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

.games-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.game-card {
  overflow: hidden;
}

.game-cover {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.game-content h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.game-content p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.game-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.game-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  color: white;
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 13px;
  border-radius: 13px;
  transition: 0.25s;
}

.game-buttons a:hover {
  color: var(--blue);
  transform: translateY(-3px);
}

.privacy-btn {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .games-grid {
    grid-template-columns: 1fr;
  }

  .game-buttons {
    grid-template-columns: 1fr;
  }

  .privacy-btn {
    grid-column: span 1;
  }
}