/* IrumTech Landing — Premium minimal */
:root{
  --bg:#0b0b0b;
  --bg2:#0f0f10;
  --card: rgba(255,255,255,.04);
  --card2: rgba(255,255,255,.06);
  --text:#f3f3f3;
  --muted:rgba(243,243,243,.72);
  --accent:#c89b6d;
  --accent2:#e3c49f;
  --border:rgba(200,155,109,.22);
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --radius:18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: 'Tajawal', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Noto Sans Arabic", sans-serif;
  background: radial-gradient(1200px 700px at 50% 0%, rgba(200,155,109,.12), transparent 60%),
              linear-gradient(180deg, #070708 0%, var(--bg) 60%, #070708 100%);
  color:var(--text);
  overflow-x: hidden;
}

/* ================================
   Cursor Trail
   ================================ */
.cursor-trail {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  background: radial-gradient(circle, rgba(200,155,109,.6) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
}
.cursor-trail.active {
  opacity: 1;
}
@media (hover: none) {
  .cursor-trail { display: none; }
}

/* ================================
   Particles Background
   ================================ */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(200,155,109,.4);
  border-radius: 50%;
  animation: float-particle 15s infinite ease-in-out;
}
@keyframes float-particle {
  0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

a{color:inherit; text-decoration:none}
a:hover{color:var(--accent2)}
code{font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--accent2)}

.container{max-width:1100px;margin:0 auto;padding:0 22px}

.topbar{
  position:sticky; top:0; z-index:10;
  backdrop-filter: blur(14px);
  background: rgba(10,10,11,.55);
  border-bottom: 1px solid rgba(255,255,255,.06);
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 18px;
}
.brand{display:flex; align-items:center; gap:10px}
.brandLogo{width:28px;height:28px;object-fit:contain;filter: drop-shadow(0 8px 20px rgba(200,155,109,.22))}
.brandText{font-weight:700; letter-spacing:.2px}

.nav{display:flex; gap:18px; align-items:center}
.nav a{color:var(--muted); font-size:14px; transition: color 0.2s ease;}
.nav a:hover, .nav a.active{color:var(--text)}

.actions{display:flex; align-items:center; gap:12px}
.lang{display:flex; gap:6px; border:1px solid rgba(255,255,255,.08); padding:4px; border-radius:999px}
.langBtn{
  border:0; background:transparent; color:var(--muted);
  padding:8px 10px; border-radius:999px; cursor:pointer; font-weight:600; font-size:12px;
  transition: all 0.2s ease;
}
.langBtn.active{background: rgba(200,155,109,.16); color: var(--text); border:1px solid var(--border)}
.ghost{
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  color: var(--muted);
  padding:8px 12px;
  border-radius:999px;
  cursor:pointer;
  display:flex; align-items:center; gap:8px;
  transition: all 0.2s ease;
}
.ghost:hover {
  border-color: rgba(255,255,255,.15);
  background: rgba(255,255,255,.04);
}
.glow-dot{width:10px;height:10px;border-radius:50%; background: rgba(200,155,109,.35); box-shadow: 0 0 0 0 rgba(200,155,109,.0); transition: all 0.3s ease;}
body.glow .glow-dot{background: rgba(200,155,109,.9); box-shadow: 0 0 22px 6px rgba(200,155,109,.22)}

/* ================================
   Mobile Menu Toggle
   ================================ */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  z-index: 101;
}
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ================================
   Mobile Navigation Drawer
   ================================ */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
}
.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: linear-gradient(180deg, #0f0f10 0%, #0b0b0b 100%);
  border-left: 1px solid rgba(255,255,255,.08);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}
