:root {
  --bg: #2d3741;
  --bg-soft: #36414c;
  --panel: #313c47;
  --header: #21262d;
  --text: #f4f7fb;
  --muted: #a8b1bb;
  --line: rgba(255, 255, 255, 0.08);
  --green: #88c321;
  --green-deep: #6da01b;
  --pink: #dd35a7;
  --blue: #2b75ff;
  --yellow: #ffdb4d;
  --shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #20262c;
  color: var(--text);
}

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

button,
a {
  font: inherit;
}

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

.page-shell {
  min-height: 100vh;
  background: var(--bg);
}

.container {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
}

.top-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-row {
  min-height: 70px;
  display: grid;
  padding: 0 16px;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
}

.logo {
  width: 110px;
  height: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a {
  font-size: 12px;
  text-transform: uppercase;
  color: #dfe6ee;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.main-nav a:hover {
  opacity: 1;
}

.auth-actions {
  display: flex;
  gap: 10px;
}

.btn {
  border: 0;
  border-radius: 6px;
  padding: 9px 14px;
  color: white;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.btn-secondary {
  background: #6fa61a;
}

.btn-primary {
  background: #2d87ff;
}
 

.hero-slider {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%; 
  display: block;
}

@media (max-width: 1024px) {
  .hero-slider {
    height: 260px;
  }
}

@media (max-width: 760px) {
  .hero-slider {
    height: 220px;
  }
}

.shortcut-bar {
  background: #242a32;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.shortcut-row {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.shortcut-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.search-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}


.shortcut-list {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-block: 12px;
  scrollbar-width: none;
}

.shortcut-list::-webkit-scrollbar {
  display: none;
}

.shortcut-item {
  min-width: 64px;
  display: grid;
  gap: 6px;
  justify-items: center;
  color: #dbe3ec;
  font-size: 11px;
}

.shortcut-item img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.shortcut-item.active .shortcut-icon-wrap {
  background: rgba(232, 29, 117, 0.18);
  border-color: rgba(232, 29, 117, 0.5);
}

.shortcut-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
}
.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn i {
  font-size: 18px;
  color: #fff;  
}
.status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 13px;
  color: var(--muted);
}

.status-pill strong {
  color: #7bc61f;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #7bc61f;
  box-shadow: 0 0 14px rgba(123, 198, 31, 0.9);
}

.content-sections {
  padding: 16px 0 32px;
}

.section-block {
  margin-bottom: 12px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding-inline: 16px;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-marker {
  width: 8px;
  height: 18px;
  border-radius: 999px;
  background: var(--pink);
}

.section-title {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: #f5f7fb;
}

.see-all {
  font-size: 12px;
  color: #cfd6dd;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.7fr) repeat(4, minmax(140px, 1fr));
  gap: 10px;
  padding-inline: 16px;
}

.section-grid.no-featured {
  grid-template-columns: repeat(6, minmax(140px, 1fr));
}

.featured-card,
.game-card,
.live-card,
.ranking-card {
  position: relative;
  overflow: hidden;
  background: #1f252c;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.featured-card:hover,
.game-card:hover,
.live-card:hover,
.ranking-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.14);
}

.featured-card {
  grid-row: span 2;
  min-height: 436px;
}

.featured-card img,
.game-card img,
.live-card img,
.ranking-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-card img {
  min-height: 436px;
}

.game-card {
  aspect-ratio: 1 / 1;
}

.card-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(233, 30, 99, 0.95);
  color: white;
  font-size: 10px;
  font-weight: 700;
}

.card-badge.top {
  background: rgba(164, 73, 255, 0.94);
}

.section-strip {
  margin: 18px 0 12px;
  padding-inline: 16px;
}

.wide-banner {
  position: relative;
  min-height: 195px;
  border-radius: 6px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(52, 73, 44, 0.75) 0%, rgba(53, 120, 44, 0.2) 35%, rgba(26, 34, 42, 0.2) 100%),
    linear-gradient(135deg, #3e6a2e 0%, #4c8542 28%, #527d2a 50%, #1c2430 100%);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
}

.wide-banner-content {
  padding: 24px 28px;
}

.wide-banner h3 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.92;
  color: #d4ff54;
  text-transform: uppercase;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
}

.wide-banner p {
  margin: 12px 0 0;
  max-width: 440px;
  color: rgba(255, 255, 255, 0.86);
}

.wide-banner-image {
  align-self: stretch;
}

.wide-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.horizontal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 12px;
  padding-inline: 16px;
}

.live-card {
  aspect-ratio: 2.4 / 1;
}

.live-card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  font-size: 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.84) 100%);
}

.live-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #7fcd1e;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 12px;
  padding-inline: 16px;
}

.catalog-card {
  display: grid;
  gap: 6px;
}

.catalog-thumb {
  position: relative; 
  background: #1f252c;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.catalog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 52px;
}

.catalog-title {
  font-size: 12px;
  font-weight: 500;
  color: #eef3f8;
}

.catalog-subtitle,
.catalog-stats {
  font-size: 11px;
  color: #b4bcc5;
}

.catalog-stats {
  color: #7bc61f;
}

.ranking-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(150px, 1fr));
  gap: 12px;
  padding-inline: 16px;
}

.ranking-card {
  aspect-ratio: 1 / 1.05;
}

.site-footer {
  margin-top: 16px;
  background: #35404b;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px 16px 14px;
  flex-wrap: wrap;
}

.store-buttons,
.socials {
  display: flex;
  gap: 12px;
  align-items: center;
}

