/* ============================================================
   每日大赛 - Industrial Steel Competition Theme
   Steel gray blue / Crimson flame / Forge orange / Medal gold
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Russo+One&family=Oswald:wght@400;600;700&display=swap');

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --steel-900: #0f172a;
  --steel-800: #1e293b;
  --steel-700: #334155;
  --steel-600: #475569;
  --steel-500: #64748b;
  --steel-400: #94a3b8;
  --steel-300: #cbd5e1;
  --steel-200: #e2e8f0;
  --steel-100: #f1f5f9;
  --steel-white: #f8fafc;

  --crimson: #dc2626;
  --crimson-dark: #991b1b;
  --crimson-glow: #ef4444;

  --forge-orange: #f97316;
  --forge-orange-dark: #c2410c;

  --medal-gold: #fbbf24;
  --medal-gold-dark: #d97706;
  --medal-silver: #cbd5e1;
  --medal-bronze: #b45309;

  --steel-plate: linear-gradient(135deg, #475569 0%, #334155 40%, #1e293b 100%);
  --steel-plate-light: linear-gradient(135deg, #64748b 0%, #475569 50%, #334155 100%);
  --steel-brushed: repeating-linear-gradient(90deg, #334155 0px, #3f4a5f 2px, #334155 4px, #2c3849 6px);
  --steel-rivet: radial-gradient(circle at 30% 30%, #94a3b8 0%, #475569 40%, #1e293b 100%);

  --warning-stripes: repeating-linear-gradient(45deg, #fbbf24 0px, #fbbf24 14px, #0f172a 14px, #0f172a 28px);

  --font-display: "Russo One", "Arial Black", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Oswald", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--steel-100);
  background: var(--steel-white);
  background-image:
    linear-gradient(rgba(241, 245, 249, 0.92), rgba(226, 232, 240, 0.92)),
    repeating-linear-gradient(135deg, rgba(71, 85, 105, 0.04) 0px, rgba(71, 85, 105, 0.04) 2px, transparent 2px, transparent 18px);
  background-attachment: fixed;
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* ---------- Top Warning Stripe Bar ---------- */
.top-stripe {
  height: 12px;
  background: var(--warning-stripes);
  border-bottom: 2px solid var(--steel-900);
}

/* ---------- Header ---------- */
.site-header {
  background: var(--steel-plate);
  background-image:
    var(--steel-plate),
    repeating-linear-gradient(0deg, rgba(15, 23, 42, 0.15) 0px, rgba(15, 23, 42, 0.15) 1px, transparent 1px, transparent 6px);
  border-bottom: 4px solid var(--crimson);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.45);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-forge {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 70%, var(--forge-orange) 0%, var(--crimson) 35%, transparent 70%),
    var(--steel-plate-light);
  border: 2px solid var(--medal-gold);
  box-shadow: 0 0 18px rgba(249, 115, 22, 0.6), inset 0 0 8px rgba(15, 23, 42, 0.6);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  color: var(--steel-white);
  font-size: 26px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.brand-forge::before,
.brand-forge::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--steel-rivet);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.brand-forge::before {
  top: 4px;
  left: 4px;
}

.brand-forge::after {
  bottom: 4px;
  right: 4px;
}

.brand-text h1 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--steel-white);
  letter-spacing: 1px;
  line-height: 1;
}

.brand-text span {
  display: block;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--medal-gold);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ---------- Navigation ---------- */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.main-nav a {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--steel-200);
  padding: 10px 16px;
  border-radius: 4px;
  position: relative;
  transition: all 0.18s ease;
  letter-spacing: 0.5px;
  border: 1px solid transparent;
}

.main-nav a:hover {
  color: var(--steel-white);
  background: rgba(220, 38, 38, 0.18);
  border-color: rgba(220, 38, 38, 0.5);
}

.main-nav a.active {
  color: var(--steel-white);
  background: var(--crimson);
  box-shadow: 0 0 12px rgba(220, 38, 38, 0.6), inset 0 -3px 0 var(--medal-gold);
}

.nav-cta {
  background: linear-gradient(180deg, var(--forge-orange), var(--forge-orange-dark));
  color: var(--steel-white) !important;
  border: 1px solid var(--medal-gold) !important;
  box-shadow: 0 0 14px rgba(249, 115, 22, 0.5);
}

