@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

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

:root {
  --red:    #e02020;
  --blue:   #2060e0;
  --orange: #e07020;
  --bg:     #080b12;
  --bg2:    #0c1020;
  --surface: rgba(255, 255, 255, 0.04);
  --border:  rgba(255, 255, 255, 0.08);
  --text:    #f0eef8;
  --muted:   rgba(240, 238, 248, 0.46);
  --glass:   rgba(8, 11, 18, 0.6);
  --purple:   #5B27F5;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.nav {
  position: fixed;
  top: 22px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 100;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  gap: 4px;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(40px) saturate(2) brightness(0.8);
  backdrop-filter: blur(40px) saturate(2) brightness(0.8);
  border: 1px solid var(--border);
  box-shadow:
    0 8px 48px rgba(0, 0, 0, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
  -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease;
  -webkit-animation: nav-in 0.7s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation: nav-in 0.7s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.nav.hidden {
  opacity: 0;
  pointer-events: none;
  -webkit-transform: translateX(-50%) translateY(-12px);
  transform: translateX(-50%) translateY(-12px);
}

.nav a {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding: 9px 18px;
  border-radius: 999px;
  -webkit-transition: color 0.18s, background 0.18s;
  transition: color 0.18s, background 0.18s;
  cursor: pointer;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}


.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('pictures/background.png');
  background-size: cover;
  background-position: center top;
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
  -webkit-animation: bg-drift 28s ease-in-out infinite alternate;
  animation: bg-drift 28s ease-in-out infinite alternate;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 11, 18, 0.28) 0%,
    rgba(8, 11, 18, 0.48) 45%,
    rgba(8, 11, 18, 0.97) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  align-items: center;
  gap: 36px;
  -webkit-animation: fade-up 0.9s 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation: fade-up 0.9s 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__logo {
  width: 240px;
  height: auto;
  filter: drop-shadow(0 0 48px rgba(224, 32, 32, 0.38)) drop-shadow(0 8px 24px rgba(0,0,0,0.7));
  -webkit-filter: drop-shadow(0 0 48px rgba(224, 32, 32, 0.38)) drop-shadow(0 8px 24px rgba(0,0,0,0.7));
  -webkit-animation: logo-glow 4s ease-in-out infinite alternate;
  animation: logo-glow 4s ease-in-out infinite alternate;
}

.btn-play {
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-align-items: center;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 16px 56px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  -webkit-transition: -webkit-transform 0.25s cubic-bezier(0.16,1,0.3,1), box-shadow 0.25s, background 0.2s;
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), box-shadow 0.25s, background 0.2s;
  box-shadow: 0 4px 32px rgba(224, 32, 32, 0.42), 0 1px 0 rgba(255,255,255,0.12) inset;
}

.btn-play::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.14) 0%, transparent 60%);
  pointer-events: none;
}

.btn-play:hover {
  -webkit-transform: translateY(-2px) scale(1.03);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 44px rgba(224, 32, 32, 0.58);
  background: #f03030;
}

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


.section {
  padding: 100px 24px;
}

.section--bg {
  position: relative;
  overflow: hidden;
}

.section__bg-img {
  position: absolute;
  inset: 0;
  background-image: url('pictures/onas_bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}

.section__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--bg) 0%,
    rgba(8, 11, 18, 0.55) 40%,
    rgba(8, 11, 18, 0.55) 60%,
    var(--bg) 100%
  );
}

.section--alt {
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}

.section--alt::before,
.section--alt::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 120px;
  pointer-events: none;
  z-index: 1;
}

.section--alt::before {
  top: 0;
  background: linear-gradient(to bottom, var(--bg), transparent);
}

.section--alt::after {
  bottom: 0;
  background: linear-gradient(to top, var(--bg), transparent);
}

.section__inner {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
}

.section__inner--center {
  text-align: center;
  max-width: 660px;
  margin: 0 auto;
}

.tag {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
  opacity: 0.85;
}

