:root {
  --bg-primary: #06060f;
  --bg-secondary: #0a0a1f;
  --bg-card: rgba(14, 14, 40, 0.7);
  --bg-card-hover: rgba(20, 20, 55, 0.8);
  --text-primary: #ededff;
  --text-secondary: #8888b0;
  --text-muted: #55557a;
  --accent-1: #6c5ce7;
  --accent-2: #a855f7;
  --accent-3: #7c3aed;
  --accent-pink: #ec4899;
  --discord-blue: #5865f2;
  --discord-hover: #4752c4;
  --success: #22c55e;
  --success-glow: rgba(34, 197, 94, 0.3);
  --success-bg: rgba(34, 197, 94, 0.08);
  --border: rgba(108, 92, 231, 0.15);
  --border-hover: rgba(108, 92, 231, 0.4);
  --glow-1: rgba(108, 92, 231, 0.4);
  --glow-2: rgba(168, 85, 247, 0.25);
  --glass: rgba(14, 14, 40, 0.6);
  --glass-border: rgba(108, 92, 231, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════
   ADVANCED BACKGROUND SYSTEM — DARK TEXTURED
   ═══════════════════════════════════════════════════════════════════════ */

/* Subtle mesh gradient — barely visible depth */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 60% at 15% 5%, rgba(88, 40, 180, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 90%, rgba(60, 30, 140, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(40, 20, 100, 0.04) 0%, transparent 45%);
  pointer-events: none;
}

/* Diagonal line texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(108, 92, 231, 0.015) 40px,
      rgba(108, 92, 231, 0.015) 41px
    );
  pointer-events: none;
}

/* Noise texture overlay */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 512px 512px;
  mix-blend-mode: overlay;
  contain: strict;
}

/* Second noise layer — grain */
.noise-overlay::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='turbulence' baseFrequency='1.2' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  mix-blend-mode: soft-light;
}

/* Aurora — very dim, moody */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
}

.aurora-beam {
  position: absolute;
  width: 160%;
  height: 35%;
  filter: blur(80px);
  opacity: 0.05;
  animation: auroraFloat 25s ease-in-out infinite;
  will-change: transform;
  contain: layout style;
}

.aurora-beam:nth-child(1) {
  background: linear-gradient(90deg, transparent, #4c1d95, #5b21b6, transparent);
  top: -10%;
  left: -30%;
  animation-duration: 28s;
}

.aurora-beam:nth-child(2) {
  background: linear-gradient(90deg, transparent, #7c3aed, #6d28d9, transparent);
  top: 40%;
  right: -30%;
  animation-delay: -10s;
  animation-duration: 22s;
}

.aurora-beam:nth-child(3) {
  background: linear-gradient(90deg, transparent, #3b0764, #4c1d95, transparent);
  bottom: -10%;
  left: -15%;
  animation-delay: -18s;
  animation-duration: 30s;
  opacity: 0.04;
}

@keyframes auroraFloat {
  0% { transform: translateX(-15%) rotate(-3deg); }
  33% { transform: translateX(5%) rotate(1deg); }
  66% { transform: translateX(-8%) rotate(-2deg); }
  100% { transform: translateX(-15%) rotate(-3deg); }
}

/* Floating orbs — very dim */
.floating-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orbFloat 30s ease-in-out infinite;
  will-change: transform;
  contain: layout style;
}

.orb-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(88, 28, 135, 0.10), transparent 70%);
  top: -15%; left: -10%;
  animation-duration: 35s;
}

.orb-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(67, 20, 112, 0.07), transparent 70%);
  bottom: -10%; right: -5%;
  animation-delay: -10s;
  animation-duration: 28s;
}

.orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.05), transparent 70%);
  top: 40%; left: 50%;
  animation-delay: -20s;
  animation-duration: 32s;
}

.orb-4 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(59, 7, 100, 0.06), transparent 70%);
  top: 15%; right: 20%;
  animation-delay: -5s;
  animation-duration: 25s;
}

.orb-5 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(76, 29, 149, 0.07), transparent 70%);
  top: 70%; left: 20%;
  animation-delay: -15s;
  animation-duration: 30s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  20% { transform: translate(30px, -20px) scale(1.05); }
  40% { transform: translate(-20px, 30px) scale(0.95); }
  60% { transform: translate(40px, 15px) scale(1.03); }
  80% { transform: translate(-15px, -30px) scale(0.98); }
  100% { transform: translate(0, 0) scale(1); }
}

/* Particles canvas */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 48px;
  background: transparent;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 12px 48px;
  background: rgba(4, 4, 12, 0.8);
  backdrop-filter: blur(40px) saturate(1.5);
  -webkit-backdrop-filter: blur(40px) saturate(1.5);
  border-bottom: 1px solid rgba(108, 92, 231, 0.06);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo-mark {
  width: 36px; height: 36px;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.logo-mark:hover {
  transform: rotate(-12deg) scale(1.08);
}

.logo-mark svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 2px 8px rgba(108, 92, 231, 0.4));
}

.brand-text {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #c084fc, var(--accent-2), var(--accent-1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 10px;
  transition: all 0.3s;
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(108, 92, 231, 0.08);
}

.nav-link.active {
  color: var(--text-primary);
  background: rgba(108, 92, 231, 0.12);
}

/* ===== BUTTONS ===== */
.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--discord-blue), #4752c4);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.btn-discord::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn-discord:hover::before {
  transform: translateX(100%);
}