.nav-cta:hover {
  background: linear-gradient(180deg, var(--medal-gold), var(--forge-orange)) !important;
}

/* ---------- Page Hero ---------- */
.page-hero {
  background: var(--steel-plate);
  background-image:
    linear-gradient(135deg, rgba(51, 65, 85, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%),
    repeating-linear-gradient(45deg, rgba(220, 38, 38, 0.06) 0px, rgba(220, 38, 38, 0.06) 2px, transparent 2px, transparent 16px);
  padding: 56px 24px 48px;
  border-bottom: 4px solid var(--forge-orange);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--warning-stripes);
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--medal-gold), transparent);
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--medal-gold);
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--medal-gold);
  border-radius: 3px;
  background: rgba(15, 23, 42, 0.5);
  margin-bottom: 18px;
}

.hero-eyebrow::before {
  content: "▲";
  color: var(--crimson-glow);
}

.page-hero h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  color: var(--steel-white);
  letter-spacing: 1px;
  line-height: 1.1;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.page-hero h2 .accent {
  color: var(--crimson-glow);
}

.page-hero p {
  margin-top: 14px;
  font-size: 17px;
  color: var(--steel-300);
  max-width: 720px;
}

/* ---------- Container ---------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px;
}

.container.tight {
  padding: 32px 24px;
}

/* ---------- Section Headings ---------- */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.section-title {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--steel-800);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-title::before {
  content: "";
  width: 8px;
  height: 32px;
  background: var(--crimson);
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
  border-left: 2px solid var(--medal-gold);
}

.section-title .forge-tag {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--steel-600);
  font-family: var(--font-body);
  padding: 4px 10px;
  background: var(--steel-100);
  border: 1px solid var(--steel-300);
  border-radius: 3px;
}

.section-sub {
  color: var(--steel-600);
  font-size: 15px;
}

/* ---------- Steel Panel (riveted) ---------- */
.steel-panel {
  background: linear-gradient(180deg, var(--steel-white) 0%, var(--steel-100) 100%);
  border: 2px solid var(--steel-700);
  border-radius: 6px;
  padding: 28px;
  position: relative;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.steel-panel.dark {
  background: var(--steel-plate);
  background-image:
    var(--steel-plate),
    repeating-linear-gradient(0deg, rgba(15, 23, 42, 0.2) 0px, rgba(15, 23, 42, 0.2) 1px, transparent 1px, transparent 8px);
  color: var(--steel-200);
  border-color: var(--steel-900);
}

.steel-panel::before,
.steel-panel::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--steel-rivet);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.4);
}

.steel-panel::before {
  top: 10px;
  left: 10px;
}

.steel-panel::after {
  top: 10px;
  right: 10px;
}

.steel-panel .rivet-bl,
.steel-panel .rivet-br {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--steel-rivet);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.4);
}

.steel-panel .rivet-bl {
  bottom: 10px;
  left: 10px;
}

.steel-panel .rivet-br {
  bottom: 10px;
  right: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 1px;
  padding: 12px 24px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.18s ease;
  text-transform: uppercase;
  position: relative;
}

.btn-primary {
  background: linear-gradient(180deg, var(--crimson-glow), var(--crimson-dark));
  color: var(--steel-white);
  border: 1px solid var(--medal-gold);
  box-shadow: 0 0 16px rgba(220, 38, 38, 0.45), inset 0 -3px 0 rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(180deg, var(--forge-orange), var(--crimson));
  box-shadow: 0 0 24px rgba(249, 115, 22, 0.7), inset 0 -3px 0 rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.btn-forge {
  background: linear-gradient(180deg, var(--forge-orange), var(--forge-orange-dark));
  color: var(--steel-white);
  border: 1px solid var(--medal-gold);
  box-shadow: 0 0 16px rgba(249, 115, 22, 0.5), inset 0 -3px 0 rgba(0, 0, 0, 0.3);
}

.btn-forge:hover {
  background: linear-gradient(180deg, var(--medal-gold), var(--forge-orange));
  transform: translateY(-1px);
}

.btn-steel {
  background: var(--steel-plate-light);
  color: var(--steel-white);
  border: 1px solid var(--steel-500);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.3);
}

