/* JUNGLEE RUMMY / Website 2: editorial ruby & antique gold refresh. */
:root {
  --jr-burgundy: #5a0603;
  --jr-burgundy-deep: #260603;
  --jr-burgundy-mid: #710d07;
  --jr-gold: #d9a441;
  --jr-gold-light: #f1ce78;
  --jr-ivory: #fff7e8;
  --jr-paper: #f8edd9;
  --jr-ink: #1d1614;
  --jr-muted: #77625d;
  --jr-line: rgba(112, 70, 41, .18);
  --jr-shadow: 0 22px 55px rgba(71,16,9, .11);
  --jr-serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --jr-sans: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  --ink: var(--jr-burgundy-deep);
  --ink-2: var(--jr-burgundy);
  --felt: var(--jr-burgundy);
  --felt-light: var(--jr-burgundy-mid);
  --paper: var(--jr-paper);
  --white: var(--jr-ivory);
  --cream: var(--jr-ivory);
  --gold: var(--jr-gold-light);
  --gold-dark: #a46e20;
  --muted: var(--jr-muted);
  --line: var(--jr-line);
  --serif: var(--jr-serif);
  --sans: var(--jr-sans);
  --radius: 18px;
}

html { scroll-padding-top: 122px; }
body {
  color: var(--jr-ink);
  background:
    radial-gradient(circle at 5% 16%, rgba(217,164,65,.07), transparent 22rem),
    var(--jr-paper);
  font-family: var(--jr-sans);
}
.container { width: min(1240px, calc(100% - 64px)); }

