/* ============================================
   Roaring Burst Play — Minimal Editorial Stylesheet
   Black + White + Crimson. No radius. No shadows.
   Thin lines. Huge type. Extreme whitespace.
   ============================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video, canvas {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

input, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.1;
  font-weight: 800;
}

/* --- Design Tokens --- */
:root {
  --primary: #DC2626;
  --primary-dark: #B91C1C;
  --primary-light: #FCA5A5;
  --accent: #DC2626;
  --accent-dark: #991B1B;
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --text: #111111;
  --text-muted: #6B7280;
  --font: 'Inter', sans-serif;
  --max-w: 1060px;
  --divider: #e5e5e5;
  --transition: all 0.2s ease;
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-6: 48px;
  --sp-8: 64px;
  --sp-12: 96px;
  --sp-16: 120px;
}

/* --- Layout Utilities --- */
.rb-wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

.rb-section {
  padding: var(--sp-16) 0;
  border-top: 1px solid var(--divider);
}

.rb-heading {
  text-align: center;
  margin-bottom: var(--sp-8);
}

.rb-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--sp-2);
  letter-spacing: -0.02em;
}

.rb-heading p {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 560px;
  margin: 0 auto;
  font-weight: 400;
  line-height: 1.7;
}

.rb-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--text);
  color: var(--text);
  margin-bottom: var(--sp-3);
  border-radius: 0;
}

/* --- Gradient / Accent Text --- */
.rb-gradient-text,
.rb-accent {
  color: var(--primary);
}

/* --- Screen Reader Only --- */
.rb-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Scroll Reveal --- */
.rb-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.rb-reveal-active,
.rb-reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Buttons --- */
.rb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-weight: 700;
  font-size: 0.9375rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 0;
  letter-spacing: 0.02em;
}

.rb-btn-primary {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}

.rb-btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.rb-btn-secondary {
  background: var(--text);
  color: #fff;
  border: 2px solid var(--text);
}

.rb-btn-secondary:hover {
  background: #333;
  border-color: #333;
}

.rb-btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--text);
}

.rb-btn-outline:hover {
  background: var(--text);
  color: #fff;
}

.rb-btn-glow {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}

.rb-btn-glow:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.rb-btn-lg {
  padding: 18px 40px;
  font-size: 1.0625rem;
}

/* --- Header --- */
.rb-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--surface);
  border-bottom: 1px solid var(--divider);
  transition: box-shadow 0.2s ease;
}

.rb-header--scrolled {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.rb-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-3);
  height: 64px;
}

.rb-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.rb-logo-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.rb-nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.rb-nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.rb-nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: var(--transition);
}

.rb-nav-desktop a:hover,
.rb-nav-desktop a.active {
  color: var(--text);
}

.rb-nav-desktop a:hover::after,
.rb-nav-desktop a.active::after {
  width: 100%;
}

.rb-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.rb-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

/* --- Mobile Nav --- */
.rb-nav-mobile {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--divider);
  z-index: 999;
  padding: var(--sp-4) var(--sp-3);
  flex-direction: column;
  gap: 0;
}

.rb-nav-mobile.is-open {
  display: flex;
}

.rb-nav-mobile a {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  padding: var(--sp-2) 0;
  display: block;
  border-bottom: 1px solid var(--divider);
  transition: var(--transition);
  letter-spacing: -0.02em;
}

.rb-nav-mobile a:hover {
  color: var(--primary);
}

.rb-nav-mobile a:last-child {
  border-bottom: none;
}

/* --- Hero --- */
.rb-hero {
  padding: var(--sp-16) 0 0;
  background: var(--surface);
}

.rb-hero-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

.rb-hero-text {
  max-width: 780px;
  margin-bottom: var(--sp-8);
}

.rb-hero-text h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-bottom: var(--sp-4);
}

.rb-hero-text p {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  font-weight: 400;
}

.rb-hero-actions {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-bottom: var(--sp-12);
}

.rb-hero-visual {
  border-top: 1px solid var(--divider);
  padding-top: var(--sp-8);
  margin-top: var(--sp-8);
}