.btn-steel:hover {
  background: linear-gradient(180deg, var(--steel-600), var(--steel-800));
}

.btn-ghost {
  background: transparent;
  color: var(--steel-700);
  border: 2px solid var(--steel-600);
}

.btn-ghost:hover {
  background: var(--steel-700);
  color: var(--steel-white);
}

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 3px;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.badge-live {
  background: var(--crimson);
  color: var(--steel-white);
  border-color: var(--medal-gold);
  box-shadow: 0 0 12px rgba(220, 38, 38, 0.6);
  animation: pulse-flame 1.6s ease-in-out infinite;
}

.badge-live::before {
  content: "●";
  color: var(--steel-white);
}

@keyframes pulse-flame {
  0%, 100% { box-shadow: 0 0 12px rgba(220, 38, 38, 0.6); }
  50% { box-shadow: 0 0 22px rgba(249, 115, 22, 0.9), 0 0 6px rgba(251, 191, 36, 0.7); }
}

.badge-open {
  background: rgba(34, 197, 94, 0.15);
  color: #15803d;
  border-color: #22c55e;
}

.badge-progress {
  background: rgba(249, 115, 22, 0.15);
  color: var(--forge-orange-dark);
  border-color: var(--forge-orange);
}

.badge-ended {
  background: var(--steel-200);
  color: var(--steel-600);
  border-color: var(--steel-400);
}

.badge-gold {
  background: linear-gradient(180deg, var(--medal-gold), var(--medal-gold-dark));
  color: var(--steel-900);
  border-color: var(--steel-900);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
}

.badge-silver {
  background: linear-gradient(180deg, #e2e8f0, var(--steel-500));
  color: var(--steel-900);
  border-color: var(--steel-600);
}

.badge-bronze {
  background: linear-gradient(180deg, #d97706, var(--medal-bronze));
  color: var(--steel-white);
  border-color: var(--steel-900);
}

.badge-category {
  background: var(--steel-800);
  color: var(--steel-200);
  border-color: var(--steel-500);
}

/* ---------- Cards Grid ---------- */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Competition Card ---------- */
.comp-card {
  background: linear-gradient(180deg, var(--steel-white), var(--steel-100));
  border: 2px solid var(--steel-700);
  border-radius: 6px;
  padding: 22px;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.comp-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--crimson), var(--forge-orange), var(--medal-gold));
}

.comp-card:hover {
  border-color: var(--crimson);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.25);
}

.comp-card .card-rivets span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--steel-rivet);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.card-rivets .r1 { top: 8px; right: 8px; }
.card-rivets .r2 { bottom: 8px; left: 8px; }
.card-rivets .r3 { bottom: 8px; right: 8px; }

.comp-card .card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.comp-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--steel-800);
  line-height: 1.3;
}

.comp-card .card-meta {
  font-size: 13px;
  color: var(--steel-600);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.comp-card .card-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.comp-card .card-meta li::before {
  content: "▸";
  color: var(--forge-orange);
  font-size: 12px;
}

.prize-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--steel-800);
  background-image: var(--steel-plate);
  border-radius: 4px;
  border: 1px solid var(--medal-gold);
  color: var(--steel-100);
}

.prize-display .prize-label {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--medal-gold);
  text-transform: uppercase;
}

.prize-display .prize-amount {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--medal-gold);
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.deadline-bar {
  height: 6px;
  background: var(--steel-200);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.deadline-bar .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--crimson), var(--forge-orange));
  border-radius: 3px;
}

.deadline-text {
  font-size: 12px;
  color: var(--steel-600);
  display: flex;
  justify-content: space-between;
}

/* ---------- Featured Competition (flame glow) ---------- */
.featured-comp {
  background: var(--steel-plate);
  background-image:
    linear-gradient(135deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.96)),
    radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.3), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.3), transparent 50%);
  border: 3px solid var(--crimson);
  border-radius: 8px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(220, 38, 38, 0.3), inset 0 0 30px rgba(15, 23, 42, 0.6);
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: center;
}

.featured-comp::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--warning-stripes);
}

