/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   EclipX MC - Stylesheet
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@import url('https://fonts.googleapis.com/css2?family=Agoma:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

@font-face {
  font-family: 'Epic Pro';
  src: url('../fonts/GC-EPICPRO-Demo-BF6891cc5419ab8.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000000;
  --surface: rgba(255,255,255,0.03);
  --glass: rgba(255,255,255,0.05);
  --glass-border: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.06);
  --accent: #ffffff;
  --accent-dim: rgba(255,255,255,0.85);
  --text: #ffffff;
  --text-2: rgba(255,255,255,0.6);
  --text-3: rgba(255,255,255,0.35);
  --font-display: 'Epic Pro', sans-serif;
  --font: 'Agoma', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 999px;
}

/* ━━ RESET ━━ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* Global Content Fade-In */
.spotlight-nav-wrapper,
section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

body.is-loaded .spotlight-nav-wrapper,
body.is-loaded section {
  opacity: 1;
  transform: translateY(0);
}

body.is-loaded .spotlight-nav-wrapper {
  transition-delay: 0.2s;
}

body.is-loaded section:nth-of-type(1) { transition-delay: 0.4s; }
body.is-loaded section:nth-of-type(2) { transition-delay: 0.6s; }
body.is-loaded section:nth-of-type(3) { transition-delay: 0.8s; }
body.is-loaded section:nth-of-type(4) { transition-delay: 1.0s; }
body.is-loaded section:nth-of-type(5) { transition-delay: 1.2s; }

body::before {
  content: '';
  position: fixed;
  inset: -5%;
  background: url('../images/stars-bg.png') center/cover no-repeat;
  opacity: 0.35;
  z-index: -2;
  pointer-events: none;
  animation: starDrift 60s ease-in-out infinite;
}

@keyframes starDrift {
  0% { transform: scale(1) translate(0%, 0%); }
  50% { transform: scale(1.05) translate(-1%, -1%); }
  100% { transform: scale(1) translate(0%, 0%); }
}

/* ━━ TYPOGRAPHY ━━ */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.15;
}
h2 {
  font-size: clamp(28px, 4vw, 46px);
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--text-3);
  font-size: 15px;
  margin-bottom: 48px;
  font-weight: 400;
}
a { color: var(--text-2); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--text); }
section { padding: 50px 5vw; position: relative; }

/* ━━ BUTTONS ━━ */
.btn-primary {
  position: relative;
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--text) !important;
  font-weight: 600;
  font-family: var(--font);
  padding: 11px 26px;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
  --shine: rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(-75deg, transparent 30%, var(--shine) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: shimmerBorder 2.5s linear infinite;
  
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}
@keyframes shimmerBorder {
  0% { background-position: 200% 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { background-position: -200% 0; opacity: 0; }
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
}
.btn-primary:active,
.btn-primary:visited,
.btn-primary:focus { color: var(--text) !important; }

.btn-outline {
  background: transparent;
  color: var(--text-2) !important;
  font-weight: 600;
  font-family: var(--font);
  padding: 11px 26px;
  border-radius: var(--r-pill);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .25s ease;
  text-decoration: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.2);
  color: var(--text) !important;
  transform: translateY(-2px);
}

/* ━━ GLASS CARD ━━ */
.card {
  position: relative;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 28px;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: transform .35s cubic-bezier(.25,.46,.45,.94),
              box-shadow .35s ease,
              border-color .35s ease;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
    rgba(255,255,255,0.08),
    transparent 40%
  );
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.card > * {
  position: relative;
  z-index: 1;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.2);
}
.card:hover::before {
  opacity: 1;
}

/* ━━ SPOTLIGHT NAVBAR ━━ */
.spotlight-nav-wrapper {
  position: fixed;
  top: 24px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1000;
  pointer-events: none;
}

.spotlight-nav {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  height: 48px;
  border-radius: 9999px;
  background-color: rgba(10, 10, 10, 0.7);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  padding: 0 8px;
  --spotlight-x: 0px;
  --ambience-x: 0px;
  --spotlight-color: rgba(255, 255, 255, 0.12);
  --ambience-color: rgba(255, 255, 255, 0.8);
}

