/* =============================================
   Rig Runner theme (2026-10-04)
   Loads after custom-style.css: new palette (the hero's lime hoodie + Rig cyan),
   loud display type, slanted bands, and the new game sections.
   ============================================= */

:root {
  --accent: #b6ff2e;
  --accent-2: #22d3ee;
  --hot: #ff4d6d;
  --gradient: linear-gradient(90deg, #b6ff2e, #22d3ee);
  --display: 'Anton', 'Space Grotesk', sans-serif;
}

::selection { background: var(--accent); color: #08080d; }

html, body { overflow-x: clip; }
.marquee .marquee-item i { color: #08080d !important; }

/* ---------- Loud display type ---------- */
.hero-title,
.section-head h2,
.featured-title,
.rr-row-text h3,
.sf-body h3,
.contact-cta h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(4.2rem, 13vw, 11rem);
  line-height: 0.88;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.hero-title .grad-text { display: inline-block; transform: skewX(-8deg); padding-right: 0.08em; }

.section-head h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 0.95; }

.section-head .kicker,
.hero-eyebrow { color: var(--accent); }

.hero-eyebrow {
  border-color: rgba(182, 255, 46, 0.55) !important;
  background: rgba(182, 255, 46, 0.08);
}

.hero-eyebrow i { color: var(--accent); }

/* ---------- Hero ---------- */
.hero-bg { background-image: url(../images/rr-hero.jpg); background-position: 70% 35%; }

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 8, 13, 0.92) 0%, rgba(8, 8, 13, 0.55) 38%, rgba(8, 8, 13, 0) 65%),
    linear-gradient(180deg, rgba(8, 8, 13, 0) 55%, var(--bg) 100%);
}

.hero-sub { color: #d6d8e0; font-size: 18px; }

/* ---------- Buttons: lime on black ---------- */
.btn-primary {
  color: #08080d !important;
  font-weight: 800;
  box-shadow: 0 12px 34px rgba(182, 255, 46, 0.35);
}

.btn-primary:hover { box-shadow: 0 18px 46px rgba(34, 211, 238, 0.45); }

.btn-ghost:hover { border-color: var(--accent); box-shadow: 0 12px 32px rgba(182, 255, 46, 0.2); }

.nav-cta { background: var(--gradient) !important; color: #08080d !important; }

.store-btn.is-soon { opacity: 0.75; cursor: default; }
.store-btn.is-soon:hover { transform: none; }

/* ---------- Marquee: slanted lime tape ---------- */
.marquee {
  background: var(--accent) !important;
  transform: rotate(-2deg) scale(1.03);
  margin: -20px 0 30px;
  position: relative;
  z-index: 3;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.marquee .marquee-item,
.marquee .marquee-sep {
  color: #08080d !important;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Featured ---------- */
.featured-title { font-size: clamp(3.6rem, 8vw, 6.2rem); line-height: 0.9; }

.featured-frame { border-color: rgba(182, 255, 46, 0.35) !important; }

.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }

.feature-list i { color: var(--accent) !important; }

.badge-soon {
  background: rgba(182, 255, 46, 0.14) !important;
  color: var(--accent) !important;
  border-color: rgba(182, 255, 46, 0.5) !important;
}

/* ---------- Game rows (image + text, alternating) ---------- */
.rr-rows { display: flex; flex-direction: column; gap: 70px; }

.rr-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 50px;
  align-items: center;
}

.rr-row-flip .rr-row-art { order: 2; }

.rr-row-art {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 92% 100%, 0 100%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}

.rr-row-art img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.rr-row:hover .rr-row-art img { transform: scale(1.06); }

.rr-row-art::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(182, 255, 46, 0);
  border-radius: 22px;
  transition: border-color 0.4s;
}

.rr-row:hover .rr-row-art::after { border-color: rgba(182, 255, 46, 0.6); }

.rr-num {
  display: block;
  font-family: var(--display);
  font-size: 84px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
  opacity: 0.9;
  margin-bottom: 6px;
}

.rr-row-text h3 { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 0.95; color: var(--text); margin-bottom: 18px; }

.rr-row-text p { color: #b9bbc6; font-size: 16.5px; line-height: 1.8; }

.rr-bosses { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding: 0; list-style: none; }

.rr-bosses li {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 16px;
  color: #08080d;
  background: var(--accent);
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  transition: transform 0.25s, background 0.25s;
}

.rr-bosses li:nth-child(even) { background: var(--accent-2); }
.rr-bosses li:hover { transform: translateY(-4px) rotate(-3deg); background: var(--hot); color: #fff; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, filter 0.6s; }
.gallery-item:hover img { transform: scale(1.08); filter: saturate(1.2); }
.gallery-item::after {
  content: "\f00e";
  font-family: 'Font Awesome 6 Free', FontAwesome;
  font-weight: 900;
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #08080d;
  transform: scale(0);
  transition: transform 0.3s;
}
.gallery-item:hover::after { transform: scale(1); }

.g-wide { grid-column: span 2; }

/* ---------- Portfolio extras ---------- */
.card-classified img { filter: blur(3px) brightness(0.55) saturate(0.6); }

.classified-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%) rotate(-8deg);
  font-family: var(--display);
  font-size: 34px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hot);
  border: 3px solid var(--hot);
  padding: 2px 18px;
}