.featured-comp::after {
  content: "";
  position: absolute;
  bottom: -40px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--forge-orange) 0%, transparent 60%);
  opacity: 0.4;
  animation: flame-flicker 2.5s ease-in-out infinite;
}

@keyframes flame-flicker {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}

.featured-comp .featured-content {
  position: relative;
  z-index: 2;
}

.featured-comp .featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--steel-white);
  background: var(--crimson);
  padding: 6px 14px;
  border-radius: 3px;
  margin-bottom: 16px;
  box-shadow: 0 0 14px rgba(220, 38, 38, 0.7);
}

.featured-comp h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  color: var(--steel-white);
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.6);
}

.featured-comp h2 .glow {
  color: var(--forge-orange);
  text-shadow: 0 0 18px rgba(249, 115, 22, 0.8);
}

.featured-comp .featured-desc {
  color: var(--steel-300);
  font-size: 16px;
  margin-bottom: 22px;
  max-width: 540px;
}

.featured-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.featured-stats .fstat {
  display: flex;
  flex-direction: column;
}

.featured-stats .fstat .num {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--medal-gold);
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.5);
}

.featured-stats .fstat .lbl {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--steel-400);
  text-transform: uppercase;
}

.featured-comp .featured-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* countdown ring */
.countdown-ring {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px;
  background: rgba(15, 23, 42, 0.7);
  border: 2px solid var(--medal-gold);
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(251, 191, 36, 0.3);
}

.countdown-ring .ring-title {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--medal-gold);
  text-transform: uppercase;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
}

.countdown-cell {
  text-align: center;
  background: var(--steel-900);
  border: 1px solid var(--steel-600);
  border-radius: 4px;
  padding: 12px 6px;
}

.countdown-cell .num {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--forge-orange);
  line-height: 1;
}

.countdown-cell .lbl {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--steel-400);
  margin-top: 4px;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .featured-comp { grid-template-columns: 1fr; }
}

/* ---------- Stats Strip ---------- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--steel-plate);
  background-image: var(--steel-plate);
  border-top: 3px solid var(--medal-gold);
  border-bottom: 3px solid var(--crimson);
}

.stats-strip .stat-cell {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid rgba(148, 163, 184, 0.2);
  position: relative;
}

.stats-strip .stat-cell:last-child { border-right: none; }

.stats-strip .stat-cell .stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--medal-gold);
  text-shadow: 0 0 14px rgba(251, 191, 36, 0.4);
  line-height: 1;
}

.stats-strip .stat-cell .stat-lbl {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--steel-300);
  text-transform: uppercase;
  margin-top: 8px;
}

@media (max-width: 720px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stats-strip .stat-cell:nth-child(2) { border-right: none; }
  .stats-strip .stat-cell:nth-child(1), .stats-strip .stat-cell:nth-child(2) {
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  }
}

/* ---------- Champion Showcase ---------- */
.champion-card {
  background: var(--steel-plate);
  background-image:
    linear-gradient(180deg, rgba(51, 65, 85, 0.95), rgba(15, 23, 42, 0.98)),
    repeating-linear-gradient(45deg, rgba(251, 191, 36, 0.04) 0px, rgba(251, 191, 36, 0.04) 2px, transparent 2px, transparent 12px);
  border: 2px solid var(--medal-gold);
  border-radius: 6px;
  padding: 24px;
  text-align: center;
  color: var(--steel-100);
  position: relative;
  box-shadow: 0 0 24px rgba(251, 191, 36, 0.2);
}

.champion-medal {
  width: 80px;
  height: 80px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--medal-gold) 0%, var(--medal-gold-dark) 60%, var(--steel-800) 100%);
  border: 3px solid var(--steel-900);
  box-shadow: 0 0 24px rgba(251, 191, 36, 0.7), inset 0 -4px 8px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--steel-900);
  position: relative;
}

.champion-medal::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 16px;
  background: linear-gradient(180deg, var(--crimson), var(--crimson-dark));
  border-radius: 4px 4px 0 0;
  border: 1px solid var(--steel-900);
}

.champion-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--medal-gold);
  margin-bottom: 4px;
}

.champion-card .ch-title {
  font-size: 13px;
  color: var(--steel-300);
  margin-bottom: 12px;
}

