:root {
  --sand-50: #fffdf7;
  --sand-100: #fbf4e6;
  --sand-200: #f2e5c9;
  --sand-300: #e6d0a3;
  --gold-400: #d7ab53;
  --gold-500: #be8d3a;
  --gold-600: #9d7128;
  --ink-900: #2f2415;
  --ink-700: #5d4a2f;
  --ink-500: #8c7450;
  --line: rgba(151, 113, 42, 0.22);
  --card: rgba(255, 251, 241, 0.82);
  --card-strong: rgba(255, 248, 232, 0.96);
  --ok: #2f9e6e;
  --warn: #b87a22;
  --shadow-lg: 0 22px 48px rgba(93, 74, 47, 0.18);
  --shadow-md: 0 12px 28px rgba(93, 74, 47, 0.14);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Readex Pro", "Noto Kufi Arabic", sans-serif;
  color: var(--ink-900);
  background: linear-gradient(180deg, #fffef9 0%, #fcf6ea 100%);
  min-height: 100%;
  line-height: 1.65;
  overflow-x: hidden;
}

main {
  position: relative;
}

main::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(48, 36, 17, 0.46), rgba(48, 36, 17, 0.46)),
    url("img/background.jpg") center/cover no-repeat;
  background-attachment: fixed;
  filter: saturate(0.85) contrast(1.02);
}

main::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 233, 186, 0.24), transparent 36%),
    radial-gradient(circle at 88% 4%, rgba(215, 171, 83, 0.2), transparent 32%),
    linear-gradient(180deg, rgba(255, 250, 242, 0.52), rgba(255, 247, 233, 0.54));
  pointer-events: none;
}

a {
  color: var(--gold-600);
  text-decoration: none;
}

a:hover {
  color: #7b571f;
}

h1,
h2,
h3,
h4 {
  font-family: "El Messiri", "Readex Pro", sans-serif;
  margin: 0;
  line-height: 1.22;
  letter-spacing: 0.01em;
}

p {
  color: var(--ink-700);
  margin: 0;
}

.top-banner {
  background: linear-gradient(90deg, #fff7df, #f2ddad, #fff7df);
  border-bottom: 1px solid rgba(157, 113, 40, 0.28);
  color: #523b17;
  text-align: center;
  padding: 10px 14px;
  font-size: 0.89rem;
  letter-spacing: 0.01em;
}

.container {
  width: min(1220px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(255, 249, 236, 0.88);
  border-bottom: 1px solid rgba(157, 113, 40, 0.24);
}

.header-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #412d0f;
  font-family: "El Messiri", sans-serif;
  font-size: 1.28rem;
  font-weight: 600;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  object-fit: cover;
  border: 1px solid rgba(157, 113, 40, 0.35);
  box-shadow: 0 8px 20px rgba(145, 107, 43, 0.2);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav a {
  color: #64461c;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 13px;
  transition: all 0.22s ease;
  font-size: 0.92rem;
}

.nav a:hover,
.nav a.active {
  border-color: rgba(157, 113, 40, 0.36);
  background: rgba(255, 238, 196, 0.58);
  transform: translateY(-1px);
}

.main {
  padding-bottom: 46px;
}

.section {
  padding: 30px 0;
}

.hero {
  padding: 34px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.panel,
.hero-main,
.hero-side,
.feature-card,
.draw-card,
.form-card,
.review-card,
.footer-card,
.info-card,
.faq-card,
.entry-sidebar,
.entry-viewer {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-md);
}

.hero-main {
  position: relative;
  overflow: hidden;
  padding: 30px;
  background: linear-gradient(160deg, rgba(255, 249, 233, 0.95), rgba(252, 240, 213, 0.9));
}

.hero-main::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  top: -120px;
  left: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 171, 83, 0.4), transparent 70%);
}

.hero-main h1 {
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  margin-top: 10px;
  margin-bottom: 12px;
  color: #3f2d10;
}

