/* ============================================================
   icons.css — Iconic moments selection page
   Inherits dartbot.css topbar/blob styling.
   ============================================================ */

/* ── Hero ────────────────────────────────────────────────── */
.icons-page { max-width: 1100px; padding-top: 28px; padding-bottom: 56px; }

.icons-hero { text-align: center; padding: 28px 0 36px; animation: fadeUp .35s ease both; }

.icons-hero-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(168,115,12,0.18), rgba(153,35,26,0.18));
  border: 1px solid rgba(168,115,12,0.4);
  font-family: 'Bebas Neue', sans-serif; font-size: 18px; letter-spacing: 2px;
  color: #a8730c;
  box-shadow: 0 0 24px rgba(168,115,12,0.18);
}

.icons-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 6vw, 56px); letter-spacing: 2px;
  background: linear-gradient(135deg, #a8730c 0%, #99231a 50%, #99231a 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 10px;
}

.icons-hero p {
  color: var(--text-2, #7b8896);
  max-width: 560px; margin: 0 auto;
  font-size: 14px; line-height: 1.55;
}

/* ── Grid ────────────────────────────────────────────────── */
.icons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 8px;
}

/* ── Card base ───────────────────────────────────────────── */
.ic-card {
  position: relative;
  display: flex; flex-direction: column;
  background: linear-gradient(160deg, rgba(18,21,23,0.04) 0%, rgba(18,21,23,0.01) 100%);
  border: 1px solid rgba(18,21,23,0.08);
  border-radius: 18px;
  padding: 22px 22px 20px;
  text-decoration: none; color: var(--text, #121517);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
  animation: fadeUp .35s ease both;
}

.ic-card:nth-child(1) { animation-delay: .04s; }
.ic-card:nth-child(2) { animation-delay: .10s; }
.ic-card:nth-child(3) { animation-delay: .16s; }
.ic-card:nth-child(4) { animation-delay: .22s; }

.ic-card:hover {
  transform: translateY(-3px);
  text-decoration: none;
}
.ic-card:active { transform: translateY(0); }

/* Top accent bar */
.ic-card::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--ic-accent-grad, linear-gradient(90deg, #99231a, #99231a));
  opacity: .85;
}

/* Soft glow blob */
.ic-card::after {
  content: ''; position: absolute; top: -50px; right: -50px;
  width: 180px; height: 180px; border-radius: 50%;
  background: var(--ic-accent-glow, rgba(153,35,26,0.18));
  filter: blur(50px); pointer-events: none; opacity: .6;
  transition: opacity .25s ease;
}
.ic-card:hover::after { opacity: 1; }

/* ── Top row (year + badge) ─────────────────────────────── */
.ic-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px; position: relative; z-index: 1;
}