.rb-hero-preview {
  border: 1px solid var(--divider);
  background: var(--surface);
  overflow: hidden;
}

.rb-hero-preview iframe {
  width: 100%;
  min-height: 500px;
  display: block;
  border: none;
}

.rb-hero-preview-label {
  padding: var(--sp-2) var(--sp-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--divider);
}

.rb-hero-preview-label span {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

/* --- Features --- */
.rb-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--divider);
}

.rb-feature-card {
  padding: var(--sp-6) var(--sp-4);
  border-right: 1px solid var(--divider);
  transition: var(--transition);
}

.rb-feature-card:last-child,
.rb-feature-card:nth-child(3) {
  border-right: none;
}

.rb-feature-card:nth-child(n+4) {
  border-top: 1px solid var(--divider);
}

.rb-feature-card:hover {
  outline: 1px solid var(--text);
}

.rb-feature-icon {
  font-size: 1.75rem;
  margin-bottom: var(--sp-3);
  line-height: 1;
}

.rb-feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--sp-1);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rb-feature-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  font-weight: 400;
}

/* --- Steps --- */
.rb-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--divider);
  border-left: 1px solid var(--divider);
  position: relative;
}

.rb-steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: var(--divider);
  z-index: 0;
}

.rb-step-card {
  padding: var(--sp-4);
  border-right: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  position: relative;
  z-index: 1;
}

.rb-step-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: var(--sp-3);
  display: block;
}

.rb-step-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: var(--sp-1);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rb-step-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* --- Game Section --- */
.rb-game-bg {
  background: var(--surface);
}

.rb-game-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

.rb-game-card {
  border: 1px solid var(--divider);
  overflow: hidden;
  background: var(--surface);
}

.rb-game-frame {
  position: relative;
  background: #111;
}

.rb-game-fullscreen {
  position: absolute;
  top: var(--sp-2);
  right: var(--sp-2);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.125rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  border-radius: 0;
}

.rb-game-fullscreen:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.rb-game-details {
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--divider);
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.rb-game-details h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rb-game-warning {
  color: var(--text-muted);
  font-size: 0.8125rem;
  text-align: center;
  padding: var(--sp-2) var(--sp-3);
  border-top: 1px solid var(--divider);
  font-style: italic;
}

/* --- FAQ --- */
.rb-faq-list {
  max-width: 780px;
  margin: 0 auto;
  border-top: 1px solid var(--divider);
}

.rb-faq-item {
  border-bottom: 1px solid var(--divider);
}

.rb-faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  background: none;
  border: none;
  transition: var(--transition);
  gap: var(--sp-3);
}

.rb-faq-toggle:hover {
  color: var(--primary);
}

.rb-faq-chevron {
  font-size: 1.25rem;
  font-weight: 300;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  color: var(--text-muted);
  line-height: 1;
}

.rb-faq-item.is-open .rb-faq-chevron,
.rb-faq-item.rb-faq-item--open .rb-faq-chevron {
  transform: rotate(45deg);
  color: var(--primary);
}

.rb-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.rb-faq-text {
  padding: 0 0 var(--sp-4);
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.8;
}

/* --- CTA Banner --- */
.rb-cta-section {
  background: var(--primary);
  padding: var(--sp-16) 0;
}

.rb-cta-section .rb-wrap {
  text-align: center;
}

.rb-cta-section h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-3);
}

.rb-cta-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  margin-bottom: var(--sp-6);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.rb-cta-section .rb-btn-glow {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.rb-cta-section .rb-btn-glow:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

/* --- Article --- */
.rb-article-bg {
  background: var(--surface);
}

.rb-article-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

.rb-article-body h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-6);
  line-height: 1.15;
}

.rb-article-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: var(--sp-6) 0 var(--sp-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}

.rb-article-body p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: var(--sp-4);
}

.rb-article-body p:first-of-type::first-letter {
  font-size: 3.5rem;
  font-weight: 900;
  float: left;
  line-height: 0.85;
  margin-right: 8px;
  margin-top: 4px;
  color: var(--primary);
  letter-spacing: -0.02em;
}