.mobile-nav.active {
  right: 0;
}
body[dir="rtl"] .mobile-nav {
  right: auto;
  left: -100%;
  border-left: none;
  border-right: 1px solid rgba(255,255,255,.08);
}
body[dir="rtl"] .mobile-nav.active {
  left: 0;
}
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-nav-close {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.mobile-nav-close:hover {
  color: var(--text);
  background: rgba(255,255,255,.05);
}
.mobile-nav-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 8px;
}
.mobile-nav-links a {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  border-radius: 12px;
  transition: all 0.2s ease;
}
.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: var(--text);
  background: rgba(200,155,109,.08);
}
.mobile-nav-footer {
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-lang {
  justify-content: center;
}

.hero{
  position:relative;
  padding: 74px 0 40px;
  overflow:hidden;
}
.heroInner{
  text-align:center;
  padding: 64px 0 28px;
  position: relative;
  z-index: 1;
}

/* ================================
   Animated Logo
   ================================ */
.logo-container {
  position: relative;
  display: inline-block;
}
.heroLogo{
  width:min(300px, 80vw);
  height:auto;
  filter: drop-shadow(0 20px 70px rgba(200,155,109,.16));
  position: relative;
  z-index: 1;
}
.animated-logo {
  animation: logo-float 6s ease-in-out infinite;
}
@keyframes logo-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.02); }
}
.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(200,155,109,.2) 0%, transparent 60%);
  animation: logo-glow-pulse 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes logo-glow-pulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}
body.glow .logo-glow {
  background: radial-gradient(circle, rgba(200,155,109,.35) 0%, transparent 60%);
}

/* ================================
   Typewriter Effect
   ================================ */
.heroSubtitle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
}
.typewriter {
  display: inline;
}
.typewriter-cursor {
  display: inline-block;
  color: var(--accent2);
  animation: blink 1s step-end infinite;
  font-weight: 300;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.heroTitle{
  margin: 16px 0 10px;
  font-size: clamp(40px, 5vw, 56px);
  letter-spacing: .3px;
}
.heroSubtitle{
  margin:0 auto;
  max-width: 740px;
  color: var(--muted);
  font-size: clamp(16px, 2.1vw, 20px);
}
.ctaRow{
  display:flex; justify-content:center; gap:12px; flex-wrap:wrap;
  margin-top: 22px;
}
.btn, .btnSecondary{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid var(--border);
}
.btn{
  background: linear-gradient(180deg, rgba(200,155,109,.25), rgba(200,155,109,.12));
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}
.btn:hover{border-color: rgba(200,155,109,.45)}
.btnSecondary{
  background: rgba(255,255,255,.03);
  color: var(--muted);
  border-color: rgba(255,255,255,.10);
}
.btnSecondary:hover{color: var(--text); border-color: rgba(255,255,255,.18)}

.heroStats{
  margin: 26px auto 0;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
}
.stat{
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}
.statNum{font-weight:900; color: var(--accent2); letter-spacing:.2px}
.statLabel{color: var(--muted); font-size: 12px; margin-top: 2px}

.heroBackdrop{
  position:absolute; inset:-40%;
  background:
    radial-gradient(700px 500px at 50% 10%, rgba(200,155,109,.16), transparent 60%),
    radial-gradient(900px 600px at 10% 30%, rgba(227,196,159,.10), transparent 60%),
    radial-gradient(900px 600px at 90% 40%, rgba(200,155,109,.09), transparent 60%);
  filter: blur(20px);
  opacity: .8;
  pointer-events:none;
}

.section{padding: 72px 0}
.sectionAlt{
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.sectionHeader{margin-bottom: 22px}
.sectionHeader h2{
  margin: 0 0 8px;
  font-size: clamp(26px, 3.4vw, 34px);
  letter-spacing: .2px;
}
.muted{color: var(--muted); margin:0; max-width: 820px}

.grid2{display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:14px}
.grid3{display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:14px}

.card{
  background: var(--card);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 18px 18px;
  box-shadow: var(--shadow);
}
.card h3{margin:0 0 10px}
.card p{margin:0}
.list{margin:0; padding-left:18px; color: var(--muted)}
.list li{margin: 8px 0}

.pillRow{display:flex; flex-wrap:wrap; gap:8px; margin-top:14px}
.pill{
  border: 1px solid var(--border);
  background: rgba(200,155,109,.08);
  color: var(--accent2);
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
}

.note{margin-top: 14px; color: rgba(243,243,243,.62); font-size: 13px}

/* ================================
   3D Card Tilt Effect
   ================================ */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tilt-card:hover {
  box-shadow: 0 25px 80px rgba(0,0,0,.5), 0 0 30px rgba(200,155,109,.08);
}

/* ================================
   Release Badge
   ================================ */
.release-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(200,155,109,.2), rgba(200,155,109,.1));
  border: 1px solid var(--border);
  color: var(--accent2);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}
