@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Sora:wght@400;600;700;800&display=swap");

:root {
  --bg: #110e1b;
  --header-bg: #2b2444;
  --footer-bg: #2b2444;
  --primary: #4df2c1;
  --secondary: #574c7b;
  --text: #e8e2f8;
  --text-muted: #9b93b8;
  --text-dark: #110e1b;
  --card-bg: #1c1730;
  --card-border: #2e2650;
  --input-bg: #1a1528;
  --success: #4df2c1;
  --warning: #f2bc4d;
  --danger: #f24d6f;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: "Inter", sans-serif;
  --font-display: "Sora", sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: #7ff7d8;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  line-height: 1.25;
  color: #fff;
}

ul {
  list-style: none;
}

.wrapper {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-gap {
  padding: clamp(40px, 6vw, 80px) 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-main);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-dark);
  box-shadow: 0 0 20px rgba(77, 242, 193, 0.3);
}
.btn-primary:hover {
  background: #6ff8d1;
  color: var(--text-dark);
  box-shadow: 0 0 30px rgba(77, 242, 193, 0.5);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
}
.btn-secondary:hover {
  background: #6b5f9a;
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--secondary);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm {
  padding: 6px 16px;
  font-size: 0.82rem;
}
.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

#ws-header {
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hdr-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  height: 70px;
}

.hdr-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  text-decoration: none;
}
.hdr-logo img {
  height: 38px;
  width: auto;
  border-radius: 6px;
}

.hdr-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
}

.hdr-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all var(--transition);
  text-decoration: none;
}
.hdr-nav a:hover,
.hdr-nav a.active {
  color: var(--primary);
  background: rgba(77, 242, 193, 0.08);
}
.hdr-nav a svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.hdr-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hdr-review-count {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--card-border);
}
.hdr-review-count strong {
  color: var(--primary);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  border-radius: 6px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-auth {
  display: none;
  align-items: center;
  gap: 8px;
}

.mobile-menu {
  display: none;
  background: var(--header-bg);
  border-top: 1px solid var(--card-border);
  padding: 16px var(--gutter);
}
.mobile-menu.open {
  display: block;
}
.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--card-border);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition);
}
.mobile-menu a:hover {
  color: var(--primary);
}
.mobile-menu a svg {
  width: 16px;
  height: 16px;
}
.mobile-menu a:last-child {
  border-bottom: none;
}

#ws-hero {
  position: relative;
  min-height: clamp(380px, 55vw, 580px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("/itban.jpeg");
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(17, 14, 27, 0.85) 0%,
    rgba(43, 36, 68, 0.6) 50%,
    rgba(17, 14, 27, 0.9) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: clamp(40px, 6vw, 80px) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(77, 242, 193, 0.12);
  border: 1px solid rgba(77, 242, 193, 0.3);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero-h1 span {
  color: var(--primary);
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-info-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.info-tile {
  background: rgba(28, 23, 48, 0.85);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  backdrop-filter: blur(8px);
  transition:
    border-color var(--transition),
    transform var(--transition);
}
.info-tile:hover {
  border-color: var(--secondary);
  transform: translateY(-2px);
}

.info-tile-icon {
  width: 40px;
  height: 40px;
  background: rgba(77, 242, 193, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}
.info-tile-icon svg {
  width: 20px;
  height: 20px;
}

.info-tile-content {
}
.info-tile-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.info-tile-value {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
}

#ws-prereview {
  background: rgba(28, 23, 48, 0.5);
}

.prereview-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.prereview-col {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
}

.prereview-col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--card-border);
}
.prereview-col-header h3 {
  font-size: 1.1rem;
  margin: 0;
}
.col-pros .prereview-col-header {
  color: var(--primary);
}
.col-cons .prereview-col-header {
  color: var(--danger);
}

.prereview-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prereview-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
}
.prereview-item-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
}
.col-pros .prereview-item-icon {
  background: rgba(77, 242, 193, 0.15);
  color: var(--primary);
}
.col-cons .prereview-item-icon {
  background: rgba(242, 77, 111, 0.15);
  color: var(--danger);
}

.section-heading {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-heading h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 10px;
}
.section-heading p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
}
.section-divider {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  margin: 12px auto 0;
}

#ws-leave-review {
  background: var(--card-bg);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.review-form-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group.full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-input,
