/*
 * Kuber Live editorial theme
 * Plain CSS on purpose: easy to change after upload, no build step required.
 */
@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap-grid.min.css");

:root {
  --forest: #173c32;
  --forest-dark: #0d2822;
  --mustard: #e2a72f;
  --rust: #bd5b34;
  --cream: #f7f2e8;
  --paper: #fffdf8;
  --ink: #202722;
  --muted: #667068;
  --rule: #ded8cb;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.72;
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

/* Header */
.utility {
  padding: 7px 0;
  color: #dbe8df;
  background: var(--forest-dark);
  font-size: 12px;
  letter-spacing: .02em;
}
.utility .wrap { display: flex; justify-content: space-between; gap: 18px; }
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--rule);
  background: rgba(255, 253, 248, .96);
  backdrop-filter: blur(12px);
}
.navin { min-height: 78px; display: flex; align-items: center; gap: 26px; }
.brand img { display: block; width: 248px; height: auto; }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { color: #33443a; font-size: 14px; font-weight: 750; text-decoration: none; }
.links a:hover { color: var(--rust); }
.download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 17px;
  color: #182016 !important;
  background: var(--mustard);
  border: 1px solid #c68d1c;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(173, 119, 12, .18);
  font-weight: 900;
  text-decoration: none;
}

