/*
Theme Name: RAGE
Theme URI: https://rage-training-program.ir
Author: RAGE Team
Description: Dark, aggressive fitness brand theme for RAGE Training Program. RTL Persian.
Version: 1.4.0
Text Domain: rage
*/

/* ── Fonts ─────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/Vazirmatn-variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('fonts/BarlowCondensed-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('fonts/BarlowCondensed-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('fonts/BarlowCondensed-Black.ttf') format('truetype');
  font-weight: 900;
  font-display: swap;
}


/* ── Design Tokens ────────────────────────────────────────────────────── */
:root {
  --bg: #050507;
  --bg2: #0A0A10;
  --surface: transparent;
  --border: #1E1E2A;
  --text: #F0F0F5;
  --muted: #5A5A70;
  --silver: #8890A4;
  --red: #E02020;
  --red-dim: rgba(224,32,32,0.15);
  --red-glow: rgba(224,32,32,0.4);
  --green: #27AE60;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font-body: 'Vazirmatn', sans-serif;
  --font-display: 'Barlow Condensed', sans-serif;
}

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

html {
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.7;
  font-size: 15px;
  direction: rtl;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }

::selection {
  background: rgba(224, 32, 32, 0.25);
  color: #F0F0F5;
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #1E1418; border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* ── Noise Overlay ─────────────────────────────────────────────────────── */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Particle Canvas ───────────────────────────────────────────────────── */
#rage-particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ── Custom Cursor ─────────────────────────────────────────────────────── */
#rage-cursor-dot,
#rage-cursor-reticle {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
}
#rage-cursor-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  z-index: 99999;
  box-shadow: 0 0 6px rgba(255,255,255,1), 0 0 18px rgba(255,255,255,0.8), 0 0 40px rgba(255,255,255,0.3);
  will-change: transform;
  transition: background 150ms ease, box-shadow 150ms ease;
}
#rage-cursor-reticle {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.5);
  z-index: 99998;
  box-shadow: 0 0 10px rgba(255,255,255,0.2), inset 0 0 10px rgba(255,255,255,0.05);
  will-change: transform;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
#rage-cursor-dot.dark {
  background: #0A0A0A;
  box-shadow: 0 0 6px rgba(0,0,0,0.5), 0 0 18px rgba(0,0,0,0.3), 0 0 40px rgba(0,0,0,0.1);
}
#rage-cursor-reticle.dark {
  border-color: rgba(0,0,0,0.45);
  box-shadow: 0 0 10px rgba(0,0,0,0.12), inset 0 0 10px rgba(0,0,0,0.04);
}
@media (hover: hover) and (pointer: fine) {
  html.rage-has-cursor,
  html.rage-has-cursor * {
    cursor: none !important;
  }
  html.rage-has-cursor #rage-cursor-dot,
  html.rage-has-cursor #rage-cursor-reticle {
    display: block;
  }
}

/* ── Layout ────────────────────────────────────────────────────────────── */
.rage-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.rage-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

/* ── Navbar ────────────────────────────────────────────────────────────── */
.rage-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5,5,7,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(30,30,42,0.5);
  transition: background 300ms var(--ease-out);
}

.rage-nav-logo img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.15));
}

.rage-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.rage-nav-links a {
  color: var(--silver);
  font-weight: 500;
  font-size: 14px;
  transition: color 200ms;
  position: relative;
}

.rage-nav-links a:hover {
  color: var(--text);
}

.rage-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 300ms var(--ease-out);
}

.rage-nav-links a:hover::after,
.rage-nav-links a.current::after {
  width: 100%;
}

.rage-nav-cta {
  padding: 10px 24px;
  background: var(--red);
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  clip-path: polygon(6px 0%, calc(100% - 6px) 0%, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0% calc(100% - 6px), 0% 6px);
  box-shadow: 0 0 20px rgba(224,32,32,0.3);
  transition: background 180ms, box-shadow 200ms var(--ease-out);
}

.rage-nav-cta:hover {
  background: #FF3535;
  box-shadow: 0 0 36px rgba(224,32,32,0.5);
}

/* Mobile nav toggle */
.rage-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.rage-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 300ms var(--ease-out);
}