.store-btn,
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.store-btn img {
  height: 40px;
  width: auto;
}

.socials img { 
  height: 40px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 10px 16px 26px;
}

.footer-column {
  padding-left: 20px;
  border-left: 2px solid rgba(255, 255, 255, 0.22);
}

.footer-column h4 {
  margin: 0 0 14px;
  font-size: 12px;
  color: #8fcd23;
}

.footer-column a {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  color: #dde3eb;
}

.payment-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 8px 16px 24px;
}

.payment-row img {
  height: 48px;
  width: auto;
}

.legal-strip {
  background: #060708;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.legal-content {
  padding: 18px 16px;
}

.legal-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.legal-badges img {
  height: 36px;
  width: auto;
}

.legal-content p {
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 1320px) {
  .section-grid,
  .section-grid.no-featured,
  .catalog-grid,
  .ranking-grid {
    grid-template-columns: repeat(4, minmax(150px, 1fr));
  }

  .featured-card {
    grid-column: span 2;
    grid-row: span 2;
  }

  .horizontal-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 1024px) {
  .header-row {
    grid-template-columns: 1fr;
    padding: 12px 0;
  }

  .auth-actions {
    justify-content: flex-start;
  }

  .hero-banner {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .hero-content {
    padding: 30px 24px 0;
  }

  .hero-visual {
    min-height: 260px;
  }

  .section-grid,
  .section-grid.no-featured,
  .catalog-grid,
  .ranking-grid {
    grid-template-columns: repeat(3, minmax(140px, 1fr));
  }

  .wide-banner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100%, calc(100% - 20px));
  }

  .shortcut-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
  }

  .status-pill {
    white-space: normal;
  }

  .slider-arrow {
    display: none;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .hero-cta {
    font-size: 16px;
    padding: 12px 18px;
  }

  .section-grid,
  .section-grid.no-featured,
  .catalog-grid,
  .ranking-grid,
  .horizontal-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .featured-card {
    grid-column: span 2;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .section-grid,
  .section-grid.no-featured,
  .catalog-grid,
  .ranking-grid,
  .horizontal-grid {
    grid-template-columns: 1fr;
  }

  .featured-card {
    grid-column: span 1;
  }

  .featured-card img {
    min-height: 320px;
  }
}


.shortcut-icon-wrap i,
.search-btn i {
  font-size: 16px;
  color: #fff;
}

.shortcut-item.active .shortcut-icon-wrap i {
  color: #ff5ab8;
}


.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;
}

.overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(14, 18, 23, 0.72);
  backdrop-filter: blur(3px);
  z-index: 120;
}

.overlay.is-visible {
  display: flex;
}

.login-modal {
  position: relative;
  width: min(100%, 720px);
  background: #f3f3f3;
  color: #2c2c2c;
  border-radius: 8px;
  padding: 42px 38px 34px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #757575;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}

.login-form input {
  width: 100%;
  height: 62px;
  border: 1px solid #b9bec3;
  background: #fff;
  padding: 0 16px;
  font-size: 20px;
  color: #353535;
  margin-bottom: 18px;
  outline: none;
}

.login-form input:focus {
  border-color: #88c321;
  box-shadow: 0 0 0 3px rgba(136, 195, 33, 0.18);
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 60px;
  margin-bottom: 8px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(calc(-50% - 4px));
  border: 0;
  background: transparent;
  color: #777;
  font-size: 24px;
  cursor: pointer;
}

.forgot-link {
  display: inline-block;
  margin: 4px 0 26px;
  color: #5e5e5e;
  font-size: 18px;
}

.modal-action {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
}

.modal-action-login {
  background: #88c321;
  color: #fff;
}

.modal-divider {
  height: 1px;
  background: #d9d9d9;
  margin: 36px 0 22px;
}

.modal-helper {
  margin: 0 0 16px;
  color: #1c63ff;
  font-size: 18px;
}

.modal-action-register {
  background: #1b63f0;
  color: #fff;
}

.age-card {
  width: min(100%, 520px);
  background: #10161d;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.age-badge {
  display: inline-flex;
  min-width: 64px;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: #88c321;
  color: #08110a;
  font-weight: 800;
  margin-bottom: 18px;
}

.age-card h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.age-card p {
  margin: 0 0 24px;
  color: #cbd3da;
  line-height: 1.5;
}

.age-actions,
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.banner-btn {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 10px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
}

.banner-btn-primary {
  background: #88c321;
  color: #091107;
}

.banner-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(10, 13, 17, 0.96);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner__content strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.cookie-banner__content p {
  margin: 0;
  color: #c5ced7;
  font-size: 14px;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .login-modal {
    padding: 34px 20px 24px;
  }

  .login-form input {
    height: 54px;
    font-size: 17px;
  }

  .forgot-link,
  .modal-helper {
    font-size: 16px;
  }

  .modal-action {
    min-height: 52px;
    font-size: 20px;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions,
  .age-actions {
    flex-direction: column;
  }

  .age-card h2 {
    font-size: 24px;
  }
}


.form-error {
  display: none;
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 6px;
  background: rgba(220, 53, 69, 0.10);
  border: 1px solid rgba(220, 53, 69, 0.28);
  color: #c62839;
  font-size: 15px;
  line-height: 1.4;
}

.form-error.is-visible {
  display: block;
}

.login-form input.is-invalid {
  border-color: #d83a4f;
  box-shadow: 0 0 0 3px rgba(216, 58, 79, 0.14);
  cursor: text;
}
