/* Konkan Plus — website. Same look as the game: cream, gold, warm wood. */
:root {
  --cream: #fffbf3;
  --cream-2: #f6ead2;
  --paper: #fdf6e7;
  --gold: #c9962a;
  --gold-hi: #f7dc90;
  --gold-lo: #dda640;
  --ink: #3e2723;
  --ink-soft: #7a5e50;
  --wood: #2a1810;
  --wood-2: #4a2f1e;
  --green: #2e9e57;
  --green-hi: #5cc489;
  --red: #b0453a;
  --blue: #2f6db5;
  --radius: 22px;
  --shadow: 0 18px 40px rgba(42, 24, 16, .18);
  --font: "Noto Sans Arabic", "Noto Kufi Arabic", system-ui, sans-serif;
  --font-head: "Noto Kufi Arabic", "Noto Sans Arabic", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
html[dir="ltr"] body { font-family: "Inter", "Noto Sans Arabic", system-ui, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
/* Pictures can't be dragged, long-pressed or right-click-saved. */
img {
  -webkit-user-drag: none; user-select: none; -webkit-user-select: none;
  -webkit-touch-callout: none; pointer-events: none;
}
a { color: inherit; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ── Logo (tiles 1 0 1 + Konkan + PLUS, like the game) ── */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; direction: ltr; }
.logo .tiles { display: flex; gap: 3px; }
.logo .tile {
  width: 22px; height: 30px; border-radius: 5px;
  background: linear-gradient(#fffdf7, #efe4cc);
  box-shadow: 0 2px 0 #c9b796, 0 3px 6px rgba(0,0,0,.18);
  display: grid; place-items: center;
  font: 700 17px/1 "Fredoka", system-ui, sans-serif;
}
.logo .tile:nth-child(1) { color: var(--red); }
.logo .tile:nth-child(2) { color: #b07a12; }
.logo .tile:nth-child(3) { color: var(--ink); }
.logo .word { font: 900 26px/1 "Fredoka", var(--font-head); letter-spacing: .5px; color: var(--ink); }
.logo .plus {
  font: 900 11px/1 var(--font-head); letter-spacing: 1px; color: var(--wood);
  background: linear-gradient(var(--gold-hi), var(--gold-lo));
  border: 2px solid var(--wood); border-radius: 7px; padding: 3px 6px;
  transform: rotate(-6deg);
}

/* ── Header ── */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 251, 243, .86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 150, 42, .25);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 12px; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { text-decoration: none; font-weight: 700; color: var(--ink-soft); font-size: 15px; }
.nav a:hover { color: var(--ink); }
.lang {
  text-decoration: none; font-weight: 800; font-size: 13px;
  border: 1.5px solid var(--gold); border-radius: 999px; padding: 6px 14px; color: var(--ink);
}
@media (max-width: 760px) { .nav .hide-sm { display: none; } .nav { gap: 14px; } }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px; text-decoration: none;
  font: 800 16px/1 var(--font-head); border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-green { color: #fff; background: linear-gradient(var(--green-hi), var(--green)); box-shadow: 0 8px 20px rgba(46,158,87,.35); }
.btn-gold { color: var(--wood); background: linear-gradient(var(--gold-hi), var(--gold-lo)); box-shadow: 0 8px 20px rgba(201,150,42,.35); }
.btn-ghost { color: var(--ink); border-color: rgba(62,39,35,.25); background: rgba(255,255,255,.6); }
.btn small { font-weight: 700; opacity: .8; font-size: 12px; }
.store { display: flex; flex-wrap: wrap; gap: 12px; }
.store .btn { min-width: 210px; justify-content: center; }
.store .btn svg { width: 22px; height: 22px; }

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(42,24,16,.78), rgba(42,24,16,.92)),
    url("img/lounge.webp") center/cover;
  color: var(--cream);
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; padding-block: 80px 96px; }
.hero h1 { font: 900 clamp(38px, 6vw, 64px)/1.15 var(--font-head); margin: 0 0 14px; }
.hero h1 .accent { color: var(--gold-hi); }
.hero p.lead { font-size: clamp(17px, 2.2vw, 21px); color: #f1e3c8; margin: 0 0 28px; max-width: 34ch; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.badge {
  font-size: 13px; font-weight: 800; padding: 6px 12px; border-radius: 999px;
  background: rgba(247,220,144,.14); border: 1px solid rgba(247,220,144,.45); color: var(--gold-hi);
}
.hero .soon { margin-top: 14px; font-size: 14px; color: #d9c6a3; }
.hero-art { position: relative; aspect-ratio: 1; }
.hero-art .glow {
  position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle, rgba(247,220,144,.35), transparent 65%);
}
.hero-art img.trophy { position: absolute; inset: 10% 8% auto; width: 84%; filter: drop-shadow(0 24px 30px rgba(0,0,0,.5)); animation: float 6s ease-in-out infinite; }
.hero-art .t {
  position: absolute; width: 58px; height: 78px; border-radius: 10px;
  background: linear-gradient(#fffdf7, #eadcbf);
  box-shadow: 0 4px 0 #c4ae86, 0 14px 24px rgba(0,0,0,.4);
  display: grid; place-items: center; font: 900 32px/1 var(--font-head);
  animation: float 7s ease-in-out infinite;
}
.hero-art .t1 { top: 6%; right: 2%; color: var(--red); transform: rotate(14deg); animation-delay: -1s; }
.hero-art .t2 { bottom: 6%; left: 4%; color: var(--blue); transform: rotate(-12deg); animation-delay: -3s; }
.hero-art .t3 { bottom: 14%; right: 8%; color: var(--ink); transform: rotate(8deg); animation-delay: -5s; }
@keyframes float { 50% { translate: 0 -12px; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 56px 64px; text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .badge-row, .store { justify-content: center; }
  .hero-art { width: 100%; max-width: 320px; height: 300px; aspect-ratio: auto; margin-inline: auto; order: -1; }
  .hero-art img.trophy { inset: 8% 4% auto; width: 92%; }
  .hero-art .t { width: 48px; height: 64px; font-size: 26px; }
}

/* ── Sections ── */
section { padding-block: 84px; }
.kicker { font: 800 13px/1 var(--font-head); color: var(--gold); letter-spacing: 1px; text-transform: uppercase; }
h2 { font: 900 clamp(28px, 4vw, 40px)/1.25 var(--font-head); margin: 10px 0 14px; }
.sub { color: var(--ink-soft); font-size: 18px; max-width: 60ch; margin: 0 0 40px; }
.center { text-align: center; }
.center .sub { margin-inline: auto; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.card {
  background: linear-gradient(180deg, #fffdf8, var(--cream-2));
  border: 1px solid rgba(201,150,42,.28); border-radius: var(--radius);
  padding: 18px 18px 22px; box-shadow: var(--shadow); text-align: center;
  transition: transform .2s ease;
}
.card:hover { transform: translateY(-4px); }
.card .pic { background: radial-gradient(circle at 50% 40%, #fff7e2, #f3e2bf); border-radius: 16px; aspect-ratio: 4 / 3; display: grid; place-items: center; margin-bottom: 14px; }
.card .pic img { width: 88%; }
.card h3 { font: 900 20px/1.3 var(--font-head); margin: 0 0 4px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.features { background: var(--paper); border-block: 1px solid rgba(201,150,42,.2); }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.f {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border-radius: 18px; padding: 18px;
  border: 1px solid rgba(201,150,42,.22);
}
.f .ic {
  flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(160deg, #5a3a26, var(--wood)); color: var(--gold-hi);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.f .ic svg { width: 24px; height: 24px; }
.f h3 { margin: 0 0 2px; font: 800 17px/1.35 var(--font-head); }
.f p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.cities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.city { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--wood); aspect-ratio: 3 / 4; }
.city img { width: 100%; height: 100%; object-fit: cover; }
.city .lbl {
  position: absolute; inset: auto 0 0; padding: 40px 14px 14px;
  background: linear-gradient(transparent, rgba(42,24,16,.92)); color: #fff;
  font: 900 20px/1.2 var(--font-head);
}
.city .lbl small { display: block; font: 700 13px/1.4 var(--font); color: var(--gold-hi); }
.city.locked img { filter: grayscale(.6) brightness(.75); }
@media (max-width: 760px) { .cities { grid-template-columns: repeat(2, 1fr); } }

.clan { background: linear-gradient(135deg, var(--wood-2), var(--wood)); color: var(--cream); }
.clan .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.clan .sub { color: #e7d6b8; }
.clan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.clan li { padding-inline-start: 14px; border-inline-start: 3px solid var(--gold); }
.clan li { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.clan img { width: min(340px, 100%); margin-inline: auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,.5)); }
@media (max-width: 860px) { .clan .wrap { grid-template-columns: 1fr; text-align: center; } .clan li { justify-content: center; } }

.cta { text-align: center; }
.cta .box {
  background: linear-gradient(180deg, #fffdf8, var(--cream-2));
  border: 2px solid rgba(201,150,42,.35); border-radius: 30px; padding: 48px 24px;
  box-shadow: var(--shadow);
}
.cta .store { justify-content: center; }

footer { background: var(--wood); color: #d9c6a3; padding-block: 36px; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { text-decoration: none; color: #f1e3c8; font-weight: 700; }
footer .logo .word { color: var(--cream); }

/* ── Legal pages ── */
.doc { padding-block: 48px 80px; }
.doc .paper {
  background: #fff; border: 1px solid rgba(201,150,42,.25); border-radius: var(--radius);
  padding: clamp(22px, 4vw, 48px); box-shadow: var(--shadow);
}
.doc h1 { font: 900 clamp(28px, 4vw, 38px)/1.3 var(--font-head); margin: 0 0 6px; }
.doc h2 { font-size: 22px; margin: 32px 0 8px; }
.doc .muted { color: var(--ink-soft); }
.doc .langbox { border-top: 2px dashed rgba(201,150,42,.4); margin-top: 48px; padding-top: 32px; }
.doc ul { padding-inline-start: 22px; }

/* Hero tagline (plain text, no pills) */
.tagline { margin: 0 0 16px; font-weight: 700; font-size: 15px; color: var(--gold-hi); letter-spacing: .2px; }
.tagline span { opacity: .55; margin-inline: 8px; }

/* Store badges (dark, like the official App Store / Google Play badges) */
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  min-width: 190px; padding: 9px 18px 9px 16px; border-radius: 12px;
  background: #111; color: #fff; text-decoration: none;
  border: 1px solid rgba(255,255,255,.28);
  transition: transform .15s ease, background .15s ease;
}
.store-badge:hover { transform: translateY(-2px); background: #000; }
.store-badge svg { width: 28px; height: 28px; flex: none; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.15; text-align: start; }
.store-badge small { font-size: 11px; opacity: .8; font-weight: 600; }
.store-badge b { font: 700 19px/1.15 "Inter", system-ui, sans-serif; letter-spacing: .2px; }
.cta .store-badge { border-color: rgba(0,0,0,.2); }