@media (max-width: 768px) {
  .rage-nav { padding: 0 16px; }
  .rage-nav-links { display: none; }
  .rage-nav-toggle { display: flex; }
}

/* Mobile overlay */
.rage-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(5,5,7,0.97);
  backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease-out);
}

.rage-mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.rage-mobile-nav a {
  color: var(--silver);
  font-size: 22px;
  font-weight: 600;
  transition: color 200ms;
}

.rage-mobile-nav a:hover {
  color: var(--text);
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.rage-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.rage-hero-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(224,32,32,0.06) 0%, transparent 68%);
  pointer-events: none;
}

.rage-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.rage-hero-content-minimal {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rage-hero-content-minimal .rage-hero-logo {
  margin-bottom: 44px;
}

.rage-hero-content-minimal .rage-hero-btns {
  animation: heroFadeIn 1s 0.15s var(--ease-out) both;
}

/* ── Hero Intro (below-fold SEO copy) ─────────────────────────────────── */
.rage-hero-intro {
  padding: 40px 24px 100px;
  text-align: center;
}

.rage-hero-intro .rage-hero-tagline {
  animation: none;
  margin-bottom: 32px;
}

.rage-hero-intro .rage-hero-desc {
  animation: none;
  margin: 0 auto 24px;
}

.rage-hero-intro .rage-hero-desc:last-of-type {
  margin-bottom: 0;
}

.rage-hero-logo {
  width: min(300px, 60vw);
  margin-bottom: 24px;
  filter: drop-shadow(0 0 18px rgba(255,255,255,0.4)) drop-shadow(0 0 48px rgba(224,32,32,0.18));
  animation: heroFadeIn 1s var(--ease-out) both;
}

.rage-hero-tagline {
  font-size: clamp(18px, 3vw, 26px);
  color: var(--silver);
  font-weight: 400;
  margin-bottom: 48px;
  animation: heroFadeIn 1s 0.2s var(--ease-out) both;
}

.rage-hero-tagline strong {
  color: var(--text);
  font-weight: 700;
}
.rage-hero-desc {
  font-size: 15px;
  color: var(--silver);
  max-width: 560px;
  margin: -28px auto 32px;
  line-height: 1.8;
  animation: heroFadeIn 1s 0.3s var(--ease-out) both;
}

.rage-hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroFadeIn 1s 0.4s var(--ease-out) both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 768px) {
  .rage-hero-logo { width: clamp(320px, 34vw, 480px); }
  .rage-hero-glow { width: 1000px; height: 1000px; }
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn-rage {
  display: inline-block;
  padding: 16px 40px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
  transition: all 200ms var(--ease-out);
  clip-path: polygon(8px 0%, calc(100% - 8px) 0%, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0% calc(100% - 8px), 0% 8px);
}

.btn-rage-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 28px rgba(224,32,32,0.35), 0 0 64px rgba(224,32,32,0.12);
}

.btn-rage-primary:hover {
  background: #FF3535;
  box-shadow: 0 0 40px rgba(224,32,32,0.6), 0 0 80px rgba(224,32,32,0.22);
}

.btn-rage-outline {
  background: var(--bg);
  color: var(--silver);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.2);
}

.btn-rage-outline:hover {
  color: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--red);
}

/* ── Feature Cards ─────────────────────────────────────────────────────── */
.rage-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .rage-features { grid-template-columns: 1fr; }
}

.rage-feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 300ms var(--ease-out), transform 300ms var(--ease-out);
  clip-path: polygon(12px 0%, calc(100% - 12px) 0%, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0% calc(100% - 12px), 0% 12px);
}

.rage-feature-card:hover {
  border-color: rgba(224,32,32,0.3);
  transform: translateY(-4px);
}

.rage-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: opacity 300ms;
}

.rage-feature-card:hover::before {
  opacity: 1;
}

.rage-feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-dim);
  color: var(--red);
  font-size: 22px;
  margin-bottom: 20px;
  clip-path: polygon(6px 0%, calc(100% - 6px) 0%, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0% calc(100% - 6px), 0% 6px);
}

.rage-feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.rage-feature-card p {
  color: var(--silver);
  font-size: 14px;
  line-height: 1.8;
}

