@font-face {
  font-family: Vazirmatn;
  src: url("assets/vazirmatn-arabic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+200C-200E,U+FB50-FDFF,U+FE70-FEFC;
}
@font-face {
  font-family: Vazirmatn;
  src: url("assets/vazirmatn-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215;
}
:root {
  color-scheme: dark;
  --bg: #0a171b;
  --bg-2: #0d1e22;
  --panel: #102329;
  --panel-light: #162b30;
  --panel-hover: #1b3336;
  --line: rgba(154, 191, 184, .14);
  --line-bright: rgba(178, 211, 201, .24);
  --text: #f0f5f1;
  --subtle: #c5d3ce;
  --muted: #8ca4a0;
  --gold: #e5bd7c;
  --gold-dark: #ad824d;
  --mint: #77d7be;
  --teal: #56bcae;
  --blue: #83a8dc;
  --orange: #efa77e;
  --danger: #e79787;
  --radius: 18px;
  --shadow: 0 22px 60px rgba(0, 8, 13, .17);
  font-family: Vazirmatn, Tahoma, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: radial-gradient(ellipse at 86% -15%, rgba(37, 85, 81, .19), transparent 40%), radial-gradient(ellipse at 4% 63%, rgba(113, 78, 41, .065), transparent 30%), var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, .map-pin:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
button:disabled { cursor: not-allowed; }
[hidden] { display: none !important; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; vertical-align: middle; }
.flag { display: inline-block; position: relative; flex: 0 0 auto; width: 23px; height: 15px; border-radius: 2px; overflow: hidden; vertical-align: -2px; box-shadow: 0 0 0 1px rgba(225,239,231,.22), 0 2px 5px rgba(0,0,0,.16); }
.flag-iran { background: linear-gradient(#238757 0 33.33%, #f8f8f0 33.33% 66.66%, #d44b52 66.66%); }
.flag-japan { background: #f7f8f4; }
.flag-japan::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #bf3041; top: 3.5px; left: 7.5px; }
.flag-turkey { background: #d32739; }
.flag-turkey::before { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: white; top: 3px; left: 5px; }
.flag-turkey::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #d32739; top: 2px; left: 8px; }
.flag-india { background: linear-gradient(#e99451 0 33.33%, #fff 33.33% 66.66%, #218b64 66.66%); }
.flag-india::after { content: ""; position: absolute; width: 4px; height: 4px; border: 1px solid #425c95; border-radius: 50%; top: 5px; left: 9px; }
.flag-egypt { background: linear-gradient(#d24b48 0 33.33%, #f7f6f1 33.33% 66.66%, #202831 66.66%); }
.flag-egypt::after { content: ""; position: absolute; width: 2px; height: 4px; background: #c09b4e; top: 5.5px; left: 10.5px; }
.flag-germany { background: linear-gradient(#181b1c 0 33.33%, #c6433c 33.33% 66.66%, #e3b75b 66.66%); }
.skip-link { position: fixed; top: -80px; inset-inline-start: 20px; z-index: 200; background: var(--gold); color: #132025; padding: 10px 20px; border-radius: 10px; }
.skip-link:focus { top: 10px; }
.app-shell { max-width: 1540px; margin: 0 auto; }

.site-header {
  height: 86px;
  padding: 0 clamp(22px, 3vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 24, 28, .73);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: relative;
  z-index: 15;
}
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 0; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; position: relative; color: var(--gold); background: linear-gradient(135deg, #24453f, #172b30); border: 1px solid rgba(208, 173, 112, .28); border-radius: 13px; }
.brand-mark .icon { width: 25px; height: 25px; stroke-width: 1.35; }
.brand-mark-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 9px var(--gold); position: absolute; top: 10px; left: 12px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.3; }
.brand-copy strong { font-size: 14px; font-weight: 850; letter-spacing: 1.15px; direction: ltr; white-space: nowrap; }
.brand-copy strong span { font-weight: 400; color: var(--gold); }
.brand-copy small { font-size: 11px; margin-top: 4px; color: var(--muted); font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: 17px; }
.preview-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(229, 189, 124, .24); background: rgba(229, 189, 124, .08); color: #e7c596; border-radius: 30px; padding: 6px 12px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.status-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(119, 215, 190, .09); }
.preview-chip .status-dot { background: var(--gold); box-shadow: 0 0 0 4px rgba(229, 189, 124, .1); }
.icon-button { width: 37px; height: 37px; display: inline-grid; place-items: center; flex: 0 0 auto; color: var(--muted); border: 1px solid var(--line); background: rgba(255, 255, 255, .025); border-radius: 11px; transition: color .2s, border-color .2s, background .2s; }
.icon-button:hover { color: var(--gold); border-color: var(--line-bright); background: var(--panel-light); }
.demo-banner { min-height: 39px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 7px 18px; color: #d2c2a6; background: #211f1c; border-bottom: 1px solid rgba(229, 189, 124, .1); font-size: 11px; font-weight: 550; text-align: center; }
.demo-banner-icon { color: var(--gold); display: inline-flex; }
.demo-banner-icon .icon { width: 15px; height: 15px; }
.demo-banner button { display: inline-grid; place-items: center; border: 0; background: none; color: var(--gold); padding: 0; }
.demo-banner button .icon { width: 14px; height: 14px; transform: rotate(180deg); }

.layout { display: grid; grid-template-columns: 226px minmax(0, 1fr) 256px; gap: clamp(23px, 2.9vw, 45px); align-items: start; padding: 33px clamp(22px, 3vw, 48px) 100px; }
.side-panel { min-height: calc(100vh - 185px); position: sticky; top: 24px; display: flex; flex-direction: column; }
.side-label { color: #718b88; font-size: 10px; font-weight: 800; letter-spacing: .3px; margin: 0 14px 15px; }
.desktop-nav { display: grid; gap: 5px; }
.desktop-nav a { min-height: 46px; display: flex; align-items: center; gap: 11px; padding: 0 14px; color: #9db2ae; border-radius: 11px; border: 1px solid transparent; font-size: 12px; font-weight: 600; transition: background .18s, color .18s, border-color .18s; }
.desktop-nav a .icon { width: 18px; height: 18px; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--text); background: #183037; }
.desktop-nav a[aria-current="page"] { color: var(--gold); background: linear-gradient(270deg, rgba(229, 189, 124, .12), rgba(229, 189, 124, .035)); border-color: rgba(229, 189, 124, .12); }
.side-divider { border-top: 1px solid var(--line); margin: 24px 12px 21px; }
.season-switch { display: flex; padding: 3px; background: #0b1b20; border: 1px solid var(--line); border-radius: 10px; margin: 0 8px; }
.season-switch button { flex: 1; background: none; color: var(--muted); border: 0; border-radius: 7px; padding: 7px 4px; font-size: 11px; font-weight: 700; }
.season-switch button[aria-pressed="true"] { color: var(--text); background: #253c3e; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.side-bottom { display: flex; align-items: center; gap: 10px; margin: auto 8px 0; padding: 14px 0 3px; border-top: 1px solid var(--line); }
.side-bottom-icon { display: inline-grid; place-items: center; width: 33px; height: 33px; border-radius: 10px; background: rgba(229, 189, 124, .1); color: var(--gold); }
.side-bottom-icon .icon { width: 17px; height: 17px; }
.side-bottom p { font-size: 11px; font-weight: 700; margin: 0; line-height: 1.5; }
.side-bottom small { display: block; margin-top: 1px; font-weight: 400; color: var(--muted); font-size: 10px; }
.main-content { min-width: 0; max-width: 860px; width: 100%; justify-self: center; }
#page-root { animation: page-in .26s ease-out both; }
.no-script { padding: 30px; background: var(--panel); border-radius: var(--radius); }
@keyframes page-in { from { opacity: .65; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }

.insights-panel { display: grid; gap: 16px; padding-top: 13px; position: sticky; top: 24px; }
.insight-card { border: 1px solid var(--line); border-radius: 15px; background: rgba(20, 41, 46, .62); padding: 18px; }
.insight-label { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 11px; font-weight: 700; }
.insight-label .icon { width: 17px; height: 17px; color: var(--gold); }
.insight-country { margin: 13px 0 2px; font-size: 20px; font-weight: 850; }
.insight-country .flag { width: 26px; height: 17px; margin-left: 7px; }
.insight-row { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; margin-top: 12px; color: var(--muted); }
.insight-row strong { color: var(--subtle); font-weight: 650; }
.insight-divider { border-top: 1px solid var(--line); margin: 16px 0 6px; }
.briefing p { color: var(--subtle); font-size: 11px; line-height: 2; margin: 11px 0 17px; }
.briefing-line { display: flex; align-items: center; gap: 9px; color: var(--mint); font-size: 10px; }
.help-card { display: flex; align-items: center; text-align: right; gap: 11px; background: transparent; border: 1px solid var(--line); border-radius: 14px; padding: 12px; color: var(--text); width: 100%; }
.help-card:hover { background: var(--panel); }
.help-card-icon { display: grid; place-items: center; width: 33px; height: 33px; flex: 0 0 auto; color: var(--gold); background: rgba(229,189,124,.09); border-radius: 9px; }
.help-card-icon .icon { width: 17px; height: 17px; }
.help-card span:nth-child(2) { flex: 1; }
.help-card strong { display: block; font-size: 10px; }
.help-card small { display: block; font-size: 9px; margin-top: 2px; color: var(--muted); }
.help-card > .icon { width: 13px; height: 13px; color: var(--muted); transform: rotate(180deg); }

.page-heading { margin-bottom: 21px; }
.eyebrow { display: inline-block; color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .1px; }
.heading-line { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 5px; }
.page-heading h1 { font-size: clamp(23px, 2.3vw, 30px); line-height: 1.55; font-weight: 860; letter-spacing: -.8px; margin: 0; }
.page-heading p { font-size: 12px; color: var(--muted); margin: 3px 0 0; }
.season-badge { color: var(--subtle); border: 1px solid var(--line-bright); border-radius: 9px; padding: 6px 11px; white-space: nowrap; font-size: 10px; font-weight: 700; background: rgba(255,255,255,.026); }
.mobile-season-switch { display: none; }

.hero-card { min-height: 273px; border: 1px solid rgba(198, 176, 129, .26); border-radius: 20px; overflow: hidden; position: relative; isolation: isolate; background: #0b2228; box-shadow: var(--shadow); }
.hero-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(6,20,24,.99) 1%, rgba(7,24,28,.87) 37%, rgba(7,24,28,.13) 100%), url("assets/world.jpg") center center / cover no-repeat; }
.hero-card::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .46; background: linear-gradient(180deg, transparent 74%, rgba(8, 21, 26, .95)); pointer-events: none; }
.hero-content { position: relative; z-index: 1; padding: 28px 30px 25px; max-width: 550px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 7px; color: #dbbd8e; font-size: 10px; font-weight: 800; }
.hero-kicker .status-dot { width: 5px; height: 5px; background: var(--gold); box-shadow: 0 0 0 3px rgba(229,189,124,.09); }
.hero-title { margin: 15px 0 7px; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.4; font-weight: 860; letter-spacing: -.65px; }
.hero-title em { color: var(--gold); font-style: normal; }
.hero-copy { max-width: 370px; font-size: 12px; line-height: 2; color: #becac6; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 23px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 40px; border: 1px solid transparent; border-radius: 10px; padding: 8px 17px; font-size: 11px; font-weight: 800; line-height: 1.45; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button .icon { width: 16px; height: 16px; }
.button-primary { color: #1d251d; background: var(--gold); box-shadow: 0 7px 20px rgba(202,158,93,.15); }
.button-primary:hover { background: #f3ca86; }
.button-outline { color: #dfe9e4; background: rgba(18,36,40,.63); border-color: rgba(218,230,221,.22); }
.button-outline:hover { background: rgba(35, 59, 61, .9); border-color: rgba(218,230,221,.4); }
.button-ghost { background: rgba(229,189,124,.08); color: var(--gold); border-color: rgba(229,189,124,.22); }
.hero-corner { position: absolute; inset-inline-end: 23px; bottom: 20px; color: #e2ddd1; text-align: left; direction: ltr; display: flex; flex-direction: column; font-size: 10px; line-height: 1.55; opacity: .74; }
.hero-corner strong { font-weight: 700; letter-spacing: 1px; }
.hero-corner small { color: #bed1c7; font-size: 9px; letter-spacing: .7px; }

.section-row { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin: 29px 1px 14px; }
.section-title { font-weight: 820; font-size: 17px; line-height: 1.5; margin: 0; }
.section-caption { color: var(--muted); font-size: 10px; margin: 3px 0 0; }
.section-link { display: inline-flex; align-items: center; gap: 3px; color: var(--gold); font-size: 10px; font-weight: 750; white-space: nowrap; }
.section-link .icon { transform: rotate(180deg); width: 14px; height: 14px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.stat-card { min-width: 0; min-height: 133px; background: linear-gradient(146deg, rgba(25,50,52,.78), rgba(17,37,42,.98)); border: 1px solid var(--line); border-radius: 14px; padding: 14px 15px 12px; }
.stat-top { display: flex; align-items: center; justify-content: space-between; color: #a8bcb5; font-size: 10px; font-weight: 650; gap: 5px; }
.stat-icon { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(229,189,124,.09); color: var(--gold); }
.stat-icon .icon { width: 16px; height: 16px; }
.stat-icon.teal { color: var(--mint); background: rgba(119,215,190,.09); }
.stat-icon.blue { color: var(--blue); background: rgba(131,168,220,.09); }
.stat-icon.orange { color: var(--orange); background: rgba(239,167,126,.09); }
.stat-value { white-space: nowrap; font-size: clamp(17px, 1.9vw, 23px); letter-spacing: -.5px; font-weight: 860; line-height: 1.5; margin-top: 10px; }
.stat-foot { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 9px; white-space: nowrap; }
.stat-foot.positive { color: var(--mint); }
.stat-foot .icon { width: 12px; height: 12px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feature-card { min-height: 113px; position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; background: linear-gradient(118deg, #1b3338, #10262b); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .2s, background .2s, border-color .2s; }
.feature-card:hover { border-color: rgba(229,189,124,.35); transform: translateY(-2px); background: #1a3437; }
.feature-icon { width: 45px; height: 45px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; color: var(--gold); background: rgba(229,189,124,.1); }
.feature-icon .icon { width: 23px; height: 23px; }
.feature-icon.mint { color: var(--mint); background: rgba(119,215,190,.1); }
.feature-icon.blue { color: var(--blue); background: rgba(131,168,220,.1); }
.feature-icon.orange { color: var(--orange); background: rgba(239,167,126,.1); }
.feature-copy { min-width: 0; }
.feature-copy strong { display: block; font-size: 13px; font-weight: 780; }
.feature-copy small { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; line-height: 1.5; }
.feature-card > .icon { width: 14px; height: 14px; transform: rotate(180deg); color: var(--muted); margin-inline-start: auto; }
.panel { background: rgba(17, 37, 42, .88); border: 1px solid var(--line); border-radius: 15px; padding: 18px; }
.panel-header { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 12px; }
.panel-header h2, .panel-header h3 { font-size: 14px; margin: 0; font-weight: 800; }
.panel-header small { color: var(--muted); font-size: 10px; }
.event-list { display: grid; }
.event-item { display: flex; align-items: flex-start; gap: 11px; padding: 12px 0; border-top: 1px solid var(--line); }
.event-item:first-child { border-top: 0; }
.event-dot { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; background: rgba(119, 215, 190, .09); color: var(--mint); }
.event-dot .icon { width: 16px; height: 16px; }
.event-dot.gold { color: var(--gold); background: rgba(229,189,124,.09); }
.event-dot.blue { color: var(--blue); background: rgba(131,168,220,.09); }
.event-item-content { flex: 1; min-width: 0; }
.event-item strong { font-size: 11px; display: block; font-weight: 700; }
.event-item p { color: var(--muted); font-size: 10px; line-height: 1.7; margin: 2px 0 0; }
.event-item time { color: #78938f; font-size: 9px; white-space: nowrap; margin-top: 3px; }
.note-panel { display: flex; align-items: flex-start; gap: 11px; margin-top: 13px; color: var(--muted); font-size: 10px; line-height: 1.9; padding: 11px 14px; border: 1px dashed rgba(229,189,124,.27); border-radius: 11px; background: rgba(229,189,124,.045); }
.note-panel .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--gold); }
.note-panel p { margin: 0; }
.note-panel strong { color: var(--subtle); }

/* Interactive world map */
.map-intro { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 20px; padding: 20px 23px; background: linear-gradient(110deg, #17353a, #11262a); border: 1px solid var(--line); border-radius: 15px; margin-bottom: 15px; }
.map-intro h2 { font-size: 17px; margin: 0 0 5px; }
.map-intro p { font-size: 11px; color: var(--muted); margin: 0; line-height: 1.9; }
.map-intro-stat { border-inline-start: 1px solid var(--line); padding-inline-start: 18px; display: flex; flex-direction: column; }
.map-intro-stat strong { font-size: 24px; color: var(--gold); line-height: 1.2; }
.map-intro-stat span { color: var(--muted); font-size: 10px; }
.map-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 20px 0 12px; }
.map-filters { display: flex; gap: 7px; }
.map-filters button { font-size: 10px; color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 7px 11px; font-weight: 700; }
.map-filters button[aria-pressed="true"] { background: #243d3b; color: var(--mint); border-color: rgba(119,215,190,.28); }
.map-toolbar-hint { color: var(--muted); font-size: 10px; }
.map-window { background: #0d242a; border: 1px solid var(--line-bright); border-radius: 16px; overflow: hidden; }
.map-viewport { width: 100%; overflow-x: auto; direction: ltr; scrollbar-width: thin; scrollbar-color: rgba(165,197,190,.3) transparent; }
.map-stage { min-width: 620px; width: 100%; aspect-ratio: 1200 / 550; position: relative; overflow: hidden; background: #0c262b url("assets/world-map.svg") center / 100% 100% no-repeat; }
.map-stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 70px 14px rgba(4,19,25,.8); }
.map-scan { width: 32%; height: 100%; position: absolute; top: 0; left: 20%; pointer-events: none; opacity: .12; background: linear-gradient(90deg, transparent, rgba(117,211,182,.26), transparent); animation: map-scan 12s linear infinite; }
@keyframes map-scan { from { transform: translateX(-125%); } to { transform: translateX(240%); } }
.map-pin { position: absolute; left: var(--x); top: var(--y); z-index: 1; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; border: 0; transform: translate(-50%, -50%); background: rgba(119,215,190,.19); color: var(--mint); }
.map-pin::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 15px currentColor; }
.map-pin::after { content: ""; position: absolute; inset: -7px; border: 1px solid currentColor; opacity: .36; border-radius: 50%; }
.map-pin:hover, .map-pin[aria-pressed="true"] { color: var(--gold); background: rgba(229,189,124,.22); z-index: 2; }
.map-pin[aria-pressed="true"]::after { animation: pin-pulse 2s ease-out infinite; opacity: .8; }
@keyframes pin-pulse { 0% { transform: scale(.55); opacity: .8; } 100% { transform: scale(1.25); opacity: 0; } }
.map-pin .pin-label { white-space: nowrap; position: absolute; top: 25px; left: 50%; transform: translateX(-50%); color: var(--subtle); font: 700 11px Vazirmatn, Tahoma, sans-serif; direction: rtl; text-shadow: 0 2px 5px #081b20; opacity: 0; transition: opacity .2s; }
.map-pin:hover .pin-label, .map-pin[aria-pressed="true"] .pin-label { opacity: 1; }
.map-legend { display: flex; justify-content: space-between; gap: 8px; padding: 11px 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.map-legend-item { display: inline-flex; gap: 7px; align-items: center; }
.map-legend-item::before { content: ""; width: 7px; height: 7px; background: var(--mint); border-radius: 50%; }
.map-legend-item.owned::before { background: var(--gold); }
.country-detail { margin-top: 13px; padding: 16px 19px; background: linear-gradient(110deg, #1b3437, #142b30); border: 1px solid var(--line); border-radius: 15px; display: flex; align-items: center; gap: 14px; }
.country-detail-flag { font-size: 28px; display: grid; place-items: center; width: 48px; height: 48px; background: rgba(255,255,255,.05); border-radius: 11px; flex: 0 0 auto; }
.country-detail-copy { min-width: 0; flex: 1; }
.country-detail-copy strong { font-size: 14px; display: block; }
.country-detail-copy span { font-size: 10px; color: var(--muted); display: block; margin-top: 1px; }
.country-detail-tag { font-size: 10px; color: var(--gold); border: 1px solid rgba(229,189,124,.23); background: rgba(229,189,124,.06); padding: 5px 8px; border-radius: 7px; white-space: nowrap; }
.country-detail-tag.neutral { color: var(--mint); border-color: rgba(119,215,190,.22); background: rgba(119,215,190,.06); }

/* Economy */
.economy-highlight { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px; border: 1px solid rgba(229,189,124,.25); border-radius: 17px; background: radial-gradient(ellipse at 95% 0, rgba(216,172,110,.16), transparent 48%), linear-gradient(115deg, #21362f, #112a2c); }
.highlight-label { color: var(--subtle); font-size: 11px; }
.highlight-number { font-size: clamp(27px, 4vw, 38px); font-weight: 850; margin: 4px 0; line-height: 1.4; letter-spacing: -1px; }
.highlight-note { font-size: 10px; color: var(--mint); }
.highlight-emblem { width: 66px; height: 66px; display: grid; place-items: center; color: var(--gold); background: rgba(229,189,124,.1); border: 1px solid rgba(229,189,124,.16); border-radius: 17px; }
.highlight-emblem .icon { width: 34px; height: 34px; }
.chart-panel { margin-top: 13px; }
.chart-panel .panel-header { margin-bottom: 21px; }
.chart-trend { color: var(--mint); display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; direction: ltr; }
.chart-trend .icon { width: 15px; height: 15px; }
.bar-chart { display: flex; justify-content: space-between; align-items: end; gap: 11px; height: 176px; padding: 0 3px 0; background: repeating-linear-gradient(to top, transparent 0, transparent calc(25% - 1px), rgba(168,210,193,.08) calc(25% - 1px), rgba(168,210,193,.08) 25%); }
.bar-slot { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 7px; }
.bar { width: min(100%, 34px); min-height: 12px; height: var(--height); border-radius: 6px 6px 1px 1px; background: linear-gradient(0deg, #316a65, #68b8a3); box-shadow: 0 0 17px rgba(82,173,150,.08); }
.bar-slot:last-child .bar { background: linear-gradient(0deg, #927b50, #e5bd7c); }
.bar-slot span { color: var(--muted); font-size: 9px; line-height: 1.4; }
.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.resource-card { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); background: var(--panel); border-radius: 13px; padding: 14px; }
.resource-emoji { display: grid; place-items: center; width: 41px; height: 41px; flex: 0 0 auto; background: #213b3b; color: var(--gold); border-radius: 11px; }
.resource-emoji .icon { width: 21px; height: 21px; }
.resource-meta { flex: 1; }
.resource-meta span { color: var(--muted); display: block; font-size: 10px; }
.resource-meta strong { display: block; font-size: 15px; margin-top: 2px; }
.resource-badge { align-self: flex-start; color: var(--mint); font-size: 10px; }

/* Military */
.military-overview { display: grid; grid-template-columns: minmax(0,1fr) 145px; gap: 20px; align-items: center; padding: 23px; background: radial-gradient(ellipse at 90% 10%, rgba(109,157,153,.18), transparent 52%), linear-gradient(120deg, #142f35, #142629); border: 1px solid var(--line-bright); border-radius: 17px; }
.military-overview h2 { font-size: 22px; margin: 5px 0; }
.military-overview p { color: var(--muted); font-size: 11px; line-height: 1.9; margin: 0 0 18px; }
.military-overview .button { min-height: 35px; }
.readiness-gauge { width: 136px; height: 136px; border-radius: 50%; background: conic-gradient(var(--gold) var(--score), rgba(210,232,213,.08) var(--score) 100%); display: grid; place-items: center; box-shadow: 0 0 36px rgba(229,189,124,.08); }
.readiness-inner { width: 112px; height: 112px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #142b30; }
.readiness-inner strong { font-size: 29px; line-height: 1.1; }
.readiness-inner span { font-size: 9px; color: var(--muted); }
.unit-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; }
.unit-card { padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.unit-card-top { display: flex; align-items: center; justify-content: space-between; }
.unit-card-icon { color: var(--gold); font-size: 21px; line-height: 1; }
.unit-card-index { color: var(--muted); font-size: 10px; direction: ltr; }
.unit-card strong { font-size: 20px; margin-top: 13px; display: block; }
.unit-card small { color: var(--muted); font-size: 10px; }
.unit-progress { height: 4px; border-radius: 4px; background: rgba(255,255,255,.075); overflow: hidden; margin-top: 13px; }
.unit-progress span { display: block; height: 100%; width: var(--fill); background: linear-gradient(270deg, var(--mint), var(--gold)); border-radius: inherit; }
.operation-card { display: flex; align-items: center; gap: 14px; padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: #132a30; }
.operation-card > .icon { width: 29px; height: 29px; padding: 5px; color: var(--gold); border: 1px solid rgba(229,189,124,.28); border-radius: 9px; }
.operation-card div { flex: 1; }
.operation-card strong { display: block; font-size: 12px; }
.operation-card small { display: block; font-size: 10px; color: var(--muted); }

/* Diplomacy */
.diplomacy-highlight { position: relative; overflow: hidden; padding: 24px; border: 1px solid var(--line-bright); border-radius: 17px; background: radial-gradient(circle at 12% 45%, rgba(118,194,175,.15), transparent 40%), linear-gradient(130deg, #203539, #11262b); }
.diplomacy-highlight::after { content: "✦"; position: absolute; inset-inline-end: 20px; top: -65px; color: rgba(229,189,124,.11); font-size: 220px; line-height: 1; pointer-events: none; }
.diplomacy-highlight h2 { margin: 8px 0 5px; font-size: 23px; }
.diplomacy-highlight p { max-width: 420px; color: var(--muted); font-size: 11px; line-height: 2; margin: 0 0 18px; }
.alliance-list { display: grid; gap: 10px; }
.relation-card { display: flex; align-items: center; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 13px; padding: 12px 15px; }
.relation-card .relation-flag { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.04); font-size: 22px; }
.relation-meta { flex: 1; }
.relation-meta strong { font-size: 12px; display: block; }
.relation-meta small { color: var(--muted); font-size: 10px; }
.relation-status { color: var(--mint); font-size: 10px; font-weight: 700; background: rgba(119,215,190,.08); padding: 3px 9px; border-radius: 20px; }
.relation-status.neutral { color: var(--gold); background: rgba(229,189,124,.08); }

.bottom-nav { display: none; }
.toast { position: fixed; z-index: 110; bottom: 25px; left: 50%; transform: translate(-50%, 18px); opacity: 0; pointer-events: none; width: min(440px, calc(100vw - 32px)); padding: 13px 18px; text-align: center; border: 1px solid rgba(229,189,124,.36); background: #25302d; color: var(--text); border-radius: 11px; box-shadow: 0 18px 46px rgba(0,0,0,.45); font-size: 11px; transition: opacity .23s, transform .23s; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.modal-backdrop { position: fixed; z-index: 100; inset: 0; background: rgba(3, 12, 15, .72); backdrop-filter: blur(8px); display: grid; align-items: center; justify-items: center; padding: 18px; }
.help-modal { width: min(440px, 100%); position: relative; border: 1px solid var(--line-bright); background: #152a2e; border-radius: 20px; padding: 27px; box-shadow: 0 28px 90px rgba(0,0,0,.6); }
.modal-close { position: absolute; inset-inline-end: 20px; top: 20px; }
.modal-symbol { display: grid; place-items: center; width: 49px; height: 49px; border-radius: 12px; border: 1px solid rgba(229,189,124,.26); background: rgba(229,189,124,.09); color: var(--gold); margin-bottom: 18px; }
.modal-symbol .icon { width: 26px; height: 26px; }
.help-modal h2 { font-size: 22px; margin: 5px 0; }
.help-modal p { font-size: 11px; color: var(--subtle); line-height: 2; }
.modal-steps { display: grid; gap: 9px; margin: 20px 0 24px; }
.modal-steps span { border: 1px solid var(--line); background: rgba(255,255,255,.02); padding: 9px 10px; border-radius: 9px; font-size: 10px; color: var(--gold); }
.modal-steps strong { color: var(--subtle); }
.modal-action { width: 100%; }

@media (max-width: 1240px) {
  .layout { grid-template-columns: 200px minmax(0, 1fr); }
  .insights-panel { display: none; }
  .main-content { max-width: 830px; }
}
@media (max-width: 780px) {
  .site-header { height: 66px; padding: 0 18px; position: sticky; top: 0; }
  .brand-mark { width: 37px; height: 37px; border-radius: 11px; }
  .brand-mark .icon { width: 23px; height: 23px; }
  .brand-mark-dot { top: 9px; left: 10px; }
  .brand-copy strong { font-size: 11px; letter-spacing: .7px; }
  .brand-copy small { font-size: 10px; margin-top: 3px; }
  .header-actions { gap: 8px; }
  .preview-chip { font-size: 9px; padding: 5px 9px; }
  .icon-button { width: 33px; height: 33px; }
  .demo-banner { min-height: 36px; font-size: 10px; line-height: 1.6; padding-inline: 15px; }
  .layout { display: block; padding: 23px 16px calc(110px + env(safe-area-inset-bottom)); }
  .side-panel { display: none; }
  .main-content { max-width: 640px; margin: 0 auto; }
  .bottom-nav { display: flex; align-items: stretch; justify-content: space-around; position: fixed; z-index: 30; bottom: 0; left: 0; right: 0; width: 100%; height: calc(67px + env(safe-area-inset-bottom)); padding: 7px max(8px, env(safe-area-inset-left)) calc(7px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-right)); background: rgba(12, 27, 31, .97); border-top: 1px solid var(--line-bright); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .bottom-nav a { flex: 1; min-width: 0; display: flex; align-items: center; flex-direction: column; gap: 3px; border-radius: 10px; justify-content: center; font-size: 9px; color: #90a8a2; font-weight: 680; }
  .bottom-nav .icon { width: 20px; height: 20px; }
  .bottom-nav a[aria-current="page"] { color: var(--gold); background: rgba(229,189,124,.08); }
  .page-heading { margin-bottom: 16px; }
  .page-heading h1 { font-size: 23px; }
  .page-heading p { font-size: 11px; }
  .mobile-season-switch { display: flex; gap: 5px; align-items: center; margin-top: 13px; }
  .mobile-season-switch button { padding: 5px 11px; font-size: 10px; color: var(--muted); border: 1px solid var(--line); background: var(--panel); border-radius: 7px; font-weight: 720; }
  .mobile-season-switch button[aria-pressed="true"] { color: var(--gold); border-color: rgba(229,189,124,.28); background: rgba(229,189,124,.08); }
  .hero-card { min-height: 280px; }
  .hero-card::before { background-position: 42% center; background-image: linear-gradient(270deg, rgba(6,20,24,.98) 1%, rgba(7,24,28,.8) 48%, rgba(7,24,28,.29) 100%), url("assets/world.jpg"); }
  .hero-content { padding: 23px 22px; }
  .hero-title { font-size: 26px; margin: 11px 0 5px; }
  .hero-corner { bottom: 14px; inset-inline-end: 17px; font-size: 8px; }
  .section-title { font-size: 15px; }
  .section-row { margin-top: 25px; }
  .toast { bottom: calc(82px + env(safe-area-inset-bottom)); }
}
@media (max-width: 490px) {
  .brand { gap: 9px; }
  .preview-chip { font-size: 0; gap: 0; width: 27px; height: 27px; justify-content: center; }
  .preview-chip .status-dot { width: 8px; height: 8px; }
  .heading-line { align-items: start; }
  .season-badge { font-size: 9px; padding: 5px 8px; margin-top: 4px; }
  .hero-card { min-height: 286px; }
  .hero-content { padding: 21px; }
  .hero-title { font-size: 25px; max-width: 280px; }
  .hero-copy { max-width: 285px; font-size: 11px; }
  .hero-actions { margin-top: 17px; }
  .hero-corner { display: none; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
  .stat-card { min-height: 120px; padding: 12px; }
  .stat-value { font-size: 21px; margin-top: 9px; }
  .feature-card { gap: 10px; padding: 12px; min-height: 99px; }
  .feature-icon { width: 34px; height: 34px; border-radius: 9px; }
  .feature-icon .icon { width: 19px; height: 19px; }
  .feature-copy strong { font-size: 11px; }
  .feature-copy small { font-size: 9px; }
  .feature-card > .icon { display: none; }
  .map-intro { grid-template-columns: 1fr auto; padding: 16px; gap: 12px; }
  .map-intro h2 { font-size: 14px; }
  .map-intro p { font-size: 10px; }
  .map-intro-stat strong { font-size: 20px; }
  .map-toolbar-hint { display: none; }
  .resource-card { padding: 12px; gap: 8px; }
  .resource-emoji { width: 32px; height: 32px; font-size: 17px; border-radius: 9px; }
  .resource-meta strong { font-size: 13px; }
  .resource-badge { display: none; }
  .military-overview { grid-template-columns: 1fr 100px; gap: 10px; padding: 18px; }
  .military-overview h2 { font-size: 18px; }
  .readiness-gauge { width: 100px; height: 100px; }
  .readiness-inner { width: 82px; height: 82px; }
  .readiness-inner strong { font-size: 22px; }
  .readiness-inner span { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