.heading {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 5vw, 50px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 20px;
}

.body-text {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 300;
}

.divider {
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: var(--red);
  margin: 0 auto 30px;
  opacity: 0.7;
}


.cards {
  display: -webkit-flex;
  display: flex;
  gap: 20px;
  margin-top: 52px;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: center;
  justify-content: center;
}

.card {
  position: relative;
  -webkit-flex: 1 1 300px;
  flex: 1 1 300px;
  max-width: 420px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  box-shadow: 0 12px 56px rgba(0,0,0,0.5);
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-transition: -webkit-transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.38s, border-color 0.3s;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.38s, border-color 0.3s;
}

.card:hover {
  -webkit-transform: translateY(-7px);
  transform: translateY(-7px);
  box-shadow: 0 28px 72px rgba(0,0,0,0.65);
}

.card-duels:hover   { border-color: rgba(224,  32,  32, 0.4); }
.card-anarchy:hover { border-color: #774D91 }
.card-kbffa:hover   { border-color: rgba(224,  32,  32, 0.4); }

.card__img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  position: relative;
}

.card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  -webkit-transition: -webkit-transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
  max-width: none;
}

.card:hover .card__img {
  -webkit-transform: scale(1.06);
  transform: scale(1.06);
}

.card__scrim {
  position: absolute;
  top: 120px;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--bg2));
  pointer-events: none;
  z-index: 1;
}

.card__body {
  position: relative;
  z-index: 2;
  padding: 20px 22px 24px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  backdrop-filter: blur(24px) saturate(1.6);
  border-top: 1px solid var(--border);
  -webkit-flex: 1;
  flex: 1;
}

.card__pill {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 9px;
}

.card__pill--red {
  color: #ff7070;
  background: rgba(224, 32, 32, 0.14);
  border: 1px solid rgba(224, 32, 32, 0.3);
}

.card__pill--blue {
  color: #80aaff;
  background: rgba(32, 96, 224, 0.14);
  border: 1px solid rgba(32, 96, 224, 0.3);
}

.card__pill--orange {
  color: #ffaa60;
  background: rgba(224, 112, 32, 0.14);
  border: 1px solid rgba(224, 112, 32, 0.3);
}

.card__pill--purple {
  color: #E55EFD;
  background: #290A33;
  border: 1px solid #5028C9;
}

.card__title {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}

.card__desc {
  margin-top: 5px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

.card__stats {
  display: -webkit-flex;
  display: flex;
  gap: 20px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stat label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240, 238, 248, 0.3);
  margin-bottom: 3px;
}

.stat span {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: rgba(240, 238, 248, 0.88);
  letter-spacing: -0.01em;
}


.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 64px 24px 40px;
}

.footer__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.footer__top {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer__logo-img {
  width: 80px;
  height: auto;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 12px rgba(224,32,32,0.3));
  -webkit-filter: drop-shadow(0 0 12px rgba(224,32,32,0.3));
}

.footer__tagline {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 210px;
  line-height: 1.6;
}

.footer__cols {
  display: -webkit-flex;
  display: flex;
  gap: 58px;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

.footer__col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer__col ul {
  list-style: none;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  gap: 10px;
}

.footer__col ul li a {
  font-size: 14px;
  color: rgba(240, 238, 248, 0.4);
  -webkit-transition: color 0.18s;
  transition: color 0.18s;
}

.footer__col ul li a:hover {
  color: var(--text);
}

.footer__bottom {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: center;
  align-items: center;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 30px;
}

.footer__copy {
  font-size: 12.5px;
  color: rgba(240, 238, 248, 0.22);
}

.footer__legal {
  display: -webkit-flex;
  display: flex;
  gap: 22px;
}

.footer__legal a {
  font-size: 12.5px;
  color: rgba(240, 238, 248, 0.22);
  -webkit-transition: color 0.18s;
  transition: color 0.18s;
}

.footer__legal a:hover {
  color: rgba(240, 238, 248, 0.6);
}


.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 11, 18, 0.65);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity 0.28s ease;
  transition: opacity 0.28s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  position: relative;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px 48px 40px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  -webkit-transform: translateY(20px) scale(0.97);
  transform: translateY(20px) scale(0.97);
  -webkit-transition: -webkit-transform 0.32s cubic-bezier(0.16,1,0.3,1);
  transition: transform 0.32s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 32px 90px rgba(0,0,0,0.65);
}