.spotlight-nav-list {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  z-index: 10;
}

.spotlight-nav-link {
  padding: 8px 18px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  transition: color 0.2s;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.spotlight-nav-link:hover, 
.spotlight-nav-link.active {
  color: var(--text);
}

/* Moving Spotlight (Follows Mouse) */
.spotlight-nav-light {
  pointer-events: none;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(100px circle at var(--spotlight-x) 100%, var(--spotlight-color) 0%, transparent 50%);
}

.spotlight-nav.is-hovered .spotlight-nav-light {
  opacity: 1;
}

/* Active State Ambience (Underline) */
.spotlight-nav-ambience {
  pointer-events: none;
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 2px;
  z-index: 2;
  background: radial-gradient(40px circle at var(--ambience-x) 0%, var(--ambience-color) 0%, transparent 100%);
}

.spotlight-nav-logo {
  height: 24px;
  margin-right: 8px;
  margin-left: 8px;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.2));
}

.cart-btn-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  margin-left: 8px;
  color: var(--text-2);
  transition: all 0.2s;
}

.cart-btn-nav:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text);
}

.cart-badge-nav {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #fff;
  color: #000;
  font-size: 9px;
  font-weight: 800;
  min-width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ━━ HERO ━━ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}
.hero::before {
  content: '';
  position: absolute; inset: -5%;
  background: url('../images/stars-bg.png') center/cover no-repeat;
  opacity: 0.6;
  z-index: 0;
  animation: starDrift 90s ease-in-out infinite reverse;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, #000 80%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 3; text-align: center; padding: 20px; }

.hero-logo {
  width: clamp(260px, 32vw, 560px);
  height: auto;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 60px rgba(255,255,255,0.15));
  animation: heroFloat 7s ease-in-out infinite;
}
@keyframes heroFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-ghost-text {
  display: none;
}

.hero-ghost-text-1 { top: 18%; opacity: 0.015; }
.hero-ghost-text-2 { top: 34%; opacity: 0.025; }
.hero-ghost-text-3 { top: 50%; opacity: 0.015; }