.form-textarea,
.form-select {
  background: var(--input-bg);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.92rem;
  font-family: var(--font-main);
  padding: 10px 14px;
  transition: border-color var(--transition);
  width: 100%;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(77, 242, 193, 0.12);
}
.form-textarea {
  resize: vertical;
  min-height: 110px;
}
.form-select {
  appearance: none;
  cursor: pointer;
}

.rating-inputs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.rating-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}
.rating-row-label {
  font-size: 0.88rem;
  color: var(--text-muted);
}
.star-input {
  display: flex;
  gap: 4px;
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.star-input input {
  display: none;
}
.star-input label {
  font-size: 1.4rem;
  color: var(--card-border);
  cursor: pointer;
  transition: color var(--transition);
}
.star-input label:hover,
.star-input label:hover ~ label,
.star-input input:checked ~ label {
  color: var(--warning);
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px;
}
.form-success.visible {
  display: block;
}
.form-success-icon {
  width: 60px;
  height: 60px;
  background: rgba(77, 242, 193, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--primary);
  font-size: 1.8rem;
}
.form-success h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.form-success p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ========== USER REVIEWS ========== */
#ws-reviews {
}

.reviews-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.review-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}
.review-card:hover {
  border-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.review-author-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--secondary);
  border: 2px solid var(--card-border);
  flex-shrink: 0;
}

.review-author-info {
}
.review-author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}
.review-author-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
}
.review-country {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.review-country img {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
}
.review-date {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.review-rating-block {
  flex-shrink: 0;
  text-align: right;
  cursor: pointer;
}
.review-rating-value {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(77, 242, 193, 0.1);
  border: 1px solid rgba(77, 242, 193, 0.2);
  border-radius: 8px;
  padding: 4px 10px;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}
.review-rating-value svg {
  width: 14px;
  height: 14px;
}
.review-stars {
  display: flex;
  gap: 2px;
  justify-content: flex-end;
  margin-top: 4px;
}
.star-icon {
  font-size: 0.85rem;
}
.star-icon.filled {
  color: var(--warning);
}
.star-icon.empty {
  color: var(--card-border);
}

.review-rating-details {
  display: none;
  background: rgba(17, 14, 27, 0.6);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 8px;
  font-size: 0.8rem;
}
.review-rating-details.visible {
  display: block;
}
.rating-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.rating-detail-row:last-child {
  border-bottom: none;
}
.rating-detail-label {
  color: var(--text-muted);
}
.rating-detail-stars {
  display: flex;
  gap: 2px;
}
.rating-detail-stars span {
  font-size: 0.75rem;
}

.review-source {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(87, 76, 123, 0.15);
  border: 1px solid rgba(87, 76, 123, 0.3);
  border-radius: 20px;
  padding: 3px 10px;
}
.review-source a {
  color: var(--secondary);
  font-weight: 600;
}
.review-source a:hover {
  color: var(--primary);
}

.review-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.review-body {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.review-body-text {
  overflow: hidden;
}
.review-body-text.clamped {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-expand-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  font-family: var(--font-main);
  transition: color var(--transition);
}
.review-expand-btn:hover {
  color: #7ff7d8;
}

.review-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.review-pros,
.review-cons {
  font-size: 0.82rem;
}
.review-pros h5 {
  color: var(--primary);
  font-size: 0.8rem;
  margin-bottom: 6px;
  font-weight: 700;
}
.review-cons h5 {
  color: var(--danger);
  font-size: 0.8rem;
  margin-bottom: 6px;
  font-weight: 700;
}
.review-pros li,
.review-cons li {
  padding: 3px 0;
  padding-left: 14px;
  position: relative;
  color: var(--text-muted);
  line-height: 1.5;
}
.review-pros li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}
.review-cons li::before {
  content: "−";
  position: absolute;
  left: 0;
  color: var(--danger);
  font-weight: 700;
}

.review-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--card-border);
}

.review-votes {
  display: flex;
  gap: 8px;
}
.vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.82rem;
  cursor: pointer;
  color: var(--text-muted);
  font-family: var(--font-main);
  transition: all var(--transition);
}
.vote-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.vote-btn.liked {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(77, 242, 193, 0.08);
}
.vote-btn.disliked {
  color: var(--danger);
  border-color: var(--danger);
  background: rgba(242, 77, 111, 0.08);
}

.reply-btn {
  background: none;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.82rem;
  cursor: pointer;
  color: var(--text-muted);
  font-family: var(--font-main);
  transition: all var(--transition);
}
.reply-btn:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

