/* Claude warm Terracotta — yonorummycard style */
:root {
  --primary: #C45C26;
  --primary-dark: #8B3A1A;
  --badge: #D4A373;
  --bg: #FDF8F3;
  --surface: #FFFCF9;
  --text: #2C1810;
  --text-muted: #7A5C4A;
  --header: #1A2A3A;
  --card-border: rgba(196, 92, 38, 0.12);
  --shadow: 0 2px 12px rgba(139, 58, 26, 0.08);
  --shadow-hover: 0 8px 24px rgba(139, 58, 26, 0.14);
  --radius: 14px;
  --radius-sm: 10px;
  --green-btn: #0D7377;
  --green-btn-hover: #0A5C5F;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans", "Noto Sans Devanagari", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.site-header {
  background: var(--header);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}
.logo-link img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}
.logo-text strong { display: block; font-size: 15px; font-weight: 700; letter-spacing: 0.02em; }
.logo-text span { font-size: 11px; opacity: 0.75; }
.menu-btn {
  width: 42px; height: 42px;
  border: none;
  background: rgba(255,255,255,.12);
  border-radius: 10px;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-btn:hover { background: rgba(255,255,255,.2); }

/* Side nav */
.side-nav {
  position: fixed;
  top: 0; right: 0;
  width: min(300px, 85vw);
  height: 100%;
  background: var(--surface);
  box-shadow: -8px 0 24px rgba(0,0,0,.18);
  transform: translateX(100%);
  transition: transform .25s ease;
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 20px 0;
}
.side-nav.open { transform: translateX(0); }
.side-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px 16px;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 8px;
}
.side-nav-header strong { font-size: 16px; color: var(--text); }
.side-nav a {
  display: block;
  padding: 12px 20px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.side-nav a:hover { background: rgba(196,92,38,.06); text-decoration: none; color: var(--primary); }
.overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.overlay.show { opacity: 1; pointer-events: auto; }

/* Main */
.main { max-width: 960px; margin: 0 auto; padding: 28px 16px 60px; }

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
h1 {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--text);
}
.lead {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 20px;
}
.notice {
  background: #FBF0E6;
  border-left: 4px solid var(--primary);
  padding: 14px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 32px;
  max-width: 640px;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.section-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* App list cards */
.app-list { display: flex; flex-direction: column; gap: 10px; }
.app-card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .15s;
}
.app-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}
.app-rank {
  width: 26px; height: 26px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: #eee;
}
.app-info { flex: 1; min-width: 0; }
.app-info h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}
.app-info h3 a { color: var(--text); text-decoration: none; }
.app-info h3 a:hover { color: var(--primary); }
.app-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.app-meta .bonus { color: #C45C26; font-weight: 600; }
.btn-download {
  background: var(--green-btn);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background .15s;
}
.btn-download:hover { background: var(--green-btn-hover); }

/* Detail page */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 18px;
  font-weight: 500;
}
.detail-card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.detail-icon {
  width: 96px; height: 96px;
  border-radius: 22px;
  object-fit: cover;
  margin: 0 auto 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
.detail-card h1 { font-size: 1.5rem; margin-bottom: 16px; }
.stats-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.stat {
  background: #F5EDE6;
  border-radius: 10px;
  padding: 10px 16px;
  min-width: 72px;
}
.stat strong { display: block; font-size: 16px; color: var(--text); }
.stat span { font-size: 11px; color: var(--text-muted); }
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 36px;
  border-radius: 999px;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(196,92,38,.28);
  transition: transform .15s;
}
.btn-primary:hover { transform: translateY(-2px); }
.detail-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}

.info-block {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.info-block h2 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.info-block p { font-size: 14px; color: var(--text-muted); margin-bottom: 8px; }
.info-block ul { padding-left: 18px; font-size: 14px; color: var(--text-muted); }
.info-block li { margin-bottom: 6px; }

.details-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.details-table th, .details-table td {
  text-align: left;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.details-table th { color: var(--text-muted); font-weight: 500; width: 42%; }
.details-table td { color: var(--text); font-weight: 500; }

/* Footer sticky bar */
.sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--header);
  color: #fff;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 90;
  box-shadow: 0 -4px 16px rgba(0,0,0,.2);
}
.sticky-bar .app-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.sticky-bar img { width: 36px; height: 36px; border-radius: 8px; }
.sticky-bar .btn-download { padding: 8px 16px; font-size: 13px; }

.footer-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  padding: 24px 16px 80px;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Features grid */
.feat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
}
@media (min-width: 600px) {
  .feat-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.feat-card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}
.feat-card h3 { font-size: 14px; margin-bottom: 6px; }
.feat-card p { font-size: 12px; color: var(--text-muted); }

/* FAQ */
.faq-item { margin-bottom: 14px; }
.faq-item strong { display: block; font-size: 14px; margin-bottom: 4px; }
.faq-item p { font-size: 13px; color: var(--text-muted); }

@media (max-width: 520px) {
  .app-card { flex-wrap: wrap; }
  .btn-download { width: 100%; text-align: center; margin-top: 4px; }
  .stats-row { gap: 6px; }
  .stat { min-width: 64px; padding: 8px 10px; }
}

/* FAQ accordion */
.faq-block .faq-item-acc { border-bottom: 1px solid rgba(0,0,0,.06); }
.faq-block .faq-item-acc:last-child { border-bottom: none; }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: inherit;
  line-height: 1.4;
}
.faq-chevron::before { content: "►"; font-size: 11px; color: var(--primary); display: inline-block; transition: transform .2s; }
.faq-item-acc.open .faq-chevron::before { content: "▼"; }
.faq-a { display: none; padding: 0 0 14px 22px; }
.faq-item-acc.open .faq-a { display: block; }
.faq-a p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.55; }
