html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0; padding: 0; border: 0;
  font-size: 100%; font: inherit; vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { display: block; }
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }
*, *:after, *:before { box-sizing: border-box; }

/* ── Variables — Nordic forest palette ── */
:root {
  --bg-deep:      #060d08;
  --bg-mid:       #0b1610;
  --bg-card:      #0f1e14;
  --bg-nav:       #111f16;
  --green-main:   #1e7a42;
  --green-light:  #28a857;
  --green-bright: #34d468;
  --green-glow:   rgba(40,168,87,0.4);
  --gold:         #c8980e;
  --gold-light:   #e0b020;
  --text-white:   #f0f5f1;
  --text-muted:   #7a9480;
  --border:       rgba(40,168,87,0.18);
  --border-nav:   rgba(255,255,255,0.07);
  --header-h:     64px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-deep);
  color: var(--text-white);
  overflow-x: hidden;
}

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

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  background: var(--bg-mid);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.logo {
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}
.logo__valhalla { color: var(--green-bright); }
.logo__wins     { color: var(--text-white); }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  flex-shrink: 0;
  transition: background 0.2s;
}
.hamburger:hover { background: rgba(40,168,87,0.12); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all 0.28s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Auth Buttons */
.header__auth {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-login {
  padding: 9px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-white);
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  display: inline-block;
}
.btn-login:hover {
  border-color: var(--green-light);
  color: var(--green-bright);
}

.btn-signup {
  padding: 9px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--green-light), var(--green-main));
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  display: inline-block;
  box-shadow: 0 4px 16px var(--green-glow);
  animation: pulse-green 2.2s ease-in-out infinite;
}
.btn-signup:hover {
  background: linear-gradient(135deg, var(--green-bright), var(--green-light));
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(40,168,87,0.6);
  animation: none;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 4px 16px rgba(40,168,87,0.35); }
  50%       { box-shadow: 0 4px 28px rgba(40,168,87,0.65); }
}

.btn--block {
  display: block;
  width: 100%;
  text-align: center;
  border-radius: 10px;
  padding: 13px 20px;
  font-size: 16px;
}

/* ══════════════════════════════════════
   MOBILE DRAWER
══════════════════════════════════════ */
.drawer {
  position: fixed;
  top: 0; left: 0;
  width: 280px;
  height: 100%;
  background: var(--bg-mid);
  z-index: 500;
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  box-shadow: 4px 0 32px rgba(0,0,0,0.6);
  border-right: 1px solid var(--border);
}
.drawer.open { transform: translateX(0); }

.drawer__inner {
  padding: 80px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  height: 100%;
}

.drawer__nav { display: flex; flex-direction: column; gap: 4px; }

.drawer__link {
  display: block;
  padding: 13px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 8px;
  transition: all 0.2s;
}
.drawer__link:hover {
  color: var(--green-bright);
  background: rgba(40,168,87,0.08);
}

.drawer__auth { display: flex; flex-direction: column; gap: 10px; }
.drawer__auth .btn-login { border-color: rgba(255,255,255,0.12); }

.drawer__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 400;
}
.drawer__overlay.open { display: block; }

/* ══════════════════════════════════════
   SUB-NAV
══════════════════════════════════════ */
.subnav {
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border-nav);
  padding: 10px 20px;
  position: sticky;
  top: var(--header-h);
  z-index: 100;
}

.subnav__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.subnav__pill {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-nav);
  border-radius: 100px;
  padding: 4px;
  gap: 2px;
}

.subnav__link {
  padding: 9px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s;
  white-space: nowrap;
}
.subnav__link:hover { color: var(--text-white); background: rgba(255,255,255,0.05); }
.subnav__link.active {
  background: rgba(40,168,87,0.15);
  color: var(--green-bright);
  font-weight: 600;
}

/* ══════════════════════════════════════
   HERO BANNER
══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 460px;
  background: var(--bg-deep);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero__bg { position: absolute; inset: 0; }
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(6,13,8,0.94) 0%,
    rgba(6,13,8,0.72) 50%,
    rgba(6,13,8,0.2) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 64px 48px;
  max-width: 520px;

}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(40,168,87,0.12);
  border: 1px solid rgba(40,168,87,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-bright);
  margin-bottom: 22px;
}

.hero__h1,
.hero__h2 {
  font-size: clamp(30px, 4.5vw, 58px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-white);
  margin-bottom: 18px;
  letter-spacing: -1px;
}
.hero__h1 span,
.hero__h2 span {
  background: linear-gradient(135deg, var(--green-bright), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero__sub {
  font-size: clamp(14px, 1.6vw, 17px);
  color: rgba(240,245,241,0.65);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 440px;
}

.hero__cta {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--green-light), var(--green-main));
  box-shadow: 0 6px 28px rgba(40,168,87,0.45);
  transition: all 0.25s;
}
.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(40,168,87,0.6);
  background: linear-gradient(135deg, var(--green-bright), var(--green-light));
}

/* ══════════════════════════════════════
   GAMES SECTION
══════════════════════════════════════ */
.games-section {
  background: var(--bg-deep);
  padding: 32px 0 60px;
}