.reply-form {
  display: none;
  padding-top: 12px;
  border-top: 1px solid var(--card-border);
}
.reply-form.open {
  display: block;
}
.reply-form textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 0.88rem;
  padding: 10px 12px;
  resize: vertical;
  min-height: 80px;
  margin-bottom: 8px;
}
.reply-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.reply-form-actions {
  display: flex;
  gap: 8px;
}

/* ========== FAQ ========== */
#ws-faq {
  background: rgba(28, 23, 48, 0.5);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open {
  border-color: var(--secondary);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.96rem;
  color: #fff;
  user-select: none;
  transition: color var(--transition);
}
.faq-question:hover {
  color: var(--primary);
}
.faq-question .faq-icon {
  width: 24px;
  height: 24px;
  background: rgba(87, 76, 123, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.faq-item.open .faq-question .faq-icon {
  background: rgba(77, 242, 193, 0.15);
  color: var(--primary);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 400px;
}
.faq-answer-inner {
  padding: 0 22px 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ========== SCREENSHOTS ========== */
#ws-screenshots {
  background: rgba(17, 14, 27, 0.8);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.screenshot-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--card-border);
  aspect-ratio: 16/10;
  position: relative;
  cursor: pointer;
  transition:
    border-color var(--transition),
    transform var(--transition);
}
.screenshot-item:hover {
  border-color: var(--primary);
  transform: scale(1.02);
}
.screenshot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screenshots-slider {
  display: none;
  position: relative;
  overflow: hidden;
}
.slider-track {
  display: flex;
  transition: transform 0.4s ease;
}
.slider-slide {
  min-width: 100%;
  padding: 0 4px;
}
.slider-slide img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
}
.slider-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--card-border);
  cursor: pointer;
  transition: background var(--transition);
}
.slider-dot.active {
  background: var(--primary);
}

/* ========== GAME TILES ========== */
#ws-games {
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.game-tile {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  cursor: pointer;
  transition:
    border-color var(--transition),
    transform var(--transition);
  display: flex;
  flex-direction: column;
}
.game-tile:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}
.game-tile:hover .game-tile-overlay {
  opacity: 1;
}

.game-tile-img {
  flex: 1;
  overflow: hidden;
}
.game-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.game-tile:hover .game-tile-img img {
  transform: scale(1.06);
}

.game-tile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 14, 27, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.game-tile-play {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 1.2rem;
  box-shadow: 0 0 24px rgba(77, 242, 193, 0.4);
}

.game-tile-info {
  padding: 8px 10px;
  background: rgba(17, 14, 27, 0.9);
}
.game-tile-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-tile-provider {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.game-tile-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--primary);
  color: var(--text-dark);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ========== CONTENT BLOCK ========== */
#ws-content {
  background: rgba(28, 23, 48, 0.4);
}

.content-block {
  max-width: 840px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
}

.content-block h2 {
  font-size: 1.5rem;
  margin-bottom: 14px;
  margin-top: 28px;
  color: #fff;
}
.content-block h2:first-child {
  margin-top: 0;
}
.content-block h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  margin-top: 22px;
  color: var(--primary);
}
.content-block h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  margin-top: 18px;
  color: var(--text);
}
.content-block p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.8;
}
.content-block ul,
.content-block ol {
  padding-left: 22px;
  margin-bottom: 14px;
}
.content-block ul {
  list-style: disc;
}
.content-block ol {
  list-style: decimal;
}
.content-block li {
  color: var(--text-muted);
  margin-bottom: 6px;
  font-size: 0.95rem;
  line-height: 1.7;
}
.content-block a {
  color: var(--primary);
}
.content-block strong {
  color: var(--text);
  font-weight: 700;
}
.content-block em {
  color: var(--warning);
  font-style: italic;
}
.content-block table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 0.88rem;
  border-radius: 8px;
  overflow: hidden;
  display: block;
  overflow-x: auto;
}
.content-block th {
  background: var(--secondary);
  color: #fff;
  font-weight: 700;
  padding: 10px 14px;
  text-align: left;
  white-space: nowrap;
}
.content-block td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--card-border);
  color: var(--text-muted);
  text-align: left;
}
.content-block tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}
.content-block blockquote {
  border-left: 3px solid var(--primary);
  padding: 10px 18px;
  background: rgba(77, 242, 193, 0.06);
  border-radius: 0 8px 8px 0;
  margin-bottom: 14px;
  font-style: italic;
  color: var(--text-muted);
}
.content-block code {
  background: rgba(87, 76, 123, 0.2);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.85em;
  color: var(--primary);
}
.content-block pre {
  overflow-x: auto;
  background: var(--input-bg);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 14px;
}
.content-block img {
  border-radius: 8px;
  margin-bottom: 14px;
}
.content-block hr {
  border: none;
  border-top: 1px solid var(--card-border);
  margin: 24px 0;
}