/* ── Section Headers ───────────────────────────────────────────────────── */
.rage-section-header {
  text-align: center;
  margin-bottom: 64px;
}

.rage-section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  font-family: var(--font-display);
}

.rage-section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}

.rage-section-subtitle {
  font-size: 16px;
  color: var(--silver);
  margin-top: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Stats Section ─────────────────────────────────────────────────────── */
.rage-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

@media (max-width: 768px) {
  .rage-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

.rage-stat-number {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
}

.rage-stat-label {
  font-size: 14px;
  color: var(--silver);
}

/* ── How It Works ──────────────────────────────────────────────────────── */
.rage-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  counter-reset: step;
}

@media (max-width: 768px) {
  .rage-steps { grid-template-columns: 1fr; gap: 32px; }
}

.rage-step {
  text-align: center;
  position: relative;
  counter-increment: step;
}

.rage-step-number {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 900;
  color: var(--red);
  text-shadow: 0 0 24px rgba(224,32,32,0.5);
  line-height: 1;
  margin-bottom: 16px;
}

.rage-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.rage-step p {
  color: var(--silver);
  font-size: 14px;
  line-height: 1.8;
}

/* ── Testimonials ──────────────────────────────────────────────────────── */
.rage-testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .rage-testimonials { grid-template-columns: 1fr; }
}

.rage-testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  clip-path: polygon(8px 0%, calc(100% - 8px) 0%, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0% calc(100% - 8px), 0% 8px);
}

.rage-testimonial-text {
  font-size: 15px;
  color: var(--silver);
  line-height: 1.9;
  margin-bottom: 20px;
  font-style: italic;
}

.rage-testimonial-author {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.rage-testimonial-role {
  font-size: 12px;
  color: var(--muted);
}

/* ── CTA Banner ────────────────────────────────────────────────────────── */
.rage-cta-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  clip-path: polygon(16px 0%, calc(100% - 16px) 0%, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0% calc(100% - 16px), 0% 16px);
}

.rage-cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.rage-cta-banner h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}

.rage-cta-banner p {
  color: var(--silver);
  font-size: 16px;
  margin-bottom: 32px;
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.rage-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
  position: relative;
  z-index: 1;
}

.rage-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .rage-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .rage-footer-grid { grid-template-columns: 1fr; }
}

.rage-footer-brand img {
  height: 36px;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.1));
}

.rage-footer-brand p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.rage-footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.rage-footer-col a {
  display: block;
  color: var(--muted);
  font-size: 13px;
  padding: 4px 0;
  transition: color 200ms;
}

.rage-footer-col a:hover {
  color: var(--red);
}

.rage-footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.rage-footer-copy {
  font-size: 12px;
  color: var(--muted);
}

.rage-footer-socials {
  display: flex;
  gap: 16px;
}

.rage-footer-socials a {
  color: var(--muted);
  font-size: 18px;
  transition: color 200ms;
}

.rage-footer-socials a:hover {
  color: var(--red);
}

/* ── Blog Cards ────────────────────────────────────────────────────────── */
.rage-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .rage-blog-grid { grid-template-columns: 1fr; }
}

.rage-blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 300ms var(--ease-out), transform 300ms var(--ease-out);
  clip-path: polygon(8px 0%, calc(100% - 8px) 0%, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0% calc(100% - 8px), 0% 8px);
}

.rage-blog-card:hover {
  border-color: rgba(224,32,32,0.3);
  transform: translateY(-4px);
}

.rage-blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.rage-blog-card-body {
  padding: 24px;
}

.rage-blog-card-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.rage-blog-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.5;
}

.rage-blog-card p {
  font-size: 13px;
  color: var(--silver);
  line-height: 1.8;
}

.rage-blog-card-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  transition: color 200ms;
}

.rage-blog-card-link:hover {
  color: #FF3535;
}

/* ── Single Post ───────────────────────────────────────────────────────── */
.rage-post {
  max-width: 760px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.rage-post-header {
  margin-bottom: 48px;
}

.rage-post-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  font-family: var(--font-display);
}

.rage-post h1 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

.rage-post-meta {
  color: var(--muted);
  font-size: 13px;
}

.rage-post-content {
  font-size: 16px;
  line-height: 2;
  color: var(--silver);
}