.hero-main .lead {
  max-width: 62ch;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(157, 113, 40, 0.35);
  background: rgba(255, 243, 210, 0.75);
  padding: 6px 12px;
  color: #6d4b1f;
  font-size: 0.82rem;
  font-weight: 500;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 rgba(47, 158, 110, 0.45);
  animation: pulse 1.7s infinite;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.button,
button {
  border: 1px solid rgba(157, 113, 40, 0.36);
  border-radius: 13px;
  background: linear-gradient(130deg, #d9ac5a, #b9822f);
  color: #fffdf8;
  font-family: inherit;
  font-weight: 700;
  padding: 11px 16px;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.button:hover,
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(154, 110, 37, 0.28);
}

.button.alt,
button.alt {
  background: rgba(255, 248, 230, 0.86);
  color: #704b1e;
}

.kpi-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.kpi {
  border: 1px solid rgba(157, 113, 40, 0.2);
  border-radius: 14px;
  background: rgba(255, 252, 244, 0.75);
  padding: 10px;
}

.kpi .small {
  color: var(--ink-500);
  font-size: 0.8rem;
}

.kpi .value {
  margin-top: 3px;
  color: #4f3715;
  font-size: 1.2rem;
  font-family: "El Messiri", sans-serif;
}

.hero-side {
  padding: 24px;
  background: linear-gradient(170deg, rgba(255, 250, 240, 0.92), rgba(246, 231, 193, 0.84));
}

.ticket-ribbon {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.ticket-pill {
  border-radius: 13px;
  border: 1px dashed rgba(157, 113, 40, 0.35);
  padding: 8px 10px;
  background: rgba(255, 245, 220, 0.65);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 14px;
}

.section-title h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
}

.small {
  color: var(--ink-500);
  font-size: 0.85rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.feature-card {
  padding: 16px;
  background: linear-gradient(165deg, rgba(255, 251, 242, 0.95), rgba(247, 235, 202, 0.88));
  transform-style: preserve-3d;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.feature-card:hover {
  transform: translateY(-5px) rotateX(2deg);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(157, 113, 40, 0.34);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 10px;
  background: linear-gradient(150deg, #fff4d3, #e9c377);
}

.why-grid-v2 .feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 18px 16px 16px;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 241, 207, 0.72), transparent 40%),
    linear-gradient(160deg, rgba(255, 252, 245, 0.96), rgba(244, 226, 181, 0.9));
}

.why-grid-v2 .feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #efd094, #b9802d, #efd094);
}

.why-grid-v2 .feature-card:hover {
  transform: translateY(-6px) rotateX(4deg);
}

.why-grid-v2 .feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: #4e3613;
}

.why-grid-v2 .feature-card p {
  font-size: 0.9rem;
}

.feature-icon-svg {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  border: 1px solid rgba(157, 113, 40, 0.32);
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 243, 212, 0.8), transparent 48%),
    linear-gradient(150deg, #fff5da, #e8c279);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 10px 18px rgba(149, 106, 36, 0.18);
  margin-bottom: 12px;
}

.feature-icon-svg svg {
  width: 34px;
  height: 34px;
}

.why-bento {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 12px;
}

.why-lead {
  grid-row: span 2;
  border: 1px solid rgba(157, 113, 40, 0.26);
  border-radius: 24px;
  padding: 20px;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 243, 214, 0.82), transparent 44%),
    linear-gradient(160deg, rgba(255, 252, 245, 0.96), rgba(244, 224, 176, 0.9));
  box-shadow: var(--shadow-md);
}

.why-lead h3 {
  margin: 10px 0 8px;
  color: #4e3613;
  font-size: 1.35rem;
}

.why-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.why-metrics div {
  border-radius: 12px;
  border: 1px solid rgba(157, 113, 40, 0.24);
  background: rgba(255, 248, 232, 0.75);
  padding: 8px;
  display: grid;
  gap: 2px;
}

.why-metrics strong {
  font-family: "El Messiri", sans-serif;
  font-size: 1.08rem;
  color: #513a14;
}

.why-metrics span {
  font-size: 0.76rem;
  color: #836742;
}

.why-mini {
  border: 1px solid rgba(157, 113, 40, 0.24);
  border-radius: 20px;
  padding: 14px;
  background: rgba(255, 251, 241, 0.9);
  box-shadow: var(--shadow-md);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.why-mini:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.why-mini h3 {
  margin: 2px 0 6px;
  font-size: 1.03rem;
  color: #4f3716;
}

.why-mini p {
  font-size: 0.89rem;
}

.games-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.draw-hub {
  border: 1px solid rgba(157, 113, 40, 0.24);
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(255, 252, 245, 0.95), rgba(245, 228, 188, 0.86));
  padding: 14px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 12px;
  box-shadow: var(--shadow-md);
}

.draw-selector {
  display: grid;
  gap: 8px;
}