/* Shared header: slim responsibility rail + disciplined navigation. */
.site-header,
.site-header.scrolled,
.site-header.menu-open,
.article-page .site-header {
  padding-top: 34px;
  color: var(--jr-ivory);
  background: rgba(48,3,2, .96);
  border-bottom: 1px solid rgba(241,206,120,.3);
  box-shadow: 0 10px 30px rgba(25,1,8,.12);
  backdrop-filter: blur(18px);
}
.site-header::before {
  content: "18+   Play responsibly. Rummy is a game of skill and intended for adults only (18+).";
  position: absolute;
  inset: 0 0 auto;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,247,232,.78);
  border-bottom: 1px solid rgba(241,206,120,.25);
  background: linear-gradient(90deg, #5a0603, #350302 56%, #5a0603);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .035em;
}
.nav-shell { height: 84px; }
.brand { gap: 12px; }
.brand-logo {
  width: 56px;
  height: 56px;
  border: 1px solid var(--jr-gold-light);
  border-radius: 14px;
  box-shadow: 0 7px 20px rgba(0,0,0,.28), 0 0 0 3px rgba(217,164,65,.08);
}
.brand strong { font-family: var(--jr-sans); font-size: 18px; font-weight: 800; letter-spacing: .16em; }
.brand small { margin-top: 5px; font-size: 9px; font-weight: 800; letter-spacing: .43em; }
.desktop-nav { gap: clamp(18px,2.1vw,34px); margin-inline: auto 28px; }
.desktop-nav a { color: rgba(255,247,232,.76); font-size: 13px; font-weight: 650; letter-spacing: .015em; }
.desktop-nav a::after { bottom: -30px; height: 2px; background: var(--jr-gold-light); }
.desktop-nav a:hover,
.desktop-nav a.active { color: #fff; }
.nav-actions { gap: 17px; }
.language-button { min-width: 62px; color: rgba(255,247,232,.9); }
.site-header .button-small {
  min-height: 48px;
  padding-inline: 23px;
  border: 0;
  border-radius: 12px;
  color: #2c1802;
  background: linear-gradient(145deg,#f6d581,#dba442);
  box-shadow: 0 9px 24px rgba(217,164,65,.18), inset 0 1px rgba(255,255,255,.55);
  font-size: 13px;
  font-weight: 850;
}
.site-header .button-small:hover { background: linear-gradient(145deg,#ffe39a,#e3ac49); }
.language-menu,
.mobile-menu {
  top: 108px;
  color: var(--jr-ivory);
  border-color: rgba(241,206,120,.22);
  background: rgba(48,3,2,.985);
}

/* Buttons: premium, clear, and calm. */
.button { border-radius: 12px; letter-spacing: -.01em; }
.button-gold,
.button-cream,
.apk-button,
.about-apk-button,
.text-button {
  color: #2e1a03;
  border: 1px solid #f8dd96;
  border-radius: 12px;
  background: linear-gradient(145deg,#f5d47c 0%,#d99f38 100%);
  box-shadow: 0 13px 30px rgba(68,11,6,.2), inset 0 1px rgba(255,255,255,.62);
  font-style: normal;
  text-shadow: none;
  animation: none;
  overflow: hidden;
}
.button-gold::before,
.button-cream::before,
.apk-button::before { display: none; }
.button-gold:hover,
.button-cream:hover,
.apk-button:hover,
.about-apk-button:hover {
  color: #241302;
  background: linear-gradient(145deg,#ffe39d,#e4ac47);
  box-shadow: 0 17px 36px rgba(68,11,6,.25), inset 0 1px rgba(255,255,255,.7);
}
.button-ghost { color: var(--jr-burgundy); border-color: rgba(90,6,3,.24); background: transparent; }

/* Homepage composition. Dedicated selectors intentionally avoid the legacy
   trusted-hero cascade; source order must not decide the direction of the hero. */
.home-page { --showcase-header: 78px; --showcase-paper: #fff7e8; }
.home-page > .site-header { padding-top: 0; background: #350302; }
.home-page > .site-header::before { display: none; }
.home-page .nav-shell { height: 78px; width: min(1480px,92%); gap: 30px; }
.home-page .site-header .brand-logo { width: 60px; height: 60px; border: 0; border-radius: 12px; transform: none; box-shadow: 0 3px 10px #19010160; }
.home-page .site-header .brand > span { display: none; }
.home-page .desktop-nav { margin: 0 auto; gap: clamp(20px,2.9vw,44px); }
.home-page .desktop-nav a { font-weight: 500; font-size: 15px; }
.home-page .desktop-nav a[href="/"] { display: none; }
.home-page .desktop-nav a::after { bottom: -24px; }
.home-page .site-header .button-small { border-radius: 8px; font-weight: 700; font-size: 14px; min-height: 46px; }
.home-page .nav-actions { gap: 24px; }
.home-page .language-menu { top: 78px; }
.home-page .container { width: min(1480px,92%); }
.home-showcase { position: relative; padding-top: var(--showcase-header); color: #fff7e8; background: #350302; isolation: isolate; }
.showcase-stage { position: relative; isolation: isolate; }
.showcase-scene { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.showcase-scene img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.showcase-layout { min-height: clamp(390px,31vw,500px); display: flex; align-items: center; justify-content: flex-start; padding-block: 48px; }
.showcase-copy { width: 51%; max-width: 740px; text-align: left; }
.showcase-copy h1 { margin: 0; color: #fff8e9; font-family: Georgia,"Times New Roman",serif; font-size: clamp(50px,5.7vw,90px); font-weight: 600; line-height: .98; letter-spacing: -.045em; }
.showcase-copy h1 span, .showcase-copy h1 em { display: block; }
.showcase-copy h1 em { margin-top: 8px; color: #f0cc75; font-size: .75em; font-weight: 500; font-style: normal; letter-spacing: -.045em; }
.showcase-flourish { display: block; width: 72px; height: 2px; margin: 24px 0 21px; background: linear-gradient(90deg,#dfaa3c,#ffe1a3 75%,transparent); }
.showcase-copy > p { margin: 0 0 26px; font-size: clamp(16px,1.6vw,23px); line-height: 1.5; color: #fff9ee; }
.showcase-actions { display: flex; align-items: stretch; justify-content: flex-start; gap: 16px; }
.showcase-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 60px; padding: 15px 23px; border: 1px solid #eac162; border-radius: 8px; font-size: clamp(14px,1.25vw,18px); font-weight: 650; line-height: 1.25; transition: transform .2s,background .2s,box-shadow .2s; }
.showcase-button svg { width: 28px; height: 28px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.showcase-button:hover { transform: translateY(-2px); box-shadow: 0 7px 20px #17000055; }
/* One prominent download action; effects stay behind the readable label. */
.showcase-button.showcase-download {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(100%,440px);
  min-height: 84px;
  padding: 22px 28px;
  gap: 16px;
  border: 1px solid #ffe4a0;
  border-radius: 12px;
  color: #281703;
  background: linear-gradient(115deg,#ffe9a5 0%,#f4ca68 42%,#e6ad3f 100%);
  font-size: clamp(22px,1.7vw,26px);
  font-weight: 750;
  letter-spacing: -.025em;
  box-shadow: inset 0 2px 0 #fff4cf,0 5px 0 #9f651f,0 12px 32px #e7ab3d35;
  animation: showcase-download-glow 3.6s ease-in-out infinite;
}
.showcase-download > * { position: relative; z-index: 2; }
.showcase-download svg { width: 34px; height: 34px; transition: transform .2s; }
.showcase-download::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -30% auto -30% 0;
  width: 55%;
  pointer-events: none;
  background: linear-gradient(90deg,transparent,rgba(255,255,239,.65),transparent);
  transform: translateX(-180%) skewX(-20deg);
  animation: showcase-download-shine 5.2s ease-in-out infinite;
}
.showcase-download::after { content: ""; position: absolute; z-index: 3; inset: 3px; border: 1px solid #fff4c470; border-radius: 9px; pointer-events: none; }
.showcase-button.showcase-download:hover {
  animation: none;
  transform: translateY(-3px);
  background: linear-gradient(115deg,#fff0bd,#fbd57e 45%,#eeb648);
  box-shadow: inset 0 2px 0 #fff8df,0 7px 0 #9f651f,0 16px 42px #efbc555c;
}
.showcase-download:hover svg { transform: translateY(2px); }
.showcase-button.showcase-download:active { transform: translateY(2px); box-shadow: inset 0 2px 0 #fff4cf,0 2px 0 #9f651f,0 5px 18px #e7ab3d35; }
@keyframes showcase-download-glow {
  0%,100% { box-shadow: inset 0 2px 0 #fff4cf,0 5px 0 #9f651f,0 10px 24px #e7ab3d30; }
  50% { box-shadow: inset 0 2px 0 #fff4cf,0 5px 0 #9f651f,0 14px 38px #efbc555e; }
}
@keyframes showcase-download-shine {
  0%,12% { transform: translateX(-180%) skewX(-20deg); }
  38%,100% { transform: translateX(300%) skewX(-20deg); }
}
.showcase-button:focus-visible, .explore-card:focus-visible { outline: 3px solid #dfa83e; outline-offset: 5px; }
.showcase-footer { position: relative; padding-bottom: 20px; background: linear-gradient(110deg,#560905,#3e0402 78%); border-top: 1px solid #b68c4680; }
.showcase-assurances { display: grid; grid-template-columns: 1.12fr 1fr 1fr; min-height: 96px; padding-right: clamp(250px,21vw,325px); align-items: center; }
.showcase-assurance { display: flex; align-items: center; gap: 16px; padding: 6px 24px; border-right: 1px solid #d3a65a80; }
.showcase-assurance:first-child { padding-left: 8px; }
.showcase-assurance:last-child { border-right: 0; padding-right: 0; }
.showcase-assurance > svg { width: 38px; height: 42px; flex: none; fill: none; stroke: #e9bd59; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.showcase-assurance strong { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.showcase-assurance div > span { display: block; font-size: 11px; line-height: 1.5; color: #f4dccf; }
.showcase-age { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border: 2px solid #e9bd59; border-radius: 50%; font-size: 14px; color: #e9bd59; }
.showcase-card-fan { position: absolute; z-index: 2; right: max(4%,calc((100vw - 1480px)/2)); bottom: 8px; width: clamp(232px,20vw,310px); height: 196px; pointer-events: none; filter: drop-shadow(0 10px 12px #1b000055); }
.showcase-card-fan img { position: absolute; bottom: 0; width: 45%; height: auto; transform-origin: center 90%; }
.showcase-card-fan img:nth-child(1) { left: 0; transform: rotate(-17deg) translateY(6px); }
.showcase-card-fan img:nth-child(2) { left: 27%; transform: rotate(3deg) translateY(-8px); }
.showcase-card-fan img:nth-child(3) { left: 54%; transform: rotate(20deg) translateY(9px); }
.showcase-gold-curve { position: absolute; z-index: 3; bottom: -1px; left: 0; display: block; width: 100%; height: 60px; pointer-events: none; }

/* The gold curve flows into a calm, ornamental paper section. */
.home-explore { position: relative; padding: 28px 0 64px; color: #350302; background: var(--showcase-paper); overflow: hidden; isolation: isolate; }
.home-explore::before, .home-explore::after { content: ""; position: absolute; z-index: -1; width: 330px; height: 330px; top: -180px; background: url("/assets/website2/mandala-corner.svg") center/contain no-repeat; opacity: .65; pointer-events: none; }
.home-explore::before { left: -165px; }
.home-explore::after { right: -165px; transform: rotate(30deg); }
.home-explore h2 { margin: 0; font-family: Georgia,"Times New Roman",serif; font-size: clamp(30px,3.15vw,48px); font-weight: 600; letter-spacing: -.04em; line-height: 1.2; text-align: center; }
.explore-flourish { display: block; width: 54px; height: 2px; margin: 18px auto 26px; background: linear-gradient(90deg,transparent,#d69b2d 40%,#e1ad49,transparent); }
.explore-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.explore-card { display: flex; align-items: center; gap: 20px; min-height: 142px; padding: 20px; border: 1px solid #dbc29466; border-radius: 12px; color: #350302; background: #fffdf54d; transition: transform .2s,background .2s,border-color .2s; }
.explore-card:hover { transform: translateY(-4px); background: #fffdf7; border-color: #d7b67a; }
.explore-icon { display: grid; place-items: center; width: 92px; height: 102px; flex: none; border-radius: 50%; background: linear-gradient(140deg,#f3dfb677,#f9eddb); }
.explore-icon svg { width: 46px; height: 46px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.explore-card h3 { margin: 0 0 8px; font-family: Georgia,"Times New Roman",serif; font-size: 22px; font-weight: 600; letter-spacing: -.025em; }
.explore-card p { margin: 0; color: #73544c; font-size: 13px; line-height: 1.65; }
.explore-arrow { margin-left: auto; color: #cc902d; font-size: 26px; font-weight: 300; }
html[lang="hi"] .showcase-copy h1 { font-family: var(--jr-sans); font-size: clamp(40px,4.5vw,70px); line-height: 1.3; letter-spacing: 0; }
html[lang="hi"] .showcase-button { font-size: 14px; }

/* Shared editorial section language. */
.section { padding-block: 94px; }
.section-heading { align-items: end; margin-bottom: 42px; }
.section-heading h2,
.faq-heading h2,
.learn-intro h2,
.community-heading h2 {
  color: var(--jr-burgundy);
  font-family: var(--jr-serif);
  font-size: clamp(38px,3.65vw,56px);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -.045em;
}
.section-heading .kicker,
.faq-heading .kicker,
.kicker,
.about-section-label {
  color: #9b6724;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .22em;
}
.section-heading > p { color: var(--jr-muted); font-size: 14px; }
.section-link { color: var(--jr-burgundy); border-color: rgba(90,6,3,.35); font-size: 12px; font-weight: 800; }

.features { color: var(--jr-ink); background: var(--jr-ivory); }
.features .container { grid-template-columns: .78fr 1.22fr; gap: 76px; }
.features .section-heading h2 { color: var(--jr-burgundy); font-size: clamp(43px,4vw,58px); }
.feature-grid { gap: 14px; }
.feature-card,
.feature-card:first-child {
  min-height: 235px;
  padding: 27px;
  border: 1px solid rgba(129,81,45,.16);
  border-radius: 16px;
  background: linear-gradient(145deg,#fffaf0,#faefd9);
  box-shadow: 0 12px 34px rgba(78,25,31,.055);
}
.feature-card:hover { border-color: rgba(164,110,32,.34); background: #fffaf0; box-shadow: var(--jr-shadow); transform: translateY(-5px); }
.line-icon { border: 0; border-radius: 50%; color: var(--jr-burgundy); background: rgba(217,164,65,.15); }
.feature-card h3 { color: var(--jr-burgundy); font-family: var(--jr-serif); font-size: 24px; font-weight: 650; }
.feature-card p { color: var(--jr-muted); font-size: 12px; }
.card-tag { color: #9a6c2d; }

.home-rules { color: var(--jr-ivory); background: var(--jr-burgundy); }
.home-rules::before {
  width: 760px;
  height: 760px;
  border-color: rgba(241,206,120,.16);
  box-shadow: 0 0 0 42px rgba(241,206,120,.035),0 0 0 84px rgba(241,206,120,.025);
}
.home-rules .section-heading h2 { color: var(--jr-gold-light); }
.home-rules .section-heading > p,
.rule-card p { color: rgba(255,247,232,.68); }
.rule-card { border-color: rgba(241,206,120,.28); }
.rule-card:last-child { border-color: rgba(241,206,120,.28); }
.rule-card > span,
.rule-suit { color: var(--jr-gold-light); }

.home-videos { background: var(--jr-ivory); }
.home-news { background: #f3e4c9; }
.video-card,
.news-card { border-radius: 14px; }
.video-poster,
.news-art { border-radius: 14px; box-shadow: 0 16px 36px rgba(63,11,6,.1); }
.video-copy h3,
.news-copy h3 { color: var(--jr-burgundy); font-family: var(--jr-serif); }
.video-copy p,
.news-copy p { color: var(--jr-muted); }
.home-faq { color: var(--jr-ink); background: var(--jr-ivory); }
.faq-grid { gap: 86px; }
.faq-item { border-color: rgba(112,70,41,.22); }
.faq-item button { color: var(--jr-burgundy); font-family: var(--jr-sans); font-weight: 700; }
.faq-answer p { color: var(--jr-muted); }
.faq-item i { color: var(--jr-burgundy); border-color: rgba(90,6,3,.28); }
.final-cta {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
  color: var(--jr-ivory);
  background: linear-gradient(115deg,#720d07,#4b0503 64%,#260603);
}
.final-cta::after {
  content: "♦";
  position: absolute;
  right: 5vw;
  top: 50%;
  color: rgba(241,206,120,.08);
  font: 240px/1 var(--jr-serif);
  transform: translateY(-50%) rotate(12deg);
}
.final-cta-inner { position: relative; z-index: 1; }
.final-cta h2 { font-family: var(--jr-serif); font-weight: 650; }
.final-cta .button { min-height: 62px; min-width: 300px; font-size: 16px; }

/* Interior pages. */
.page-main { background: var(--jr-paper); }
.page-hero {
  position: relative;
  padding: 198px 0 92px;
  overflow: hidden;
  color: var(--jr-ivory);
  border: 0;
  background:
    radial-gradient(circle at 80% 28%,rgba(234,180,66,.18),transparent 22rem),
    linear-gradient(120deg,#5a0603,#340402 72%);
}
.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.page-hero::before {
  width: 440px;
  height: 440px;
  right: -120px;
  bottom: -310px;
  border: 1px solid rgba(241,206,120,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(241,206,120,.035),0 0 0 80px rgba(241,206,120,.025);
}
.page-hero::after { inset: auto 0 0; height: 1px; background: linear-gradient(90deg,transparent,var(--jr-gold-light),transparent); }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { color: var(--jr-gold-light); font-family: var(--jr-serif); font-size: clamp(50px,6.5vw,82px); font-weight: 650; }
.page-hero p { color: rgba(255,247,232,.7); font-size: 15px; }
.games-section,
.knowledge-section,
.news-section,
.videos-section { background: var(--jr-paper); }

.game-card,
.contact-card,
.article-feature {
  color: var(--jr-ink);
  border: 1px solid rgba(112,70,41,.16);
  border-radius: 18px;
  background: var(--jr-ivory);
  box-shadow: 0 13px 34px rgba(70,14,8,.06);
}
.game-card:hover,
.contact-card:hover { border-color: rgba(164,110,32,.38); box-shadow: var(--jr-shadow); transform: translateY(-5px); }
.game-visual { background: linear-gradient(145deg,#710d07,#3a0402); }
.game-content h3,
.contact-card h2,
.article-copy h3,
.article-row h3 { color: var(--jr-burgundy); font-family: var(--jr-serif); }
.game-content p,
.contact-card p,
.step p,
.learn-intro > p,
.article-copy p { color: var(--jr-muted); }
.contact-card > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: var(--jr-burgundy); background: rgba(217,164,65,.16); }
.contact-card a { color: var(--jr-burgundy); }
.content-filter,
.faq-browser {
  color: var(--jr-ivory);
  border: 1px solid rgba(241,206,120,.22);
  border-radius: 16px;
  background: linear-gradient(110deg,#5a0603,#320402);
  box-shadow: 0 18px 45px rgba(49,5,3,.13);
}
.content-filter-button[aria-pressed="true"],
.faq-category-button[aria-pressed="true"] { color: #321d04; border-color: var(--jr-gold-light); background: linear-gradient(145deg,#f4d27a,#dca23b); }
.faq-section { background: var(--jr-ivory); }
.legal-content {
  width: min(820px,calc(100% - 40px));
  margin: 54px auto 84px;
  padding: 46px 54px;
  color: var(--jr-ink);
  border: 1px solid rgba(112,70,41,.16);
  border-radius: 18px;
  background: var(--jr-ivory);
  box-shadow: 0 15px 40px rgba(70,14,8,.06);
}
.legal-content h2 { color: var(--jr-burgundy); font-family: var(--jr-serif); }
.legal-content p,
.legal-content li { color: var(--jr-muted); }

/* About retains its photography, but speaks the same material language. */
.about-hero { padding-top: 118px; color: var(--jr-ivory); background: var(--jr-burgundy-deep); }
.about-hero::before { inset: 118px 0 0; background: linear-gradient(90deg,rgba(38,6,3,.98),rgba(48,4,2,.9) 38%,rgba(48,4,2,.27) 74%); }
.about-hero-visual { inset: 118px 0 0; }
.about-assurance-bar { top: 118px; border-color: rgba(241,206,120,.28); background: rgba(73,5,3,.9); }
.about-hero h1 { font-family: var(--jr-serif); }
.about-trust-ribbon { background: rgba(46,4,2,.92); }
.about-content-section,
.about-contact-strip,
.about-final-download { color: var(--jr-ink); background: var(--jr-paper); }
.about-lead-card {
  color: var(--jr-ivory);
  border: 1px solid rgba(241,206,120,.24);
  border-radius: 18px;
  background: linear-gradient(145deg,#650905,#3b0402);
  box-shadow: var(--jr-shadow);
}
.about-lead-card > p:not(.about-section-label) { color: rgba(255,247,232,.7); }
.about-principles { border-color: var(--jr-line); }
.about-principle { border-color: var(--jr-line); }
.about-principle h2 { color: var(--jr-burgundy); }
.about-principle p { color: var(--jr-muted); }
.about-contact-strip .container,
.about-final-download .container {
  color: var(--jr-ivory);
  border-color: rgba(241,206,120,.24);
  border-radius: 18px;
  background: linear-gradient(115deg,#690a06,#3d0402 70%);
  box-shadow: var(--jr-shadow);
}

/* Article reading experience: editorial and calm. */
.article-library-nav { top: 118px; margin-top: 118px; border-color: rgba(112,70,41,.15); background: rgba(255,247,232,.96); }
.article-library-track a { color: #6f5550; border-color: rgba(112,70,41,.17); background: #fffdf8; }
.article-library-track a.current { color: var(--jr-burgundy); border-color: rgba(164,110,32,.48); background: #fff3d9; }
.article-detail { color: var(--jr-ink); background: var(--jr-paper); }
.article-detail-shell { border-color: rgba(112,70,41,.16); border-radius: 18px; background: #fffdf8; box-shadow: 0 18px 45px rgba(70,14,8,.07); }
.article-detail h1 { color: var(--jr-burgundy); font-family: var(--jr-serif); font-weight: 680; }
.article-detail-lead { color: #55403c; font-family: var(--jr-serif); }
.article-detail-body { color: #342824; }
.article-detail-body h2,
.article-detail-body h3,
.article-detail-body h4,
.article-detail-body strong,
.article-detail-body b { color: var(--jr-burgundy-deep); }
.article-detail-body h2,
.article-detail-body h3 { font-family: var(--jr-serif); }
.article-detail-body a { color: #8a170d; }
.article-detail-body blockquote,
.article-detail-body .article-callout { border-color: var(--jr-gold); background: #fff6df; }
.article-related-card { color: var(--jr-ink); border-color: rgba(112,70,41,.17); background: var(--jr-ivory); }

/* Footer. */
.site-footer {
  color: var(--jr-ivory);
  border-top: 1px solid rgba(241,206,120,.28);
  background:
    radial-gradient(circle at 8% 0,rgba(119,15,8,.42),transparent 25rem),
    var(--jr-burgundy-deep);
}
.footer-grid h3 { color: var(--jr-gold-light); }
.footer-brand p,
.footer-age p { color: rgba(255,247,232,.57); }
.footer-grid > div > a:not(.brand) { color: rgba(255,247,232,.78); }
.footer-grid > div > a:not(.brand):hover { color: var(--jr-gold-light); }
.footer-bottom { color: rgba(255,247,232,.42); border-color: rgba(241,206,120,.19); }
.footer-age strong { color: var(--jr-gold-light); }
.mobile-dock { color: var(--jr-ivory); border-color: rgba(241,206,120,.34); background: rgba(48,3,2,.96); }

.play-modal { border-color: rgba(241,206,120,.35); background: linear-gradient(145deg,#650905,#310302); }

@media (max-width: 1120px) and (min-width: 721px) {
  .desktop-nav { gap: 15px; margin-right: 12px; }
  .desktop-nav a { font-size: 12px; }
  .home-page .nav-shell { gap: 18px; }
  .home-page .desktop-nav { gap: 20px; }
  .home-page .desktop-nav a { font-size: 13px; }
  .home-page .nav-actions { gap: 10px; }
  .home-page .site-header .brand-logo { width: 60px; height: 60px; transform: none; }
  .showcase-layout { min-height: 380px; }
  .showcase-actions { gap: 10px; }
  .showcase-button { min-height: 54px; padding: 12px 16px; gap: 8px; font-size: 14px; }
  .showcase-button svg { width: 22px; height: 22px; }
  .showcase-button.showcase-download { min-height: 80px; padding: 20px; gap: 12px; font-size: 20px; }
  .showcase-download svg { width: 30px; height: 30px; }
  .showcase-assurances { padding-right: 280px; }
  .showcase-assurance { gap: 9px; padding-inline: 12px; }
  .showcase-assurance strong { font-size: 11px; }
  .showcase-assurance div > span { font-size: 10px; }
  .showcase-assurance > svg, .showcase-age { width: 30px; height: 32px; }
  .explore-card { padding: 16px; gap: 13px; }
  .explore-icon { width: 64px; height: 76px; }
  .explore-icon svg { width: 36px; height: 36px; }
  .explore-card h3 { font-size: 19px; }
  .explore-card p { font-size: 12px; }
}

@media (min-width: 721px) and (max-width: 980px) {
  .showcase-layout { min-height: 380px; }
  .showcase-copy h1 { font-size: clamp(43px,5.7vw,56px); }
  .showcase-actions { flex-wrap: wrap; }
  .showcase-button { min-height: 47px; }
  .showcase-assurances { padding-right: 0; min-height: 92px; }
  .showcase-card-fan { width: 198px; height: 135px; right: 6%; bottom: calc(100% + 10px); }
  .showcase-assurance strong { font-size: 12px; }
  .explore-card { position: relative; flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; }
  .explore-card > div { min-width: 0; }
  .explore-arrow { position: absolute; top: 37px; right: 20px; }
  .explore-icon { height: 64px; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 68px; }
  .container { width: calc(100% - 36px); }
  .site-header,
  .site-header.scrolled,
  .site-header.menu-open,
  .article-page .site-header { padding-top: 0; }
  .site-header::before { display: none; }
  .nav-shell { height: 68px; }
  .brand-logo { width: 42px; height: 42px; border-radius: 11px; }
  .brand strong { font-size: 15px; }
  .brand small { font-size: 7px; }
  .language-menu,
  .mobile-menu { top: 68px; }

  .home-page { --showcase-header: 68px; }
  .home-page > .site-header { padding-top: 0; }
  .home-page .nav-shell { height: 68px; gap: 12px; }
  .home-page .site-header .brand-logo { width: 52px; height: 52px; transform: none; border-radius: 11px; }
  .home-page .nav-actions { gap: 7px; }
  .home-page .site-header .button-small { min-height: 40px; padding-inline: 12px; font-size: 12px; }
  .home-page .language-menu { top: 68px; }
  .showcase-stage { display: flex; flex-direction: column; }
  .showcase-scene { position: relative; inset: auto; width: 100%; height: clamp(210px,58vw,360px); order: 0; }
  .showcase-scene img { object-position: 82% center; }
  .showcase-scene::after { content: ""; position: absolute; inset: auto 0 0; height: 44px; background: linear-gradient(transparent,#350302); }
  .showcase-layout { order: 1; min-height: 0; padding: 16px 0 30px; }
  .showcase-copy { width: 100%; max-width: none; }
  .showcase-copy h1 { font-size: clamp(42px,10.8vw,68px); line-height: 1; letter-spacing: -.05em; }
  .showcase-copy h1 em { font-size: .72em; margin-top: 7px; }
  .showcase-flourish { width: 52px; margin: 18px 0 15px; }
  .showcase-copy > p { font-size: 15px; margin-bottom: 21px; }
  .showcase-actions { gap: 10px; }
  .showcase-button { min-height: 52px; padding: 12px; gap: 8px; font-size: 12px; }
  .showcase-button svg { width: 21px; height: 21px; }
  .showcase-button.showcase-download { flex: none; width: 100%; min-height: 72px; padding: 18px 20px; gap: 12px; font-size: clamp(18px,5.4vw,22px); }
  .showcase-download svg { width: 30px; height: 30px; }
  .showcase-footer { padding: 10px 0 24px; }
  .showcase-assurances { grid-template-columns: 1fr; min-height: 0; padding-right: 152px; gap: 6px; }
  .showcase-assurance, .showcase-assurance:first-child { padding: 8px 0; border: 0; gap: 10px; }
  .showcase-assurance > svg, .showcase-age { width: 29px; height: 31px; }
  .showcase-age { height: 29px; font-size: 11px; }
  .showcase-assurance strong { font-size: 11px; margin-bottom: 3px; }
  .showcase-assurance div > span { font-size: 10px; }
  .showcase-card-fan { right: 5%; bottom: 18px; width: 120px; height: 100px; }
  .showcase-gold-curve { height: 29px; }
  .home-explore { padding: 22px 0 42px; }
  .home-explore h2 { max-width: 430px; margin-inline: auto; font-size: 31px; line-height: 1.14; }
  .home-explore::before, .home-explore::after { width: 240px; height: 240px; top: -110px; opacity: .5; }
  .home-explore::before { left: -150px; }
  .home-explore::after { right: -150px; }
  .explore-grid { grid-template-columns: 1fr; gap: 12px; }
  .explore-card { min-height: 112px; padding: 15px; gap: 16px; }
  .explore-icon { width: 68px; height: 78px; }
  .explore-icon svg { width: 37px; height: 37px; }
  .explore-card h3 { font-size: 21px; margin-bottom: 5px; }
  .explore-card p { font-size: 12px; }
  html[lang="hi"] .showcase-copy h1 { font-size: 40px; }

  .guide-row { gap: 14px; padding-block: 28px; }
  .section { padding-block: 62px; }
  .section-heading h2,
  .faq-heading h2,
  .learn-intro h2,
  .community-heading h2 { font-size: 38px; }
  .features .section-heading h2 { font-size: 42px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card,
  .feature-card:first-child { min-height: 0; padding: 25px; }
  .home-rules .section-heading h2 { font-size: 42px; }
  .faq-grid { gap: 34px; }
  .final-cta { padding: 55px 0; }
  .final-cta::after { right: -55px; font-size: 180px; }
  .final-cta .button { width: 100%; min-width: 0; }

  .page-hero { padding: 132px 0 62px; }
  .page-hero-inner { align-items: flex-start; }
  .page-hero h1 { font-size: clamp(44px,12vw,62px); }
  .legal-content { margin-block: 28px 60px; padding: 29px 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 26px; }
  .about-hero { padding-top: 68px; }
  .about-hero::before,
  .about-hero-visual { inset: 68px 0 0; }
  .about-assurance-bar { top: 68px; }
  .article-library-nav { top: 68px; margin-top: 68px; }
  .article-detail-shell { padding: 30px 22px 42px; }
  .article-detail h1 { font-size: 38px; }
  .site-footer { padding-top: 56px; }
}

@media (max-width: 390px) {
  .home-page .language-button { min-width: 40px; }
  .showcase-copy h1 { font-size: 40px; }
  .showcase-button { font-size: 11px; padding-inline: 10px; gap: 6px; }
  .showcase-assurances { padding-right: 124px; }
  .showcase-card-fan { width: 103px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .showcase-download, .showcase-download::before, .showcase-download::after { animation: none !important; }
}