.hero-subtitle {
  font-family: var(--font);
  font-size: clamp(13px, 1.8vw, 16px);
  color: var(--text-3);
  margin-bottom: 28px;
  font-weight: 400;
  letter-spacing: 0.01em;
  animation: fadeUp .7s ease-out .3s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-cta {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  animation: fadeUp .7s ease-out .45s both;
  margin-bottom: 28px;
}

/* IP Copy Element */
.ip-copy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill);
  padding: 10px 20px;
  cursor: pointer;
  transition: all .3s ease;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: fadeUp .7s ease-out .6s both;
  -webkit-user-select: none;
  user-select: none;
}
.ip-copy:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
}
.ip-copy-label {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ip-copy-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  font-family: 'Courier New', monospace;
  letter-spacing: 0.02em;
}
.ip-copy-icon {
  width: 16px; height: 16px;
  color: var(--text-3);
  transition: color .25s ease;
}
.ip-copy:hover .ip-copy-icon { color: var(--text); }
.ip-copy.copied {
  border-color: rgba(255,255,255,0.3);
}
.ip-copy.copied .ip-copy-icon { color: #4ade80; }

/* Hero Particles */
.hero-particles {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden;
}
.hero-particle {
  position: absolute;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  animation: particleDrift linear infinite;
}
@keyframes particleDrift {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ━━ TEAM PFP GRID ━━ */
.team-member-pfp {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-pfp-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 80px;
  margin-top: 40px;
}

.pfp-container {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 24px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pfp-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.pfp-glow {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  background: var(--text);
  filter: blur(20px);
  opacity: 0;
  z-index: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.team-member-pfp:hover .pfp-container {
  transform: translateY(-15px) scale(1.08);
  background: linear-gradient(135deg, #fff, transparent);
}

.team-member-pfp:hover .pfp-glow {
  opacity: 0.2;
  transform: scale(1.15);
}

.pfp-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.pfp-role {
  font-size: 13px;
  color: var(--text-2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.7;
}

/* ━━ RULES & REFUND ━━ */
.policies { background: transparent; }
.policies-grid {
  max-width: 800px;
  margin: 0 auto;
}
.policy-card {
  margin-bottom: 32px;
}
.policy-card:last-child { margin-bottom: 0; }
.policy-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.policy-card p {
  color: var(--text-2);
  line-height: 1.7;
  font-size: 14px;
}

/* ━━ FAQ ━━ */
.faq { background: transparent; }
.faq-container { max-width: 680px; margin: 0 auto; }
.faq-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  overflow: hidden;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: border-color .3s ease;
}
.faq-item:hover { border-color: rgba(255,255,255,0.12); }
.faq-item.active { border-color: rgba(255,255,255,0.2); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px;
  cursor: pointer; -webkit-user-select: none; user-select: none;
  transition: background .25s ease;
}
.faq-question:hover { background: rgba(255,255,255,0.02); }
.faq-question-text { font-size: 14px; font-weight: 600; color: var(--text); }
.faq-icon {
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .3s ease;
}
.faq-icon::after { content: '▾'; font-size: 14px; color: var(--text-3); }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
  color: var(--text-2); padding: 0 22px;
  font-size: 14px; line-height: 1.7;
}
.faq-item.active .faq-answer { max-height: 300px; padding: 0 22px 18px; }

/* ━━ STORE LAYOUT ━━ */
.store-section {
  padding: 50px 5vw;
  max-width: 1400px;
  margin: 0 auto;
}
.store-container {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 992px) {
  .store-container { grid-template-columns: 1fr; }
}

/* Store Sidebar */
.store-sidebar {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}
.sidebar-header {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 40px;
  text-transform: uppercase;
  opacity: 0.8;
}
.sidebar-nav {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sidebar-link {
  padding: 18px 24px;
  border-radius: 12px;
  color: var(--text-2);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: block;
  text-decoration: none;
}
.sidebar-link:hover {
  color: var(--text);
}
.sidebar-link.active {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.sidebar-indicator {
  position: absolute;
  left: 0;
  width: 4px;
  height: 24px;
  background: #fff;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 0 12px rgba(255,255,255,0.4);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 5;
  pointer-events: none;
  opacity: 0;
}
.sidebar-nav:has(.active) .sidebar-indicator {
  opacity: 1;
}

.hidden { display: none !important; }
.section-title-uppercase { font-family: var(--font-display); text-transform: uppercase; }
.btn-danger {
  background: #ff4444;
  border-color: #ff4444;
}
.icon-large { font-size: 32px; }
.warning-icon-success { background: rgba(74, 222, 128, 0.1); color: #4ade80; }
.warning-icon-danger { color: #ff4444; }

/* Store Content */
.store-content-header {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 32px;
  margin-bottom: 32px;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
#store-category-header { display: none; }
.store-content-header h1 {
  font-size: 28px;
  margin-bottom: 8px;
}
.store-content-header p {
  color: var(--text-2);
}

/* Package Grid */
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
}

/* Package Card */
.package-card {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.package-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
}
.package-card:hover .package-img {
  transform: translateY(-5px) scale(1.05);
}
.package-img.gold-shadow { filter: drop-shadow(0 0 10px gold); }
.package-img.purple-shadow { filter: drop-shadow(0 0 10px purple); }
.package-title {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  min-height: 45px;
  display: flex;
  align-items: center;
}
.package-price {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
  margin-bottom: 20px;
}
.package-actions {
  display: flex;
  gap: 8px;
  width: 100%;
}
.package-actions .btn-primary {
  flex: 1;
  padding: 9px 12px;
  font-size: 13px;
  border-radius: var(--r-sm);
}
.btn-icon {
  padding: 9px;
  min-width: 42px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border-radius: var(--r-sm);
  color: var(--text);
  border: 1px solid var(--glass-border);
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-icon:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* ━━ CART PAGE ━━ */
.cart-page {
  padding-top: 50px;
}

.cart-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 100px;
}

.cart-header {
  text-align: center;
  margin-bottom: 60px;
}

.cart-header h1 {
  font-size: clamp(32px, 5vw, 54px);
  margin-bottom: 12px;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cart-header p {
  color: var(--text-2);
  font-size: 18px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 968px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .cart-summary-wrapper {
    position: static;
  }
}

.cart-items-wrapper {
  display: grid;
  gap: 20px;
}

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 24px;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cart-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.cart-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
}

.cart-item:hover::before {
  opacity: 1;
}

.cart-item-img {
  width: 120px;
  height: 120px;
  border-radius: var(--r-md);
  object-fit: contain;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  padding: 12px;
}

.cart-item-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.cart-item-title {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 4px;
  display: block;
}

.cart-item-meta {
  color: var(--text-2);
  font-size: 14px;
}

.cart-item-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.cart-quantity {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0,0,0,0.2);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--glass-border);
}

.qty-button {
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.qty-button:hover {
  color: var(--accent);
  transform: scale(1.2);
}

.qty-value {
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

.total-row {
  text-align: right;
}

.total-row span {
  font-size: 12px;
  color: var(--text-3);
  text-transform: uppercase;
  display: block;
}

.total-row strong {
  font-size: 18px;
  color: var(--accent);
}

.cart-remove {
  background: rgba(255,68,68,0.05);
  border: 1px solid rgba(255,68,68,0.2);
  color: #ff4444;
  padding: 8px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
}

.cart-remove:hover {
  background: rgba(255,68,68,0.15);
  transform: scale(1.05);
}

.cart-summary-wrapper {
  position: sticky;
  top: 120px;
}

.summary-card {
  padding: 32px;
}

.summary-card h3 {
  font-size: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 16px;
}

.summary-details {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-2);
}

.summary-row.subtotal {
  border-top: 1px solid var(--glass-border);
  padding-top: 16px;
  color: var(--text);
  font-size: 20px;
}

.summary-row.subtotal strong {
  color: var(--accent);
}

.summary-actions {
  display: grid;
  gap: 12px;
}

.summary-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
}

.summary-footer i {
  color: #4ade80;
  margin-right: 4px;
}

.checkout-info {
  margin-top: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  text-align: left;
}

.checkout-info p {
  margin-bottom: 8px;
  font-size: 12px;
}

.checkout-info ol {
  margin: 0;
  padding-left: 18px;
  font-size: 11px;
  color: var(--text-2);
}

.checkout-info li {
  margin-bottom: 4px;
}

.cart-empty {
  text-align: center;
  padding: 80px 40px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  grid-column: 1 / -1;
}

.cart-empty p {
  font-size: 18px;
  color: var(--text-2);
  margin-bottom: 24px;
}

.cart-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px;
}

.spinner-small {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.store-filters {
  margin-bottom: 32px;
}

.search-wrapper {
  position: relative;
  max-width: 400px;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
  font-size: 18px;
  pointer-events: none;
}

#productSearch {
  width: 100%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: 14px 16px 14px 48px;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  transition: all 0.3s ease;
}

#productSearch:focus {
  outline: none;
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 20px rgba(255,255,255,0.03);
}

.cart-items-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.cart-items-header h2 {
  font-size: 20px;
  text-align: left;
  margin-bottom: 0;
}

.btn-text {
  background: transparent;
  border: none;
  color: var(--text-3);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-text:hover {
  color: #ff4444;
}

.cart-items-list {
  display: grid;
  gap: 20px;
}

.coupon-wrapper {
  display: flex;
  gap: 8px;
  margin: 8px 0 16px;
}

.coupon-wrapper input {
  flex: 1;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  padding: 8px 12px;
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
}

.btn-outline-mini {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s ease;
}

.btn-outline-mini:hover {
  background: rgba(255,255,255,0.05);
}

/* Checkout Modal */
.checkout-modal {
  max-width: 500px;
}

.checkout-header {
  text-align: center;
  margin-bottom: 24px;
}

.checkout-icon {
  font-size: 48px;
  color: #4ade80;
  margin-bottom: 16px;
  display: block;
}

.checkout-summary-mini {
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: 20px;
  margin-bottom: 24px;
}

.checkout-item-mini {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 8px;
}

.checkout-total-mini {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--glass-border);
  padding-top: 12px;
  margin-top: 12px;
  font-size: 18px;
}

.checkout-total-mini strong {
  color: var(--accent);
}

/* Product Modal */
.product-modal {
  max-width: 800px;
  width: 90%;
  padding: 0;
  overflow: hidden;
}

.product-modal-body {
  display: flex;
}

@media (max-width: 768px) {
  .product-modal-body {
    flex-direction: column;
  }
}

.product-modal-left {
  flex: 1;
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border-right: 1px solid var(--glass-border);
}

.product-modal-left img {
  max-width: 250px;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(255,255,255,0.1));
}

.product-modal-right {
  flex: 1.2;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-modal-right h2 {
  font-size: 32px;
  text-align: left;
  margin-bottom: 8px;
}

.product-modal-price {
  font-size: 24px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 24px;
}

.product-modal-right p {
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 32px;
}

.product-modal-actions {
  display: flex;
  gap: 16px;
}

/* Live Activity Notification */
.live-activity-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.purchase-toast {
  background: rgba(10, 10, 10, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 320px;
  transform: translateX(-120%);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
}

.purchase-toast.active {
  transform: translateX(0);
}

.purchase-toast-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.05);
}

.purchase-toast-content {
  flex: 1;
}

.purchase-toast-user {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text);
  margin-bottom: 2px;
}

.purchase-toast-text {
  font-size: 12px;
  color: var(--text-2);
}

.purchase-toast-text strong {
  color: var(--accent);
}

.purchase-toast-time {
  font-size: 10px;
  color: var(--text-3);
  margin-top: 4px;
  display: block;
}

/* Featured Packages Section */
.featured-packages-wrapper {
  margin-bottom: 48px;
}

.featured-title {
  font-size: 14px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.featured-title i {
  color: var(--accent);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.featured-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px !important;
  cursor: pointer;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%) !important;
}

.featured-card:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%) !important;
  border-color: rgba(255,255,255,0.2) !important;
}

