* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  background: #05060c;
  color: #f5f7ff;
  line-height: 1.6;
}

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

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

.button,
button {
  font-family: "Oxanium", sans-serif;
  border: none;
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button:hover,
button:hover {
  transform: translateY(-1px);
}

.page {
  background: radial-gradient(circle at top, rgba(56, 87, 255, 0.25), transparent 55%);
  min-height: 100vh;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 80px;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(5, 6, 12, 0.85);
  backdrop-filter: blur(12px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Oxanium", sans-serif;
  font-weight: 700;
  font-size: 18px;
}

.logo-tipy {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid rgba(126, 165, 255, 0.25);
}

.nav {
  display: flex;
  gap: 28px;
  font-family: "Oxanium", sans-serif;
  font-weight: 500;
  color: #b8c2ff;
}

.cta-group {
  display: flex;
  gap: 14px;
}

.primary {
  background: linear-gradient(120deg, #4d8dff, #6e43ff);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(110, 67, 255, 0.4);
}

.secondary {
  background: #14162a;
  color: #c4cbff;
  border: 1px solid #2b3159;
}

.ghost {
  background: transparent;
  color: #d9defc;
  border: 1px solid #2b3159;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  padding: 60px 80px 40px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.pill {
  display: inline-flex;
  padding: 6px 16px;
  background: rgba(77, 141, 255, 0.16);
  border: 1px solid rgba(77, 141, 255, 0.4);
  border-radius: 999px;
  font-family: "Oxanium", sans-serif;
  font-size: 13px;
  color: #9bb6ff;
  width: fit-content;
}

.hero h1 {
  font-family: "Oxanium", sans-serif;
  font-size: clamp(2.6rem, 4vw, 4.1rem);
  line-height: 1.1;
}

.hero h1 span {
  color: #7ea5ff;
}

.hero p {
  color: #c4cbff;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.badges {
  display: flex;
  gap: 16px;
  align-items: center;
}

.hero-media {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.video-shell {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(126, 165, 255, 0.2);
}

.hero-video {
  width: 100%;
  height: auto;
  display: block;
}

.hero-banner {
  border-radius: 24px;
  border: 1px solid rgba(126, 165, 255, 0.15);
  opacity: 0.9;
}

.games {
  padding: 40px 80px;
}

.games h2 {
  font-family: "Oxanium", sans-serif;
  font-size: 28px;
  margin-bottom: 20px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
}

.game-card {
  background: rgba(16, 18, 33, 0.7);
  border: 1px solid rgba(126, 165, 255, 0.1);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  font-family: "Oxanium", sans-serif;
  color: #d7ddff;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 50px 80px;
  align-items: center;
}

.split.reverse {
  direction: rtl;
}

.split.reverse .split-copy {
  direction: ltr;
}

.split-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.split-copy h2 {
  font-family: "Oxanium", sans-serif;
  font-size: 30px;
}

.split-copy p {
  color: #c4cbff;
}

.split-media img {
  border-radius: 22px;
  border: 1px solid rgba(126, 165, 255, 0.15);
}

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

.safety {
  padding: 40px 80px;
}

.safety-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  background: rgba(12, 14, 26, 0.85);
  border: 1px solid rgba(126, 165, 255, 0.12);
  border-radius: 28px;
  padding: 32px;
  align-items: center;
}

.safety-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.safety-copy h3 {
  font-family: "Oxanium", sans-serif;
  font-size: 26px;
}

.tips {
  padding: 40px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.tips-copy h2 {
  font-family: "Oxanium", sans-serif;
  font-size: 30px;
  margin-bottom: 12px;
}

.tips-card {
  position: relative;
  background: rgba(16, 18, 33, 0.65);
  border: 1px solid rgba(126, 165, 255, 0.12);
  border-radius: 28px;
  padding: 32px;
}

.community {
  padding: 40px 80px 80px;
}

.community h2 {
  font-family: "Oxanium", sans-serif;
  font-size: 30px;
  margin-bottom: 22px;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.community-card {
  background: rgba(16, 18, 33, 0.75);
  border: 1px solid rgba(126, 165, 255, 0.12);
  border-radius: 22px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.community-card h4 {
  font-family: "Oxanium", sans-serif;
  font-size: 18px;
}

.footer {
  border-top: 1px solid rgba(126, 165, 255, 0.15);
  padding: 40px 80px 28px;
  background: rgba(6, 7, 14, 0.9);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 30px;
}

.newsletter h4 {
  font-family: "Oxanium", sans-serif;
  margin-bottom: 12px;
}

.input-shell {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(126, 165, 255, 0.25);
  background: rgba(13, 15, 28, 0.9);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-shell:hover {
  border-color: rgba(126, 165, 255, 0.45);
}

.input-shell:focus-within {
  border-color: rgba(126, 165, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(126, 165, 255, 0.15);
}

.input-icon-shell {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(77, 141, 255, 0.12);
  border: 1px solid rgba(126, 165, 255, 0.2);
}

.input-icon {
  width: 18px;
  height: 18px;
  opacity: 0.75;
}

.input-shell input {
  background: transparent;
  border: none;
  outline: none;
  color: #e4e7ff;
  flex: 1;
  font-size: 14px;
  min-height: 36px;
}

.input-shell input::placeholder {
  color: rgba(228, 231, 255, 0.55);
}

.input-shell .button {
  white-space: nowrap;
  padding: 10px 22px;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #9aa3d6;
  flex-wrap: wrap;
  gap: 18px;
}

.socials {
  display: flex;
  gap: 12px;
}

@media (max-width: 1024px) {
  .topbar {
    flex-direction: column;
    gap: 18px;
  }

  .hero,
  .split,
  .tips,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 40px;
  }

  .games,
  .split,
  .safety,
  .tips,
  .community,
  .footer {
    padding: 40px;
  }

  .safety-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    padding: 24px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 24px;
  }

  .games,
  .split,
  .safety,
  .tips,
  .community,
  .footer {
    padding: 24px;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .input-shell {
    flex-direction: column;
    align-items: stretch;
    border-radius: 18px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