.draw-chip {
  width: 100%;
  border: 1px solid rgba(157, 113, 40, 0.28);
  border-radius: 16px;
  background: rgba(255, 250, 238, 0.86);
  color: #634722;
  padding: 11px 12px;
  text-align: right;
  display: grid;
  gap: 3px;
  cursor: pointer;
  transition: all 0.22s ease;
}

.draw-chip .name {
  font-family: "El Messiri", sans-serif;
  font-size: 1.08rem;
  color: #4c3513;
}

.draw-chip .sub {
  font-size: 0.78rem;
  color: #876944;
}

.draw-chip:hover,
.draw-chip.active {
  transform: translateX(-3px);
  border-color: rgba(157, 113, 40, 0.52);
  background: rgba(255, 241, 205, 0.94);
  box-shadow: 0 8px 18px rgba(152, 108, 36, 0.2);
}

.draw-stage {
  border: 1px solid rgba(157, 113, 40, 0.24);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 252, 246, 0.9);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.draw-stage-visual {
  min-height: 270px;
  position: relative;
  overflow: hidden;
}

.draw-stage-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(35, 24, 8, 0.08), rgba(35, 24, 8, 0.36));
}

.draw-stage-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.draw-stage:hover .draw-stage-visual img {
  transform: scale(1.04);
}

.draw-price {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(60, 44, 18, 0.72);
  border: 1px solid rgba(255, 228, 164, 0.44);
  color: #fff5dd;
  font-size: 0.78rem;
}

.draw-stage-body {
  padding: 16px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.draw-stage-body h3 {
  font-size: 1.56rem;
  color: #4a3312;
}

.draw-stage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.draw-progress {
  margin-top: 4px;
  height: 6px;
  border-radius: 999px;
  background: rgba(157, 113, 40, 0.16);
  overflow: hidden;
}

.draw-progress span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f3d48f, #bd8735);
  transition: width 0.42s ease;
}

.draw-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--card-strong);
}

.draw-card-visual {
  min-height: 230px;
  position: relative;
}

.draw-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.draw-card-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34, 24, 10, 0.1), rgba(34, 24, 10, 0.32));
}

.draw-card-body {
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 9px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.meta {
  border: 1px solid rgba(157, 113, 40, 0.24);
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(255, 245, 218, 0.7);
  color: #6f4d1f;
  font-size: 0.74rem;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.info-card {
  padding: 15px;
  background: rgba(255, 251, 241, 0.88);
}

.review-stage {
  padding: 20px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 250, 240, 0.95), rgba(249, 237, 207, 0.9));
}

.review-headline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-track-wrap {
  overflow: hidden;
}

.review-track {
  display: flex;
  gap: 12px;
  transition: transform 0.5s ease;
  direction: ltr;
}

.review-card {
  min-width: 300px;
  max-width: 340px;
  padding: 14px;
  background: rgba(255, 255, 251, 0.88);
  direction: rtl;
}

.review-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(157, 113, 40, 0.35);
  display: grid;
  place-items: center;
  color: #5a4018;
  background: linear-gradient(145deg, #f8e0ab, #dab065);
  font-weight: 700;
}

.review-stars {
  color: #c1882d;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.review-controls {
  display: flex;
  gap: 8px;
}

.review-lab {
  border: 1px solid rgba(157, 113, 40, 0.26);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 239, 196, 0.5), transparent 36%),
    linear-gradient(165deg, rgba(255, 252, 245, 0.96), rgba(244, 226, 184, 0.9));
  padding: 18px;
  box-shadow: var(--shadow-md);
}

.review-lab-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
}

.review-spotlight {
  border: 1px solid rgba(157, 113, 40, 0.26);
  border-radius: 20px;
  background: rgba(255, 251, 243, 0.9);
  padding: 16px;
  box-shadow: var(--shadow-md);
}

.review-spotlight-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-spotlight blockquote {
  margin: 12px 0 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1px dashed rgba(157, 113, 40, 0.3);
  background: rgba(255, 247, 227, 0.65);
  color: #5a3f16;
  font-size: 1.02rem;
}

.review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.review-picker {
  display: grid;
  gap: 8px;
}