.featured-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  box-shadow: 0 0 15px rgba(255,255,255,0.2);
}

.featured-card-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--accent);
  transition: all 0.3s ease;
}

.featured-card:hover .featured-card-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.featured-card-info {
  flex: 1;
}

.featured-card-info h4 {
  font-size: 20px;
  margin-bottom: 4px;
  text-transform: none;
  letter-spacing: 0;
}

.featured-card-info p {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 12px;
}

.featured-card-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.featured-card:hover .featured-card-link {
  gap: 8px;
}

@media (max-width: 640px) {
  .featured-card {
    padding: 24px !important;
    gap: 16px;
  }
  .featured-card-icon {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
  .featured-card-info h4 {
    font-size: 18px;
  }
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.team-card {
  padding: 0 !important;
  overflow: hidden;
}

.team-card-inner {
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-avatar-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

.team-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--glass-border);
  padding: 4px;
  background: var(--glass);
}

.team-status-online {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 16px;
  height: 16px;
  background: #4ade80;
  border: 3px solid #111;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

.team-name {
  font-size: 22px;
  margin-bottom: 4px;
  text-transform: none;
}

.team-role {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: block;
}

.team-bio {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 24px;
}

.team-socials {
  display: flex;
  gap: 12px;
}

.team-social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  font-size: 18px;
  transition: all 0.3s ease;
}

.team-social-link:hover {
  background: var(--accent);
  color: #000;
  transform: translateY(-3px);
  border-color: var(--accent);
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/* Server Status Widget */
.server-status {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 10px 24px;
  border-radius: var(--r-pill);
  border: 1px solid var(--glass-border);
  margin-top: 32px;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: relative;
}

.status-indicator.online {
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
}

.status-indicator.offline {
  background: #ff4444;
  box-shadow: 0 0 10px #ff4444;
}

.status-indicator.online::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid #4ade80;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}

.status-icon {
  font-size: 16px;
  color: var(--text-2);
}

.status-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
}

.status-text strong {
  color: var(--text);
}

.status-divider {
  width: 1px;
  height: 16px;
  background: var(--glass-border);
}

@media (max-width: 480px) {
  .server-status {
    gap: 12px;
    padding: 10px 16px;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: var(--r-md);
  }
  .status-divider {
    display: none;
  }
}

/* Policies Section */
.policies-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.policies-header {
  margin-top: 60px;
  margin-bottom: 40px;
}

.policies-grid {
  max-width: 800px;
  margin: 0 auto;
}

.policy-card {
  margin-bottom: 36px;
}
.policy-card:last-child { margin-bottom: 0; }

.policy-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  text-transform: none;
}