.champion-card .ch-score {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--steel-white);
}

.champion-card .ch-score small {
  font-size: 11px;
  color: var(--steel-400);
  letter-spacing: 1px;
}

/* ---------- Filter Bar ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px;
  background: var(--steel-100);
  border: 2px solid var(--steel-300);
  border-radius: 6px;
  margin-bottom: 28px;
  align-items: center;
}

.filter-bar .filter-label {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--steel-600);
  text-transform: uppercase;
  margin-right: 6px;
}

.filter-chip {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 4px;
  background: var(--steel-white);
  border: 1px solid var(--steel-400);
  color: var(--steel-700);
  cursor: pointer;
  transition: all 0.16s ease;
}

.filter-chip:hover {
  border-color: var(--crimson);
  color: var(--crimson);
}

.filter-chip.active {
  background: var(--steel-800);
  color: var(--medal-gold);
  border-color: var(--medal-gold);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

/* ---------- Arena VS Card ---------- */
.vs-card {
  background: linear-gradient(180deg, var(--steel-white), var(--steel-100));
  border: 2px solid var(--steel-700);
  border-radius: 8px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
}

.vs-card.live {
  border-color: var(--crimson);
  box-shadow: 0 0 24px rgba(220, 38, 38, 0.3);
}

.vs-card.live::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--crimson), var(--forge-orange), var(--medal-gold), var(--forge-orange), var(--crimson));
  background-size: 200% 100%;
  animation: heat-flow 3s linear infinite;
}

@keyframes heat-flow {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

.vs-arena {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.vs-side {
  text-align: center;
  padding: 16px;
  border-radius: 6px;
  background: var(--steel-100);
  border: 1px solid var(--steel-300);
}

.vs-side.winner {
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.15), rgba(217, 119, 6, 0.1));
  border-color: var(--medal-gold);
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.3);
}

.vs-avatar {
  width: 60px;
  height: 60px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--steel-plate);
  border: 3px solid var(--steel-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--steel-white);
}

.vs-side.winner .vs-avatar {
  border-color: var(--medal-gold);
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.6);
}

.vs-side .vs-name {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--steel-800);
}

.vs-side .vs-title {
  font-size: 12px;
  color: var(--steel-600);
  margin-top: 2px;
}

.vs-side .vs-score {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--crimson);
  margin-top: 8px;
}

.vs-side.winner .vs-score {
  color: var(--medal-gold-dark);
}

.vs-divider {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--crimson);
  text-shadow: 0 0 16px rgba(220, 38, 38, 0.7);
  padding: 0 8px;
}

.vote-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.vote-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.vote-row .vname {
  width: 80px;
  color: var(--steel-700);
  font-weight: 600;
  text-align: right;
}

.vote-bar {
  flex: 1;
  height: 14px;
  background: var(--steel-200);
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid var(--steel-300);
}

.vote-bar .vfill {
  height: 100%;
  border-radius: 7px;
  transition: width 0.6s ease;
}

.vote-bar .vfill.left {
  background: linear-gradient(90deg, var(--crimson), var(--forge-orange));
}

.vote-bar .vfill.right {
  background: linear-gradient(90deg, var(--steel-600), var(--steel-400));
}

.vote-row .vpct {
  width: 44px;
  font-family: var(--font-display);
  color: var(--steel-700);
}

.match-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px dashed var(--steel-300);
  font-size: 12px;
  color: var(--steel-600);
}

/* ---------- Ranking Table ---------- */
.rank-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--steel-white);
  border: 2px solid var(--steel-700);
  border-radius: 6px;
  overflow: hidden;
}

.rank-table thead {
  background: var(--steel-plate);
  background-image: var(--steel-plate);
}

.rank-table th {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--medal-gold);
  text-transform: uppercase;
  padding: 16px 14px;
  text-align: left;
  border-bottom: 2px solid var(--crimson);
}

.rank-table td {
  padding: 14px;
  border-bottom: 1px solid var(--steel-200);
  color: var(--steel-700);
  font-size: 14px;
}

.rank-table tbody tr:hover {
  background: var(--steel-100);
}

.rank-table tbody tr.top-3 {
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.08), transparent);
}