.portfolio-card:hover { border-color: rgba(182, 255, 46, 0.55); box-shadow: 0 24px 54px rgba(0, 0, 0, 0.55), 0 0 40px rgba(182, 255, 46, 0.12); }

/* ---------- Spider Fighting band ---------- */
.sf-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
}

.sf-media img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; display: block; }

.sf-body { padding: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.sf-body h3 { font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 0.95; margin: 0; }
.sf-body h3 .grad-text { background: linear-gradient(90deg, #ff4d6d, #ffb703); -webkit-background-clip: text; background-clip: text; }
.sf-body p { color: #b9bbc6; line-height: 1.8; margin: 0; }
.sf-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.sf-thumbs .gallery-item { aspect-ratio: 16 / 10; border-radius: 12px; }

/* ---------- Misc accents ---------- */
.timeline-step.current .step-icon,
.timeline-step.done .step-icon { border-color: var(--accent) !important; color: var(--accent) !important; }
.pillar-icon { color: var(--accent) !important; }
.contact-cta h2 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 0.95; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 9, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  padding: 16px;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7); }
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--accent);
  color: #08080d;
  font-size: 18px;
}

/* ---------- Phones ---------- */
@media (max-width: 991px) {
  .rr-row, .sf-card { grid-template-columns: 1fr; gap: 24px; }
  .rr-row-flip .rr-row-art { order: 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .sf-body { padding: 26px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(8, 8, 13, 0.35) 0%, rgba(8, 8, 13, 0.75) 55%, var(--bg) 100%); }
}

@media (max-width: 575px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .g-wide { grid-column: auto; }
  .feature-list { grid-template-columns: 1fr; }
  .marquee .marquee-item { font-size: 18px; }
  .rr-num { font-size: 64px; }
}

/* ---------- Language switcher ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 6px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 50px;
  background: var(--glass);
  color: var(--text);
  cursor: pointer;
}
.lang-switch i { color: var(--accent); }
.lang-switch select {
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}
.lang-switch select option { background: #12121b; color: #f6f6f8; }
.header-area .main-nav .nav li.lang-li { display: flex; align-items: center; }

/* ---------- Scripts that Anton lacks ---------- */
html[lang="ar"] body { font-family: 'Cairo', 'Poppins', sans-serif; }
html[lang="ar"] { --display: 'Cairo', sans-serif; }
html[lang="ar"] .hero-title, html[lang="ar"] .section-head h2, html[lang="ar"] .featured-title,
html[lang="ar"] .rr-row-text h3, html[lang="ar"] .sf-body h3, html[lang="ar"] .contact-cta h2 { font-weight: 900; line-height: 1.15; letter-spacing: 0; }
html[lang="ar"] .kicker, html[lang="ar"] .hero-eyebrow, html[lang="ar"] .marquee-item { letter-spacing: 0 !important; }
html[lang="ru"] { --display: 'Oswald', sans-serif; }
html[lang="ru"] .hero-title, html[lang="ru"] .section-head h2 { font-weight: 700; }
html[lang="hi"] { --display: 'Teko', sans-serif; }
html[lang="hi"] body { font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif; }