.policy-card p {
  color: var(--text-2);
  line-height: 1.7;
  font-size: 14px;
}

/* Discord CTA */
.discord-cta {
  position: relative;
  max-width: 1200px;
  margin: 50px auto;
  padding: 80px 40px;
  border-radius: var(--r-lg);
  overflow: hidden;
  text-align: center;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.1) 0%, rgba(0,0,0,0) 100%);
  border: 1px solid rgba(88, 101, 242, 0.2);
}

.discord-cta-content {
  position: relative;
  z-index: 2;
}

.discord-cta-icon {
  font-size: 64px;
  color: #5865F2;
  margin-bottom: 24px;
}

.discord-cta h2 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 16px;
}

.discord-cta p {
  color: var(--text-2);
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 18px;
}

.btn-discord {
  background: #5865F2 !important;
  color: #fff !important;
}

.btn-discord:hover {
  background: #4752c4 !important;
  box-shadow: 0 0 30px rgba(88, 101, 242, 0.4) !important;
}

.discord-cta-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(88, 101, 242, 0.1) 0%, transparent 70%);
  z-index: 1;
}

/* Gamemodes Section */
.gamemodes-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px !important;
}

.gamemodes-header {
  text-align: center;
  margin-bottom: 32px !important;
}

.gamemodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.gamemode-card {
  padding: 0 !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gamemode-image {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.gamemode-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.8) 100%);
}