.rage-post-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 16px;
}

.rage-post-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 32px 0 12px;
}

.rage-post-content p {
  margin-bottom: 20px;
}

.rage-post-content img {
  border-radius: 0;
  margin: 32px 0;
  clip-path: polygon(8px 0%, calc(100% - 8px) 0%, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0% calc(100% - 8px), 0% 8px);
}

.rage-post-content blockquote {
  border-right: 3px solid var(--red);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--surface);
  color: var(--text);
  font-style: italic;
}

.rage-post-content ul, .rage-post-content ol {
  padding-right: 24px;
  margin-bottom: 20px;
}

.rage-post-content li {
  list-style: disc;
  margin-bottom: 8px;
}

.rage-post-content a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rage-post-content a:hover {
  color: #FF3535;
}

/* ── About Page ────────────────────────────────────────────────────────── */
.rage-about-hero {
  padding: 160px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.rage-about-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  margin-bottom: 20px;
}

.rage-about-hero p {
  font-size: 18px;
  color: var(--silver);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.9;
}

.rage-about-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.rage-about-content p {
  font-size: 16px;
  color: var(--silver);
  line-height: 2;
  margin-bottom: 24px;
}

.rage-about-content h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin: 48px 0 20px;
}

/* ── Contact Page ──────────────────────────────────────────────────────── */
.rage-contact {
  max-width: 600px;
  margin: 0 auto;
  padding: 160px 24px 80px;
}

.rage-contact h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  margin-bottom: 16px;
  text-align: center;
}

.rage-contact > p {
  text-align: center;
  color: var(--silver);
  margin-bottom: 48px;
}

.rage-form-group {
  margin-bottom: 24px;
}

.rage-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.rage-form-group input,
.rage-form-group select,
.rage-form-group textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 200ms;
  clip-path: polygon(6px 0%, calc(100% - 6px) 0%, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0% calc(100% - 6px), 0% 6px);
}

.rage-form-group input:focus,
.rage-form-group select:focus,
.rage-form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(224,32,32,0.12);
}

.rage-form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* ── Pagination ────────────────────────────────────────────────────────── */
.rage-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.rage-pagination a,
.rage-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--silver);
  font-size: 14px;
  font-weight: 600;
  transition: all 200ms;
  clip-path: polygon(4px 0%, calc(100% - 4px) 0%, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 0% calc(100% - 4px), 0% 4px);
}

.rage-pagination a:hover {
  border-color: var(--red);
  color: var(--text);
}

.rage-pagination .current {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ── 404 ───────────────────────────────────────────────────────────────── */
.rage-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.rage-404-code {
  font-family: var(--font-display);
  font-size: clamp(80px, 15vw, 180px);
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  opacity: 0.15;
}

.rage-404 h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

.rage-404 p {
  color: var(--silver);
  margin-bottom: 32px;
}

/* ── Animations ────────────────────────────────────────────────────────── */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── WordPress Overrides ───────────────────────────────────────────────── */
.wp-block-image img {
  clip-path: polygon(8px 0%, calc(100% - 8px) 0%, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0% calc(100% - 8px), 0% 8px);
}

.aligncenter { text-align: center; }
.alignleft { float: right; margin-left: 24px; }
.alignright { float: left; margin-right: 24px; }

/* WordPress admin bar fix */
body.admin-bar .rage-nav { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .rage-nav { top: 46px; }
}

/* ── RAGE Brand Text (Barlow Condensed everywhere) ─────────────────────── */
.rage-brand {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── FREE Badge ────────────────────────────────────────────────────────── */
.rage-free-badge {
  display: inline-block;
  padding: 6px 18px;
  background: var(--red-dim);
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-display);
  clip-path: polygon(4px 0%, calc(100% - 4px) 0%, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 0% calc(100% - 4px), 0% 4px);
  margin-bottom: 16px;
}

/* ── Clothing Banner — full screen, white inversion ─────────────────────── */
.rage-clothing-fullscreen {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: #FDFDFC;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

#rage-clothing-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.rage-clothing-fs-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
}

.rage-clothing-fs-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}

