/* ============================================
           ROBO MISSION PAGE — WRO Green/Orange Theme
           ============================================ */
.robo-mission-page {
  --rm-primary: #00C853;
  --rm-secondary: #FF6D00;
  --rm-accent: #00BFA5;
  --rm-dark: #0a1628;
  --rm-surface: rgba(0, 200, 83, 0.04);
  --rm-glow: rgba(0, 200, 83, 0.3);
  --rm-gradient: linear-gradient(135deg, #00C853, #00BFA5);
  --rm-gradient-warm: linear-gradient(135deg, #FF6D00, #FFab00);
}

/* Loading Screen */
.rm-loader {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== HERO FIX: Override parent .container grid from competition-page.css ===== */
.robo-mission-page .competition-hero .container {
  display: block !important;
  grid-template-columns: none !important;
}

.robo-mission-page .hero-content {
  max-width: none !important;
}

.robo-mission-page .competition-hero {
  --hero-accent: #00C853;
  --hero-accent-2: #FF6D00;
}

/* Hero Title Gradients */
.robo-mission-page .hero-title .title-accent {
  background: linear-gradient(135deg, #00C853, #00E676);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.robo-mission-page .hero-title .title-main {
  background: linear-gradient(135deg, #FF6D00, #FFab00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Badges */
.robo-mission-page .badge-category {
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.15), rgba(255, 109, 0, 0.15));
  border: 1px solid rgba(0, 200, 83, 0.3);
  color: var(--rm-primary);
}

.robo-mission-page .badge-level {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
}

.robo-mission-page .badge-level.badge-wro {
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.2), rgba(0, 191, 165, 0.2));
  border-color: rgba(0, 200, 83, 0.4);
  color: #00E676;
}

.robo-mission-page .badge-level.badge-avtonom {
  background: linear-gradient(135deg, rgba(255, 109, 0, 0.2), rgba(255, 171, 0, 0.2));
  border-color: rgba(255, 109, 0, 0.4);
  color: #FFab00;
}

/* Orb overrides */
.robo-mission-page .orb-1 {
  background: radial-gradient(circle, rgba(0, 200, 83, 0.15), transparent 70%) !important;
}

.robo-mission-page .orb-2 {
  background: radial-gradient(circle, rgba(255, 109, 0, 0.1), transparent 70%) !important;
}

.robo-mission-page .orb-3 {
  background: radial-gradient(circle, rgba(0, 191, 165, 0.08), transparent 70%) !important;
}

/* ===== HERO GRID — Full width 2-column layout ===== */
.rm-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.rm-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.rm-hero-visual img {
  width: 100%;
  max-width: 100%;
  border-radius: 20px;
  border: 2px solid rgba(0, 200, 83, 0.2);
  box-shadow: 0 25px 80px rgba(0, 200, 83, 0.18), 0 0 0 1px rgba(0, 200, 83, 0.05);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.rm-hero-visual img:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 100px rgba(0, 200, 83, 0.25), 0 0 0 1px rgba(0, 200, 83, 0.1);
}

/* Glow effect behind hero image */
.rm-hero-visual::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(0, 200, 83, 0.12), transparent 70%);
  border-radius: 30px;
  z-index: -1;
}

/* Stats row in hero */
.rm-hero-stats {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.rm-hero-stat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 200, 83, 0.12);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.rm-hero-stat:hover {
  border-color: rgba(0, 200, 83, 0.35);
  background: rgba(0, 200, 83, 0.06);
  transform: translateY(-2px);
}

.rm-hero-stat .stat-icon {
  width: 22px;
  height: 22px;
  color: var(--rm-primary);
  flex-shrink: 0;
}

.rm-hero-stat .stat-value {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.rm-hero-stat .stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== SECTION SPACING OVERRIDE ===== */
.robo-mission-page .competition-section {
  position: relative;
  padding: 100px 0;
}

.robo-mission-page .competition-section .section-header {
  margin-bottom: 3.5rem;
}

/* Section Tag Override */
.robo-mission-page .section-tag {
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.1), rgba(0, 191, 165, 0.1));
  border: 1px solid rgba(0, 200, 83, 0.25);
  color: var(--rm-primary);
}