.rank-pos {
  font-family: var(--font-display);
  font-size: 20px;
  width: 60px;
  text-align: center;
}

.rank-pos.p1 { color: var(--medal-gold-dark); text-shadow: 0 0 10px rgba(251, 191, 36, 0.5); }
.rank-pos.p2 { color: var(--steel-500); }
.rank-pos.p3 { color: var(--medal-bronze); }

.rank-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rank-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--steel-plate);
  border: 2px solid var(--steel-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  color: var(--steel-white);
  font-size: 14px;
  flex-shrink: 0;
}

.rank-user .ru-name {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--steel-800);
}

.rank-user .ru-cat {
  font-size: 12px;
  color: var(--steel-600);
}

.score-num {
  font-family: var(--font-display);
  color: var(--crimson);
  font-size: 16px;
}

.movement {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 3px;
}

.movement.up { background: rgba(34, 197, 94, 0.15); color: #15803d; }
.movement.down { background: rgba(220, 38, 38, 0.15); color: var(--crimson-dark); }
.movement.same { background: var(--steel-200); color: var(--steel-600); }

/* ---------- Results / Tables ---------- */
.results-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--steel-white);
  border: 2px solid var(--steel-700);
  border-radius: 6px;
  overflow: hidden;
}

.results-table thead {
  background: var(--steel-800);
}

.results-table th {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--medal-gold);
  padding: 14px;
  text-align: left;
  border-bottom: 2px solid var(--crimson);
  text-transform: uppercase;
}

.results-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--steel-200);
  font-size: 14px;
  color: var(--steel-700);
}

.results-table tbody tr:hover {
  background: var(--steel-100);
}

.result-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 14px;
  background: var(--steel-200);
  color: var(--steel-700);
}

.result-rank.r1 { background: linear-gradient(180deg, var(--medal-gold), var(--medal-gold-dark)); color: var(--steel-900); }
.result-rank.r2 { background: linear-gradient(180deg, #e2e8f0, var(--steel-500)); color: var(--steel-900); }
.result-rank.r3 { background: linear-gradient(180deg, #d97706, var(--medal-bronze)); color: var(--steel-white); }

/* ---------- Search Interface ---------- */
.search-box {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px;
  background: var(--steel-plate);
  background-image: var(--steel-plate);
  border: 2px solid var(--medal-gold);
  border-radius: 6px;
  margin-bottom: 28px;
  align-items: center;
}

.search-box input,
.search-box select {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 11px 14px;
  border: 1px solid var(--steel-500);
  border-radius: 4px;
  background: var(--steel-white);
  color: var(--steel-800);
  outline: none;
}

.search-box input { flex: 1; min-width: 220px; }
.search-box input:focus,
.search-box select:focus { border-color: var(--medal-gold); box-shadow: 0 0 10px rgba(251, 191, 36, 0.4); }

/* ---------- CSS Charts (industrial) ---------- */
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 220px;
  padding: 20px 10px 10px;
  background: var(--steel-100);
  border: 2px solid var(--steel-300);
  border-radius: 6px;
  position: relative;
}

.chart-bars::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--warning-stripes);
  border-radius: 6px 6px 0 0;
}

.chart-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}

.chart-bar {
  width: 70%;
  background: linear-gradient(180deg, var(--forge-orange), var(--crimson-dark));
  border-radius: 4px 4px 0 0;
  border-top: 2px solid var(--medal-gold);
  position: relative;
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.4);
  transition: all 0.3s ease;
}

.chart-bar:hover {
  filter: brightness(1.15);
}

.chart-bar .bar-val {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--steel-700);
}

.chart-bar-col .bar-lbl {
  font-size: 11px;
  color: var(--steel-600);
  letter-spacing: 1px;
}

/* horizontal progress chart */
.h-chart {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.h-chart-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.h-chart-row .h-label {
  width: 110px;
  font-size: 13px;
  color: var(--steel-700);
  font-weight: 600;
}

.h-chart-row .h-bar {
  flex: 1;
  height: 18px;
  background: var(--steel-200);
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid var(--steel-300);
  position: relative;
}

.h-chart-row .h-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--steel-600), var(--steel-400));
  border-radius: 9px;
  position: relative;
}