.ic-year {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px; letter-spacing: 2px;
  color: var(--ic-accent, #99231a);
}

.ic-badge {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px; letter-spacing: 1.5px;
  padding: 4px 9px; border-radius: 6px;
}
.ic-badge-9 {
  background: rgba(168,115,12,0.16);
  border: 1px solid rgba(168,115,12,0.5);
  color: #a8730c;
}

/* ── Mark + pro name ─────────────────────────────────────── */
.ic-mark {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--ic-accent-bg, rgba(153,35,26,0.14));
  border: 1px solid var(--ic-accent-border, rgba(153,35,26,0.4));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 19px; letter-spacing: 1.5px;
  color: var(--ic-accent, #99231a);
  margin-bottom: 12px;
  position: relative; z-index: 1;
}

.ic-pro {
  font-size: 12px; font-weight: 600;
  color: var(--text-2, #7b8896);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 6px;
  position: relative; z-index: 1;
}

/* ── Title + subtitle ────────────────────────────────────── */
.ic-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px; letter-spacing: 1px;
  color: var(--text, #121517);
  margin: 0 0 8px;
  line-height: 1.05;
  position: relative; z-index: 1;
}

.ic-sub {
  font-size: 13px; line-height: 1.5;
  color: var(--text-2, #7b8896);
  margin: 0 0 18px;
  flex: 1;
  position: relative; z-index: 1;
}

/* ── Foot pills + arrow ──────────────────────────────────── */
.ic-foot {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
  position: relative; z-index: 1;
}

.ic-pill {
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(18,21,23,0.05);
  border: 1px solid rgba(18,21,23,0.08);
  color: var(--text-2, #7b8896);
  text-transform: uppercase;
}

.ic-arrow {
  margin-left: auto;
  font-size: 22px; color: var(--text-2, #7b8896);
  transition: transform .18s ease, color .18s ease;
}
.ic-card:hover .ic-arrow { color: var(--ic-accent, #99231a); transform: translateX(4px); }

/* ── Accent variants ─────────────────────────────────────── */
.ic-accent-gold {
  --ic-accent:        #a8730c;
  --ic-accent-bg:     rgba(168,115,12,0.14);
  --ic-accent-border: rgba(168,115,12,0.45);
  --ic-accent-glow:   rgba(168,115,12,0.22);
  --ic-accent-grad:   linear-gradient(90deg, #a8730c, #a8730c, #7c5407);
}
.ic-accent-gold { border-color: rgba(168,115,12,0.18); }
.ic-accent-gold:hover {
  border-color: rgba(168,115,12,0.5);
  box-shadow: 0 12px 36px rgba(168,115,12,0.18);
  background: linear-gradient(160deg, rgba(168,115,12,0.06) 0%, rgba(18,21,23,0.01) 100%);
}

.ic-accent-blue {
  --ic-accent:        #99231a;
  --ic-accent-bg:     rgba(153,35,26,0.14);
  --ic-accent-border: rgba(153,35,26,0.45);
  --ic-accent-glow:   rgba(153,35,26,0.22);
  --ic-accent-grad:   linear-gradient(90deg, #99231a, #99231a, #701812);
}
.ic-accent-blue { border-color: rgba(153,35,26,0.18); }
.ic-accent-blue:hover {
  border-color: rgba(153,35,26,0.5);
  box-shadow: 0 12px 36px rgba(153,35,26,0.18);
  background: linear-gradient(160deg, rgba(153,35,26,0.06) 0%, rgba(18,21,23,0.01) 100%);
}

.ic-accent-red {
  --ic-accent:        #d5372a;
  --ic-accent-bg:     rgba(213,55,42,0.14);
  --ic-accent-border: rgba(213,55,42,0.45);
  --ic-accent-glow:   rgba(213,55,42,0.22);
  --ic-accent-grad:   linear-gradient(90deg, #d5372a, #d5372a, #8c2622);
}
.ic-accent-red { border-color: rgba(213,55,42,0.18); }
.ic-accent-red:hover {
  border-color: rgba(213,55,42,0.5);
  box-shadow: 0 12px 36px rgba(213,55,42,0.18);
  background: linear-gradient(160deg, rgba(213,55,42,0.06) 0%, rgba(18,21,23,0.01) 100%);
}

/* ── Empty state ─────────────────────────────────────────── */
.icons-empty {
  text-align: center; padding: 60px 20px;
  color: var(--text-2, #7b8896); font-size: 14px;
  border: 1px dashed rgba(18,21,23,0.1);
  border-radius: 16px;
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Light theme ─────────────────────────────────────────── */
[data-theme="light"] .ic-card {
  background: #ffffff;
  border-color: rgba(18,21,23,0.028);
  color: #f2efe8;
}
[data-theme="light"] .ic-card:hover {
  background: #121517;
}
[data-theme="light"] .ic-title  { color: #f2efe8; }
[data-theme="light"] .ic-sub    { color: #7b8896; }
[data-theme="light"] .ic-pro    { color: #7b8896; }
[data-theme="light"] .ic-pill   {
  background: rgba(0,0,0,0.04);
  border-color: rgba(18,21,23,0.028);
  color: #7b8896;
}
[data-theme="light"] .icons-hero p { color: #7b8896; }

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 640px) {
  .icons-grid { grid-template-columns: 1fr; gap: 14px; }
  .icons-hero { padding: 18px 0 24px; }
  .ic-card { padding: 18px 18px 16px; }
  .ic-title { font-size: 22px; }
}