/* ---------- Right to left (Arabic) ---------- */
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .section-head, html[dir="rtl"] .contact-cta, html[dir="rtl"] .stats-row, html[dir="rtl"] .timeline-step,
html[dir="rtl"] .pillar-card { text-align: center; }
html[dir="rtl"] .hero-bg { transform: scaleX(-1); }
html[dir="rtl"] .hero-overlay {
  background:
    linear-gradient(270deg, rgba(8, 8, 13, 0.92) 0%, rgba(8, 8, 13, 0.55) 38%, rgba(8, 8, 13, 0) 65%),
    linear-gradient(180deg, rgba(8, 8, 13, 0) 55%, var(--bg) 100%);
}
html[dir="rtl"] .hero-title .grad-text { transform: skewX(8deg); }
html[dir="rtl"] .rr-row-art { clip-path: polygon(0 0, 100% 0, 100% 100%, 8% 100%, 0 88%); }
html[dir="rtl"] .gallery-item::after { right: auto; left: 14px; }
html[dir="rtl"] .fa-arrow-right { transform: scaleX(-1); }
html[dir="rtl"] .feature-list, html[dir="rtl"] .footer-links, html[dir="rtl"] .rr-bosses { padding-right: 0; }
html[dir="rtl"] .header-area .main-nav .nav { float: left; }
html[dir="rtl"] .header-area .main-nav .logo { float: right; }
html[dir="rtl"] .header-area .main-nav .menu-trigger { right: auto; left: 40px; }
@media (max-width: 991px) {
  html[dir="rtl"] .hero-overlay { background: linear-gradient(180deg, rgba(8, 8, 13, 0.35) 0%, rgba(8, 8, 13, 0.75) 55%, var(--bg) 100%); }
}