.h-chart-row .h-fill.flame {
  background: linear-gradient(90deg, var(--crimson), var(--forge-orange), var(--medal-gold));
}

.h-chart-row .h-val {
  width: 50px;
  text-align: right;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--steel-800);
}

/* donut chart (CSS conic) */
.donut-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.donut {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: conic-gradient(
    var(--crimson) 0deg 130deg,
    var(--forge-orange) 130deg 230deg,
    var(--medal-gold) 230deg 310deg,
    var(--steel-500) 310deg 360deg
  );
  position: relative;
  box-shadow: 0 0 24px rgba(220, 38, 38, 0.3);
  border: 3px solid var(--steel-800);
}

.donut::after {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  background: var(--steel-white);
  border: 2px solid var(--steel-300);
}

.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.donut-legend .leg {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--steel-700);
}

.donut-legend .leg .dot {
  width: 14px;
  height: 14px;
  border-radius: 3px;
}

/* ---------- Forms ---------- */
.forge-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.forge-form .full {
  grid-column: 1 / -1;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--steel-700);
  text-transform: uppercase;
}

.field label .req {
  color: var(--crimson);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 14px;
  border: 2px solid var(--steel-400);
  border-radius: 4px;
  background: var(--steel-white);
  color: var(--steel-800);
  outline: none;
  transition: all 0.16s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--crimson);
  box-shadow: 0 0 12px rgba(220, 38, 38, 0.3);
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

@media (max-width: 700px) {
  .forge-form { grid-template-columns: 1fr; }
}

/* rule list */
.rule-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rule-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--steel-100);
  border-left: 4px solid var(--crimson);
  border-radius: 0 4px 4px 0;
}

.rule-item .rule-num {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--crimson);
  line-height: 1;
  min-width: 36px;
}

.rule-item .rule-body h5 {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--steel-800);
  margin-bottom: 4px;
}

.rule-item .rule-body p {
  font-size: 14px;
  color: var(--steel-600);
}

/* prize tiers */
.prize-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.prize-tier {
  background: var(--steel-white);
  border: 2px solid var(--steel-700);
  border-radius: 6px;
  padding: 24px;
  text-align: center;
  position: relative;
}

.prize-tier.t1 {
  border-color: var(--medal-gold);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
  transform: scale(1.04);
}

.prize-tier .tier-medal {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  border: 3px solid var(--steel-900);
}

.prize-tier.t1 .tier-medal {
  background: radial-gradient(circle at 35% 30%, var(--medal-gold), var(--medal-gold-dark));
  color: var(--steel-900);
}

.prize-tier.t2 .tier-medal {
  background: radial-gradient(circle at 35% 30%, #e2e8f0, var(--steel-500));
  color: var(--steel-900);
}

.prize-tier.t3 .tier-medal {
  background: radial-gradient(circle at 35% 30%, #d97706, var(--medal-bronze));
  color: var(--steel-white);
}

.prize-tier .tier-name {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--steel-600);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.prize-tier .tier-prize {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--crimson);
  margin-bottom: 8px;
}

.prize-tier .tier-perks {
  font-size: 13px;
  color: var(--steel-600);
  list-style: none;
}

.prize-tier .tier-perks li {
  padding: 4px 0;
  border-top: 1px dashed var(--steel-300);
}

@media (max-width: 700px) {
  .prize-tiers { grid-template-columns: 1fr; }
  .prize-tier.t1 { transform: none; }
}

/* FAQ accordion */
.faq-item {
  border: 2px solid var(--steel-300);
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--steel-white);
}

.faq-item summary {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--steel-800);
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--steel-100);
  border-left: 4px solid var(--forge-orange);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--crimson);
  font-family: var(--font-display);
}

.faq-item[open] summary::after { content: "−"; }

.faq-item summary:hover { background: var(--steel-200); }

.faq-item .faq-answer {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--steel-600);
  line-height: 1.7;
}

/* ---------- About / Mission ---------- */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 820px) {
  .mission-grid { grid-template-columns: 1fr; }
}

.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 820px) {
  .value-cards { grid-template-columns: 1fr; }
}

.value-card {
  background: linear-gradient(180deg, var(--steel-white), var(--steel-100));
  border: 2px solid var(--steel-700);
  border-radius: 6px;
  padding: 24px;
  position: relative;
  text-align: center;
  transition: all 0.2s ease;
}

