/* ==========================================================================
   PIXELCRAFT - MINECRAFT THEME STYLESHEET
   ========================================================================== */

:root {
  /* Core Minecraft Palette */
  --mc-dark-bg: #101016;
  --mc-dark-surface: #181824;
  --mc-dark-card: #20202e;
  --mc-deepslate: #2b2b3d;
  --mc-deepslate-light: #3e3e56;
  --mc-stone-border: #4e4e6a;
  
  /* Accent Colors */
  --mc-gold: #FFAA00;
  --mc-gold-glow: rgba(255, 170, 0, 0.4);
  --mc-diamond: #55FFFF;
  --mc-diamond-glow: rgba(85, 255, 255, 0.4);
  --mc-emerald: #55FF55;
  --mc-emerald-glow: rgba(85, 255, 85, 0.4);
  --mc-redstone: #FF5555;
  --mc-enchant-purple: #C77DFF;
  --mc-enchant-glow: rgba(199, 125, 255, 0.35);
  
  /* Text */
  --mc-text-main: #EAEAEA;
  --mc-text-muted: #9E9EBA;
  --mc-text-dark: #121217;
  
  /* Font Families */
  --font-pixel-heading: 'Silkscreen', 'Press Start 2P', monospace;
  --font-pixel-sub: 'Press Start 2P', monospace;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Bevel & 3D Shadow Tokens */
  --mc-shadow-pixel: 3px 3px 0px #000000;
  --mc-shadow-card: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 0 2px #3e3e56;
  --mc-btn-bevel: inset 3px 3px 0px rgba(255, 255, 255, 0.3), inset -3px -3px 0px rgba(0, 0, 0, 0.5);
  --mc-btn-active-bevel: inset 3px 3px 0px rgba(0, 0, 0, 0.6), inset -3px -3px 0px rgba(255, 255, 255, 0.1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--mc-dark-bg);
}

body.mc-theme {
  font-family: var(--font-body);
  background-color: var(--mc-dark-bg);
  color: var(--mc-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  /* Pixel Grid Substrate Background */
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(85, 255, 255, 0.05) 0%, transparent 60%),
    radial-gradient(circle at 100% 50%, rgba(199, 125, 255, 0.05) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 32px 32px, 32px 32px;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Canvas for Background Particles */
#mcParticleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   MINECRAFT TYPOGRAPHY & HELPERS
   ========================================================================== */
.mc-pixel-font {
  font-family: var(--font-pixel-heading);
  letter-spacing: 0.5px;
}

.mc-pixel-text {
  font-family: var(--font-pixel-heading);
  text-shadow: 2px 2px 0px #000;
}

.mc-text-gold { color: var(--mc-gold) !important; text-shadow: 2px 2px 0px #3a2200; }
.mc-text-diamond { color: var(--mc-diamond) !important; text-shadow: 2px 2px 0px #003a3a; }
.mc-text-green { color: var(--mc-emerald) !important; text-shadow: 2px 2px 0px #003a00; }
.mc-text-red { color: var(--mc-redstone) !important; text-shadow: 2px 2px 0px #3a0000; }

.mc-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(43, 43, 61, 0.8);
  border: 2px solid var(--mc-stone-border);
  color: var(--mc-gold);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 4px;
  box-shadow: 2px 2px 0px #000;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.mc-section-heading {
  font-family: var(--font-pixel-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #FFFFFF;
  text-shadow: 3px 3px 0px #000;
  margin-bottom: 14px;
  line-height: 1.3;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--mc-text-muted);
  max-width: 580px;
  line-height: 1.7;
}

/* ==========================================================================
   MINECRAFT XP BAR (TOP SCROLL INDICATOR)
   ========================================================================== */
.mc-xp-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: #111116;
  z-index: 1001;
}

.mc-xp-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #38ef7d, #55FF55, #80ff80);
  box-shadow: 0 0 10px rgba(85, 255, 85, 0.8);
  transition: width 0.1s linear;
}

.mc-xp-level {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-pixel-sub);
  font-size: 0.7rem;
  color: var(--mc-emerald);
  text-shadow: 1px 1px 0px #000, -1px -1px 0px #000, 1px -1px 0px #000, -1px 1px 0px #000;
  background: rgba(16, 16, 22, 0.85);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--mc-deepslate-light);
  pointer-events: none;
  z-index: 1002;
}

/* ==========================================================================
   MINECRAFT 3D BUTTONS
   ========================================================================== */
.mc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-pixel-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 4px;
  border: 2px solid #000000;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.8);
  position: relative;
  user-select: none;
}