.robo-mission-page .section-title {
  font-family: 'Orbitron', sans-serif;
}

.robo-mission-page .section-subtitle {
  color: rgba(255, 255, 255, 0.55);
}

/* Overview Section */
.rm-overview-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.rm-overview-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
}

.rm-info-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 200, 83, 0.15);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.rm-info-card h4 {
  font-family: 'Orbitron', monospace;
  font-size: 1rem;
  color: var(--rm-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rm-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rm-info-row:last-child {
  border-bottom: none;
}

.rm-info-row .label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.rm-info-row .value {
  font-weight: 600;
  color: #fff;
  font-size: 0.9rem;
}

/* Focus Areas */
.rm-focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.rm-focus-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 200, 83, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.4s ease;
}

.rm-focus-card:hover {
  border-color: rgba(0, 200, 83, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 200, 83, 0.1);
}

.rm-focus-card .focus-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.1), rgba(0, 191, 165, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rm-focus-card .focus-icon svg {
  width: 24px;
  height: 24px;
  color: var(--rm-primary);
}

.rm-focus-card h4 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.rm-focus-card p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

/* Age Groups Section */
.rm-age-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.rm-age-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.rm-age-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 20px 20px 0 0;
}

.rm-age-card.elementary::before {
  background: var(--rm-gradient);
}

.rm-age-card.senior::before {
  background: linear-gradient(135deg, #7c4dff, #b388ff);
}

.rm-age-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 200, 83, 0.3);
  box-shadow: 0 16px 48px rgba(0, 200, 83, 0.1);
}

.rm-age-card .age-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.2rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rm-age-card.elementary .age-icon {
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.15), rgba(0, 230, 118, 0.1));
}

.rm-age-card.senior .age-icon {
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.15), rgba(179, 136, 255, 0.1));
}

.rm-age-card .age-icon svg {
  width: 28px;
  height: 28px;
}

.rm-age-card.elementary .age-icon svg {
  color: var(--rm-primary);
}

.rm-age-card.senior .age-icon svg {
  color: #b388ff;
}

.rm-age-card h3 {
  font-family: 'Orbitron', monospace;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.3rem;
}

.rm-age-card .age-range {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0.5rem 0;
}

.rm-age-card.elementary .age-range {
  color: var(--rm-primary);
}

.rm-age-card.senior .age-range {
  color: #b388ff;
}

.rm-age-card .age-detail {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

.rm-age-card .age-specs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rm-age-card .age-spec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  font-size: 0.8rem;
}

.rm-age-card .age-spec .spec-label {
  color: rgba(255, 255, 255, 0.5);
}

.rm-age-card .age-spec .spec-value {
  color: #fff;
  font-weight: 600;
}

/* Robot Specs Section */
.rm-robot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.rm-robot-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 200, 83, 0.1);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: all 0.4s ease;
}

.rm-robot-card:hover {
  border-color: rgba(0, 200, 83, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 200, 83, 0.08);
}

.rm-robot-card .robot-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.1), rgba(0, 191, 165, 0.08));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rm-robot-card .robot-icon svg {
  width: 26px;
  height: 26px;
  color: var(--rm-primary);
}

.rm-robot-card h4 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

.rm-robot-card .robot-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--rm-primary);
  margin-bottom: 0.3rem;
}

.rm-robot-card p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

/* Field Section */
.rm-field-container {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 200, 83, 0.15);
  border-radius: 20px;
  padding: 2.5rem;
  margin-top: 2rem;
}

.rm-field-svg {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.rm-field-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.rm-field-stat {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.rm-field-stat .field-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rm-primary);
}

.rm-field-stat .field-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.3rem;
}

/* Competition Format */
.rm-format-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.rm-format-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.rm-format-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.rm-format-card.season::after {
  background: var(--rm-gradient);
}

