/* ══════════════════════════════════════════════
   shared.css — WarriorLand global styles
   ══════════════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #2a2a2a;
  color: #e8e8e8;
  overflow-x: hidden;
  min-height: 100vh;
  opacity: 0;
  transition: opacity .4s ease;
}
body.page-loaded { opacity: 1; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #1a1a1a; }
::-webkit-scrollbar-thumb { background: #c10000; border-radius: 3px; }

/* ── Particles ── */
#particles-canvas {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0; opacity: .45;
}

/* ── Announcement Bar ── */
#ann-bar {
  background: #c10000; color: #fff;
  font-size: .77rem; font-weight: 700; letter-spacing: .04em;
  padding: .42rem 3rem; position: relative; z-index: 300;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  animation: slideDown .5s ease both;
}
@keyframes slideDown { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
#ann-close {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,.65);
  cursor: pointer; font-size: .95rem; line-height: 1;
  transition: color .2s, transform .2s;
}
#ann-close:hover { color: #fff; transform: translateY(-50%) rotate(90deg); }

/* ── Navbar ── */
nav.main-nav {
  position: sticky; top: 0; left: 0; right: 0; z-index: 200;
  height: 60px; padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(22,22,22,.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(193,0,0,.18);
  transition: box-shadow .3s, background .3s;
  animation: slideDown .5s .05s ease both;
}
nav.main-nav.scrolled {
  background: rgba(14,14,14,.99);
  box-shadow: 0 4px 32px rgba(0,0,0,.6);
}
.nav-logo img {
  height: 36px;
  filter: drop-shadow(0 0 8px rgba(193,0,0,.55));
  transition: transform .3s, filter .3s;
}
.nav-logo img:hover {
  transform: scale(1.07) rotate(-2deg);
  filter: drop-shadow(0 0 16px rgba(193,0,0,.8));
}
.nav-links { display: flex; gap: .1rem; align-items: center; }
.nav-links a {
  color: #888; font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  padding: .38rem .8rem; border-radius: 7px;
  transition: all .2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 1.5px; background: #c10000; border-radius: 2px;
  transition: left .25s, right .25s;
}
.nav-links a:hover::after, .nav-links a.active::after { left: 10%; right: 10%; }
.nav-links a:hover { color: #e8e8e8; background: rgba(255,255,255,.05); }
.nav-links a.active { color: #e8e8e8; }
.nav-links a.nav-store {
  background: #c10000; color: #fff !important; border-radius: 8px !important;
  padding: .38rem 1rem !important; transition: all .2s !important;
}
.nav-links a.nav-store::after { display: none; }
.nav-links a.nav-store:hover {
  background: #e30000 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(193,0,0,.5) !important;
}
.nav-links a.nav-store.active {
  box-shadow: 0 0 0 2px rgba(255,255,255,.35), 0 4px 16px rgba(193,0,0,.7) !important;
}
#hamburger {
  display: none; background: none; border: none;
  color: #aaa; font-size: 1.2rem; cursor: pointer; transition: color .2s;
}
#hamburger:hover { color: #e8e8e8; }

/* ── Toast ── */
#toast {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #22c55e; color: #fff;
  padding: .6rem 1.4rem; border-radius: 8px;
  font-size: .82rem; font-weight: 700; z-index: 9999;
  opacity: 0; transition: opacity .3s, transform .3s; pointer-events: none;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── Lightbox ── */
#lb {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.93);
  align-items: center; justify-content: center; cursor: pointer;
}
#lb.open { display: flex; }
#lb img {
  max-width: 92vw; max-height: 92vh; border-radius: 10px;
  transform: scale(.92); transition: transform .3s;
}
#lb.open img { transform: scale(1); }

/* ── Reveal animations ── */
.rv {
  opacity: 0; transform: translateY(20px);
  transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1);
}
.rv.on { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }
.d5 { transition-delay: .5s; }

/* ── Buttons ── */
.btn-red {
  background: #c10000; color: #fff; border: none;
  padding: .75rem 1.9rem; border-radius: 9px;
  font-size: .88rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  cursor: pointer; display: inline-flex; align-items: center; gap: .45rem;
  transition: all .22s; position: relative; overflow: hidden;
}
.btn-red:hover { background: #d40000; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(193,0,0,.45); }
.btn-red:active { transform: translateY(0); box-shadow: none; }
.btn-outline {
  background: transparent; color: #e8e8e8;
  border: 1.5px solid rgba(255,255,255,.18);
  padding: .75rem 1.9rem; border-radius: 9px;
  font-size: .88rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  cursor: pointer; display: inline-flex; align-items: center; gap: .45rem;
  transition: all .22s;
}
.btn-outline:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); transform: translateY(-1px); }

/* ── Status dot ── */
.sdot {
  width: 8px; height: 8px; background: #22c55e; border-radius: 50%;
  flex-shrink: 0; animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 4px #22c55e; }
  50%      { box-shadow: 0 0 14px #22c55e; }
}

/* ── Section labels ── */
.sec-label {
  font-size: .67rem; text-transform: uppercase; letter-spacing: .13em;
  color: #c10000; font-weight: 700; margin-bottom: .7rem; display: block;
}
.sec-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  line-height: .94; letter-spacing: .02em; margin-bottom: 1.2rem;
}