.review-item {
  width: 100%;
  text-align: right;
  border: 1px solid rgba(157, 113, 40, 0.26);
  border-radius: 16px;
  background: rgba(255, 250, 239, 0.85);
  color: #5c431a;
  padding: 11px 12px;
  display: grid;
  gap: 2px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.review-item span {
  font-size: 0.78rem;
  color: #856a45;
}

.review-item:hover,
.review-item.active {
  transform: translateX(-3px);
  background: rgba(255, 241, 206, 0.95);
  box-shadow: 0 10px 18px rgba(151, 108, 39, 0.22);
  border-color: rgba(157, 113, 40, 0.5);
}

.review-stats {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.review-stats .stat {
  border: 1px solid rgba(157, 113, 40, 0.24);
  border-radius: 14px;
  padding: 9px;
  background: rgba(255, 250, 239, 0.82);
  display: grid;
  gap: 2px;
}

.review-stats strong {
  font-family: "El Messiri", sans-serif;
  color: #4f3715;
  font-size: 1.1rem;
}

.review-stats span {
  font-size: 0.76rem;
  color: #836640;
}

.dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(157, 113, 40, 0.36);
  cursor: pointer;
}

.dot-btn.active {
  background: #8f6623;
  transform: scale(1.15);
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}

.form-card,
.panel {
  padding: 20px;
}

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

.field {
  display: grid;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: #614520;
  font-size: 0.87rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(157, 113, 40, 0.28);
  border-radius: 12px;
  background: rgba(255, 252, 246, 0.9);
  color: #3b2a11;
  font-family: inherit;
  padding: 10px 12px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(190, 141, 58, 0.34);
  border-color: rgba(157, 113, 40, 0.45);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: start;
  gap: 9px;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  accent-color: #b9822f;
  margin-top: 2px;
}

.notice {
  margin-top: 12px;
  border-radius: 12px;
  border: 1px solid rgba(184, 122, 34, 0.32);
  background: rgba(246, 225, 177, 0.45);
  color: #6a4612;
  padding: 10px 12px;
}

.confirmation {
  display: none;
  margin-top: 14px;
  border-radius: 12px;
  border: 1px solid rgba(47, 158, 110, 0.42);
  background: rgba(47, 158, 110, 0.12);
  color: #1f6846;
  padding: 11px 12px;
}

.confirmation.show {
  display: block;
}

.footer {
  margin-top: 26px;
  border-top: 1px solid rgba(157, 113, 40, 0.23);
  background: rgba(255, 248, 232, 0.92);
  padding: 24px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 12px;
}

.footer-card {
  padding: 12px;
  background: rgba(255, 252, 244, 0.84);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.footer-bottom {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(157, 113, 40, 0.22);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.entry-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 14px;
  align-items: start;
}

.entry-sidebar {
  position: sticky;
  top: 96px;
  padding: 18px;
  background: linear-gradient(165deg, rgba(255, 250, 239, 0.97), rgba(246, 229, 191, 0.9));
}

.entry-sidebar ul {
  margin: 0;
  padding-right: 18px;
  display: grid;
  gap: 8px;
}

.entry-viewer {
  padding: 14px;
  background: rgba(255, 253, 247, 0.92);
}

.frame-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.tool-btn {
  border-radius: 11px;
  border: 1px solid rgba(157, 113, 40, 0.35);
  background: rgba(255, 241, 202, 0.72);
  color: #5e4216;
  font-family: inherit;
  font-size: 0.86rem;
  padding: 8px 11px;
  cursor: pointer;
}

.frame-shell {
  border-radius: 14px;
  border: 1px solid rgba(157, 113, 40, 0.24);
  overflow: hidden;
  background: #fff;
}

.frame-shell iframe {
  width: 100%;
  min-height: 430px;
  border: 0;
  display: block;
}

.frame-footnote {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--ink-500);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-card {
  padding: 12px 14px;
  background: rgba(255, 252, 245, 0.9);
}

.faq-card summary {
  cursor: pointer;
  font-weight: 700;
  color: #4f3716;
}

.faq-card p {
  margin-top: 8px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(157, 113, 40, 0.4);
  background: rgba(255, 245, 215, 0.75);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #62461c;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.floaty {
  animation: floaty 6s ease-in-out infinite;
}

.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.52), transparent);
  animation: shimmer 3.4s infinite;
}

@keyframes shimmer {
  0% { left: -120%; }
  100% { left: 140%; }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 158, 110, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(47, 158, 110, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 158, 110, 0); }
}