.mc-btn-primary {
  background: #55FF55;
  color: #0b380b;
  text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.4);
  box-shadow: inset 2px 2px 0px #a3ffa3, inset -2px -2px 0px #248f24, 0 4px 0px #145214;
}

.mc-btn-primary:hover {
  background: #73ff73;
  transform: translateY(-2px);
  box-shadow: inset 2px 2px 0px #c2ffc2, inset -2px -2px 0px #248f24, 0 6px 0px #145214, 0 0 15px var(--mc-emerald-glow);
}

.mc-btn-primary:active {
  transform: translateY(3px);
  box-shadow: inset 2px 2px 0px #145214, inset -2px -2px 0px #73ff73, 0 1px 0px #145214;
}

.mc-btn-secondary {
  background: #4a4a60;
  color: #FFFFFF;
  box-shadow: inset 2px 2px 0px #6e6e8c, inset -2px -2px 0px #262635, 0 4px 0px #151520;
}

.mc-btn-secondary:hover {
  background: #5a5a75;
  transform: translateY(-2px);
  box-shadow: inset 2px 2px 0px #7e7ea5, inset -2px -2px 0px #262635, 0 6px 0px #151520;
}

.mc-btn-secondary:active {
  transform: translateY(3px);
  box-shadow: inset 2px 2px 0px #151520, inset -2px -2px 0px #5a5a75, 0 1px 0px #151520;
}

.mc-btn-diamond {
  background: #55FFFF;
  color: #003636;
  text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.4);
  box-shadow: inset 2px 2px 0px #aaffff, inset -2px -2px 0px #008f8f, 0 4px 0px #005050;
}

.mc-btn-diamond:hover {
  background: #7affff;
  transform: translateY(-2px);
  box-shadow: inset 2px 2px 0px #c4ffff, inset -2px -2px 0px #008f8f, 0 6px 0px #005050, 0 0 15px var(--mc-diamond-glow);
}

.mc-btn-diamond:active {
  transform: translateY(3px);
  box-shadow: inset 2px 2px 0px #005050, inset -2px -2px 0px #7affff, 0 1px 0px #005050;
}

.mc-btn-discord {
  background: #5865F2;
  color: #FFFFFF;
  box-shadow: inset 2px 2px 0px #828df5, inset -2px -2px 0px #2b35a6, 0 4px 0px #1a2068;
}

.mc-btn-discord:hover {
  background: #6a76f6;
  transform: translateY(-2px);
  box-shadow: inset 2px 2px 0px #9da6f8, inset -2px -2px 0px #2b35a6, 0 6px 0px #1a2068, 0 0 15px rgba(88, 101, 242, 0.5);
}

.mc-btn-discord:active {
  transform: translateY(3px);
  box-shadow: inset 2px 2px 0px #1a2068, inset -2px -2px 0px #6a76f6, 0 1px 0px #1a2068;
}

.mc-btn-large {
  padding: 16px 32px;
  font-size: 0.95rem;
}

.mc-btn-block {
  width: 100%;
}

.mc-btn-sound {
  background: #2b2b3d;
  color: var(--mc-gold);
  border: 2px solid var(--mc-stone-border);
  border-radius: 4px;
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 2px 2px 0px #000;
}

.mc-btn-sound:hover {
  background: #3e3e56;
  border-color: var(--mc-gold);
  transform: scale(1.05);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.mc-nav {
  position: fixed;
  top: 6px;
  left: 0;
  right: 0;
  height: 68px;
  padding: 0 48px;
  background: rgba(18, 18, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--mc-deepslate-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
}

.mc-nav.scrolled {
  background: rgba(14, 14, 20, 0.98);
  border-bottom-color: var(--mc-gold);
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mc-pickaxe {
  color: var(--mc-diamond);
  font-size: 1.4rem;
  animation: pickSwing 3s ease-in-out infinite;
  display: inline-block;
}

@keyframes pickSwing {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-15deg); }
  50% { transform: rotate(10deg); }
  75% { transform: rotate(-5deg); }
}

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

.nav-links a {
  font-size: 0.8rem;
  color: var(--mc-text-muted);
  transition: all 0.2s;
  padding: 6px 10px;
}

.mc-bracket {
  color: var(--mc-deepslate-light);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--mc-diamond);
}