.btn-discord:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(88, 101, 242, 0.4), 0 0 80px rgba(88, 101, 242, 0.15);
}

.btn-xl {
  padding: 18px 36px;
  font-size: 17px;
  border-radius: 16px;
  letter-spacing: -0.01em;
}

.btn-discord-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--discord-blue), #4752c4);
  color: white !important;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.btn-discord-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.35);
}

.btn-discord-nav.logged-in {
  background: rgba(108, 92, 231, 0.15);
  border: 1px solid var(--border);
  gap: 10px;
  padding: 6px 14px 6px 6px;
}

.btn-discord-nav.logged-in:hover {
  background: rgba(108, 92, 231, 0.25);
  box-shadow: 0 8px 24px rgba(108, 92, 231, 0.2);
}

.nav-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-1);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--accent-1);
  background: rgba(108, 92, 231, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108, 92, 231, 0.12);
}

.btn-ghost-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-ghost-sm:hover {
  color: var(--text-primary);
  border-color: var(--accent-1);
  background: rgba(108, 92, 231, 0.08);
}

.btn-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.15) 45%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0.15) 55%, transparent 60%);
  transform: translateX(-150%);
  transition: none;
}

.btn-discord:hover .btn-shine,
.btn-discord-nav:hover .btn-shine {
  animation: shine 0.8s ease-out;
}

@keyframes shine {
  to { transform: translateX(150%); }
}

/* ===== HERO ===== */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 800px;
}

.hero-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 36px;
  position: relative;
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-logo.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.hero-logo svg {
  width: 100%;
  height: 100%;
  animation: logoFloat 8s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(168, 85, 247, 0.4)) drop-shadow(0 0 80px rgba(108, 92, 231, 0.2));
}

.hero-logo.small {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
}

.hero-logo-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.3), transparent 70%);
  border-radius: 50%;
  animation: logoGlowPulse 4s ease-in-out infinite;
  z-index: -1;
}

.hero-avatar-pfp {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent-1);
  box-shadow: 0 0 40px rgba(108, 92, 231, 0.4), 0 0 80px rgba(168, 85, 247, 0.2);
  animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-12px) rotate(2deg); }
  50% { transform: translateY(-6px) rotate(-1deg); }
  75% { transform: translateY(-16px) rotate(1deg); }
}

@keyframes logoGlowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.hero-title {
  font-size: 72px;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-title.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 40%, var(--accent-pink) 70%, var(--accent-2) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: 22px;
  color: var(--text-secondary);
  margin-bottom: 48px;
  line-height: 1.7;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-subtitle.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-actions.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll indicator */
.scroll-indicator {
  margin-top: 60px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-indicator.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid var(--text-muted);
  border-radius: 13px;
  margin: 0 auto;
  position: relative;
}

.mouse-wheel {
  width: 4px;
  height: 8px;
  background: var(--accent-1);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.3; transform: translateX(-50%) translateY(12px); }
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 48px 120px;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 42px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 64px;
  letter-spacing: -0.03em;
}

.section-title-sm {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title-sm svg {
  flex-shrink: 0;
  filter: drop-shadow(0 1px 4px rgba(108, 92, 231, 0.3));
}

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

.feature-card {
  background: rgba(8, 8, 24, 0.65);
  border: 1px solid rgba(108, 92, 231, 0.07);
  border-radius: 20px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  backdrop-filter: blur(32px) saturate(1.2);
  -webkit-backdrop-filter: blur(32px) saturate(1.2);
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.05), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
}

.feature-card:hover {
  border-color: rgba(108, 92, 231, 0.2);
  transform: translateY(-8px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(108, 92, 231, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(108, 92, 231, 0.08);
  border-radius: 16px;
  border: 1px solid rgba(108, 92, 231, 0.1);
}

.feature-icon-glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.25), transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.5s;
}

.feature-card:hover .feature-icon-glow {
  opacity: 1;
}

.feature-icon {
  position: relative;
  z-index: 1;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-svg {
  filter: drop-shadow(0 2px 8px rgba(108, 92, 231, 0.3));
}

.feature-card:hover .feature-icon {
  transform: scale(1.15) rotate(-5deg);
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.7;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== REWARDS PAGE ===== */
.rewards-page {
  padding: 140px 48px 100px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.rewards-header {
  text-align: center;
  margin-bottom: 72px;
}

.rewards-header h1 {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.rewards-header h1.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.rewards-header p {
  color: var(--text-secondary);
  font-size: 17px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.rewards-header p.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.rewards-section {
  margin-bottom: 56px;
}

.rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.reward-card {
  background: rgba(8, 8, 24, 0.65);
  border: 1px solid rgba(108, 92, 231, 0.07);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  backdrop-filter: blur(32px) saturate(1.2);
  -webkit-backdrop-filter: blur(32px) saturate(1.2);
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
  animation: cardIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.reward-card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(108, 92, 231, 0.03) 45%, rgba(108, 92, 231, 0.06) 50%, rgba(108, 92, 231, 0.03) 55%, transparent 60%);
  transform: translateX(-100%);
  transition: none;
  pointer-events: none;
}

.reward-card:hover .reward-card-shine {
  animation: cardShine 1s ease-out;
}

@keyframes cardShine {
  to { transform: translateX(100%); }
}

.reward-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(108, 92, 231, 0.15);
}

.reward-card.claimed {
  border-color: rgba(34, 197, 94, 0.2);
  background: linear-gradient(135deg, var(--bg-card), rgba(34, 197, 94, 0.03));
}

.reward-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(108, 92, 231, 0.12);
  color: var(--accent-2);
  padding: 6px 14px;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-dot {
  width: 6px; height: 6px;
  background: var(--accent-2);
  border-radius: 50%;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.reward-badge.claimed {
  background: rgba(34, 197, 94, 0.12);
  color: var(--success);
}

.reward-badge.claimed .badge-dot {
  background: var(--success);
}

.reward-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.reward-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 24px;
}

.btn-claim {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.btn-claim::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
}

.btn-claim:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(108, 92, 231, 0.4);
}

.btn-claim:hover::before {
  animation: shine 0.6s ease-out;
}

.btn-claim:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-claim svg {
  transition: transform 0.3s;
}

.btn-claim:hover svg {
  transform: translateX(3px);
}

.code-display {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.3);
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.15);
}