.release-badge.pulse {
  animation: badge-pulse 2s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,155,109,.3); }
  50% { box-shadow: 0 0 20px 5px rgba(200,155,109,.15); }
}

/* ================================
   Platform Store Badges
   ================================ */
.platform-badges {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  padding: 10px 16px;
  transition: all 0.2s ease;
  text-decoration: none;
}
.store-badge:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
  transform: translateY(-2px);
}
.store-icon {
  width: 28px;
  height: 28px;
  color: var(--text);
}
.store-text {
  display: flex;
  flex-direction: column;
  text-align: start;
}
.store-label {
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.store-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

/* Platform Icons (small) */
.platform-icons {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.platform-icon {
  width: 24px;
  height: 24px;
  color: var(--muted);
  opacity: 0.7;
  transition: all 0.2s ease;
}
.platform-icon:hover {
  color: var(--accent2);
  opacity: 1;
}
.platform-icon svg {
  width: 100%;
  height: 100%;
}

/* ================================
   Game Cards
   ================================ */
.game-card {
  position: relative;
  overflow: hidden;
}
.game-card-media {
  position: relative;
  overflow: hidden;
}
.game-card-media img {
  width: 100%;
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.game-card:hover .game-card-media img {
  transform: scale(1.05);
}
.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.7) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.game-card:hover .game-card-overlay {
  opacity: 1;
}
.coming-soon-badge {
  background: rgba(200,155,109,.9);
  color: #0b0b0b;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.gallery{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.shot{
  width:100%;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 26px 80px rgba(0,0,0,.55);
  background: #0a0a0b;
}
.teaser{padding:0; overflow:hidden}
.teaser img{width:100%; display:block; aspect-ratio: 16/10; object-fit: cover}
.teaserBody{padding: 14px 16px}
.teaserEmpty{padding: 18px}
.spark{
  width: 70px; height: 70px; border-radius: 22px;
  background: rgba(200,155,109,.12);
  border: 1px solid var(--border);
  box-shadow: 0 18px 70px rgba(200,155,109,.12);
  margin-bottom: 12px;
}

.bigLink a{font-size: 20px; font-weight: 900; color: var(--accent2)}
.socialRow{display:flex; flex-wrap:wrap; gap:10px; margin-top: 12px}
.chip{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 999px;
}
.chip:hover{color: var(--text); border-color: rgba(255,255,255,.18)}

.footer{
  padding: 26px 0 0;
}
.footerInner{
  display:flex; justify-content:space-between; align-items:center;
  gap: 18px;
  padding: 20px 22px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footerLeft{display:flex; align-items:center; gap:12px}
.footerLogo{width:28px;height:28px}
.footerBrand{font-weight: 900}
.footerMuted{color: var(--muted); font-size: 13px}
.footerRight{display:flex; gap:16px; color: var(--muted); font-size: 13px}
.footerRight a:hover{color: var(--text)}
.footerBottom{
  text-align:center;
  padding: 18px 0 26px;
  color: rgba(243,243,243,.55);
  font-size: 12px;
}

/* Scroll reveal */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .75s ease, transform .75s ease;
}
.reveal.visible{
  opacity: 1;
  transform: translateY(0);
}

/* RTL support */
body[dir="rtl"]{
  direction: rtl;
}
body[dir="rtl"] .desktop-nav{flex-direction: row-reverse}
body[dir="rtl"] .actions{flex-direction: row-reverse}
body[dir="rtl"] .list{padding-left:0; padding-right: 18px}
body[dir="rtl"] .ctaRow{flex-direction: row-reverse}
body[dir="rtl"] .footerInner{
  direction: ltr;
}
body[dir="rtl"] .footerLeft{
  order: 2;
  flex-direction: row-reverse;
}
body[dir="rtl"] .footerLeft > div {
  text-align: right;
}
body[dir="rtl"] .footerRight{
  order: 1;
}
body[dir="rtl"] .store-text { text-align: end; }
body[dir="rtl"] .platform-badges { flex-direction: row-reverse; }
body[dir="rtl"] .pillRow { flex-direction: row-reverse; }
body[dir="rtl"] .socialRow { flex-direction: row-reverse; }
body[dir="rtl"] .heroStats { direction: rtl; }
body[dir="rtl"] .grid2, body[dir="rtl"] .grid3 { direction: rtl; }
body[dir="rtl"] .slider-arrows { flex-direction: row-reverse; }
body[dir="rtl"] .sectionHeader { text-align: right; }
body[dir="rtl"] .card { text-align: right; }
body[dir="rtl"] .teaserBody { text-align: right; }
body[dir="rtl"] .platform-icons { flex-direction: row-reverse; }
body[dir="rtl"] .game-detail { direction: rtl; }
body[dir="rtl"] .game-detail-info { text-align: right; }
body[dir="rtl"] .game-detail-info .pillRow{
  justify-content: flex-end;
}
body[dir="rtl"] .game-detail-info .platform-badges{
  justify-content: flex-end;
}
body[dir="rtl"] .game-meta { direction: rtl; }
body[dir="rtl"] .promo-card { text-align: right; }
body[dir="rtl"] .promo-content { text-align: right; }
body[dir="rtl"] .game-card-body { text-align: right; }
body[dir="rtl"] .page-header { text-align: center; }
body[dir="rtl"] .slider-track { direction: ltr; } /* Keep slider LTR for UX */
body[dir="rtl"] #twinzy .grid2 { align-items: center; }
body[dir="rtl"] .game-detail { grid-template-columns: 1.2fr 1fr; align-items: start; }

/* Twinzy card alignment + spacing */
.twinzy-card-content{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  text-align: center;
}
.twinzy-card p{
  line-height: 1.8;
}
.twinzy-card-content .pillRow{
  margin-top: 0;
  justify-content: center;
}
.twinzy-card-content .platform-badges{
  margin-top: 0;
  justify-content: center;
}
.twinzy-card-content .ctaRow{
  margin-top: 0;
  justify-content: center;
}
body[dir="rtl"] .twinzy-card-content{
  text-align: center;
}

/* Responsive */
@media (max-width: 900px){
  .desktop-nav{display:none}
  .menu-toggle{display:flex}
  .grid2{grid-template-columns: 1fr}
  .grid3{grid-template-columns: 1fr}
  .heroStats{grid-template-columns: 1fr}
  .platform-badges { flex-direction: column; }
  .store-badge { justify-content: center; }
  .game-detail { grid-template-columns: 1fr; }
  #game-twinzy .game-detail-info { order: 1; }
  #game-twinzy .game-detail-media { order: 2; }
  .promo-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: 1fr; }
  
  /* RTL mobile: move menu toggle to the left of the actions */
  body[dir="rtl"] .menu-toggle {
    order: -1;
  }
}
/* ================================
   Glow enhancement (SAFE ADD-ON)
   ================================ */

/* Make the glow button clearly visible */
body.glow .glow-dot{
  background: rgba(255,215,163,.95);
  box-shadow:
    0 0 10px 3px rgba(255,215,163,.9),
    0 0 28px 10px rgba(200,155,109,.45);
}

/* Subtle hero background intensification */
body.glow .heroBackdrop{
  opacity: 1;
  filter: blur(14px);
}

/* Logo glow without affecting layout */
body.glow .heroLogo{
  filter:
    drop-shadow(0 0 22px rgba(255,215,163,.35))
    drop-shadow(0 0 70px rgba(200,155,109,.25));
}

/* Primary button emphasis only */
body.glow .btn{
  box-shadow:
    0 0 22px rgba(255,215,163,.25),
    0 18px 60px rgba(0,0,0,.45);
}

/* ================================
   Twinzy slider – MOBILE SCREENSHOT SAFE
   ================================ */

.twinzy-slider{
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

/* Horizontal track */
.slider-track{
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.slider-track::-webkit-scrollbar{ display:none }

/* Each slide */
.slide{
  min-width: 100%;
  scroll-snap-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0a0a0b;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 26px 80px rgba(0,0,0,.55);
  padding: 12px;
}

/* Media behavior — NO CROPPING */
.slide img,
.slide video{
  max-height: 70vh;        /* 🔥 key line */
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;    /* 🔥 no cropping */
  display: block;
  background: black;
  border-radius: 12px;
}

/* Desktop cap (prevents huge tall images) */
@media (min-width: 900px){
  .slide img,
  .slide video{
    max-height: 520px;
  }
}

/* Slider UI */
.slider-ui{
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 14px 10px;
  pointer-events: none;
}

.slider-arrows{
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  pointer-events: none;
}

.slider-arrow{
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(10,10,11,.6);
  color: var(--text);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.slider-arrow:hover{
  background: rgba(200,155,109,.2);
  border-color: rgba(200,155,109,.6);
  transform: translateY(-1px);
}

.visually-hidden{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dots{
  display: flex;
  gap: 6px;
}

.dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
}

.dot.active{
  background: var(--accent2);
  box-shadow: 0 0 8px rgba(227,196,159,.6);
}

.counter{
  font-size: 12px;
  color: rgba(255,255,255,.85);
}

/* ================================
   Page Header (Games Page)
   ================================ */
.page-header {
  position: relative;
  padding: 120px 0 60px;
  text-align: center;
  overflow: hidden;
}
.page-title {
  font-size: clamp(36px, 5vw, 52px);
  margin: 0 0 12px;
  letter-spacing: 0.3px;
}
.page-subtitle {
  font-size: clamp(16px, 2vw, 18px);
  max-width: 600px;
  margin: 0 auto;
}

/* ================================
   Game Detail Section
   ================================ */
.game-detail-section {
  padding-top: 40px;
}
.game-detail {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
.game-detail-media {
  position: relative;
}
.game-slider {
  border-radius: 16px;
  overflow: hidden;
  background: #0a0a0b;
  border: 1px solid rgba(255,255,255,.08);
}
.game-detail-info {
  padding: 20px 0;
}
.game-status-row {
  margin-bottom: 8px;
}
.game-title {
  font-size: clamp(32px, 4vw, 44px);
  margin: 0 0 16px;
  color: var(--text);
}
.game-description {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 20px;
}
.game-meta {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.meta-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.meta-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent2);
}

/* ================================
   Promo Cards
   ================================ */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.promo-card {
  position: relative;
  background: var(--card);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 28px;
  overflow: hidden;
}
.promo-badge {
  font-size: 48px;
  margin-bottom: 16px;
}
.promo-title {
  font-size: 22px;
  margin: 0 0 12px;
  color: var(--text);
}
.promo-description {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px;
}
.promo-prize {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.prize-label {
  color: var(--muted);
  font-size: 13px;
}
.prize-value {
  font-size: 24px;
  font-weight: 900;
  color: var(--accent2);
}
.promo-meta {
  margin-bottom: 16px;
}
.promo-status {
  display: inline-block;
  background: rgba(200,155,109,.12);
  color: var(--accent2);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}
.promo-btn {
  width: 100%;
  text-align: center;
}
.promo-game-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0,0,0,.4);
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}
body[dir="rtl"] .promo-game-tag {
  right: auto;
  left: 16px;
}

/* ================================
   Games Grid (Games Page)
   ================================ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.game-card-large {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  overflow: hidden;
}
.game-card-large .game-card-media img {
  aspect-ratio: 16/9;
}

/* Runes word card - show full image without cropping */
.game-card-large.runes-word-card,
.runes-word-card.game-card-large {
  overflow: visible !important;
}
.game-card-large.runes-word-card .game-card-media,
.runes-word-card.game-card-large .game-card-media {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
  overflow: visible !important;
  height: auto !important;
}
.game-card-large.runes-word-card .game-card-media img,
.runes-word-card.game-card-large .game-card-media img {
  aspect-ratio: unset !important;
  height: auto !important;
  width: 100% !important;
  object-fit: contain !important;
  object-fit: none !important;
  max-width: 100%;
}

.game-card-body {
  padding: 20px;
}
.game-card-body h3 {
  margin: 0 0 10px;
  font-size: 18px;
}
.game-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.game-card-mystery {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}
.mystery-content {
  text-align: center;
  padding: 30px;
}
.mystery-content h3 {
  margin: 0 0 12px;
}
.mystery-content p {
  color: var(--muted);
  margin: 0 0 20px;
}
.spark.large {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
}