.games-section__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-nav);
}

.search-bar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 0 18px;
  height: 44px;
  background: var(--bg-card);
  max-width: 560px;
}
.search-bar__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--text-white);
  background: transparent;
}
.search-bar__input::placeholder { color: var(--text-muted); }

.categories-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  height: 44px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-white);
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.categories-btn:hover {
  border-color: var(--green-light);
  color: var(--green-bright);
}

/* Filter Pills */
.filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.pill {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.08);
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.pill:hover { border-color: var(--green-light); color: var(--green-bright); }
.pill--active {
  background: rgba(40,168,87,0.15);
  border-color: var(--green-main);
  color: var(--green-bright);
  font-weight: 600;
}

.section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-bottom: 36px;
}

.game-card {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg-card);
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
  border: 1px solid rgba(255,255,255,0.04);
}
.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(40,168,87,0.2);
  border-color: rgba(40,168,87,0.3);
}
.game-card img { width: 100%; height: 100%; object-fit: cover; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  padding: 56px 20px 32px;
  color: var(--text-muted);
}

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

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer__col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 18px;
}

.footer__links { display: flex; flex-direction: column; gap: 11px; }
.footer__links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--green-bright); }

.footer__divider {
  height: 1px;
  background: var(--border-nav);
  margin-bottom: 32px;
}

.footer__license {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.footer__license-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.footer__license-text {
  font-size: 13px;
  color: #445a48;
  line-height: 1.75;
  max-width: 860px;
}
.footer__license-text strong { color: var(--text-muted); }
.footer__license-text a { color: var(--green-main); text-decoration: underline; }
.footer__license-text a:hover { color: var(--green-bright); }

.footer__label { font-size: 12px; color: #3a5040; margin-right: 8px; }

.footer__payments {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.pay-badge {
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  font-size: 12px;
  font-weight: 600;
  color: #445a48;
}

.footer__rg {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.rg-badge {
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(40,168,87,0.07);
  border: 1px solid rgba(40,168,87,0.2);
  font-size: 12px;
  font-weight: 600;
  color: rgba(40,168,87,0.65);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border-nav);
}
.footer__copy { font-size: 13px; color: #3a5040; }
.footer__bottom-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__bottom-links a {
  font-size: 13px;
  color: #3a5040;
  transition: color 0.2s;
}
.footer__bottom-links a:hover { color: var(--green-bright); }

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(40,168,87,0.3);
  font-size: 11px;
  font-weight: 800;
  color: rgba(40,168,87,0.5);
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1280px) {
  .games-grid { grid-template-columns: repeat(6, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 1023px) {
  .header__auth { display: flex; }
  .hamburger { display: flex; }
  .games-grid { grid-template-columns: repeat(5, 1fr); }
  .subnav__link { padding: 8px 18px; font-size: 14px; }
  .hero { min-height: 380px; }
  .hero__content { padding: 40px 28px; }
}

@media (max-width: 767px) {
  .games-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .subnav__pill { width: 100%; border-radius: 12px; justify-content: space-between; }
  .subnav__link { padding: 8px 10px; font-size: 13px; flex: 1; text-align: center; }
  .hero { min-height: 300px; }
  .hero__content { padding: 32px 20px; }
  .search-row { flex-direction: column; align-items: stretch; }
  .search-bar { max-width: 100%; }
  .categories-btn { justify-content: center; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__license { flex-direction: column; }
}

@media (max-width: 480px) {
  .games-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .footer__grid { grid-template-columns: 1fr; }
  .btn-login { display: none; }
  .pill { padding: 7px 12px; font-size: 13px; }
}


/* ══════════════ ARTICLE SECTION ══════════════ */
.article-section {
  background: #0e0e0e;
  padding: 56px 24px 72px;
}
.article-section__inner {
  max-width: 900px;
  margin: 0 auto;
}
.article-section__h1,
.article-section__h2 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 28px;
  line-height: 1.3;
  border-bottom: 2px solid #e63946;
  padding-bottom: 10px;
}
.article-body h2 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 36px 0 12px;
  line-height: 1.35;
}
.article-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: #cccccc;
  margin: 24px 0 10px;
}
.article-body p {
  font-size: 14px;
  line-height: 1.75;
  color: #aaaaaa;
  margin: 0 0 14px;
}
.article-body ul,
.article-body ol {
  margin: 0 0 16px 20px;
  padding: 0;
}
.article-body li {
  font-size: 14px;
  line-height: 1.7;
  color: #aaaaaa;
  margin-bottom: 4px;
}
.article-body strong {
  color: #dddddd;
  font-weight: 600;
}
.article-body a {
  color: #e63946;
  text-decoration: none;
}
.article-body a:hover {
  text-decoration: underline;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  font-size: 13px;
}
.article-body th,
.article-body td {
  border: 1px solid #2a2a2a;
  padding: 10px 14px;
  text-align: left;
  color: #bbbbbb;
}
.article-body thead th {
  background: #1a1a1a;
  color: #ffffff;
  font-weight: 600;
}
.article-body tr:nth-child(even) td {
  background: #131313;
}