/* --- Footer --- */
.rb-footer {
  background: var(--text);
  color: #fff;
  padding: var(--sp-12) 0 var(--sp-6);
}

.rb-footer-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-6);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-3);
  margin-bottom: var(--sp-8);
}

.rb-footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.rb-footer-brand .footer-logo {
  font-size: 1.125rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

.rb-footer-brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  line-height: 1.7;
  font-weight: 400;
}

.rb-footer-age {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--sp-1);
  width: fit-content;
}

.rb-footer-links h4 {
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: var(--sp-3);
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.rb-footer-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.rb-footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: var(--transition);
  display: block;
  padding: 2px 0;
  font-weight: 400;
}

.rb-footer-links a:hover {
  color: #fff;
}

.rb-footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-4) var(--sp-3) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.rb-footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.rb-footer-disclaimer {
  margin-top: var(--sp-1);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
}

/* --- Age Modal --- */
.rb-modal-overlay,
#ageModal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 17, 17, 0.85);
}

.rb-modal {
  background: var(--surface);
  border: 1px solid var(--divider);
  padding: var(--sp-8) var(--sp-6);
  max-width: 440px;
  width: 90%;
  text-align: center;
}

.rb-modal__icon {
  font-size: 2.5rem;
  margin-bottom: var(--sp-4);
  line-height: 1;
}

.rb-modal__title {
  font-size: 1.5rem;
  margin-bottom: var(--sp-2);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.rb-modal__text {
  color: var(--text-muted);
  margin-bottom: var(--sp-6);
  line-height: 1.6;
  font-size: 0.9375rem;
}

.rb-modal__actions {
  display: flex;
  gap: var(--sp-2);
  justify-content: center;
}

/* BEM button variants */
.rb-btn--primary {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}
.rb-btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}
.rb-btn--outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--text);
}
.rb-btn--outline:hover {
  background: var(--text);
  color: #fff;
}
.rb-btn--lg {
  padding: 18px 40px;
  font-size: 1.0625rem;
}

/* --- Cookie Banner --- */
.rb-cookie-banner,
#cookieBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  padding: var(--sp-3);
  background: var(--text);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rb-cookie-banner__inner,
.rb-cookie-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.rb-cookie-banner__inner p,
.rb-cookie-banner__text,
.rb-cookie-inner p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  flex: 1;
  min-width: 250px;
  font-weight: 400;
}

.rb-cookie-banner__inner p a,
.rb-cookie-inner p a {
  color: var(--primary-light);
  text-decoration: underline;
}

.rb-cookie-banner__actions,
.rb-cookie-actions {
  display: flex;
  gap: var(--sp-1);
  flex-shrink: 0;
}

/* --- Toast Notifications --- */
.rb-toast-container {
  position: fixed;
  top: 80px;
  right: var(--sp-3);
  z-index: 9997;
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  pointer-events: none;
}

.rb-toast {
  background: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--sp-2) var(--sp-3);
  color: #fff;
  font-size: 0.9375rem;
  pointer-events: auto;
  animation: rbToastIn 0.2s ease forwards;
  max-width: 360px;
}

.rb-toast--success {
  border-left: 3px solid #22C55E;
}

.rb-toast--error {
  border-left: 3px solid var(--primary);
}

.rb-toast--info {
  border-left: 3px solid #3B82F6;
}

@keyframes rbToastIn {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes rbToastOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(40px); }
}

/* --- Game Page Hero --- */
.rb-game-page-hero {
  padding: var(--sp-12) 0 var(--sp-8);
  border-bottom: 1px solid var(--divider);
}

.rb-game-page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: var(--sp-3);
  margin-top: var(--sp-2);
}

.rb-game-page-hero p {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 640px;
  line-height: 1.7;
}

.rb-game-tags {
  display: flex;
  gap: var(--sp-1);
  flex-wrap: wrap;
  margin-bottom: var(--sp-3);
}