.rage-clothing-fs-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 11vw, 128px);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 0.92;
  color: #0A0A0A;
  text-transform: uppercase;
  margin-bottom: 8px;
  overflow-wrap: break-word;
}

.rage-clothing-fs-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 20px 0 28px;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.14));
  transition: transform 400ms var(--ease-out);
}

.rage-clothing-fs-content:hover .rage-clothing-fs-img {
  transform: scale(1.04);
}

.rage-clothing-fs-desc {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  color: #48484E;
  margin-bottom: 32px;
  max-width: 440px;
}

.rage-clothing-fs-btn {
  display: inline-block;
  padding: 16px 44px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: #0A0A0A;
  background: transparent;
  border: 1.5px solid #0A0A0A;
  transition: all 220ms var(--ease-out);
  clip-path: polygon(8px 0%, calc(100% - 8px) 0%, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0% calc(100% - 8px), 0% 8px);
}

.rage-clothing-fs-content:hover .rage-clothing-fs-btn {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

@media (max-width: 640px) {
  .rage-clothing-fs-img { max-width: 200px; }
  .rage-clothing-fs-desc { font-size: 14px; }
}

/* ── Privacy / Terms ───────────────────────────────────────────────────── */
.rage-legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 140px 24px 80px;
}

.rage-legal h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.rage-legal-date {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 40px;
}

.rage-legal-section {
  border-right: 3px solid var(--red);
  padding-right: 20px;
  margin-bottom: 32px;
}

.rage-legal-section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.rage-legal-section p {
  font-size: 14px;
  color: var(--silver);
  line-height: 1.9;
}

.rage-legal-links {
  margin-top: 48px;
  display: flex;
  gap: 16px;
}

.rage-legal-links a {
  font-size: 13px;
  color: var(--silver);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 200ms;
}

.rage-legal-links a:hover {
  color: var(--red);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Support Chatbox Widget ────────────────────────────────────────────── */
.rage-support-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #0D0D14;
  border: 2px solid rgba(224,32,32,0.35);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 220ms, box-shadow 220ms, transform 220ms var(--ease-spring);
  padding: 0;
}

.rage-support-btn:hover,
.rage-support-btn.active {
  border-color: rgba(224,32,32,0.7);
  box-shadow: 0 0 28px rgba(224,32,32,0.35), 0 4px 20px rgba(0,0,0,0.6);
  transform: scale(1.08);
}

.rage-support-btn svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* Panel */
.rage-support-panel {
  position: fixed;
  bottom: 96px;
  left: 20px;
  z-index: 9998;
  width: 320px;
  background: #0D0D14;
  border: 1px solid rgba(224,32,32,0.25);
  border-radius: 16px;
  box-shadow: 0 16px 60px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.03);
  overflow: hidden;
  transform-origin: bottom left;
  transform: scale(0.85) translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: transform 280ms var(--ease-spring), opacity 220ms var(--ease-out);
}

.rage-support-panel.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Panel header */
.rage-support-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: linear-gradient(135deg, #111118, #0D0D14);
  border-bottom: 1px solid rgba(224,32,32,0.15);
}

.rage-support-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rage-support-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #27AE60;
  box-shadow: 0 0 6px rgba(39,174,96,0.7);
  animation: rage-pulse-dot 2s infinite;
  flex-shrink: 0;
}

@keyframes rage-pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.rage-support-header-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rage-support-header-title strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

.rage-support-header-title span {
  font-size: 11px;
  color: var(--muted);
}

.rage-support-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 180ms, background 180ms;
}

.rage-support-close:hover {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

/* FAQ section */
.rage-support-faq {
  max-height: 320px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.rage-support-faq::-webkit-scrollbar { width: 4px; }
.rage-support-faq::-webkit-scrollbar-track { background: transparent; }
.rage-support-faq::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.rage-faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.rage-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 18px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: background 180ms;
  user-select: none;
  width: 100%;
  background: none;
  border: none;
  text-align: right;
  font-family: var(--font-body);
}

.rage-faq-question:hover {
  background: rgba(255,255,255,0.03);
}

.rage-faq-question.open {
  color: var(--red);
}

.rage-faq-chevron {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  transition: transform 250ms var(--ease-out);
  color: var(--muted);
}

.rage-faq-question.open .rage-faq-chevron {
  transform: rotate(180deg);
  color: var(--red);
}

.rage-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 280ms var(--ease-out);
}