/* ========== FLOATING WIDGET ========== */
#ws-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  background: var(--header-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(77, 242, 193, 0.1);
  max-width: 260px;
  animation: slideInWidget 0.5s ease 2s both;
}
@keyframes slideInWidget {
  from {
    transform: translateX(120%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.widget-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: color var(--transition);
}
.widget-close:hover {
  color: var(--text);
}
.widget-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 6px;
}
.widget-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.widget-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.widget-cta {
  display: block;
  text-align: center;
}

/* ========== FOOTER ========== */
#ws-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--card-border);
  padding-top: clamp(32px, 5vw, 60px);
}

.footer-top {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--card-border);
}

.footer-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  text-decoration: none;
  margin-bottom: 12px;
}
.footer-logo img {
  height: 36px;
  border-radius: 6px;
}
.footer-logo p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 8px;
}

.footer-nav h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
  text-decoration: none;
}
.footer-nav a:hover {
  color: var(--primary);
}

.footer-payments {
  padding: 20px 0;
  border-bottom: 1px solid var(--card-border);
}
.footer-payments h4 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.payment-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.payment-logo {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.footer-trust {
  padding: 20px 0;
  border-bottom: 1px solid var(--card-border);
}
.footer-trust h4 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.trust-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: border-color var(--transition);
}
.trust-logo:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.footer-social {
  padding: 20px 0;
  border-bottom: 1px solid var(--card-border);
}
.footer-social h4 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.social-links {
  display: flex;
  gap: 10px;
}
.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--card-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
  text-decoration: none;
}
.social-link:hover {
  background: rgba(77, 242, 193, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}
.social-link svg {
  width: 16px;
  height: 16px;
}

.footer-providers h4 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 20px 0 12px;
}
.providers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.provider-tag {
  background: rgba(87, 76, 123, 0.15);
  border: 1px solid rgba(87, 76, 123, 0.25);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.72rem;
  color: var(--text-muted);
  transition: all var(--transition);
}
.provider-tag:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

.footer-bottom {
  padding: 20px 0 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
}
.footer-license {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.license-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(77, 242, 193, 0.07);
  border: 1px solid rgba(77, 242, 193, 0.2);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}
.footer-legal {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.footer-legal p {
  margin-bottom: 6px;
}
.footer-legal a {
  color: var(--secondary);
}
.footer-legal a:hover {
  color: var(--primary);
}

.footer-copyright {
  background: rgba(0, 0, 0, 0.2);
  padding: 14px 0;
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.info-page-content {
  max-width: 840px;
  margin: 0 auto;
}
.info-page-hero {
  background: linear-gradient(135deg, var(--card-bg), var(--header-bg));
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
  margin-bottom: 28px;
  border: 1px solid var(--card-border);
}
.info-page-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 8px;
}
.info-page-hero p {
  color: var(--text-muted);
}

.text-primary {
  color: var(--primary);
}
.text-muted {
  color: var(--text-muted);
}
.text-center {
  text-align: center;
}
.font-display {
  font-family: var(--font-display);
}

.hidden {
  display: none !important;
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-info-tiles {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top > *:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .hdr-nav {
    display: none;
  }
  .burger {
    display: flex;
  }
  .mobile-auth {
    display: flex;
  }
  .hdr-review-count {
    display: none;
  }

  .hero-info-tiles {
    grid-template-columns: repeat(2, 1fr);
  }
  .prereview-inner {
    grid-template-columns: 1fr;
  }
  .review-pros-cons {
    grid-template-columns: 1fr;
  }
  .screenshots-grid {
    display: none;
  }
  .screenshots-slider {
    display: block;
  }
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .reviews-container {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  #ws-widget {
    bottom: 16px;
    right: 16px;
    max-width: 220px;
  }
}

@media (max-width: 480px) {
  .hero-info-tiles {
    grid-template-columns: 1fr 1fr;
  }
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-ctas {
    flex-direction: column;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
}