.value-card:hover {
  border-color: var(--crimson);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.2);
}

.value-card .vc-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 8px;
  background: var(--steel-plate);
  border: 2px solid var(--medal-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--medal-gold);
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.3);
}

.value-card h4 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--steel-800);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 13px;
  color: var(--steel-600);
}

/* timeline */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--medal-gold), var(--crimson), var(--steel-600));
}

.timeline-item {
  position: relative;
  padding-bottom: 24px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--steel-plate);
  border: 3px solid var(--medal-gold);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.timeline-item .ti-date {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--crimson);
  text-transform: uppercase;
}

.timeline-item h5 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--steel-800);
  margin: 4px 0;
}

.timeline-item p {
  font-size: 14px;
  color: var(--steel-600);
}

/* contact cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-card {
  background: var(--steel-plate);
  background-image: var(--steel-plate);
  border: 2px solid var(--steel-600);
  border-radius: 6px;
  padding: 24px;
  color: var(--steel-100);
  text-align: center;
}

.contact-card .cc-icon {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--medal-gold);
  margin-bottom: 10px;
}

.contact-card h5 {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--steel-white);
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 13px;
  color: var(--steel-300);
}

/* ---------- Match Schedule ---------- */
.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.schedule-row {
  display: grid;
  grid-template-columns: 110px 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  background: var(--steel-white);
  border: 1px solid var(--steel-300);
  border-left: 4px solid var(--steel-500);
  border-radius: 4px;
  transition: all 0.16s ease;
}

.schedule-row:hover {
  border-left-color: var(--crimson);
  background: var(--steel-100);
}

.schedule-row.live {
  border-left-color: var(--crimson);
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.06), transparent);
}

.schedule-row .sr-time {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--steel-700);
}

.schedule-row .sr-match {
  font-size: 14px;
  color: var(--steel-800);
  font-weight: 600;
}

.schedule-row .sr-match .vs-mini {
  color: var(--crimson);
  font-family: var(--font-display);
  margin: 0 6px;
}

.schedule-row .sr-cat {
  font-size: 12px;
  color: var(--steel-600);
}

@media (max-width: 640px) {
  .schedule-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--steel-plate);
  background-image:
    var(--steel-plate),
    repeating-linear-gradient(0deg, rgba(15, 23, 42, 0.2) 0px, rgba(15, 23, 42, 0.2) 1px, transparent 1px, transparent 8px);
  color: var(--steel-300);
  border-top: 4px solid var(--crimson);
  padding: 48px 24px 24px;
  margin-top: 64px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

@media (max-width: 820px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-inner { grid-template-columns: 1fr; }
}

.footer-brand h4 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--steel-white);
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--medal-gold);
  text-transform: uppercase;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--steel-600);
  padding-bottom: 8px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 13px;
  color: var(--steel-300);
  transition: color 0.16s ease;
}

.footer-col ul li a:hover {
  color: var(--medal-gold);
}

.footer-bottom {
  max-width: 1280px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--steel-600);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--steel-400);
}

.footer-bottom .fb-warning {
  color: var(--medal-gold);
  letter-spacing: 1px;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

.section-divider {
  height: 4px;
  background: var(--warning-stripes);
  margin: 48px 0;
  border-radius: 2px;
}

.callout {
  background: var(--steel-800);
  background-image: var(--steel-plate);
  border: 2px solid var(--medal-gold);
  border-radius: 6px;
  padding: 20px 24px;
  color: var(--steel-100);
  display: flex;
  gap: 16px;
  align-items: center;
}

.callout .callout-icon {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--medal-gold);
}

.callout h4 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--steel-white);
  margin-bottom: 4px;
}

.callout p {
  font-size: 13px;
  color: var(--steel-300);
}

/* responsive header */
@media (max-width: 760px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .main-nav { width: 100%; }
  .main-nav a { padding: 8px 12px; font-size: 13px; }
  .container { padding: 32px 16px; }
  .page-hero { padding: 40px 16px 32px; }
  .featured-comp { padding: 28px 20px; }
  .steel-panel { padding: 20px; }
}