.gamemode-icon {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: #000;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 5px 15px rgba(255,255,255,0.2);
}

.gamemode-info {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gamemode-info h3 {
  font-size: 24px;
  margin-bottom: 12px;
  text-transform: none;
}

.gamemode-info p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.gamemode-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.gamemode-features span {
  font-size: 13px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.gamemode-features i {
  color: #4ade80;
}

.gamemode-card:hover .gamemode-image img {
  transform: scale(1.1);
}

@media (max-width: 480px) {
  .gamemodes-grid {
    grid-template-columns: 1fr;
  }
}

/* Vote Section */
.vote-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px !important;
}

.vote-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 32px !important;
  align-items: start;
}

@media (max-width: 968px) {
  .vote-layout {
    grid-template-columns: 1fr;
  }
}

.vote-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vote-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px !important;
  text-decoration: none;
  transition: all 0.3s ease;
}

.vote-card:hover {
  transform: translateX(10px);
  border-color: var(--accent) !important;
}

.vote-number {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: rgba(255,255,255,0.1);
  transition: color 0.3s ease;
}

.vote-card:hover .vote-number {
  color: var(--accent);
}

.vote-details {
  flex: 1;
}

.vote-details strong {
  display: block;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 2px;
}

.vote-details span {
  font-size: 14px;
  color: var(--text-2);
}

.vote-card i {
  font-size: 20px;
  color: var(--text-3);
  transition: color 0.3s ease;
}

.vote-card:hover i {
  color: var(--accent);
}

.vote-rewards {
  padding: 40px !important;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 100%) !important;
}

.rewards-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  color: var(--accent);
}

.rewards-header i {
  font-size: 24px;
}

.rewards-header h3 {
  font-size: 24px;
  margin-bottom: 0;
  text-transform: none;
  color: var(--text);
}

.rewards-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.rewards-list li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.reward-icon {
  width: 48px;
  height: 48px;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent);
}

.reward-text strong {
  display: block;
  font-size: 16px;
  color: var(--text);
}