.code-display code {
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 13px;
  color: var(--success);
  flex: 1;
  word-break: break-all;
  letter-spacing: 0.5px;
}

.btn-copy-small {
  background: rgba(108, 92, 231, 0.15);
  color: var(--accent-2);
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-copy-small:hover {
  background: var(--accent-1);
  color: white;
}

.empty-state {
  text-align: center;
  color: var(--text-secondary);
  padding: 56px 24px;
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.empty-state svg {
  color: var(--text-muted);
  filter: drop-shadow(0 1px 4px rgba(108, 92, 231, 0.2));
}

.empty-state p {
  font-size: 15px;
}

.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--text-secondary);
  padding: 56px;
  font-size: 14px;
}

.loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--accent-1);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ===== LOGIN REQUIRED ===== */
.login-required {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.login-card {
  background: rgba(8, 8, 24, 0.65);
  border: 1px solid rgba(108, 92, 231, 0.08);
  border-radius: 24px;
  padding: 56px;
  text-align: center;
  max-width: 460px;
  width: 100%;
  backdrop-filter: blur(40px) saturate(1.3);
  -webkit-backdrop-filter: blur(40px) saturate(1.3);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow:
    0 8px 48px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.login-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.login-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(108, 92, 231, 0.05), transparent, rgba(168, 85, 247, 0.05), transparent);
  animation: rotateBg 12s linear infinite;
}

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

.login-card > * {
  position: relative;
  z-index: 1;
}

.login-card .hero-logo {
  margin-bottom: 8px;
}

.login-card h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 16px 0 10px;
  letter-spacing: -0.02em;
}

.login-card p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.footer-logo {
  filter: drop-shadow(0 1px 4px rgba(108, 92, 231, 0.3));
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: linear-gradient(135deg, rgba(8, 8, 24, 0.85), rgba(10, 10, 30, 0.9));
  border: 1px solid rgba(108, 92, 231, 0.1);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  max-width: 440px;
  width: 90%;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(40px) saturate(1.3);
  -webkit-backdrop-filter: blur(40px) saturate(1.3);
  box-shadow:
    0 16px 64px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(108, 92, 231, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

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

.confetti-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  top: -10px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  animation: confettiFall 2s ease-out forwards;
}

@keyframes confettiFall {
  0% { opacity: 1; transform: translateY(0) rotate(0deg) scale(1); }
  100% { opacity: 0; transform: translateY(500px) rotate(720deg) scale(0); }
}

.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: rgba(255,255,255,0.05);
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s;
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.1);
  transform: rotate(90deg);
}

.modal-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
}

.modal-icon.success {
  background: var(--success-bg);
  color: var(--success);
  border: 2px solid var(--success);
}

.pulse-ring {
  animation: pulseRing 2s ease-in-out infinite;
}

@keyframes pulseRing {
  0%, 100% { box-shadow: 0 0 0 0 var(--success-glow); }
  50% { box-shadow: 0 0 0 16px transparent; }
}

.modal h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.modal-reward-name {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 24px;
}

.code-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.35);
  padding: 16px 18px;
  border-radius: 14px;
  margin-bottom: 20px;
  border: 1px solid rgba(34, 197, 94, 0.12);
}

.code-box code {
  flex: 1;
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 17px;
  color: var(--success);
  letter-spacing: 1.5px;
}

.btn-copy {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-1);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-copy:hover {
  background: var(--accent-2);
  transform: scale(1.03);
}

.btn-copy.copied {
  background: var(--success);
}