.nav-links a:hover .mc-bracket {
  color: var(--mc-gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  z-index: 1;
  padding: 160px 48px 100px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(32, 32, 46, 0.85);
  border: 2px solid var(--mc-stone-border);
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--mc-text-main);
  box-shadow: var(--mc-shadow-pixel);
  margin-bottom: 28px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--mc-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--mc-emerald);
  animation: pulseGreen 1.5s infinite;
}

@keyframes pulseGreen {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.hero-title-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
}

.mc-hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.15;
  text-shadow: 4px 4px 0px #000000, 6px 6px 0px rgba(43, 43, 61, 0.8);
}

.mc-title-highlight {
  color: #55FFFF;
  text-shadow: 
    3px 3px 0px #004d4d, 
    5px 5px 0px #000000,
    0 0 25px rgba(85, 255, 255, 0.65);
  display: inline-block;
  letter-spacing: 2px;
  position: relative;
}

/* Authentic Bouncing Yellow Minecraft Splash Text */
.mc-splash-text {
  position: absolute;
  right: -20px;
  bottom: -15px;
  font-family: var(--font-pixel-heading);
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  font-weight: 700;
  color: #FFFF55;
  text-shadow: 2px 2px 0px #3a3a00;
  transform: rotate(-15deg);
  white-space: nowrap;
  animation: splashBounce 0.7s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 3;
}

@keyframes splashBounce {
  0% { transform: rotate(-14deg) scale(0.96); }
  100% { transform: rotate(-16deg) scale(1.08); }
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--mc-text-muted);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Floating background thumbnails */
.hero-thumbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  opacity: 0.12;
}

.float-thumb {
  position: absolute;
  border-radius: 6px;
  border: 2px solid var(--mc-stone-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
  animation: floatUpMC linear infinite;
}

@keyframes floatUpMC {
  0% { transform: translateY(0) rotate(var(--r)); opacity: 0; }
  15% { opacity: 0.35; }
  85% { opacity: 0.35; }
  100% { transform: translateY(-120vh) rotate(calc(var(--r) * -1)); opacity: 0; }
}

/* ==========================================================================
   SOCIAL PROOF (STATS BAR)
   ========================================================================== */
.social-proof-section {
  position: relative;
  z-index: 2;
  padding: 0 48px;
  margin-top: -30px;
}

.mc-stats-card {
  max-width: 1040px;
  margin: 0 auto;
  background: var(--mc-dark-card);
  border: 2px solid var(--mc-deepslate-light);
  border-radius: 8px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-shadow: var(--mc-shadow-card);
}

.proof-stat {
  text-align: center;
}

.proof-num {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.proof-label {
  font-family: var(--font-pixel-heading);
  font-size: 0.75rem;
  color: var(--mc-text-main);
  margin-top: 6px;
  text-transform: uppercase;
}

.proof-sub {
  font-size: 0.75rem;
  color: var(--mc-text-muted);
  margin-top: 2px;
}

.mc-heart {
  color: #ff3333;
  margin-left: 2px;
  display: inline-block;
  animation: heartBeat 1.2s infinite;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.proof-divider {
  width: 2px;
  height: 48px;
  background: var(--mc-deepslate-light);
}

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

.about-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: center;
}

.about-photo-wrapper {
  text-align: center;
}

.mc-item-frame {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 0 auto 20px;
  background: #181822;
  border: 4px solid #5a3d28; /* Wood frame */
  box-shadow: inset 4px 4px 0px #382416, inset -4px -4px 0px #7d573d, 0 8px 24px rgba(0, 0, 0, 0.7);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.about-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
  border: 2px solid #000;
  display: block;
}

.mc-enchanted-glint {
  position: absolute;
  inset: 12px;
  background: linear-gradient(135deg, transparent 30%, rgba(199, 125, 255, 0.4) 50%, transparent 70%);
  background-size: 200% 200%;
  animation: enchantGlint 4s linear infinite;
  pointer-events: none;
}

@keyframes enchantGlint {
  0% { background-position: -200% -200%; }
  100% { background-position: 200% 200%; }
}

.about-name-card strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.mc-role-tag {
  font-size: 0.72rem;
  color: var(--mc-emerald);
}

.about-lead {
  font-size: 1.08rem;
  color: #FFFFFF;
  margin-bottom: 16px;
  font-weight: 500;
}

.about-text p {
  color: var(--mc-text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.mc-perks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mc-perk-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--mc-dark-surface);
  border: 2px solid var(--mc-deepslate-light);
  border-radius: 6px;
  padding: 14px 16px;
  transition: all 0.2s;
}

.mc-perk-badge:hover {
  border-color: var(--mc-gold);
  transform: translateY(-2px);
  background: var(--mc-dark-card);
}

.mc-badge-icon {
  font-size: 1.4rem;
  width: 40px;
  height: 40px;
  background: rgba(43, 43, 61, 0.8);
  border: 1px solid var(--mc-stone-border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mc-perk-badge strong {
  display: block;
  font-size: 0.88rem;
  color: #FFFFFF;
}

.mc-perk-badge small {
  font-size: 0.75rem;
  color: var(--mc-text-muted);
}

/* ==========================================================================
   PORTFOLIO (INVENTORY VAULT)
   ========================================================================== */
.portfolio {
  position: relative;
  z-index: 1;
  padding: 80px 48px 120px;
  max-width: 1240px;
  margin: 0 auto;
}

.portfolio-header {
  text-align: center;
  margin-bottom: 36px;
}

.portfolio-header .section-desc {
  margin: 0 auto;
}

/* Minecraft Hotbar Filter Slots */
.mc-hotbar-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.mc-filter-btn {
  background: #2b2b3d;
  color: var(--mc-text-muted);
  border: 2px solid #1a1a26;
  box-shadow: inset 2px 2px 0px #404059, inset -2px -2px 0px #181822, 0 3px 0px #0c0c12;
  padding: 10px 18px;
  font-family: var(--font-pixel-heading);
  font-size: 0.78rem;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s;
}

.mc-slot-num {
  color: var(--mc-gold);
  font-size: 0.7rem;
}

.mc-filter-btn:hover {
  background: #3c3c54;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.mc-filter-btn.active {
  background: #55FF55;
  color: #0b380b;
  border-color: #0b380b;
  box-shadow: inset 2px 2px 0px #a3ffa3, inset -2px -2px 0px #248f24, 0 3px 0px #0b380b, 0 0 12px var(--mc-emerald-glow);
  transform: translateY(-2px);
}

.mc-filter-btn.active .mc-slot-num {
  color: #0b380b;
}

/* Inventory Gallery Grid */
.mc-inventory-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}

.mc-thumb-card {
  position: relative;
  background: var(--mc-dark-card);
  border: 3px solid var(--mc-deepslate-light);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--mc-shadow-pixel);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mc-thumb-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--mc-diamond);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 20px var(--mc-diamond-glow);
}

.mc-thumb-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0d0d12;
}