.rage-faq-answer-inner {
  padding: 0 18px 14px;
  font-size: 13px;
  color: var(--silver);
  line-height: 1.8;
}

/* Contact fallback section */
.rage-support-contact {
  border-top: 1px solid rgba(224,32,32,0.15);
  padding: 14px 18px;
  background: rgba(224,32,32,0.04);
}

.rage-support-contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  font-family: var(--font-display);
}

.rage-support-channels {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rage-support-channel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 200ms, background 200ms;
}

.rage-support-channel:hover {
  border-color: rgba(224,32,32,0.35);
  background: rgba(224,32,32,0.06);
  color: var(--text);
}

.rage-support-channel-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rage-support-channel-icon.instagram { background: rgba(225,48,108,0.15); }
.rage-support-channel-icon.telegram  { background: rgba(36,161,222,0.15); }
.rage-support-channel-icon.phone     { background: rgba(224,32,32,0.15); }

.rage-support-channel-icon svg { width: 16px; height: 16px; }
.rage-support-socials {
  display: flex;
  gap: 0;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
}
.rage-support-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 48px;
  border-radius: 10px;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  margin: 0 4px;
  transition: background 0.18s, transform 0.15s;
  text-decoration: none;
}
.rage-support-social-btn:hover {
  background: var(--border);
  transform: translateY(-2px);
}

.rage-support-channel-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.rage-support-channel-meta small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}

/* Backdrop */
.rage-support-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9997;
  display: none;
}

.rage-support-backdrop.open {
  display: block;
}

@media (max-width: 400px) {
  .rage-support-panel {
    width: calc(100vw - 24px);
    left: 12px;
    bottom: 88px;
  }
  .rage-support-btn {
    left: 12px;
    bottom: 16px;
  }
}

/* ── Section intro paragraph (GEO: citable passage container) ── */
.rage-section-intro {
  max-width: 800px;
  margin: 0 auto 48px;
  color: var(--silver);
  font-size: 15px;
  line-height: 1.9;
  text-align: center;
}

/* ── Team member block (E-E-A-T) ── */
.rage-team-member {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 32px;
  margin: 24px 0 8px;
}
.rage-team-member-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}
.rage-team-member h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 4px;
}
.rage-team-role {
  color: var(--red);
  font-weight: 600;
  font-size: 0.875rem;
  margin: 0;
}

/* ── In-post CTA block ── */
.rage-post-cta {
  background: linear-gradient(135deg, var(--surface), var(--bg2));
  border: 1px solid var(--red);
  border-radius: 14px;
  padding: 28px 32px;
  margin: 48px 0;
  text-align: center;
}
.rage-post-cta p { margin-bottom: 12px; color: var(--silver); }
.rage-post-cta p:first-child { color: var(--white); font-weight: 700; font-size: 1.05rem; }


