/* ═══════════════════════════════════════════════
   SCORPION ROLE PLAY — style.css
   ═══════════════════════════════════════════════ */

/* ─── VARIABLES ─── */
:root {
  --yellow:  #f5c518;
  --orange:  #ff6a00;
  --red:     #c0392b;
  --dark:    #080808;
  --dark2:   #0f0f0f;
  --dark3:   #161616;
  --card:    #111111;
  --border:  #2a2a2a;
  --text:    #e0e0e0;
  --muted:   #777;
  --glow:    0 0 18px rgba(245,197,24,0.5);
  --glow-lg: 0 0 40px rgba(245,197,24,0.3);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  overflow-x: hidden;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='4' fill='%23f5c518' opacity='0.9'/%3E%3C/svg%3E") 10 10, auto;
}

/* NOISE OVERLAY */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: rgba(245,197,24,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--yellow); }

/* ─── NAVBAR ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 64px;
  background: linear-gradient(180deg, rgba(8,8,8,0.98) 0%, rgba(8,8,8,0.85) 100%);
  border-bottom: 1px solid rgba(245,197,24,0.15);
  backdrop-filter: blur(12px);
  transition: border-bottom-color 0.3s, background 0.3s;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem; letter-spacing: 3px;
  color: var(--yellow);
  text-decoration: none;
}
.nav-logo .scorpion-icon { font-size: 1.4rem; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-weight: 600; font-size: 0.85rem;
  letter-spacing: 2px; text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--yellow); transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-links a:hover { color: var(--yellow); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--yellow); color: #000;
  padding: 8px 22px; font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px; font-size: 0.95rem; text-decoration: none;
  clip-path: polygon(6px 0%,100% 0%,calc(100% - 6px) 100%,0% 100%);
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: #fff; transform: translateY(-1px); }

/* ─── HERO ─── */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding-top: 64px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(245,197,24,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(255,106,0,0.06) 0%, transparent 60%),
    linear-gradient(180deg, #0a0a0a 0%, #080808 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245,197,24,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,197,24,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
}
.hero-content {
  position: relative; text-align: center; z-index: 2;
  animation: fadeUp 1s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,197,24,0.08); border: 1px solid rgba(245,197,24,0.25);
  padding: 5px 16px; font-size: 0.7rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--yellow);
  clip-path: polygon(8px 0%,100% 0%,calc(100% - 8px) 100%,0% 100%);
  margin-bottom: 28px; font-family: 'Share Tech Mono', monospace;
}
.hero-badge span {
  width: 6px; height: 6px; background: var(--yellow);
  border-radius: 50%; animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.4; transform:scale(0.6); }
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 0.9; letter-spacing: 6px; text-transform: uppercase;
}
.hero-title .line1 {
  display: block; color: #fff;
  text-shadow: 0 0 80px rgba(255,255,255,0.1);
}
.hero-title .line2 {
  display: block;
  background: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(245,197,24,0.4));
}
.scorpion-big {
  font-size: clamp(5rem, 15vw, 12rem); line-height: 1; display: block;
  opacity: 0.08; position: absolute;
  left: 50%; top: 50%; transform: translate(-50%,-50%) rotate(-20deg);
  z-index: 1; pointer-events: none;
  animation: floatScorp 6s ease-in-out infinite;
}
@keyframes floatScorp {
  0%,100% { transform: translate(-50%,-50%) rotate(-20deg) scale(1); }
  50%      { transform: translate(-50%,-52%) rotate(-18deg) scale(1.03); }
}
.hero-sub {
  margin-top: 20px; font-size: 1.1rem; color: var(--muted);
  letter-spacing: 4px; text-transform: uppercase; font-weight: 500;
}
.hero-sub span { color: var(--yellow); }
.hero-ip {
  margin-top: 32px;
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(245,197,24,0.06); border: 1px solid rgba(245,197,24,0.2);
  padding: 12px 28px; font-family: 'Share Tech Mono', monospace;
  font-size: 1.1rem; color: #fff; cursor: pointer; transition: all 0.2s;
}
.hero-ip:hover { background: rgba(245,197,24,0.12); box-shadow: var(--glow); }
.hero-ip .label {
  font-size: 0.6rem; letter-spacing: 3px; color: var(--yellow);
  display: block; margin-bottom: 2px;
}
.hero-ip .copy-icon { font-size: 0.85rem; color: var(--muted); }
.copied-toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
  background: var(--yellow); color: #000; padding: 10px 24px;
  font-family: 'Bebas Neue', sans-serif; letter-spacing: 2px;
  font-size: 1rem; opacity: 0; transition: opacity 0.3s; z-index: 9000;
  clip-path: polygon(8px 0%,100% 0%,calc(100% - 8px) 100%,0% 100%);
}
.copied-toast.show { opacity: 1; }
.hero-buttons {
  margin-top: 40px; display: flex; gap: 16px;
  justify-content: center; flex-wrap: wrap;
}
.btn-primary {
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: #000; font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem; letter-spacing: 3px; text-decoration: none;
  display: inline-block;
  clip-path: polygon(10px 0%,100% 0%,calc(100% - 10px) 100%,0% 100%);
  transition: transform 0.15s, filter 0.15s;
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn-secondary {
  padding: 14px 40px; background: transparent; color: var(--yellow);
  border: 1px solid rgba(245,197,24,0.4);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem; letter-spacing: 3px; text-decoration: none;
  display: inline-block;
  clip-path: polygon(10px 0%,100% 0%,calc(100% - 10px) 100%,0% 100%);
  transition: all 0.2s;
}
.btn-secondary:hover { background: rgba(245,197,24,0.08); box-shadow: var(--glow); }
.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted); font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--yellow), transparent);
  animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
  0%   { transform:scaleY(0); transform-origin:top; }
  50%  { transform:scaleY(1); transform-origin:top; }
  51%  { transform:scaleY(1); transform-origin:bottom; }
  100% { transform:scaleY(0); transform-origin:bottom; }
}