.rm-format-card.surprise::after {
  background: var(--rm-gradient-warm);
}

.rm-format-card.extra::after {
  background: linear-gradient(180deg, #7c4dff, #b388ff);
}

.rm-format-card.skill::after {
  background: linear-gradient(180deg, #00bcd4, #00e5ff);
}

.rm-format-card:hover {
  border-color: rgba(0, 200, 83, 0.25);
  transform: translateY(-3px);
}

.rm-format-card .format-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.rm-format-card .format-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rm-format-card.season .format-icon {
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.15), rgba(0, 230, 118, 0.1));
  color: var(--rm-primary);
}

.rm-format-card.surprise .format-icon {
  background: linear-gradient(135deg, rgba(255, 109, 0, 0.15), rgba(255, 171, 0, 0.1));
  color: var(--rm-secondary);
}

.rm-format-card.extra .format-icon {
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.15), rgba(179, 136, 255, 0.1));
  color: #b388ff;
}

.rm-format-card.skill .format-icon {
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.15), rgba(0, 229, 255, 0.1));
  color: #00e5ff;
}

.rm-format-card .format-icon svg {
  width: 20px;
  height: 20px;
}

.rm-format-card h4 {
  font-size: 1rem;
  color: #fff;
}

.rm-format-card .format-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.rm-format-card.season .format-tag {
  background: rgba(0, 200, 83, 0.15);
  color: var(--rm-primary);
}

.rm-format-card.surprise .format-tag {
  background: rgba(255, 109, 0, 0.15);
  color: var(--rm-secondary);
}

.rm-format-card.extra .format-tag {
  background: rgba(124, 77, 255, 0.15);
  color: #b388ff;
}

.rm-format-card.skill .format-tag {
  background: rgba(0, 188, 212, 0.15);
  color: #00e5ff;
}

.rm-format-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* Scoring Section */
.rm-scoring-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.rm-scoring-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 200, 83, 0.12);
  border-radius: 16px;
  padding: 2rem;
}

.rm-scoring-card h4 {
  font-family: 'Orbitron', monospace;
  font-size: 1rem;
  color: var(--rm-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rm-scoring-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 4px;
}

.rm-scoring-table th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.4);
  padding: 0.5rem 0.75rem;
  text-align: left;
}

.rm-scoring-table td {
  padding: 0.6rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.rm-scoring-table tr td:first-child {
  border-radius: 8px 0 0 8px;
}

.rm-scoring-table tr td:last-child {
  border-radius: 0 8px 8px 0;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: var(--rm-primary);
}

/* Certification Badges */
.rm-cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.rm-cert-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.4s ease;
}

.rm-cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.rm-cert-card .cert-medal {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.rm-cert-card.gold .cert-medal {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 160, 0, 0.15));
  border: 2px solid rgba(255, 193, 7, 0.4);
}

.rm-cert-card.silver .cert-medal {
  background: linear-gradient(135deg, rgba(176, 190, 197, 0.2), rgba(144, 164, 174, 0.15));
  border: 2px solid rgba(176, 190, 197, 0.4);
}

.rm-cert-card.bronze .cert-medal {
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.2), rgba(230, 126, 34, 0.15));
  border: 2px solid rgba(255, 152, 0, 0.4);
}

.rm-cert-card.participation .cert-medal {
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.15), rgba(0, 191, 165, 0.1));
  border: 2px solid rgba(0, 200, 83, 0.3);
}

.rm-cert-card h4 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.3rem;
}

.rm-cert-card .cert-range {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 600;
}

.rm-cert-card.gold .cert-range {
  color: #ffc107;
}

.rm-cert-card.silver .cert-range {
  color: #b0bec5;
}

.rm-cert-card.bronze .cert-range {
  color: #ff9800;
}

.rm-cert-card.participation .cert-range {
  color: var(--rm-primary);
}

/* Rules section */
.rm-rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.rm-rule-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.4s ease;
}

.rm-rule-card:hover {
  border-color: rgba(255, 109, 0, 0.3);
  transform: translateY(-3px);
}

