/* Core */
:root {
  --bg: #000000;
  --nav: #00192a;
  --panel: #004453;
  --btn: #00546b;
  --cta: #f04e00;
  --accent: #02dee1;
  --text: #ffffff;
  --glow: 0 0 18px rgba(2, 222, 225, 0.45);
  --radius: 14px;
  --transition: 0.25s ease;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(2, 222, 225, 0.08), transparent 35%), radial-gradient(circle at 80% 0%, rgba(240, 78, 0, 0.1), transparent 30%), var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.page {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 260px;
  height: 100vh;
  background: var(--nav);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

.sidebar__logo img {
  width: 160px;
  filter: drop-shadow(var(--glow));
}

.sidebar__close {
  display: none;
  background: rgba(0, 84, 107, 0.6);
  border: 1px solid rgba(2, 222, 225, 0.4);
  color: var(--text);
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.sidebar__close:hover {
  box-shadow: var(--glow);
}

.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  padding: 12px 14px;
  background: rgba(0, 84, 107, 0.35);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.4px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.nav-item i {
  color: var(--accent);
  text-align: center;
  font-size: 16px;
}

.nav-item:hover,
.nav-item.active {
  border-color: rgba(2, 222, 225, 0.4);
  box-shadow: var(--glow);
  transform: translateX(6px);
}

.sidebar__cta {
  margin-top: auto;
  display: inline-block;
  text-align: center;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--cta);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.6px;
  box-shadow: 0 0 22px rgba(240, 78, 0, 0.5);
  transition: var(--transition);
}

.sidebar__cta:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* Topbar (mobile) */
.topbar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 25, 42, 0.92);
  align-items: center;
  justify-content: space-between;
  z-index: 900;
  backdrop-filter: blur(8px);
}

.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 850;
}

.topbar__brand img {
  height: 36px;
}

.topbar__cta {
  background: var(--cta);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(240, 78, 0, 0.45);
}

.burger {
  background: none;
  border: none;
  display: grid;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 10px;
  transition: var(--transition);
}

.burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Content */
.content {
  margin-left: 260px;
  width: calc(100% - 260px);
  max-width: 1440px;
  padding: 28px 32px 120px;
}

.section {
  margin-top: 48px;
}

.section__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.section__head h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: 0.8px;
}

.section__head p {
  margin: 0;
  color: #c9e6f0;
}

/* Hero */
.hero {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 56vh;
  max-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../images/hero/hero.jpg') center/cover no-repeat;
  box-shadow: var(--shadow);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 25, 42, 0.78), rgba(0, 0, 0, 0.2));
}

.hero__content {
  position: relative;
  text-align: center;
  max-width: 760px;
  padding: 20px;
  z-index: 1;
}

.hero__content h2 {
  font-size: 48px;
  margin: 0 0 14px;
  text-shadow: 0 0 20px rgba(2, 222, 225, 0.5);
}

.hero__content p {
  margin: 0 0 20px;
  color: #ddf5ff;
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--btn);
  color: #fff;
  box-shadow: var(--glow);
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-register {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 0 22px rgba(240, 78, 0, 0.45);
}

.btn-register:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: rgba(2, 222, 225, 0.6);
  color: var(--text);
  box-shadow: inset 0 0 12px rgba(2, 222, 225, 0.4);
}

.btn-outline:hover {
  background: rgba(0, 84, 107, 0.5);
}

/* Cards & grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card-grid--wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  border: 1px solid rgba(2, 222, 225, 0.15);
  transition: var(--transition);
}

.card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.card__body {
  padding: 14px;
}

.card__body h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.card__body p {
  margin: 0;
  color: #bde6f2;
}

.card--image-only img {
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(2, 222, 225, 0.3);
  border-color: rgba(2, 222, 225, 0.5);
}

/* Slot categories */
.slot-categories {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding: 0 8px 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(2, 222, 225, 0.6) transparent;
  touch-action: pan-x;
}

.slot-category {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(0, 84, 107, 0.35);
  border-radius: var(--radius);
  border: 1px solid rgba(2, 222, 225, 0.2);
  transition: var(--transition);
  min-width: 140px;
}

.slot-category img {
  height: 36px;
  filter: drop-shadow(0 0 10px rgba(2, 222, 225, 0.6));
}

.slot-category span {
  font-weight: 600;
}

.slot-category:hover {
  box-shadow: var(--glow);
  transform: translateY(-3px);
}

/* Bonuses */
.bonuses {
  position: relative;
}

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.bonus-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--panel);
  min-height: 220px;
  border: 1px solid rgba(2, 222, 225, 0.3);
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: grid;
}

.bonus-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(240, 78, 0, 0.35);
  border-color: rgba(240, 78, 0, 0.5);
}

.bonus-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

.bonus-overlay {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34%;
  height: auto;
  transform: none;
  filter: drop-shadow(0 0 14px rgba(2, 222, 225, 0.5));
}

.bonus-copy {
  position: relative;
  padding: 20px;
  max-width: 60%;
}

.bonus-copy h3 {
  margin: 0 0 8px;
}

.bonus-copy p {
  margin: 0 0 14px;
  color: #dff6ff;
}

/* Payments */
.payments__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.payment {
  background: rgba(0, 84, 107, 0.35);
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(2, 222, 225, 0.25);
  box-shadow: var(--glow);
}

.payment img {
  height: 32px;
}

.payments__note {
  color: #bde6f2;
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.about__content p {
  margin: 0 0 14px;
}

/* FAQ */
.faq__items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

details {
  background: rgba(0, 84, 107, 0.35);
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(2, 222, 225, 0.25);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

details summary {
  cursor: pointer;
  font-weight: 600;
}

details[open] {
  box-shadow: 0 10px 28px rgba(2, 222, 225, 0.2);
}

details p {
  margin: 10px 0 0;
  color: #c9e6f0;
}

/* Help */
.help__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.help__card {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid rgba(2, 222, 225, 0.25);
  box-shadow: var(--shadow);
}

.help__card h3 {
  margin: 0 0 10px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.help__card p {
  margin: 0 0 12px;
  color: #d5f0fa;
}

/* Footer */
.footer {
  background: #000000;
  border-top: 1px solid rgba(2, 222, 225, 0.2);
  padding: 30px 22px 26px;
  text-align: center;
  color: #d1ecf6;
}

.footer__logo img {
  height: 50px;
  margin: 0 auto 12px;
  filter: drop-shadow(var(--glow));
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 10px;
}

.footer__links a {
  color: #fff;
  font-weight: 600;
}

.footer__meta {
  margin: 0;
  font-size: 14px;
  color: #9ec7d6;
}

/* Responsive */
@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform var(--transition);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar__close {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
  }

  .menu-overlay.visible {
    display: block;
  }

  .topbar {
    display: flex;
  }

  .content {
    margin-left: 0;
    padding-top: 86px;
    width: 100%;
    max-width: 100%;
  }

  .hero {
    min-height: 58vh;
  }
}

@media (max-width: 900px) {
  .content {
    padding: 28px 18px 90px;
  }

  .hero__content h2 {
    font-size: 36px;
  }

  .card-grid,
  .bonus-grid,
  .help__grid {
    gap: 12px;
  }

  .card img {
    height: 300px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 50vh;
    max-height: 65vh;
  }

  .hero__content h2 {
    font-size: 30px;
  }

  .card img {
    height: 240px;
  }

  .bonus-overlay {
    width: 52%;
  }

  .bonus-grid {
    grid-template-columns: 1fr;
  }

  .help__grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .card-grid--wide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