.modal-overlay.open .modal {
  -webkit-transform: translateY(0) scale(1);
  transform: translateY(0) scale(1);
}

.modal__x {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  -webkit-transition: color 0.18s, background 0.18s;
  transition: color 0.18s, background 0.18s;
}

.modal__x:hover {
  color: var(--text);
  background: var(--surface);
}

.modal h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.modal p {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 26px;
  line-height: 1.65;
}

.modal__ip {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 20px;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  cursor: pointer;
  -webkit-transition: border-color 0.2s, background 0.2s;
  transition: border-color 0.2s, background 0.2s;
  -webkit-user-select: all;
  user-select: all;
}

.modal__ip:hover {
  border-color: rgba(224, 32, 32, 0.44);
  background: rgba(224, 32, 32, 0.07);
}

.modal__hint {
  font-size: 12px;
  color: rgba(240, 238, 248, 0.28);
  margin-bottom: 0;
}


.reveal {
  opacity: 0;
  -webkit-transform: translateY(24px);
  transform: translateY(24px);
  -webkit-transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), -webkit-transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
}


@-webkit-keyframes nav-in {
  from { opacity: 0; -webkit-transform: translateX(-50%) translateY(-16px); transform: translateX(-50%) translateY(-16px); }
  to   { opacity: 1; -webkit-transform: translateX(-50%) translateY(0);     transform: translateX(-50%) translateY(0); }
}
@keyframes nav-in {
  from { opacity: 0; transform: translateX(-50%) translateY(-16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@-webkit-keyframes fade-up {
  from { opacity: 0; -webkit-transform: translateY(30px); transform: translateY(30px); }
  to   { opacity: 1; -webkit-transform: translateY(0);    transform: translateY(0); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@-webkit-keyframes bg-drift {
  from { -webkit-transform: scale(1.05); transform: scale(1.05); }
  to   { -webkit-transform: scale(1.12); transform: scale(1.12); }
}
@keyframes bg-drift {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

@-webkit-keyframes logo-glow {
  from { -webkit-filter: drop-shadow(0 0 32px rgba(224,32,32,0.3)) drop-shadow(0 8px 24px rgba(0,0,0,0.7)); filter: drop-shadow(0 0 32px rgba(224,32,32,0.3)) drop-shadow(0 8px 24px rgba(0,0,0,0.7)); }
  to   { -webkit-filter: drop-shadow(0 0 64px rgba(224,32,32,0.55)) drop-shadow(0 8px 24px rgba(0,0,0,0.7)); filter: drop-shadow(0 0 64px rgba(224,32,32,0.55)) drop-shadow(0 8px 24px rgba(0,0,0,0.7)); }
}
@keyframes logo-glow {
  from { filter: drop-shadow(0 0 32px rgba(224,32,32,0.3)) drop-shadow(0 8px 24px rgba(0,0,0,0.7)); }
  to   { filter: drop-shadow(0 0 64px rgba(224,32,32,0.55)) drop-shadow(0 8px 24px rgba(0,0,0,0.7)); }
}


@media (max-width: 680px) {
  .nav { padding: 9px 14px; }
  .nav a { font-size: 12px; padding: 7px 11px; }

  .cards { -webkit-flex-direction: column; flex-direction: column; }
  .card  { max-width: 100%; }

  .footer__top  { -webkit-flex-direction: column; flex-direction: column; }
  .footer__cols { gap: 30px; }

  .modal { padding: 36px 24px 30px; }
}