/* ─── STATS BAR ─── */
.stats-bar {
  background: var(--dark3);
  border-top: 1px solid rgba(245,197,24,0.1);
  border-bottom: 1px solid rgba(245,197,24,0.1);
  padding: 24px 40px;
  display: flex; justify-content: center; gap: 0; flex-wrap: wrap;
}
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 12px 48px; position: relative;
}
.stat-item:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 25%; bottom: 25%;
  width: 1px; background: var(--border);
}
.stat-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 2.6rem;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-label {
  font-size: 0.7rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--muted); margin-top: 4px;
}

/* ─── SHARED SECTION STYLES ─── */
section {
  padding: 100px 40px;
  max-width: 1200px; margin: 0 auto;
}
.section-tag {
  font-family: 'Share Tech Mono', monospace; font-size: 0.7rem;
  letter-spacing: 4px; color: var(--yellow); text-transform: uppercase;
  margin-bottom: 14px; display: flex; align-items: center; gap: 10px;
}
.section-tag::before { content: '//'; color: var(--orange); font-size: 0.8rem; }
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem,5vw,4rem); letter-spacing: 3px;
  color: #fff; margin-bottom: 16px; line-height: 1;
}
.section-title span {
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.section-desc { color: var(--muted); font-size: 1rem; max-width: 580px; line-height: 1.7; }

/* ─── FEATURES ─── */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 2px; margin-top: 60px;
}
.feature-card {
  background: var(--card); border: 1px solid var(--border);
  padding: 36px 32px; position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover { border-color: rgba(245,197,24,0.3); transform: translateY(-4px); }
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  transform: scaleX(0); transition: transform 0.4s;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  font-size: 2.4rem; margin-bottom: 18px; display: block;
  filter: drop-shadow(0 0 10px rgba(245,197,24,0.3));
}
.feature-title {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem;
  letter-spacing: 2px; color: #fff; margin-bottom: 10px;
}
.feature-desc { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

/* ─── HOW TO JOIN ─── */
.steps { display: flex; flex-direction: column; gap: 0; margin-top: 60px; }
.step {
  display: flex; gap: 32px; align-items: flex-start;
  padding: 32px 0; border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 3.5rem;
  line-height: 1; color: rgba(245,197,24,0.1); min-width: 70px;
  transition: color 0.3s;
}
.step:hover .step-num { color: rgba(245,197,24,0.3); }
.step-info h3 {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem;
  letter-spacing: 2px; color: #fff; margin-bottom: 8px;
}
.step-info p { color: var(--muted); font-size: 0.92rem; line-height: 1.6; }
.step-info code {
  display: inline-block; margin-top: 10px;
  background: rgba(245,197,24,0.08); border: 1px solid rgba(245,197,24,0.2);
  color: var(--yellow); padding: 5px 14px;
  font-family: 'Share Tech Mono', monospace; font-size: 0.85rem;
}

/* ─── RULES ─── */
#rules {
  background: var(--dark2); padding: 100px 40px; max-width: 100%;
}
#rules .inner { max-width: 1200px; margin: 0 auto; }
.rules-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; margin-top: 60px;
}
.rule-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px; background: var(--card);
  border: 1px solid var(--border); border-left: 3px solid var(--yellow);
  transition: border-left-color 0.2s;
}
.rule-item:hover { border-left-color: var(--orange); }
.rule-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 2rem;
  color: rgba(245,197,24,0.15); line-height: 1; min-width: 40px;
}
.rule-content h4 {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.1rem;
  letter-spacing: 2px; color: var(--yellow); margin-bottom: 6px;
}
.rule-content p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; }