@keyframes floaty {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 1120px) {
  .hero-grid,
  .split,
  .entry-layout,
  .draw-card,
  .draw-hub,
  .draw-stage,
  .review-lab-grid {
    grid-template-columns: 1fr;
  }

  .draw-stage-visual {
    min-height: 220px;
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-bento {
    grid-template-columns: 1fr 1fr;
  }

  .why-lead {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .entry-sidebar {
    position: static;
  }

  .draw-card-visual {
    min-height: 210px;
  }

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

@media (max-width: 900px) {
  .header-row {
    position: relative;
    min-height: 68px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    gap: 8px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(157, 113, 40, 0.34);
    background: rgba(255, 250, 241, 0.97);
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    max-height: 74vh;
    overflow: auto;
  }

  .site-header.menu-open .nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav a {
    text-align: center;
    border-radius: 12px;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 24px 0;
  }

  .hero-main,
  .hero-side,
  .review-stage,
  .form-card,
  .panel,
  .entry-sidebar,
  .entry-viewer {
    padding: 16px;
  }

  .games-showcase,
  .why-grid,
  .why-bento,
  .info-grid,
  .kpi-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .draw-chip:hover,
  .draw-chip.active {
    transform: translateX(0);
  }

  .review-card {
    min-width: 86vw;
    max-width: 86vw;
  }

  .review-stats {
    grid-template-columns: 1fr 1fr;
  }

  .review-item:hover,
  .review-item.active {
    transform: translateX(0);
  }
}

/* Internal pages redesign */
.page-shell {
  display: grid;
  gap: 14px;
}

.inner-hero {
  border: 1px solid rgba(157, 113, 40, 0.26);
  border-radius: 24px;
  padding: 20px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 235, 188, 0.46), transparent 38%),
    linear-gradient(160deg, rgba(255, 252, 245, 0.96), rgba(246, 228, 185, 0.9));
  box-shadow: var(--shadow-md);
}

.inner-hero h1 {
  margin: 8px 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #4d3613;
}

.inline-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.inline-chips span {
  border-radius: 999px;
  border: 1px solid rgba(157, 113, 40, 0.28);
  background: rgba(255, 245, 217, 0.8);
  color: #694b1d;
  padding: 5px 10px;
  font-size: 0.8rem;
}

.faq-layout-v2 {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 12px;
}

.faq-side {
  border: 1px solid rgba(157, 113, 40, 0.26);
  border-radius: 20px;
  padding: 16px;
  background: rgba(255, 250, 239, 0.9);
  box-shadow: var(--shadow-md);
}

.faq-side ul {
  margin: 10px 0 0;
  padding-right: 18px;
  display: grid;
  gap: 6px;
}

.contact-layout-v2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
}

.contact-cards {
  display: grid;
  gap: 8px;
}

.contact-card {
  border: 1px solid rgba(157, 113, 40, 0.25);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255, 250, 240, 0.9);
}

.contact-card strong {
  color: #4d3613;
}

.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.auth-side {
  border: 1px solid rgba(157, 113, 40, 0.25);
  border-radius: 18px;
  padding: 16px;
  background: linear-gradient(160deg, rgba(255, 252, 244, 0.95), rgba(243, 223, 176, 0.88));
  box-shadow: var(--shadow-md);
}

.auth-side ul {
  margin: 10px 0 0;
  padding-right: 18px;
  display: grid;
  gap: 8px;
}

.policy-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 12px;
}

.policy-nav {
  position: sticky;
  top: 96px;
  border: 1px solid rgba(157, 113, 40, 0.25);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 250, 239, 0.92);
  box-shadow: var(--shadow-md);
  height: fit-content;
}

.policy-nav a {
  display: block;
  border-radius: 10px;
  padding: 7px 8px;
  color: #5b4018;
  font-size: 0.88rem;
}

.policy-nav a:hover {
  background: rgba(255, 236, 191, 0.7);
}

.policy-content {
  border: 1px solid rgba(157, 113, 40, 0.24);
  border-radius: 20px;
  padding: 18px;
  background: rgba(255, 252, 245, 0.92);
  box-shadow: var(--shadow-md);
}

.policy-block {
  border: 1px solid rgba(157, 113, 40, 0.2);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 248, 231, 0.62);
  margin-top: 10px;
}

@media (max-width: 1120px) {
  .faq-layout-v2,
  .contact-layout-v2,
  .auth-layout,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-nav {
    position: static;
  }
}
.footer-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
}
.footer-logos a {
  display: inline-flex;
  align-items: center;
}
.footer-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.footer-logo-invert {
  filter: brightness(1) invert(1);
}
.footer-legal {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(157, 113, 40, 0.22);
  color: var(--ink-700);
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer-legal p {
  margin: 0 0 10px;
}
.footer-legal p:last-child {
  margin-bottom: 0;
}