/* Homepage */
.hero {
  min-height: 650px;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(9, 29, 24, .97) 0%, rgba(13, 40, 34, .86) 43%, rgba(13, 40, 34, .12) 74%),
    url("/assets/images/fantasy.png") center / cover no-repeat;
}
.hero-copy { max-width: 690px; padding: 88px 0; }
.kicker, .eyebrow {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.kicker { color: #f3c868; }
.eyebrow { color: var(--rust); }
.hero h1 {
  max-width: 720px;
  margin: 10px 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6.7vw, 6.25rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .96;
}
.hero p { max-width: 630px; color: #dce7e1; font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { padding: 13px 19px; border: 1px solid rgba(255,255,255,.45); border-radius: 7px; font-weight: 850; text-decoration: none; }
.btn.primary { color: #182016; background: var(--mustard); border-color: var(--mustard); }
.btn.ghost { color: var(--white); background: rgba(255,255,255,.07); }
.metrics { display: flex; gap: 34px; margin-top: 34px; color: #cad9d1; font-size: 13px; }
.metrics b { display: block; color: var(--white); font-family: Georgia, serif; font-size: 24px; }

/* Shared sections */
.section { padding: 78px 0; }
.white { background: var(--paper); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 31px; }
.section-head h2 { margin: 6px 0; font-family: Georgia, serif; font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1.05; }
.section-head p { max-width: 580px; color: var(--muted); }
.platforms { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.platforms a { padding: 16px 9px; border: 1px solid var(--rule); background: var(--white); font-size: 13px; font-weight: 800; text-align: center; text-decoration: none; }
.platforms a:hover { border-color: var(--rust); color: var(--rust); }
.featured { display: grid; grid-template-columns: 1.12fr .88fr; gap: 19px; }
.feature { min-height: 380px; display: flex; flex-direction: column; justify-content: end; padding: 32px; color: var(--white); background: linear-gradient(0deg, rgba(9,29,24,.92), transparent 78%), url("/assets/images/rummy.png") center / cover; }
.feature.teen { background-image: linear-gradient(0deg, rgba(9,29,24,.92), transparent 78%), url("/assets/images/teenpatti.png"); }
.feature h3 { margin: 7px 0; font-family: Georgia, serif; font-size: 35px; line-height: 1.05; }
.feature p { color: #e4eee9; }
.feature a { color: #f3c868; font-weight: 900; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--rule); background: var(--white); }
.article-card img { width: 100%; height: 178px; object-fit: cover; }
.card-body { flex: 1; display: flex; flex-direction: column; padding: 21px; }
.article-card h3 { margin: 7px 0; font-family: Georgia, serif; font-size: 21px; line-height: 1.22; }
.article-card p { color: var(--muted); font-size: 14px; }
.article-card a { margin-top: auto; color: var(--rust); font-weight: 900; }

/* Article and collection pages */
.pagehero { padding: 76px 0 62px; color: var(--white); background: linear-gradient(120deg, var(--forest-dark), var(--forest)); }
.pagehero h1 { max-width: 960px; margin: 8px 0 18px; font-family: Georgia, serif; font-size: clamp(2.7rem, 5.5vw, 5.2rem); line-height: .99; }
.pagehero p { max-width: 760px; color: #d5e3dc; font-size: 17px; }
.article { width: min(900px, calc(100% - 40px)); margin: 52px auto; }
.article-cover { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border: 8px solid var(--paper); box-shadow: 0 18px 50px rgba(20,45,36,.13); }
.review { display: flex; justify-content: space-between; gap: 16px; margin: 28px 0; padding: 15px 0; border-block: 1px solid var(--rule); color: var(--muted); font-size: 13px; }
.article h2 { margin-top: 36px; font-family: Georgia, serif; font-size: 31px; line-height: 1.18; }
.article h3 { margin-top: 25px; font-size: 19px; }
.article p, .article li { color: #3c4740; }
.article .lead { color: #25322b; font-family: Georgia, serif; font-size: 19px; }
.callout { margin: 25px 0; padding: 18px 20px; border-left: 5px solid var(--mustard); background: var(--paper); }
.related { display: grid; gap: 8px; margin: 32px 0; }
.related a { display: flex; justify-content: space-between; padding: 13px 15px; border: 1px solid var(--rule); background: var(--paper); font-weight: 800; text-decoration: none; }
.faq details { margin: 8px 0; padding: 15px 17px; border: 1px solid var(--rule); background: var(--paper); }
.faq summary { cursor: pointer; font-weight: 900; }
.filterbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filterbar button { padding: 9px 14px; border: 1px solid var(--rule); background: var(--white); font-weight: 800; cursor: pointer; }
.filterbar button.active { color: var(--white); background: var(--forest); }
.search { max-width: 580px; margin: 20px 0; }
.search input { width: 100%; padding: 13px 15px; border: 1px solid var(--rule); background: var(--white); font: inherit; }

/* Practice games and download strip */
.game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.game-card { padding: 20px; border: 1px solid var(--rule); background: var(--white); }
.game-card b { display: block; margin-top: 5px; font-family: Georgia, serif; font-size: 19px; }
.game-card a { color: var(--rust); font-weight: 900; }
.gamebox { min-height: 380px; display: grid; place-items: center; padding: 32px; color: var(--white); background: var(--forest); text-align: center; }
.gamebox .number { color: #f3c868; font-family: Georgia, serif; font-size: 67px; }
.gamebox button { padding: 13px 22px; border: 0; background: var(--mustard); font-weight: 900; cursor: pointer; }
.band { padding: 31px 0; border-block: 1px solid #d5c79f; background: #eee1ba; }
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.band h2 { margin: 0; font-family: Georgia, serif; font-size: 30px; }

footer { padding: 56px 0; color: #cad9d1; background: var(--forest-dark); }
.footergrid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footergrid a { display: block; margin: 7px 0; color: #d9e5df; text-decoration: none; }
.footergrid b { color: #f3c868; }
.copyright { margin-top: 30px; padding-top: 20px; border-top: 1px solid #385148; font-size: 13px; }

@media (max-width: 950px) {
  .links { display: none; }
  .platforms { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .featured, .footergrid { grid-template-columns: 1fr; }
  .hero { background-position: 64% center; }
}

@media (max-width: 580px) {
  .utility { display: none; }
  .wrap { width: min(100% - 24px, 1160px); }
  .navin { min-height: 66px; gap: 9px; }
  .brand img { width: 174px; }
  .nav .download { padding: 9px 10px; font-size: 11px; }
  .hero { min-height: 600px; background-position: 69% center; }
  .hero-copy { padding: 65px 0; }
  .hero h1 { font-size: 3.15rem; }
  .metrics { gap: 16px; }
  .section { padding: 55px 0; }
  .section-head, .band .wrap, .review { align-items: flex-start; flex-direction: column; }
  .platforms { grid-template-columns: repeat(2, 1fr); }
  .cards, .game-grid { grid-template-columns: 1fr; }
}