/* ── BMI Scale (horizontal gauge) ───────────────────────────────────────── */
.rage-bmi-scale-wrap {
  margin-top: 32px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.rage-bmi-scale {
  position: relative;
  display: flex;
  height: 14px;
  overflow: visible;
}

.rage-bmi-seg {
  height: 100%;
}

.rage-bmi-seg:first-child {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

.rage-bmi-seg:last-child {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

.rage-bmi-marker {
  position: absolute;
  top: -6px;
  left: 0%;
  width: 3px;
  height: 26px;
  background: var(--text);
  transform: translateX(-50%);
  transition: left 500ms var(--ease-out);
  box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.rage-bmi-scale-labels {
  position: relative;
  height: 16px;
  margin-top: 8px;
}

.rage-bmi-scale-labels span {
  position: absolute;
  font-size: 11px;
  color: var(--muted);
  transform: translateX(-50%);
  white-space: nowrap;
}

.rage-bmi-scale-labels span:first-child {
  transform: translateX(0%);
}

/* ── Comments ──────────────────────────────────────────────────────────── */
.rage-comments {
  max-width: 720px;
  margin: 64px auto 0;
  padding: 0 24px 80px;
}

.rage-comments-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 32px;
}

.rage-comment-list,
.rage-comment-list .children {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rage-comment-list .children {
  margin-top: 16px;
  margin-right: 0;
  padding-right: 16px;
  border-right: 2px solid var(--border);
}

.rage-comment {
  margin-bottom: 20px;
}

.rage-comment-body {
  display: flex;
  gap: 12px;
}

.rage-comment-avatar img {
  border-radius: 50%;
  display: block;
}

.rage-comment-main {
  flex: 1;
  min-width: 0;
}

/* ── Chat bubble ── */
.rage-comment-bubble {
  display: inline-block;
  max-width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 16px 4px 16px 16px;
  padding: 12px 16px;
}

.rage-comment-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.rage-comment-author {
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
}

.rage-comment-badge {
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 4px;
}

.rage-comment-date {
  font-size: 11px;
  color: var(--muted);
}

.rage-comment-pending {
  font-size: 12px;
  color: #E0A020;
  margin-bottom: 8px;
}

.rage-comment-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--silver);
}

.rage-comment-text p {
  margin-bottom: 10px;
}

.rage-comment-text p:last-child {
  margin-bottom: 0;
}

/* ── Admin bubble: brand red, flows in-thread right under the comment it answers ── */
.rage-comment-admin > .rage-comment-body > .rage-comment-main > .rage-comment-bubble {
  background: rgba(224,32,32,0.10);
  border-color: rgba(224,32,32,0.45);
  box-shadow: 0 0 28px rgba(224,32,32,0.10);
}

.rage-comment-admin > .rage-comment-body > .rage-comment-main > .rage-comment-bubble .rage-comment-author {
  color: var(--red);
}

.rage-comment-admin > .rage-comment-body > .rage-comment-main > .rage-comment-bubble .rage-comment-text {
  color: var(--text);
}

.comment-reply-link,
.comment-reply-login {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  cursor: pointer;
}

.rage-comment-notice {
  font-size: 12px;
  color: var(--muted);
  margin-top: -8px;
  margin-bottom: 16px;
}

.rage-comments-closed {
  color: var(--silver);
  font-size: 14px;
}

#respond {
  margin-top: 40px;
}

#respond .comment-reply-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
  display: block;
}

#respond .comment-reply-title small a {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  margin-right: 8px;
}

@media (max-width: 768px) {
  .rage-comments {
    padding: 0 16px 60px;
  }

  .rage-comment-list .children {
    margin-right: 0;
    padding-right: 10px;
  }

  .rage-comment-avatar img {
    width: 32px;
    height: 32px;
  }

  .rage-comment-body {
    gap: 10px;
  }
}

/* ── Comment auth states ──────────────────────────────────────────────── */
.rage-comment-must-login {
  font-size: 14px;
  color: var(--silver);
  line-height: 1.8;
  margin-bottom: 16px;
}

.rage-comment-auth-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.rage-comment-auth-actions .btn-rage {
  text-decoration: none;
}

.rage-comment-logged-in {
  font-size: 13px;
  color: var(--silver);
  margin-bottom: 20px;
}

.rage-comment-logged-in a {
  color: var(--red);
}

/* ── Post-content CTA buttons ─────────────────────────────────────────────
   .rage-post-content a (red link color) outranks .btn-rage-primary's white
   text, producing red-on-red (invisible) buttons inside blog posts. */
.rage-post-content a.btn-rage {
  text-decoration: none;
}

.rage-post-content a.btn-rage-primary,
.rage-post-content a.btn-rage-primary:hover {
  color: #fff;
}

.rage-post-content a.btn-rage-outline {
  color: var(--silver);
}

.rage-post-content a.btn-rage-outline:hover {
  color: var(--text);
}

/* ── Comment show-more / pinned-reply toggles ─────────────────────────── */
.rage-toggle-row {
  list-style: none;
  margin: 12px 0;
}

.rage-toggle-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--red);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.rage-toggle-btn:hover {
  color: #FF3535;
  text-decoration: underline;
}

.rage-load-more-row {
  text-align: center;
  margin-top: 32px;
}

.rage-load-more-row .btn-rage {
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  padding: 12px 32px;
  font-size: 14px;
}

.rage-field-error {
  display: none;
  color: #E02020;
  font-size: 12px;
  margin-top: 4px;
}