/* --- Disclaimer Box --- */
.rb-disclaimer-box {
  max-width: var(--max-w);
  margin: var(--sp-6) auto;
  padding: var(--sp-4) var(--sp-6);
  border: 1px solid var(--divider);
  border-left: 3px solid var(--primary);
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* --- Legal Pages --- */
.rb-legal-page {
  padding: var(--sp-16) 0 var(--sp-12);
  max-width: 860px;
  margin: 0 auto;
}

.rb-content-block {
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--divider);
}

.rb-content-block h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-3);
}

.rb-content-block p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: var(--sp-2);
  font-size: 0.9375rem;
}

.rb-content-block ul {
  padding-left: var(--sp-4);
  margin-bottom: var(--sp-2);
}

.rb-content-block li {
  color: var(--text-muted);
  line-height: 1.8;
  list-style: disc;
  margin-bottom: 4px;
  font-size: 0.9375rem;
}

/* --- Contact Form --- */
.rb-contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--sp-6);
  max-width: var(--max-w);
  margin: 0 auto;
}

.rb-form-card {
  background: var(--surface);
  border: 1px solid var(--divider);
  padding: var(--sp-6);
}

.rb-field-group {
  margin-bottom: var(--sp-4);
}

.rb-field-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-1);
  color: var(--text);
}

.rb-field-group input,
.rb-field-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--divider);
  color: var(--text);
  font-size: 1rem;
  transition: var(--transition);
  border-radius: 0;
}

.rb-field-group input:focus,
.rb-field-group textarea:focus {
  border-color: var(--text);
  background: var(--surface);
  outline: none;
}

.rb-field-group textarea {
  min-height: 150px;
  resize: vertical;
}

.rb-field-group .error-text {
  color: var(--primary);
  font-size: 0.8125rem;
  margin-top: 4px;
  display: none;
  font-weight: 500;
}

.rb-success-msg {
  display: none;
  padding: var(--sp-3);
  background: #F0FDF4;
  border: 1px solid #86EFAC;
  border-left: 3px solid #22C55E;
  color: #166534;
  font-weight: 600;
  margin-top: var(--sp-3);
  font-size: 0.9375rem;
}

/* --- Mobile Responsive --- */
@media (max-width: 900px) {
  .rb-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rb-feature-card:nth-child(2) {
    border-right: none;
  }

  .rb-feature-card:nth-child(n+3) {
    border-top: 1px solid var(--divider);
  }

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

  .rb-steps-grid::before {
    display: none;
  }

  .rb-footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 16px;
  }

  .rb-nav-desktop {
    display: none;
  }

  .rb-nav-toggle {
    display: flex;
  }

  .rb-section {
    padding: var(--sp-12) 0;
  }

  .rb-hero {
    padding-top: var(--sp-12);
  }

  .rb-hero-text h1 {
    font-size: clamp(2.5rem, 9vw, 4rem);
  }

  .rb-hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .rb-features-grid {
    grid-template-columns: 1fr;
  }

  .rb-feature-card {
    border-right: none;
    border-top: 1px solid var(--divider);
  }

  .rb-feature-card:first-child {
    border-top: none;
  }

  .rb-steps-grid {
    grid-template-columns: 1fr;
  }

  .rb-footer-cols {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  .rb-hero-preview iframe {
    min-height: 320px;
  }

  .rb-contact-grid {
    grid-template-columns: 1fr;
  }

  .rb-age-actions {
    flex-direction: column;
  }

  .rb-cookie-inner {
    flex-direction: column;
    text-align: center;
  }

  .rb-article-body p:first-of-type::first-letter {
    font-size: 2.5rem;
  }

  .rb-disclaimer-box {
    margin-left: var(--sp-3);
    margin-right: var(--sp-3);
  }

  .rb-heading {
    margin-bottom: var(--sp-6);
  }
}

@media (max-width: 480px) {
  .rb-header-inner {
    height: 56px;
  }

  .rb-nav-mobile {
    top: 56px;
  }

  .rb-hero-text h1 {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .rb-btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .rb-hero-preview iframe {
    min-height: 260px;
  }

  .rb-steps-grid {
    grid-template-columns: 1fr;
  }

  .rb-cta-section h2 {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }
}