.reward-text span {
  font-size: 14px;
  color: var(--text-2);
}

.rewards-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  font-size: 14px;
  color: var(--text-2);
}

.rewards-footer strong {
  color: var(--accent);
}

/* Media Gallery */
.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px !important;
}

.gallery-header {
  text-align: center;
  margin-bottom: 32px !important;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  height: 200px;
  padding: 0 !important;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay i {
  font-size: 32px;
  color: var(--accent);
}

.gallery-item-overlay span {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--r-md);
  box-shadow: 0 0 50px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 48px;
  cursor: pointer;
  line-height: 1;
}

/* Rules Section */
.rules-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px !important;
}

.rules-heading {
  margin-top: 60px !important;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 32px !important;
}

.rule-group h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  margin-bottom: 24px;
  color: var(--accent);
}

.rule-group ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rule-group li {
  font-size: 14px;
  color: var(--text-2);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.rule-group li::before {
  content: '•';
  color: var(--accent);
  font-weight: bold;
}

.rules-footer {
  margin-top: 40px;
  text-align: center;
  font-style: italic;
  color: var(--text-3);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #fff;
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

/* Server Details */
.details-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.detail-card {
  text-align: center;
  padding: 32px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.detail-card i {
  font-size: 40px;
  color: var(--accent);
}

.detail-card h3 {
  font-size: 18px;
  margin: 0;
}

.detail-card p {
  color: var(--text-2);
  font-size: 14px;
  margin: 0;
}

/* ━━ WELCOME SECTION ━━ */
.welcome-section {
  padding: 20px 5vw;
  max-width: 1200px;
  margin: 0 auto;
}
.welcome-container {
  max-width: 900px;
  margin: 0 auto;
}

.welcome-header {
  margin-bottom: 32px;
}
.welcome-label {
  font-size: 13px;
  font-weight: 700;
  color: #ff9d00;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 8px;
}
.welcome-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 1px;
}
.welcome-body p {
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 15px;
}
.welcome-info-block {
  margin-top: 40px;
  margin-bottom: 40px;
}
.info-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.info-title.orange { color: #ff9d00; }
.info-title.red { color: #ff4444; }

.welcome-link {
  color: #ff9d00;
  text-decoration: underline;
}

.btn-welcome {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: 12px;
  margin-right: 8px;
}
.btn-welcome.orange {
  background: #ff9d00;
  color: #000;
}
.btn-welcome.discord {
  background: #5865F2;
  color: #fff;
}
.btn-welcome.red {
  background: #ff4444;
  color: #fff;
}

.btn-welcome:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.welcome-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.giftcard-card {
  max-width: 450px;
  padding: 24px;
  background: rgba(255,255,255,0.03);
  margin-top: 40px;
}
.giftcard-header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.giftcard-body {
  display: flex;
  gap: 10px;
}
.giftcard-input {
  flex: 1;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  padding: 10px 16px;
  color: var(--text);
  font-size: 14px;
}
.btn-giftcard {
  background: #4caf50;
  color: #fff;
  border: none;
  border-radius: var(--r-sm);
  padding: 0 20px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-giftcard:hover {
  background: #45a049;
}

/* ━━ FOOTER ━━ */
.footer {
  background: rgba(0,0,0,0.6);
  border-top: 1px solid var(--border);
  padding: 16px 5vw;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.footer-content {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1100px; margin: 0 auto; flex-wrap: wrap; gap: 20px;
}
@media(max-width:768px){
  .footer-content{flex-direction:column;text-align:center}
}
.footer-left { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer-favicon-wrapper {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 8px;
}

.footer-favicon {
  width: 128px;
  height: 128px;
  object-fit: contain;
}
.footer-disclaimer { font-size: 12px; color: var(--text-3); line-height: 1.6; }
.footer-disclaimer p { margin: 0; }

.footer-center { display: flex; gap: 24px; }
.footer-link { font-size: 13px; color: var(--text-3); font-weight: 500; transition: color .25s ease; }
.footer-link:hover { color: var(--text); }
.footer-right { display: flex; align-items: center; gap: 14px; }
.footer-copyright { font-size: 12px; color: var(--text-3); }
.footer-credit { font-size: 11px; color: var(--text-3); margin: 0; }
.footer-credit a { color: var(--text-2); text-decoration: none; transition: color .25s ease; }
.footer-credit a:hover { color: #fff; }
.social-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--glass); border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  transition: all .25s ease; color: var(--text-3);
}
.social-icon:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: var(--text);
}

/* ━━ SCROLL REVEAL ━━ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.25,.46,.45,.94),
              transform .6s cubic-bezier(.25,.46,.45,.94);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ━━ DIVIDER ━━ */
.section-divider {
  width: 100%;
  max-width: 1000px;
  margin: 40px auto;
  height: 1px;
  background: var(--border);
}

/* ━━ SCROLLBAR ━━ */
::-webkit-scrollbar{width:6px}
::-webkit-scrollbar-track{background:var(--bg)}
::-webkit-scrollbar-thumb{background:rgba(255,255,255,0.08);border-radius:3px}
::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,0.15)}
::selection{background:#fff;color:#000}

/* ━━ PRELOADER ━━ */
.preloader {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: preloaderContentFadeIn 1s ease-out forwards;
}

.preloader-logo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
}

.preloader-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
  animation: preloaderPulse 3s ease-in-out infinite;
}

.preloader-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  animation: preloaderGlow 3s ease-in-out infinite;
}

.preloader-spinner {
  margin-top: 30px;
  width: 120px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.preloader-spinner::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  animation: preloaderProgress 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

@keyframes preloaderContentFadeIn {
  from { opacity: 0; transform: translateY(15px); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3)) brightness(0.9); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.6)) brightness(1.2); }
}