/* ── FAQ ── */
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,.06); overflow: hidden; }
.faq-q {
  padding: 1rem 0; display: flex; align-items: center;
  justify-content: space-between; cursor: pointer;
  font-weight: 700; font-size: .91rem; gap: 1rem;
  transition: color .2s; user-select: none;
}
.faq-q:hover { color: #c10000; }
.faq-q .icon { font-size: .72rem; color: #444; flex-shrink: 0; transition: transform .35s, color .2s; }
.faq-item.open .faq-q .icon { transform: rotate(180deg); color: #c10000; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .45s cubic-bezier(.16,1,.3,1), padding .3s;
  font-size: .86rem; color: #888; line-height: 1.8;
}
.faq-item.open .faq-a { max-height: 280px; padding-bottom: 1rem; }
.faq-a a { color: #c10000; }

/* ── Social bar ── */
.soc-bar {
  background: #1a1a1a; border-top: 1px solid rgba(255,255,255,.05);
  padding: 2rem; display: flex; align-items: center;
  justify-content: center; gap: .8rem; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.soc-link {
  display: flex; align-items: center; gap: .55rem;
  padding: .58rem 1.1rem; border-radius: 10px;
  font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  transition: all .22s;
  border: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.02);
}
.soc-link:hover { transform: translateY(-3px); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.13); }
.soc-link i { font-size: 1rem; }
.soc-discord { color: #7289da; } .soc-discord:hover { border-color: rgba(114,137,218,.35); box-shadow: 0 6px 18px rgba(114,137,218,.12) !important; }
.soc-yt      { color: #ff3333; } .soc-yt:hover      { border-color: rgba(255,0,0,.35);     box-shadow: 0 6px 18px rgba(255,0,0,.12)   !important; }
.soc-ig      { color: #e1306c; } .soc-ig:hover      { border-color: rgba(225,48,108,.35);   box-shadow: 0 6px 18px rgba(225,48,108,.12) !important; }
.soc-tt      { color: #e8e8e8; } .soc-tt:hover      { border-color: rgba(255,255,255,.25); }
.soc-fb      { color: #1877f2; } .soc-fb:hover      { border-color: rgba(24,119,242,.35);   box-shadow: 0 6px 18px rgba(24,119,242,.12) !important; }

/* ── Footer ── */
footer.main-footer {
  background: #1a1a1a; padding: 3.5rem 2rem 1.8rem;
  border-top: 1px solid rgba(255,255,255,.05);
  position: relative; z-index: 1;
}
.fi {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.05);
}
footer img.fl {
  height: 40px; filter: drop-shadow(0 0 8px rgba(193,0,0,.4));
  margin-bottom: .9rem; display: block; transition: filter .3s;
}
footer img.fl:hover { filter: drop-shadow(0 0 16px rgba(193,0,0,.7)); }
.fd { font-size: .82rem; color: #555; line-height: 1.75; }
footer h4 {
  font-size: .66rem; text-transform: uppercase; letter-spacing: .11em;
  color: #c10000; font-weight: 700; margin-bottom: .8rem;
}
footer a.fl-link {
  display: block; color: #666; font-size: .82rem;
  margin-bottom: .38rem; transition: color .2s, padding-left .2s;
}
footer a.fl-link:hover { color: #e8e8e8; padding-left: 4px; }
.fb {
  max-width: 1100px; margin: 0 auto; padding-top: 1.3rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .75rem; color: #444; flex-wrap: wrap; gap: .5rem;
}
.fb a { color: #666; transition: color .2s; }
.fb a:hover { color: #e8e8e8; }

/* ── Offline indicator ── */
.offline-txt { color: #555 !important; font-size: 1.2rem !important; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 60px; left: 0; right: 0;
    background: rgba(14,14,14,.98); padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.05); z-index: 199;
  }
  .nav-links.open { display: flex; }
  #hamburger { display: block; }
  .fi { grid-template-columns: 1fr 1fr; }
  .fb { flex-direction: column; text-align: center; }
  .nav-links a::after { display: none; }
}

/* ── Easter Egg ── */
.hlogo {
  cursor: pointer;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform .2s;
}
.hlogo:hover {
  transform: translateY(-4px) scale(1.03);
}
.hlogo.hit {
  animation: logoHit .35s ease forwards !important;
}
@keyframes logoHit {
  0% { transform: scale(1) translateY(0) rotate(0deg); filter: drop-shadow(0 0 45px rgba(255,0,0,.9)) brightness(1.3); }
  25% { transform: scale(1.08) translateY(-6px) rotate(-3deg); filter: drop-shadow(0 0 55px rgba(255,50,50,1)) brightness(1.5) hue-rotate(-20deg); }
  50% { transform: scale(0.96) translateY(4px) rotate(3deg); }
  75% { transform: scale(1.04) translateY(-2px) rotate(-1deg); }
  100% { transform: scale(1) translateY(0) rotate(0deg); filter: drop-shadow(0 0 32px rgba(193,0,0,.65)); }
}

#mc-toast {
  position: fixed; top: 80px; right: 25px; z-index: 99999;
  display: flex; align-items: center; gap: 14px;
  background: #1e1e1e;
  border: 2px solid #555;
  border-radius: 4px;
  box-shadow: 0 12px 35px rgba(0,0,0,.9), inset 0 2px 0 rgba(255,255,255,.12), inset 0 -2px 0 rgba(0,0,0,.6);
  padding: 10px 18px;
  transform: translateX(130%);
  transition: transform .45s cubic-bezier(.16,1,.3,1);
  font-family: 'Inter', sans-serif;
  pointer-events: none;
}
#mc-toast.show {
  transform: translateX(0);
}
.mc-toast-icon {
  font-size: 1.85rem;
  animation: toastBounce .6s ease;
  filter: drop-shadow(0 0 8px rgba(0,255,255,.6));
}
@keyframes toastBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3) rotate(15deg); }
}
.mc-toast-title {
  color: #ffaa00;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mc-toast-desc {
  color: #ffffff;
  font-size: .94rem;
  font-weight: 700;
  margin-top: 2px;
}

.diamond-rain {
  position: fixed;
  top: -60px;
  z-index: 99998;
  pointer-events: none;
  font-size: 2rem;
  user-select: none;
  animation: fallAnimation linear forwards;
}
@keyframes fallAnimation {
  0% { transform: translateY(0) rotate(0deg) scale(0.8); opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateY(110vh) rotate(720deg) scale(1.2); opacity: 0; }
}

.hit-spark {
  position: fixed;
  z-index: 999999;
  pointer-events: none;
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: #ff3333;
  text-shadow: 0 0 10px rgba(255,0,0,0.8), 0 2px 4px rgba(0,0,0,0.9);
  animation: floatUp 0.85s ease-out forwards;
  user-select: none;
}
@keyframes floatUp {
  0% { transform: translateY(0) scale(0.7); opacity: 1; }
  50% { transform: translateY(-30px) scale(1.3); opacity: 1; }
  100% { transform: translateY(-60px) scale(1); opacity: 0; }
}

/* ── VIP Section ── */
.vip-sec {
  background: #1c1c1c;
  padding: 5.5rem 2rem;
  position: relative;
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.vip-wrap {
  max-width: 1100px;
  margin: 0 auto;
}
.vip-head {
  text-align: center;
  margin-bottom: 3.5rem;
}
.vip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  align-items: stretch;
}
.vip-card {
  background: #242424;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all .3s cubic-bezier(.16,1,.3,1);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.vip-card:hover {
  transform: translateY(-8px);
  border-color: rgba(193,0,0,.45);
  box-shadow: 0 20px 45px rgba(0,0,0,.6), 0 0 25px rgba(193,0,0,.15);
}
.vip-card.featured {
  background: linear-gradient(180deg, #2a2222 0%, #201e1e 100%);
  border: 2px solid #c10000;
  box-shadow: 0 15px 40px rgba(193,0,0,.2), 0 0 35px rgba(193,0,0,.12);
  transform: scale(1.03);
}
.vip-card.featured:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0 24px 55px rgba(193,0,0,.35), 0 0 45px rgba(193,0,0,.25);
}
.vip-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #c10000;
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(193,0,0,.6);
  white-space: nowrap;
}
.vip-icon {
  font-size: 2.3rem;
  margin-bottom: 1rem;
  display: inline-block;
}
.vip-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.6rem;
  letter-spacing: .04em;
  line-height: 1;
  margin-bottom: .4rem;
}
.vip-tagline {
  color: #888;
  font-size: .83rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
  min-height: 2.4rem;
}
.vip-divider {
  height: 1px;
  background: rgba(255,255,255,.06);
  margin-bottom: 1.5rem;
}
.vip-feats {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.vip-feats li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .86rem;
  color: #ccc;
  line-height: 1.45;
}
.vip-feats li i {
  color: #c10000;
  margin-top: 3px;
  font-size: .8rem;
  flex-shrink: 0;
}
.vip-card.featured .vip-feats li i {
  color: #ff3333;
}
.vip-feats li strong {
  color: #fff;
}
.vip-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  background: #2e2e2e;
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
  padding: .85rem 1.4rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: .88rem;
  text-decoration: none;
  transition: all .25s;
  text-align: center;
}
.vip-btn:hover {
  background: #383838;
  border-color: rgba(255,255,255,.25);
  color: #fff;
}
.vip-card.featured .vip-btn {
  background: #c10000;
  border-color: #c10000;
  box-shadow: 0 6px 20px rgba(193,0,0,.45);
}
.vip-card.featured .vip-btn:hover {
  background: #df0000;
  box-shadow: 0 8px 25px rgba(193,0,0,.65);
}
.vip-footer-note {
  text-align: center;
  margin-top: 2.5rem;
  color: #666;
  font-size: .82rem;
}
.vip-footer-note a {
  color: #c10000;
  text-decoration: underline;
}

@media(max-width: 900px) {
  .vip-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
  .vip-card.featured {
    transform: none;
  }
  .vip-card.featured:hover {
    transform: translateY(-8px);
  }
}