.rage-field-error:not([hidden]) {
  display: block;
}

/* ── Blog Filters ──────────────────────────────────────────────────────── */
.rage-blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
}

.rage-blog-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--silver);
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all 200ms var(--ease-out);
  clip-path: polygon(6px 0%, calc(100% - 6px) 0%, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0% calc(100% - 6px), 0% 6px);
}

.rage-blog-filter:hover {
  color: var(--text);
  border-color: rgba(224,32,32,0.4);
}

.rage-blog-filter.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.rage-blog-filter-count {
  font-size: 11px;
  opacity: 0.7;
}

/* ── Featured Post ─────────────────────────────────────────────────────── */
.rage-blog-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 40px;
  text-decoration: none;
  transition: border-color 300ms var(--ease-out);
  clip-path: polygon(12px 0%, calc(100% - 12px) 0%, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0% calc(100% - 12px), 0% 12px);
}

.rage-blog-featured:hover {
  border-color: rgba(224,32,32,0.3);
}

.rage-blog-featured-img-wrap {
  overflow: hidden;
  min-height: 280px;
}

.rage-blog-featured-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 600ms var(--ease-out);
}

.rage-blog-featured:hover .rage-blog-featured-img {
  transform: scale(1.06);
}

.rage-blog-featured-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rage-blog-featured-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-dim);
  padding: 6px 14px;
  margin-bottom: 16px;
  font-family: var(--font-display);
}

.rage-blog-featured-body h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 12px;
}

.rage-blog-featured-body p {
  font-size: 14px;
  color: var(--silver);
  line-height: 1.9;
  margin-bottom: 16px;
}

@media (max-width: 800px) {
  .rage-blog-featured { grid-template-columns: 1fr; }
  .rage-blog-featured-img-wrap,
  .rage-blog-featured-img { min-height: 220px; }
}

/* ── Blog Card Image Zoom + Placeholder ───────────────────────────────── */
.rage-blog-card-img-wrap {
  overflow: hidden;
}

.rage-blog-card-img {
  transition: transform 600ms var(--ease-out);
}

.rage-blog-card:hover .rage-blog-card-img {
  transform: scale(1.08);
}

.rage-blog-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--surface), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Nav RTL order: logo left, menu right ─────────────────────────────── */
.rage-nav {
  flex-direction: row-reverse;
}

.rage-nav-login {
  padding: 8px 20px;
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.25);
  clip-path: polygon(6px 0%, calc(100% - 6px) 0%, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0% calc(100% - 6px), 0% 6px);
  transition: box-shadow 200ms var(--ease-out), color 200ms;
}

.rage-nav-login:hover {
  color: #fff;
  box-shadow: inset 0 0 0 1.5px var(--red);
}

.rage-nav-links a.rage-nav-login::after {
  display: none;
}

.rage-about-content ul {
  margin: 0 0 24px;
  padding-right: 20px;
  color: var(--silver);
  font-size: 16px;
  line-height: 2;
}

.rage-about-content li {
  margin-bottom: 6px;
}

.rage-about-content li::marker {
  color: var(--red);
}

.rage-about-hero-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin: 4px auto 20px;
  max-width: 600px;
}

.rage-calorie-tiles {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-top: 28px;
}

@media (max-width: 900px) {
  .rage-calorie-tiles {
    grid-template-columns: repeat(4, 1fr);
  }
}

.rage-calorie-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 18px 12px;
  text-align: center;
  clip-path: polygon(8px 0%, calc(100% - 8px) 0%, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0% calc(100% - 8px), 0% 8px);
}

.rage-calorie-tile-highlight {
  border-color: rgba(39,174,96,0.4);
  background: rgba(39,174,96,0.06);
}

.rage-calorie-tile-label {
  font-size: 11px;
  color: var(--silver);
  margin-bottom: 8px;
  line-height: 1.4;
  min-height: 30px;
}

.rage-calorie-tile-value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.rage-calorie-tile-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}

@media (max-width: 600px) {
  .rage-calorie-tiles {
    grid-template-columns: repeat(2, 1fr);
  }

  .rage-calorie-tile-value {
    font-size: 18px;
  }
}