.mc-thumb-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.mc-thumb-card:hover .mc-thumb-img-wrap img {
  transform: scale(1.08);
}

.mc-rarity-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-pixel-heading);
  font-size: 0.65rem;
  padding: 4px 8px;
  background: rgba(16, 16, 24, 0.9);
  border: 1px solid var(--mc-diamond);
  color: var(--mc-diamond);
  border-radius: 3px;
  box-shadow: 2px 2px 0px #000;
  z-index: 2;
}

.mc-inspect-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(16, 16, 24, 0.9);
  border: 1px solid var(--mc-stone-border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #FFFFFF;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.2s;
  z-index: 2;
}

.mc-thumb-card:hover .mc-inspect-icon {
  opacity: 1;
  transform: scale(1);
  border-color: var(--mc-gold);
}

.mc-thumb-info {
  padding: 16px;
  background: var(--mc-dark-surface);
  border-top: 2px solid var(--mc-deepslate);
}

.mc-thumb-title {
  font-family: var(--font-pixel-heading);
  font-size: 0.88rem;
  color: #FFFFFF;
  margin-bottom: 6px;
  text-shadow: 1px 1px 0px #000;
}

.mc-thumb-desc {
  font-size: 0.78rem;
  color: var(--mc-text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   PROCESS (CRAFTING RECIPE)
   ========================================================================== */
.process {
  position: relative;
  z-index: 1;
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.process-header {
  text-align: center;
  margin-bottom: 50px;
}

.process-header .section-desc {
  margin: 0 auto;
}

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

.mc-process-card {
  background: var(--mc-dark-card);
  border: 2px solid var(--mc-deepslate-light);
  border-radius: 6px;
  padding: 32px 24px;
  position: relative;
  box-shadow: var(--mc-shadow-pixel);
  transition: all 0.3s;
}

.mc-process-card:hover {
  transform: translateY(-6px);
  border-color: var(--mc-gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 15px var(--mc-gold-glow);
}

.mc-step-badge {
  display: inline-block;
  font-size: 0.68rem;
  color: var(--mc-gold);
  background: rgba(43, 43, 61, 0.9);
  border: 1px solid var(--mc-stone-border);
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 16px;
}

.mc-step-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.mc-step-title {
  font-size: 1rem;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.mc-process-card p {
  font-size: 0.85rem;
  color: var(--mc-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   CALL TO ACTION BANNER (NETHER PORTAL AESTHETIC)
   ========================================================================== */
.cta-banner {
  position: relative;
  z-index: 1;
  padding: 60px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.mc-nether-banner {
  background: linear-gradient(135deg, #1f102e 0%, #150920 50%, #290e38 100%);
  border: 3px solid #6b2d8c;
  box-shadow: inset 0 0 50px rgba(181, 23, 158, 0.3), 0 12px 40px rgba(0, 0, 0, 0.8), 0 0 30px var(--mc-enchant-glow);
  border-radius: 8px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mc-nether-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(199, 125, 255, 0.15) 10%, transparent 20%);
  background-size: 30px 30px;
  pointer-events: none;
  animation: netherSwirl 20s linear infinite;
}

@keyframes netherSwirl {
  0% { background-position: 0 0; }
  100% { background-position: 300px 300px; }
}

.mc-banner-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.mc-banner-tag {
  color: var(--mc-enchant-purple);
  font-size: 0.75rem;
  margin-bottom: 14px;
}

.mc-banner-title {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  color: #FFFFFF;
  margin-bottom: 14px;
  line-height: 1.25;
  text-shadow: 3px 3px 0px #000;
}

.mc-banner-desc {
  font-size: 1rem;
  color: #D6C2E8;
  margin-bottom: 30px;
  line-height: 1.7;
}

/* ==========================================================================
   PRICING SECTION (VILLAGER TRADES)
   ========================================================================== */
.pricing {
  position: relative;
  z-index: 1;
  padding: 100px 48px;
  max-width: 1040px;
  margin: 0 auto;
}

.pricing-header {
  text-align: center;
  margin-bottom: 50px;
}

.pricing-header .section-desc {
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.mc-price-card {
  background: var(--mc-dark-card);
  border: 2px solid var(--mc-deepslate-light);
  border-radius: 6px;
  padding: 40px 32px;
  position: relative;
  box-shadow: var(--mc-shadow-pixel);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s;
}

.mc-price-card:hover {
  transform: translateY(-6px);
  border-color: var(--mc-stone-border);
}

.mc-price-card.popular {
  border-color: var(--mc-diamond);
  background: #191928;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8), 0 0 25px var(--mc-diamond-glow);
  transform: scale(1.03);
}

.mc-price-card.popular:hover {
  transform: scale(1.03) translateY(-6px);
}

.mc-popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--mc-diamond);
  color: #003636;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 3px;
  border: 1px solid #003636;
  white-space: nowrap;
  box-shadow: 2px 2px 0px #000;
}

.mc-tier-name {
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.mc-price-tag {
  font-size: 3.2rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1;
  text-shadow: 3px 3px 0px #000;
}

.mc-dollar {
  font-size: 1.8rem;
  color: var(--mc-emerald);
  vertical-align: top;
}

.mc-price-sub {
  font-size: 0.82rem;
  color: var(--mc-text-muted);
  margin-top: 6px;
}

.mc-price-divider {
  height: 2px;
  background: var(--mc-deepslate-light);
  margin: 24px 0;
}

.mc-features-list {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.mc-features-list li {
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--mc-text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.mc-check {
  color: var(--mc-emerald);
  font-size: 0.9rem;
  flex-shrink: 0;
}

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

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact-info p {
  color: var(--mc-text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.mc-contact-perks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mc-perk-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--mc-dark-surface);
  border: 2px solid var(--mc-deepslate-light);
  border-radius: 6px;
  padding: 16px 20px;
  transition: all 0.2s;
}

.mc-perk-item:hover {
  border-color: var(--mc-gold);
  transform: translateX(4px);
}

.mc-perk-icon-box {
  width: 44px;
  height: 44px;
  background: #2b2b3d;
  border: 1px solid var(--mc-stone-border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.mc-perk-item strong {
  display: block;
  font-size: 0.88rem;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.mc-perk-item p {
  font-size: 0.8rem;
  color: var(--mc-text-muted);
  margin-bottom: 0;
}

/* Discord Box */
.mc-discord-box {
  background: #171825;
  border: 3px solid #5865F2;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(88, 101, 242, 0.35);
  border-radius: 8px;
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.mc-discord-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--mc-deepslate-light);
}

.mc-discord-avatar-frame {
  position: relative;
  width: 72px;
  height: 72px;
}

.mc-dc-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #5865F2;
}

.mc-status-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  background: #23a55a;
  border: 3px solid #171825;
  border-radius: 50%;
}

.mc-discord-name {
  font-size: 1.2rem;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.mc-discord-tag {
  font-size: 0.85rem;
  color: #5865F2;
  font-weight: 600;
}

.mc-discord-instruction {
  font-size: 0.9rem;
  color: var(--mc-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.mc-id-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #11121c;
  border: 1px solid var(--mc-deepslate-light);
  border-radius: 4px;
  padding: 12px 18px;
  margin-bottom: 24px;
}

.mc-id-label {
  font-size: 0.72rem;
  color: var(--mc-gold);
}

.mc-id-text {
  font-family: var(--font-pixel-heading);
  font-size: 0.9rem;
  color: #FFFFFF;
}

.mc-discord-svg {
  margin-right: 6px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.mc-footer {
  background: #0a0a0e;
  border-top: 3px solid var(--mc-deepslate-light);
  padding: 60px 48px 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.mc-footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

.mc-footer-tagline {
  font-size: 0.88rem;
  color: var(--mc-text-muted);
  margin: 12px 0 24px;
}

.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--mc-text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--mc-diamond);
}

.mc-footer-bottom {
  border-top: 1px solid #1c1c28;
  padding-top: 24px;
  font-size: 0.78rem;
  color: #646480;
}

/* ==========================================================================
   LIGHTBOX (HUD MODAL)
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 8, 12, 0.92);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.mc-hud-box {
  position: relative;
  max-width: 940px;
  width: 100%;
  background: #1b1b26;
  border: 4px solid #4a4a66;
  border-radius: 6px;
  box-shadow: inset 4px 4px 0px #6e6e94, inset -4px -4px 0px #111119, 0 20px 60px rgba(0, 0, 0, 0.9);
  padding: 24px;
}

.mc-lb-image-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 2px solid #000;
  border-radius: 4px;
}

.lightbox-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: #2b2b3d;
  color: #FFFFFF;
  border: 2px solid #111119;
  box-shadow: inset 2px 2px 0px #404059, inset -2px -2px 0px #181822;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  border-radius: 4px;
  z-index: 10;
}

.lightbox-close {
  top: -20px;
  right: -20px;
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
}

.lightbox-close:hover {
  background: var(--mc-redstone);
  color: #000;
}

.lightbox-prev, .lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 1rem;
}

.lightbox-prev { left: -24px; }
.lightbox-next { right: -24px; }

.lightbox-prev:hover, .lightbox-next:hover {
  background: var(--mc-diamond);
  color: #000;
}

.lightbox-info {
  margin-top: 16px;
  text-align: center;
}

.lightbox-title {
  font-size: 1.1rem;
  color: var(--mc-gold);
  margin-bottom: 4px;
}

.lightbox-cat {
  font-size: 0.85rem;
  color: var(--mc-text-muted);
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  background: #1e1e2c;
  color: var(--mc-emerald);
  border: 2px solid var(--mc-emerald);
  padding: 14px 24px;
  border-radius: 4px;
  font-size: 0.8rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8), 0 0 15px var(--mc-emerald-glow);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   ANIMATIONS & SCROLL UTILITIES
   ========================================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
  .mc-nav {
    padding: 0 24px;
  }
  .nav-links {
    display: none;
  }
  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .mc-perks-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .mc-price-card.popular {
    transform: none;
  }
  .mc-price-card.popular:hover {
    transform: translateY(-6px);
  }
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .social-proof-section {
    padding: 0 24px;
  }
  .mc-stats-card {
    flex-wrap: wrap;
    gap: 24px;
    padding: 24px;
  }
  .proof-divider {
    display: none;
  }
  .proof-stat {
    width: 45%;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 130px 20px 80px;
  }
  .mc-splash-text {
    position: relative;
    right: 0;
    bottom: 0;
    display: block;
    margin: 12px auto;
    transform: rotate(-5deg);
  }
  .proof-stat {
    width: 100%;
  }
  .hero-btns {
    flex-direction: column;
  }
  .mc-btn-large {
    width: 100%;
  }
  .lightbox-prev { left: -10px; }
  .lightbox-next { right: -10px; }
  .lightbox-close { top: -14px; right: -14px; }
}