@keyframes preloaderGlow {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

@keyframes preloaderProgress {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ━━ LOGIN SYSTEM ━━ */
.top-right-wrapper {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1001;
}

.user-status-card {
  background: transparent;
  border: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  padding: 0;
  box-shadow: none;
  transition: all 0.3s ease;
}

.logged-in-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar-small {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.user-name-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.logout-btn-mini {
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid rgba(255, 68, 68, 0.2);
  color: #ff4444;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.logout-btn-mini:hover {
  background: rgba(255, 68, 68, 0.2);
  transform: scale(1.05);
}

/* Modal Styles */
.modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 400px;
  background: rgba(15, 15, 15, 0.8);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  padding: 40px;
  transform: scale(0.9) translateY(20px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover { color: var(--text); }

.btn-block { width: 100%; }

/* Switch Toggle CSS */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input { opacity: 0; width: 0; height: 0; }

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: '';
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
}

input:checked + .slider {
  background-color: #ffffff;
}

input:checked + .slider:before {
  transform: translateX(20px);
  background-color: #000;
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Logout Modal Specifics */
.logout-modal {
  max-width: 450px;
  text-align: center;
}

.warning-icon-wrapper {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #fff;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.btn-logout-confirm {
  flex: 1.5;
  background: rgba(255, 255, 255, 0.1);
}

.btn-cancel {
  flex: 1;
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid rgba(255, 68, 68, 0.2);
  color: #ff4444;
  font-weight: 600;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

.btn-cancel:hover {
  background: rgba(255, 68, 68, 0.2);
  transform: translateY(-2px);
}

.nav-actions {
  display: flex;
  align-items: center;
  padding-left: 12px;
  border-left: 1px solid var(--glass-border);
  margin-left: 12px;
}

.user-status-card {
  background: transparent;
  border: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  padding: 0;
  box-shadow: none;
  transition: all 0.3s ease;
}

.logged-in-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-avatar-small {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.user-name-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.logout-btn-mini {
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid rgba(255, 68, 68, 0.2);
  color: #ff4444;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.logout-btn-mini:hover {
  background: rgba(255, 68, 68, 0.2);
  transform: scale(1.05);
}

/* ━━ MOBILE NAVIGATION & LOGIN FIXES ━━ */
@media (max-width: 950px) {
  .user-name-text {
    display: none;
  }
}