/* ---------- Privacy button (footer) ---------- */
.privacy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid rgba(182, 255, 46, 0.5);
  color: var(--accent) !important;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.privacy-btn:hover { background: var(--accent); color: #08080d !important; transform: translateY(-2px); }
html[dir="rtl"] .hero-title, html[dir="rtl"] .featured-title { direction: ltr; text-align: right; }

/* ---------- Privacy page ---------- */
.pv-hero { padding: 170px 0 30px; text-align: center; }
.pv-hero .kicker { color: var(--accent); text-transform: uppercase; letter-spacing: 4px; font-size: 12px; font-weight: 700; }
html[lang="ar"] .pv-hero .kicker { letter-spacing: 0; }
.pv-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(3rem, 8vw, 6rem); line-height: 1; margin: 14px 0; }
html[lang="ar"] .pv-title { font-weight: 900; }
.pv-updated { color: var(--muted); }
.pv-lead { max-width: 720px; margin: 10px auto 0; color: #c9cbd4; font-size: 17px; line-height: 1.8; }
.pv-body { padding-bottom: 80px; }
.pv-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0; }
.pv-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.pv-card i { font-size: 22px; color: var(--accent); }
.pv-card h4 { margin: 12px 0 6px; font-size: 18px; color: var(--text); }
.pv-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.pv-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.pv-toc a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 50px; color: var(--text); font-size: 13.5px; background: var(--glass); }
.pv-toc a:hover { border-color: var(--accent); color: var(--accent); }
.pv-section { max-width: 860px; margin: 0 auto 34px; scroll-margin-top: 110px; }
.pv-section h2 { font-size: 26px; color: var(--text); padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.pv-section h3 { font-size: 18px; color: var(--accent-2); margin: 22px 0 10px; }
.pv-section p, .pv-section li { color: #b9bbc6; font-size: 15.5px; line-height: 1.85; }
.pv-section strong { color: var(--text); }
.pv-section a { color: var(--accent); }
.pv-table { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.pv-row { display: grid; grid-template-columns: 260px 1fr; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.pv-row:last-child { border-bottom: 0; }
.pv-row:nth-child(odd) { background: rgba(255, 255, 255, 0.02); }
.pv-row a { color: var(--text) !important; font-weight: 700; }
.pv-row span { color: #b9bbc6; }
.pv-highlight { background: linear-gradient(135deg, rgba(182, 255, 46, 0.08), rgba(34, 211, 238, 0.06)); border: 1px solid rgba(182, 255, 46, 0.35); border-radius: 22px; padding: 26px; }
.pv-btn { display: inline-flex; margin-top: 8px; }
.pv-contact { text-align: center; margin-top: 50px; }
.pv-contact h3 { font-family: var(--display); font-size: 34px; text-transform: uppercase; margin-bottom: 16px; }
@media (max-width: 767px) {
  .pv-summary { grid-template-columns: 1fr; }
  .pv-row { grid-template-columns: 1fr; gap: 4px; }
  .pv-hero { padding-top: 130px; }
}
.sf-body .status-badge { position: static; display: inline-block; }

/* ---------- Game pages (rig-runner.html, spider-legends.html) and help pages (2026-10-19) ---------- */
.game-page { padding-top: 190px; }
.game-page .featured-info .kicker { display: block; color: var(--accent); text-transform: uppercase; letter-spacing: 4px; font-size: 12px; font-weight: 700; margin-bottom: 6px; }
html[lang="ar"] .game-page .featured-info .kicker { letter-spacing: 0; }
.game-page .featured-title { margin-bottom: 4px; }
.game-subtitle { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: 0.04em; color: var(--accent-2); margin: 0 0 14px; }
.game-page .featured-info .status-badge { position: static; display: inline-block; margin-bottom: 14px; }
.game-sl .featured-frame { border-color: rgba(255, 140, 40, 0.45) !important; }
.game-sl .grad-text { background: linear-gradient(90deg, #ff8c28, #ffb703); -webkit-background-clip: text; background-clip: text; }
.game-sl .game-subtitle { color: #ffb703; }
.game-note { display: flex; gap: 18px; align-items: flex-start; margin-top: 50px; padding: 24px 26px; border: 1px solid rgba(255, 140, 40, 0.4); border-radius: 22px; background: linear-gradient(135deg, rgba(255, 140, 40, 0.1), rgba(255, 183, 3, 0.04)); }
.game-note > i { font-size: 24px; color: #ffb703; margin-top: 4px; }
.game-note h3 { font-size: 20px; color: var(--text); margin: 0 0 6px; }
.game-note p { margin: 0; color: #c9cbd4; line-height: 1.8; }
.game-story { max-width: 760px; margin: 18px auto 0; color: #c9cbd4; font-size: 16.5px; line-height: 1.85; }
.game-facts { max-width: 860px; margin: 0 auto; }
.game-facts .pv-row strong { color: var(--text); }
.game-facts .pv-row a { color: var(--accent) !important; font-weight: 600; }
.pv-note { max-width: 860px; margin: 0 auto 26px; color: var(--muted); font-style: italic; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: var(--glass); margin-bottom: 12px; }
.faq-item summary { cursor: pointer; padding: 16px 20px; color: var(--text); font-weight: 600; font-size: 16px; list-style: none; position: relative; padding-inline-end: 46px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; inset-inline-end: 20px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 22px; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 20px 18px; margin: 0; }
@media (max-width: 991px) {
  .game-page { padding-top: 130px; }
}
@media (max-width: 767px) {
  .game-note { flex-direction: column; gap: 10px; }
}
/* RTL phones: the logo stays on the left there, so the menu button goes back to the right instead of covering it */
@media (max-width: 991px) {
  html[dir="rtl"] .header-area .main-nav .menu-trigger { left: auto; right: 40px; }
}