.rm-rule-card .rule-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.rm-rule-card .rule-icon.danger {
  background: linear-gradient(135deg, rgba(244, 67, 54, 0.15), rgba(229, 57, 53, 0.1));
}

.rm-rule-card .rule-icon.danger svg {
  color: #ef5350;
}

.rm-rule-card .rule-icon.warning {
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.15), rgba(255, 109, 0, 0.1));
}

.rm-rule-card .rule-icon.warning svg {
  color: var(--rm-secondary);
}

.rm-rule-card .rule-icon.info {
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.15), rgba(0, 191, 165, 0.1));
}

.rm-rule-card .rule-icon.info svg {
  color: var(--rm-primary);
}

.rm-rule-card .rule-icon svg {
  width: 22px;
  height: 22px;
}

.rm-rule-card h4 {
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.rm-rule-card p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

/* Robot Platforms */
.rm-platforms-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.rm-platform-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.4s ease;
}

.rm-platform-card:hover {
  border-color: rgba(0, 200, 83, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 200, 83, 0.08);
}

.rm-platform-card .platform-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.08), rgba(0, 191, 165, 0.06));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rm-platform-card .platform-icon svg {
  width: 24px;
  height: 24px;
  color: var(--rm-primary);
}

.rm-platform-card h4 {
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.rm-platform-card p {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Gallery */
.rm-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.rm-gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.rm-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.rm-gallery-item:hover img {
  transform: scale(1.08);
}

.rm-gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 200, 83, 0.2));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.rm-gallery-item:hover::after {
  opacity: 1;
}

/* CTA Section */
.rm-cta {
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.08), rgba(255, 109, 0, 0.05));
  border: 1px solid rgba(0, 200, 83, 0.15);
  border-radius: 24px;
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.rm-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(0, 200, 83, 0.05), transparent 50%);
  animation: rm-cta-pulse 6s ease-in-out infinite;
}

@keyframes rm-cta-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.rm-cta h2 {
  font-family: 'Orbitron', monospace;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
}

.rm-cta p {
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
}

.rm-cta .cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.rm-cta .btn-rm-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--rm-gradient);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.rm-cta .btn-rm-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 200, 83, 0.3);
}

.rm-cta .btn-rm-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--rm-primary);
  border: 1px solid rgba(0, 200, 83, 0.3);
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.rm-cta .btn-rm-outline:hover {
  background: rgba(0, 200, 83, 0.1);
  border-color: rgba(0, 200, 83, 0.5);
  transform: translateY(-2px);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
  .rm-platforms-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .rm-rules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .rm-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .rm-hero-visual {
    order: -1;
  }

  .rm-hero-visual img {
    max-width: 500px;
  }

  .rm-hero-stats {
    justify-content: center;
  }

  .rm-overview-grid {
    grid-template-columns: 1fr;
  }

  .rm-age-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 700px;
  }

  .rm-robot-grid {
    grid-template-columns: 1fr;
  }

  .rm-format-grid {
    grid-template-columns: 1fr;
  }

  .rm-scoring-grid {
    grid-template-columns: 1fr;
  }

  .rm-cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rm-rules-grid {
    grid-template-columns: 1fr;
  }

  .rm-platforms-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .rm-field-info {
    grid-template-columns: repeat(2, 1fr);
  }

  .rm-focus-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .robo-mission-page .competition-section {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .rm-focus-grid {
    grid-template-columns: 1fr;
  }

  .rm-gallery-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .rm-cta {
    padding: 2.5rem 1.5rem;
  }

  .rm-cta h2 {
    font-size: 1.4rem;
  }

  .rm-hero-visual img {
    max-width: 100%;
  }

  .rm-platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rm-age-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .robo-mission-page .competition-section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .rm-hero-stats {
    flex-direction: column;
    align-items: center;
  }

  .rm-cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rm-field-info {
    grid-template-columns: 1fr;
  }

  .rm-platforms-grid {
    grid-template-columns: 1fr;
  }
}