.modal-hint {
  color: var(--text-muted);
  font-size: 13px;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--glass-border);
  background: rgba(6, 6, 15, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.footer-glow {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-1), var(--accent-2), var(--accent-1), transparent);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 48px 32px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-brand-name svg {
  opacity: 0.7;
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(108, 92, 231, 0.08);
  border: 1px solid rgba(108, 92, 231, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social-link:hover {
  background: rgba(108, 92, 231, 0.18);
  border-color: rgba(108, 92, 231, 0.3);
  color: var(--accent-2);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-link {
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col-link:hover {
  color: var(--accent-2);
}

.footer-col-link svg {
  opacity: 0.5;
  flex-shrink: 0;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 48px;
  border-top: 1px solid rgba(108, 92, 231, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 12px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-link {
  color: var(--text-muted);
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-link:hover {
  color: var(--accent-2);
}

/* ===== HAMBURGER MENU ===== */
.nav-link-mobile-home { display: none; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 200;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== FEATURE CARD ANIMATIONS ===== */
.feature-card {
  cursor: default;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s, box-shadow 0.4s;
  will-change: transform;
}

.feature-card-border {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;
  transition: background 0.4s;
  z-index: 0;
}

.feature-icon-ring {
  position: absolute;
  inset: -4px;
  border-radius: 18px;
  border: 2px solid transparent;
  transition: border-color 0.4s, box-shadow 0.4s;
}

.feature-card:hover .feature-icon-ring {
  border-color: var(--accent-1);
  box-shadow: 0 0 20px rgba(108, 92, 231, 0.3);
  animation: iconRingPulse 1.5s ease-in-out infinite;
}

@keyframes iconRingPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(108, 92, 231, 0.3); }
  50% { box-shadow: 0 0 30px rgba(108, 92, 231, 0.5); }
}

.feature-card:hover .feature-svg {
  animation: iconBounce 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes iconBounce {
  0% { transform: scale(1); }
  30% { transform: scale(1.2) rotate(-8deg); }
  60% { transform: scale(0.95) rotate(3deg); }
  100% { transform: scale(1.15) rotate(-5deg); }
}

.feature-card-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(108, 92, 231, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-card:hover .feature-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

.feature-card:hover .feature-card-arrow svg {
  animation: arrowSlide 0.8s ease-in-out infinite;
}

@keyframes arrowSlide {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

.feature-card h3 {
  position: relative;
  z-index: 1;
}

.feature-card p {
  position: relative;
  z-index: 1;
}

/* ===== PAGE LAYOUTS (Minecraft & Staff) ===== */
.page-section {
  padding: 140px 48px 100px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero {
  text-align: center;
  margin-bottom: 72px;
}

.page-hero-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 28px;
  background: rgba(108, 92, 231, 0.08);
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pageIconFloat 6s ease-in-out infinite;
  position: relative;
}

.page-hero-icon::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 32px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.2), transparent 70%);
  z-index: -1;
  animation: logoGlowPulse 4s ease-in-out infinite;
}

@keyframes pageIconFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

.page-hero h1 {
  font-size: 52px;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.page-desc {
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Minecraft features */
.mc-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}

.mc-feature-card {
  background: rgba(8, 8, 24, 0.65);
  border: 1px solid rgba(108, 92, 231, 0.07);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  backdrop-filter: blur(32px) saturate(1.2);
  -webkit-backdrop-filter: blur(32px) saturate(1.2);
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
  text-align: center;
}

.mc-feature-card:hover {
  border-color: rgba(108, 92, 231, 0.2);
  transform: translateY(-8px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(108, 92, 231, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.mc-feature-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(34, 197, 94, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
}

.mc-feature-card:hover .mc-feature-glow {
  opacity: 1;
}

.mc-feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: rgba(34, 197, 94, 0.08);
  border-radius: 20px;
  border: 1px solid rgba(34, 197, 94, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  z-index: 1;
}

.mc-feature-card:hover .mc-feature-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.2);
}

.mc-feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.mc-feature-card p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* Minecraft IP section */
.mc-ip-section {
  display: flex;
  justify-content: center;
}

.mc-ip-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 16px 24px;
  backdrop-filter: blur(20px);
}

.mc-ip-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}

.mc-ip-code {
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}

.btn-copy-ip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(108, 92, 231, 0.12);
  color: var(--accent-2);
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-copy-ip:hover {
  background: var(--accent-1);
  color: white;
  transform: translateY(-2px);
}

.btn-copy-ip.copied {
  background: var(--success);
  color: white;
}

/* Staff Perks */
.staff-perks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.staff-perk-card {
  background: rgba(8, 8, 24, 0.65);
  border: 1px solid rgba(108, 92, 231, 0.07);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  backdrop-filter: blur(32px) saturate(1.2);
  -webkit-backdrop-filter: blur(32px) saturate(1.2);
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.staff-perk-card:hover {
  border-color: rgba(108, 92, 231, 0.2);
  transform: translateY(-8px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(108, 92, 231, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.staff-perk-num {
  font-size: 64px;
  font-weight: 900;
  position: absolute;
  top: -8px;
  right: 16px;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.08), rgba(168, 85, 247, 0.04));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  pointer-events: none;
  transition: all 0.5s;
}

.staff-perk-card:hover .staff-perk-num {
  -webkit-text-fill-color: rgba(108, 92, 231, 0.15);
  transform: translateY(-4px);
}

.staff-perk-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(245, 158, 11, 0.05), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
}

.staff-perk-card:hover .staff-perk-glow {
  opacity: 1;
}

.staff-perk-icon {
  width: 56px;
  height: 56px;
  background: rgba(245, 158, 11, 0.08);
  border-radius: 14px;
  border: 1px solid rgba(245, 158, 11, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f59e0b;
  margin-bottom: 20px;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  z-index: 1;
}

.staff-perk-card:hover .staff-perk-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.2);
}

.staff-perk-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.staff-perk-card p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  margin-bottom: 48px;
}

.hiw-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(8, 8, 24, 0.65);
  border: 1px solid rgba(108, 92, 231, 0.07);
  border-radius: 16px;
  padding: 28px 36px;
  backdrop-filter: blur(32px) saturate(1.2);
  -webkit-backdrop-filter: blur(32px) saturate(1.2);
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.hiw-step {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.hiw-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: white;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hiw-content h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.hiw-content p {
  font-size: 12.5px;
  color: var(--text-secondary);
}

.hiw-arrow {
  color: var(--text-muted);
  padding: 0 12px;
  flex-shrink: 0;
}

/* ===== CLAIM FORM ===== */
.claim-form-card {
  background: rgba(8, 8, 24, 0.65);
  border: 1px solid rgba(108, 92, 231, 0.07);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 48px;
  backdrop-filter: blur(32px) saturate(1.2);
  -webkit-backdrop-filter: blur(32px) saturate(1.2);
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.claim-form-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
}

.claim-form-header h3 {
  font-size: 16px;
  font-weight: 700;
}

.claim-form-body {
  padding: 28px;
}

.input-group {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 16px;
  transition: border-color 0.3s;
}

.input-group:focus-within {
  border-color: var(--accent-1);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.input-group svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.ign-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
}

.ign-input::placeholder {
  color: var(--text-muted);
}

.btn-claim-full {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.btn-claim-full:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(108, 92, 231, 0.4);
}

.btn-claim-full svg {
  transition: transform 0.3s;
}

.btn-claim-full:hover svg {
  transform: translateX(4px);
}

.claim-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 12px;
}

.trust-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ===== REWARDS LAYOUT ===== */
.rewards-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  margin-top: 32px;
}

.rewards-main {
  min-width: 0;
}

.rewards-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rewards-sidebar .section-title-sm {
  display: none;
}

.about-card {
  background: rgba(8, 8, 24, 0.65);
  border: 1px solid rgba(108, 92, 231, 0.07);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(32px) saturate(1.2);
  -webkit-backdrop-filter: blur(32px) saturate(1.2);
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.about-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.about-card-header h3 {
  font-size: 15px;
  font-weight: 700;
}

.about-text {
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-ip-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.25);
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.about-ip-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 12px;
  white-space: nowrap;
}

.about-ip-value {
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-2);
  flex: 1;
}

.btn-copy-ip-sm {
  background: rgba(108, 92, 231, 0.12);
  border: none;
  color: var(--accent-2);
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-copy-ip-sm:hover {
  background: var(--accent-1);
  color: white;
}

.btn-copy-ip-sm.copied {
  background: var(--success);
  color: white;
}

/* ===== STAFF TIER CARDS ===== */
.rewards-tier {
  margin-bottom: 56px;
}

.tier-header {
  margin-bottom: 32px;
}

.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.tier-badge.weekly {
  background: rgba(108, 92, 231, 0.12);
  color: var(--accent-2);
  border: 1px solid rgba(108, 92, 231, 0.2);
}

.tier-badge.monthly {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.tier-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.tier-desc {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.tier-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tier-card {
  background: rgba(8, 8, 24, 0.65);
  border: 1px solid rgba(108, 92, 231, 0.07);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  backdrop-filter: blur(32px) saturate(1.2);
  -webkit-backdrop-filter: blur(32px) saturate(1.2);
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.tier-card:hover {
  border-color: rgba(108, 92, 231, 0.2);
  transform: translateY(-6px);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(108, 92, 231, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.tier-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.tier-msg {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-2);
}

.tier-price {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(108, 92, 231, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
}

.tier-reward-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  background: rgba(108, 92, 231, 0.06);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.tier-card:hover .tier-reward-icon {
  transform: scale(1.08) rotate(-3deg);
  background: rgba(108, 92, 231, 0.12);
}

.tier-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.tier-card p {
  color: var(--text-secondary);
  font-size: 13px;
}

/* Tier separator */
.tier-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 48px 0;
}

.separator-dash {
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  opacity: 0.3;
}

.separator-dash:nth-child(odd) {
  opacity: 0.15;
  width: 24px;
}

/* Earn info */
.earn-info {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(8, 8, 24, 0.65);
  border: 1px solid rgba(108, 92, 231, 0.07);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(32px) saturate(1.2);
  -webkit-backdrop-filter: blur(32px) saturate(1.2);
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.earn-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(108, 92, 231, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  flex-shrink: 0;
}

.earn-info-text h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.earn-info-text p {
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.7;
}

/* ─── Staff Leaderboard ─────────────────────────────────────────────── */
.staff-live-section {
  margin-top: 48px;
}

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

.staff-live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  padding: 5px 12px;
  border-radius: 20px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: livePulse 2s infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.staff-leaderboard {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(8, 8, 24, 0.65);
  border: 1px solid rgba(108, 92, 231, 0.06);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  animation: slideUp 0.4s ease both;
  backdrop-filter: blur(24px);
}

.lb-row:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.lb-row.top-tier { border-left: 3px solid #f59e0b; }
.lb-row.high-tier { border-left: 3px solid #a855f7; }
.lb-row.mid-tier { border-left: 3px solid #3b82f6; }
.lb-row.entry-tier { border-left: 3px solid #22c55e; }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.lb-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.lb-medal {
  font-size: 18px;
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}

.lb-rank {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}

.lb-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.lb-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.lb-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lb-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.lb-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.lb-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.lb-stat-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.lb-stat-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lb-tier-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lb-tier-badge.top-tier { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.lb-tier-badge.high-tier { background: rgba(168, 85, 247, 0.15); color: #a855f7; }
.lb-tier-badge.mid-tier { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.lb-tier-badge.entry-tier { background: rgba(34, 197, 94, 0.15); color: #22c55e; }

/* ─── Staff Modal ───────────────────────────────────────────────────── */
.staff-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.staff-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.staff-modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  width: 90%;
  max-width: 480px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s;
}

.staff-modal-overlay.active .staff-modal {
  transform: scale(1);
}

.staff-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

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

.staff-modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.staff-modal-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid var(--accent-1);
  object-fit: cover;
}

.staff-modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
}

.staff-modal-id {
  font-size: 12px;
  color: var(--text-muted);
  font-family: monospace;
}

.modal-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.modal-stat {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
}

.modal-stat-val {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.modal-stat-label {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ─── Claim Ticket Section ────────────────────────────────────────── */
.claim-ticket-section {
  margin-top: 48px;
}

.claim-ticket-card {
  background: rgba(8, 8, 24, 0.65);
  border: 1px solid rgba(108, 92, 231, 0.07);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(32px) saturate(1.2);
  -webkit-backdrop-filter: blur(32px) saturate(1.2);
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.claim-ticket-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(108, 92, 231, 0.08);
}

.claim-ticket-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(108, 92, 231, 0.1);
  border: 1px solid rgba(108, 92, 231, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  flex-shrink: 0;
}

.claim-ticket-header h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 3px;
}

.claim-ticket-header p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.claim-ticket-body {
  padding: 24px 28px;
}

.claim-ticket-status {
  margin-bottom: 16px;
}

.claim-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: var(--success);
  font-size: 13px;
  font-weight: 500;
}

.claim-error {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
  font-size: 13px;
  font-weight: 500;
}

#btn-claim-ticket:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   OWNER PANEL
   ═══════════════════════════════════════════════════════════════════════ */
.admin-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.admin-dashboard {
  position: relative;
  z-index: 1;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.admin-stat-card {
  background: rgba(8, 8, 24, 0.65);
  border: 1px solid rgba(108, 92, 231, 0.07);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  backdrop-filter: blur(32px);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.admin-stat-val {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.admin-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Tabs */
.admin-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
  background: rgba(8, 8, 24, 0.5);
  border: 1px solid rgba(108, 92, 231, 0.07);
  border-radius: 12px;
  padding: 4px;
  backdrop-filter: blur(16px);
}

.admin-tab {
  flex: 1;
  padding: 10px 16px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.admin-tab:hover {
  color: var(--text-primary);
  background: rgba(108, 92, 231, 0.08);
}

.admin-tab.active {
  color: var(--text-primary);
  background: rgba(108, 92, 231, 0.15);
}

.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
}

.admin-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.admin-section-header h3 {
  font-size: 18px;
  font-weight: 700;
}

/* List items */
.admin-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(8, 8, 24, 0.65);
  border: 1px solid rgba(108, 92, 231, 0.07);
  border-radius: 12px;
  backdrop-filter: blur(24px);
  transition: all 0.3s;
}

.admin-list-item:hover {
  border-color: rgba(108, 92, 231, 0.15);
}

.admin-list-item.claimed {
  opacity: 0.6;
}

.admin-list-info {
  min-width: 0;
}

.admin-list-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.admin-list-name code {
  font-size: 12px;
  background: rgba(108, 92, 231, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent-2);
}

.admin-list-meta {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.admin-list-meta code {
  font-size: 11px;
  background: rgba(108, 92, 231, 0.1);
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--accent-2);
}

.admin-list-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.admin-btn-sm {
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(108, 92, 231, 0.15);
  background: rgba(108, 92, 231, 0.08);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.admin-btn-sm:hover {
  background: rgba(108, 92, 231, 0.2);
  color: var(--text-primary);
}

.admin-btn-danger {
  border-color: rgba(239, 68, 68, 0.2);
  background: rgba(239, 68, 68, 0.08);
  color: #ef4444;
}

.admin-btn-danger:hover {
  background: rgba(239, 68, 68, 0.2);
}

.admin-btn-warning {
  border-color: rgba(245, 158, 11, 0.2);
  background: rgba(245, 158, 11, 0.08);
  color: #f59e0b;
}

.admin-btn-warning:hover {
  background: rgba(245, 158, 11, 0.2);
}

/* Form */
.admin-form-group {
  margin-bottom: 14px;
  flex: 1;
}

.admin-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.admin-input {
  width: 100%;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(108, 92, 231, 0.12);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s;
}

.admin-input:focus {
  border-color: var(--accent-1);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.admin-input::placeholder {
  color: var(--text-muted);
}

.admin-form-row {
  display: flex;
  gap: 14px;
}

select.admin-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238888b0' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* Tier cards */
.admin-tiers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.admin-tier-card {
  background: rgba(8, 8, 24, 0.65);
  border: 1px solid rgba(108, 92, 231, 0.07);
  border-radius: 14px;
  padding: 20px;
  backdrop-filter: blur(24px);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.35);
}

.admin-tier-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-color-picker {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: none;
  padding: 0;
}

.admin-tier-name {
  font-size: 16px;
  font-weight: 700;
  flex: 1;
}

/* Admin Credits Management */
.admin-credits-form {
  background: rgba(14, 14, 40, 0.5);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.admin-credits-row {
  margin-bottom: 16px;
}

.admin-credits-row label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.admin-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(6, 6, 20, 0.6);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s ease;
  outline: none;
}

.admin-input:focus {
  border-color: var(--accent-1);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.admin-input::placeholder {
  color: var(--text-muted);
}

.admin-credits-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}


/* Credits Banner */
.credits-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.15), rgba(168, 85, 247, 0.1));
  border: 1px solid rgba(108, 92, 231, 0.2);
  border-radius: 16px;
  margin-bottom: 32px;
}

.credits-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.3), rgba(168, 85, 247, 0.2));
  border-radius: 12px;
  color: var(--accent-1);
  flex-shrink: 0;
}

.credits-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.credits-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.credits-value {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #c084fc, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.credits-sub {
  font-size: 13px;
  color: var(--text-muted);
  flex-basis: 100%;
}

.credits-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 8px;
  color: #f87171;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.3px;
  margin-left: auto;
  flex-shrink: 0;
}

/* Reward Price Tag */
.reward-price {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-1);
  background: rgba(108, 92, 231, 0.12);
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* Disabled claim button */
.btn-claim.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: rgba(108, 92, 231, 0.08) !important;
  border: 1px solid rgba(108, 92, 231, 0.1);
}

.btn-claim.disabled:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* Reward Progress Bar */

/* Profile Dropdown */
.profile-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.profile-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(108, 92, 231, 0.08);
  border: 1px solid rgba(108, 92, 231, 0.15);
  padding: 6px 14px 6px 6px;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.profile-trigger:hover {
  background: rgba(108, 92, 231, 0.15);
  border-color: rgba(108, 92, 231, 0.3);
}

.profile-trigger .nav-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(108, 92, 231, 0.4);
}

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

.profile-trigger-chevron {
  color: var(--text-muted);
  transition: transform 0.2s ease;
  margin-left: 2px;
}

.profile-wrapper.open .profile-trigger-chevron {
  transform: rotate(180deg);
}

.profile-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 240px;
  background: rgba(12, 12, 30, 0.95);
  border: 1px solid rgba(108, 92, 231, 0.15);
  border-radius: 16px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.profile-wrapper.open .profile-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.profile-dropdown-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  margin-bottom: 4px;
}

.profile-dropdown-header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(108, 92, 231, 0.3);
}

.profile-dropdown-header .pd-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.profile-dropdown-header .pd-id {
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.profile-dropdown-divider {
  height: 1px;
  background: rgba(108, 92, 231, 0.1);
  margin: 4px 8px;
}

.profile-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.profile-dropdown-item:hover {
  background: rgba(108, 92, 231, 0.1);
  color: var(--text-primary);
}

.profile-dropdown-item.logout {
  color: #ef4444;
}

.profile-dropdown-item.logout:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}


/* Rewards V2 — Redesigned */
.rewards-banner {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(14, 14, 40, 0.5);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 32px;
  margin-bottom: 24px;
}

.rewards-banner-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.rewards-banner-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(6, 182, 212, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22c55e;
}

.rewards-banner-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.rewards-banner-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.rewards-banner-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  margin: 0 32px;
}

.rewards-banner-right {
  text-align: center;
}

.rewards-banner-tier {
  font-size: 18px;
  font-weight: 700;
  margin-top: 4px;
}

.rewards-banner-tier.tier-entry { color: #22c55e; }
.rewards-banner-tier.tier-mid { color: #f59e0b; }
.rewards-banner-tier.tier-high { color: #ef4444; }
.rewards-banner-tier.tier-top { color: #a855f7; }
.rewards-banner-tier.tier-none { color: var(--text-muted); }

.reward-card-v2 {
  background: rgba(14, 14, 40, 0.5);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  animation: cardIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reward-card-v2:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.rcv2-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.reward-card-v2:hover .rcv2-glow {
  opacity: 0.25;
}

.rcv2-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.rcv2-tier {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border: 1px solid;
  border-radius: 20px;
  opacity: 0.8;
}

.rcv2-slots {
  font-size: 11px;
  color: var(--text-muted);
}

.rcv2-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(108, 92, 231, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.rcv2-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.rcv2-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.rcv2-req {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.rcv2-progress {
  width: 100%;
  height: 6px;
  background: rgba(108, 92, 231, 0.08);
  border-radius: 3px;
  margin-bottom: 12px;
  overflow: hidden;
}

.rcv2-progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.6s ease;
}

.rcv2-status {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.rcv2-status.available { color: #22c55e; }
.rcv2-status.locked { color: var(--text-muted); }
.rcv2-status.claimed { color: var(--accent-2); }

.rcv2-btn {
  width: 100%;
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
}

.rcv2-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.reward-card-v2.claimed .rcv2-glow { opacity: 0.1; }
.reward-card-v2.claimed { opacity: 0.6; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  *, *::before, *::after { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .navbar.scrolled { backdrop-filter: blur(20px) !important; -webkit-backdrop-filter: blur(20px) !important; }
  .nav-links { backdrop-filter: blur(20px) !important; -webkit-backdrop-filter: blur(20px) !important; }
  .navbar { padding: 14px 20px; }
  .navbar.scrolled { padding: 10px 20px; }
  .nav-hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: rgba(6, 6, 15, 0.97);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 24px;
    gap: 4px;
    transition: right 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    border-left: 1px solid var(--border);
    z-index: 150;
    overflow-y: auto;
  }
  .nav-links.open { right: 0; }
  .nav-link-mobile-home { display: block; }
  .nav-links .nav-link { width: 100%; padding: 12px 16px; font-size: 16px; }
  .nav-links .btn-discord-nav { width: 100%; justify-content: center; margin-top: 8px; }
  .nav-links .profile-wrapper { width: 100%; }
  .nav-links .profile-trigger { width: 100%; }
  .hero { padding: 100px 20px 60px; }
  .hero-title { font-size: 40px; }
  .hero-subtitle { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-logo { width: 90px; height: 90px; }
  .hero-avatar-pfp { width: 100px; height: 100px; }
  .btn-discord.btn-xl { padding: 14px 24px; font-size: 15px; }
  .scroll-indicator { display: none; }
  .features { padding: 60px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 30px; }
  .section-title-sm { font-size: 22px; }
  .feature-card { padding: 24px; }
  .feature-card h3 { font-size: 17px; }
  .feature-icon-wrap { width: 52px; height: 52px; }
  .rewards-page { padding: 100px 20px 60px; }
  .rewards-header h1 { font-size: 32px; }
  .rewards-grid { grid-template-columns: 1fr; }
  .login-card { padding: 32px 20px; }
  .modal { padding: 28px 20px; width: 92% !important; max-width: none !important; }
  .modal-stat-grid { grid-template-columns: 1fr 1fr; }
  .mc-features-grid { grid-template-columns: 1fr; gap: 16px; }
  .mc-feature-card { padding: 20px; display: flex; flex-direction: row; align-items: center; gap: 16px; text-align: left; }
  .mc-feature-card h3 { font-size: 16px; margin-bottom: 4px; }
  .mc-feature-card p { font-size: 13px; line-height: 1.5; }
  .mc-feature-icon { width: 48px; height: 48px; margin: 0; border-radius: 14px; flex-shrink: 0; }
  .mc-feature-glow { border-radius: 20px; }
  .mc-ip-code { font-size: 15px; word-break: break-all; }
  .staff-perks-grid { grid-template-columns: 1fr; }
  .staff-perk-card { padding: 28px 20px; }
  .staff-perk-card h3 { font-size: 18px; }
  .staff-perk-num { font-size: 40px; }
  .staff-perk-icon { width: 44px; height: 44px; }
  .page-section { padding: 100px 20px 60px; }
  .page-hero h1 { font-size: 32px; }
  .page-hero-icon { width: 64px; height: 64px; }
  .page-desc { font-size: 16px; }
  .mc-ip-box { flex-direction: column; text-align: center; }
  .tier-cards { grid-template-columns: repeat(2, 1fr); }
  .tier-title { font-size: 26px; }
  .tier-card { padding: 20px 16px; }
  .tier-reward-icon { width: 56px; height: 56px; }
  .rewards-layout { grid-template-columns: 1fr; }
  .rewards-sidebar { display: none; }
  .hiw-steps { flex-direction: column; gap: 16px; }
  .hiw-arrow { transform: rotate(90deg); padding: 0; }
  .staff-live-header { flex-direction: column; gap: 8px; }
  .lb-row { padding: 10px 14px; }
  .lb-avatar { width: 30px; height: 30px; }
  .lb-left { gap: 8px; }
  .staff-modal { width: 95% !important; padding: 20px; }
  .staff-modal-avatar { width: 44px; height: 44px; }
  .about-card { padding: 20px; }
  .about-ip-row { flex-direction: column; gap: 8px; }
  .claim-form-card { padding: 20px; }
  .claim-form-body { padding: 20px; }
  .claim-ticket-card { padding: 16px; }
  .claim-ticket-body { padding: 16px; }
  .claim-ticket-icon { width: 36px; height: 36px; }
  .earn-info { padding: 16px; }
  .admin-tabs { flex-wrap: wrap; }
  .admin-tab { font-size: 12px; padding: 8px 12px; }
  .admin-tiers-grid { grid-template-columns: 1fr; }
  .admin-list-item { flex-direction: column; align-items: flex-start; gap: 12px; }
  .admin-list-actions { width: 100%; }
  .admin-list-actions button { flex: 1; }
  .admin-form-row { flex-direction: column; gap: 0; }
  .tier-separator { display: none; }
  .lb-stat:nth-child(3) { display: none; }
  .admin-stat-card { padding: 14px; }
  .admin-stat-val { font-size: 22px; }
  .admin-tier-card { padding: 14px; }
  .admin-credits-form { padding: 20px; }
  .credits-banner { flex-direction: column; gap: 12px; text-align: center; }
  .credits-value { font-size: 22px; }
  .credits-timer { margin-left: 0; }
  .reward-card-v2 { padding: 20px; }
  .rcv2-icon { width: 48px; height: 48px; }
  .rewards-banner-value { font-size: 22px; }
  .rewards-banner { padding: 16px 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; padding: 36px 24px 24px; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { padding: 16px 24px; flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 480px) {
  .hero { padding: 80px 16px 40px; }
  .hero-title { font-size: 30px; }
  .hero-subtitle { font-size: 14px; }
  .hero-logo { width: 72px; height: 72px; }
  .hero-avatar-pfp { width: 80px; height: 80px; }
  .btn-discord.btn-xl { padding: 12px 20px; font-size: 14px; }
  .tier-cards { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 26px; }
  .page-hero-icon { width: 52px; height: 52px; }
  .admin-stats-grid { grid-template-columns: 1fr 1fr; }
  .modal-stat-grid { grid-template-columns: 1fr; }
  .feature-icon-wrap { width: 44px; height: 44px; }
  .mc-feature-icon { width: 42px; height: 42px; border-radius: 12px; }
  .tier-reward-icon { width: 48px; height: 48px; }
  .staff-perk-num { font-size: 32px; }
  .lb-right { gap: 8px; }
  .admin-tab { font-size: 11px; padding: 6px 10px; }
  .credits-value { font-size: 18px; }
  .rewards-banner-value { font-size: 18px; }
  .admin-stat-val { font-size: 18px; }
  .footer-inner { grid-template-columns: 1fr; }
}