/* ─── GALLERY ─── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 4px; margin-top: 60px;
}
.gallery-item {
  aspect-ratio: 16/9; background: var(--card);
  border: 1px solid var(--border); overflow: hidden;
  position: relative; display: flex; align-items: center; justify-content: center;
  transition: border-color 0.3s;
}
.gallery-item:first-child { grid-column: span 2; }
.gallery-item:hover { border-color: rgba(245,197,24,0.3); }
.gallery-item .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.8));
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px; opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay span {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.1rem;
  letter-spacing: 2px; color: var(--yellow);
}
.gallery-item .bg-scene {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #111 50%, #0d0d0d 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(3rem,6vw,5rem);
}

/* ─── DISCORD CTA ─── */
#join {
  background: linear-gradient(135deg, rgba(245,197,24,0.05) 0%, rgba(255,106,0,0.04) 100%);
  border-top: 1px solid rgba(245,197,24,0.1);
  border-bottom: 1px solid rgba(245,197,24,0.1);
  text-align: center; padding: 100px 40px; max-width: 100%;
}
#join .inner { max-width: 700px; margin: 0 auto; }
.discord-card {
  margin-top: 48px; background: #5865F2;
  padding: 32px 40px; display: flex;
  align-items: center; gap: 24px;
  justify-content: center; flex-wrap: wrap;
  clip-path: polygon(12px 0%,100% 0%,calc(100% - 12px) 100%,0% 100%);
  transition: filter 0.2s, transform 0.2s; cursor: pointer;
}
.discord-card:hover { filter: brightness(1.1); transform: translateY(-3px); }
.discord-card .dc-icon { font-size: 2.4rem; }
.discord-card .dc-info { text-align: left; }
.discord-card .dc-info h3 {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: 2px;
}
.discord-card .dc-info p { font-size: 0.85rem; opacity: 0.8; }
.discord-card .dc-join {
  background: #fff; color: #5865F2;
  padding: 10px 28px; font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem; letter-spacing: 2px;
  clip-path: polygon(6px 0%,100% 0%,calc(100% - 6px) 100%,0% 100%);
}

/* ─── FOOTER ─── */
footer {
  background: var(--dark); border-top: 1px solid var(--border);
  padding: 48px 40px 32px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between;
  align-items: flex-start; flex-wrap: wrap; gap: 40px;
}
.footer-brand .logo {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem;
  letter-spacing: 4px; color: var(--yellow); display: block; margin-bottom: 10px;
}
.footer-brand p { color: var(--muted); font-size: 0.85rem; max-width: 280px; line-height: 1.6; }
.footer-links h4 {
  font-family: 'Bebas Neue', sans-serif; letter-spacing: 2px;
  color: var(--yellow); margin-bottom: 16px; font-size: 1rem;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links ul a { color: var(--muted); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-links ul a:hover { color: var(--yellow); }
.footer-bottom {
  max-width: 1200px; margin: 32px auto 0;
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: var(--muted); font-size: 0.8rem; }
.footer-bottom .sting { color: var(--yellow); }

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  section { padding: 70px 20px; }
  .rules-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: span 1; }
  .stat-item { padding: 12px 24px; }
  .stats-bar { padding: 20px; gap: 0; }
  footer { padding: 40px 20px 24px; }
  .footer-inner { flex-direction: column; }
  #join { padding: 70px 20px; }
  #rules { padding: 70px 20px; }
}
