

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --font-heading: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  /* CORALMC EXACT COLOR PALETTE */
  --bg-dark: #0a0e19;
  --bg-card: #131b2e;
  --bg-card-hover: #18233c;
  --bg-inner: #0c1220;
  
  --coral-blue: #00a8ff;
  --coral-blue-dark: #0077b6;
  --coral-glow: rgba(0, 168, 255, 0.35);
  
  --coral-green: #2ecc71;
  --coral-amber: #f1c40f;
  --coral-purple: #9b59b6;
  
  --text-main: #ffffff;
  --text-muted: #8e9bb0;
  --text-dim: #5c687d;
  
  --border-card: rgba(255, 255, 255, 0.08);
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% 0%, #111a30 0%, #0a0e19 80%);
  color: var(--text-main);
  line-height: 1.6;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

body.loaded {
  opacity: 1;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

/* =========================================================
   LORDICON ANIMATED EMOJIS (Hover Trigger)
   ========================================================= */

lord-icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  transition: transform 0.25s ease;
}

lord-icon.lg {
  width: 58px;
  height: 58px;
}

lord-icon.btn-icon {
  width: 26px;
  height: 26px;
}

a:hover lord-icon,
button:hover lord-icon,
.product-card:hover lord-icon,
.tab-btn:hover lord-icon {
  transform: scale(1.15);
}

/* =========================================================
   PAGE TRANSITION CURTAIN
   ========================================================= */

#page-transition-curtain {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 9999;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

#page-transition-curtain.active {
  transform: translateY(0%);
}

.curtain-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border-card);
  border-top-color: var(--coral-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* =========================================================
   CORALMC MONTSERRAT TYPOGRAPHY
   ========================================================= */

h1, h2, h3, .heading-font {
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

/* =========================================================
   HEADER & NAVBAR (CoralMC Glassmorphism Navbar)
   ========================================================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 50;
  background: rgba(13, 20, 35, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-card);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 46px;
  width: auto;
  filter: drop-shadow(0 0 8px var(--coral-glow));
  transition: transform 0.3s ease;
}

.logo-wrapper:hover .logo-img {
  transform: scale(1.06);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 6px;
}

.nav-item a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--text-muted);
  border-radius: 8px;
  transition: all 0.25s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-item a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-item a.active {
  color: #ffffff;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
}

.nav-item a.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 12px;
  right: 12px;
  height: 3px;
  background: var(--coral-blue);
  border-radius: 4px;
}

/* CoralMC Nav Store Button */
.nav-btn-store {
  background: linear-gradient(135deg, var(--coral-blue) 0%, var(--coral-blue-dark) 100%) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  border-bottom: 4px solid rgba(0, 0, 0, 0.35) !important;
  box-shadow: 0 4px 15px rgba(0, 168, 255, 0.4);
}

.nav-btn-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 168, 255, 0.6) !important;
}

/* Language Switcher */
.nav-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-dropdown {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  font-family: var(--font-heading);
  transition: all 0.2s ease;
}

.lang-btn:hover {
  border-color: var(--coral-blue);
}

.lang-menu {
  position: absolute;
  right: 0;
  top: 110%;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
  display: none;
  flex-direction: column;
  min-width: 140px;
}

.lang-menu.show {
  display: flex;
}

.lang-option {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-option:hover {
  background: var(--bg-card-hover);
  color: var(--text-main);
}

.mobile-toggle {
  display: none;
  background: transparent;
  color: var(--text-main);
  font-size: 1.5rem;
}

/* =========================================================
   HERO SECTION (CoralMC Tactical Banner Photo 2)
   ========================================================= */

.hero-section {
  position: relative;
  margin-top: var(--header-height);
  padding: 3.5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
}

.hero-banner-card {
  position: relative;
  z-index: 10;
  max-width: 1120px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--border-card);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  background: #000;
}

.hero-img-banner {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 25, 0.2) 0%, rgba(10, 14, 25, 0.9) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 3.5rem 2rem;
  text-align: center;
}

.hero-logo-main {
  max-width: 280px;
  height: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 15px var(--coral-glow));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.hero-title {
  font-size: 1.35rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--text-main);
  max-width: 780px;
  margin-bottom: 2rem;
}

/* CORALMC 3D PUSHABLE BUTTON (.btn-coral) */
.btn-coral {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 42px;
  font-size: 1.1rem;
  font-weight: 900;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--coral-blue) 0%, var(--coral-blue-dark) 100%);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-bottom: 5px solid rgba(0, 0, 0, 0.45);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.1, 0.8, 0.3, 1);
}

.btn-coral::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-coral:hover::before {
  left: 100%;
}

.btn-coral:hover {
  transform: translateY(2px);
  border-bottom-width: 3px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

/* Wave Divider */
.wave-divider {
  position: relative;
  width: 100%;
  height: 80px;
  margin-top: -20px;
  z-index: 15;
}

.wave-divider svg {
  width: 100%;
  height: 100%;
  fill: var(--bg-dark);
}

/* =========================================================
   HOW TO PLAY & SERVER IP WIDGET (PULSE ONLINE DOT)
   ========================================================= */

.section-container {
  max-width: 1280px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.join-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.join-info h2 {
  font-size: 2.3rem;
  font-weight: 800;
  font-family: var(--font-heading);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.join-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.ip-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-top: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

/* CoralMC Green Pulsing Online Status Dot */
.ip-badge {
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--coral-blue);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 900;
  font-family: var(--font-heading);
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ip-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #2ecc71;
  border-radius: 50%;
  box-shadow: 0 0 8px #2ecc71;
  animation: pulseDot 1.5s infinite;
}

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

.ip-field {
  margin-top: 1.2rem;
}

.ip-label {
  font-size: 0.85rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--text-dim);
  text-transform: uppercase;
}

.ip-box {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-inner);
  border: 1px solid var(--border-card);
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--coral-blue);
}

.btn-copy {
  background: var(--coral-blue);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 800;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 3px solid rgba(0, 0, 0, 0.35);
  transition: all 0.2s ease;
}

.btn-copy:hover {
  background: var(--coral-blue-dark);
  transform: translateY(1px);
}

/* =========================================================
   GAME MODES CAROUSEL (CoralMC Slide Title Animation)
   ========================================================= */

.modes-header {
  text-align: center;
  margin-bottom: 3rem;
}

.modes-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  font-family: var(--font-heading);
  text-transform: uppercase;
}

.modes-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0.5rem auto 0;
}

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

.mode-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  transition: all 0.3s ease;
  height: 230px;
}

.mode-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 168, 255, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.mode-card-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mode-card:hover .mode-card-bg {
  transform: scale(1.08);
}

.mode-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 14, 25, 0.95) 0%, rgba(10, 14, 25, 0.2) 65%);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.mode-title {
  font-size: 1.45rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #fff;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.mode-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--coral-blue);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.mode-card:hover .mode-title::after {
  width: 50px;
}

.mode-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* =========================================================
   DISCORD BANNER CTA
   ========================================================= */

.discord-cta-section {
  position: relative;
  background: var(--bg-card);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
  padding: 5rem 1.5rem;
  margin-top: 4rem;
}

.discord-cta-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.discord-cta-content h2 {
  font-size: 2.3rem;
  font-weight: 800;
  font-family: var(--font-heading);
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1rem;
}

.discord-cta-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #5865f2;
  color: #fff;
  padding: 16px 38px;
  border-radius: 12px;
  font-weight: 900;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-bottom: 5px solid rgba(0, 0, 0, 0.4);
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.3);
  transition: all 0.2s ease;
}

.btn-discord:hover {
  background: #4752c4;
  transform: translateY(2px);
  border-bottom-width: 3px;
}

/* =========================================================
   CANDIDATURE FORMS (Staff & Dev)
   ========================================================= */

.candidature-container {
  max-width: 850px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.tab-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.tab-btn {
  padding: 12px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  font-family: var(--font-heading);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.tab-btn.active {
  background: var(--coral-blue);
  color: #ffffff;
  border-color: var(--coral-blue);
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-top: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 2.8rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-inner);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  border-color: var(--coral-blue);
  outline: none;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* =========================================================
   STORE & PAYPAL MODAL
   ========================================================= */

.store-categories {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.store-cat-btn {
  padding: 10px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  color: var(--text-muted);
  font-weight: 800;
  font-family: var(--font-heading);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.store-cat-btn.active,
.store-cat-btn:hover {
  background: var(--coral-blue);
  color: #ffffff;
  border-color: var(--coral-blue);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-top: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.product-card:hover {
  border-color: rgba(0, 168, 255, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--coral-amber);
  color: #000000;
  font-size: 0.75rem;
  font-weight: 900;
  font-family: var(--font-heading);
  padding: 3px 12px;
  border-radius: 10px;
}

.product-icon-wrapper {
  margin-bottom: 1.2rem;
}

.product-title {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.product-price {
  font-size: 1.6rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: var(--coral-blue);
  margin-bottom: 1.2rem;
}

.product-features {
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  text-align: left;
  width: 100%;
}

.product-features li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-features li::before {
  content: '✓';
  color: var(--coral-blue);
  font-weight: bold;
}

.btn-buy-paypal {
  width: 100%;
  background: linear-gradient(135deg, #0070ba 0%, #003087 100%);
  color: #ffffff;
  font-weight: 900;
  font-family: var(--font-heading);
  padding: 12px;
  border-radius: 10px;
  border-bottom: 4px solid rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.btn-buy-paypal:hover {
  transform: translateY(1px);
  border-bottom-width: 2px;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 25, 0.85);
  backdrop-filter: blur(12px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 22px;
  max-width: 500px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
}

.checkout-card {
  text-align: center;
}

.checkout-product {
  margin-bottom: 1.75rem;
}

.checkout-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.checkout-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.25rem;
}

.checkout-amount {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-cyan);
}

.paypal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 22px;
  background: #ffc439;
  color: #003087;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: 0 8px 20px rgba(255, 196, 57, 0.25);
}

.paypal-btn:hover {
  background: #ffb800;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255, 184, 0, 0.35);
}

.paypal-mark {
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.pp-pay { color: #003087; }
.pp-pal { color: #009cde; }

.paypal-btn-label {
  color: #003087;
}

.checkout-note {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.checkout-thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.checkout-thanks-emoji {
  font-size: 2.5rem;
}

.checkout-close-btn {
  margin-top: 0.5rem;
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  background: rgba(0, 210, 255, 0.15);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.checkout-close-btn:hover {
  background: rgba(0, 210, 255, 0.28);
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  margin-top: auto;
  background: #060910;
  border-top: 1px solid var(--border-card);
  padding: 3rem 1.5rem 2rem;
  color: var(--text-muted);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-logo {
  height: 44px;
}

.footer-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

.footer-links a:hover {
  color: var(--coral-blue);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */

@media (max-width: 900px) {
  .join-grid {
    grid-template-columns: 1fr;
  }
  
  .discord-cta-container {
    flex-direction: column;
    text-align: center;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--bg-card);
    flex-direction: column;
    padding: 1.8rem;
    border-bottom: 1px solid var(--border-card);
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .mobile-toggle {
    display: block;
  }
}

/* =========================================================
   CUSTOM STORE LOGIC & PACK BUTTONS
   ========================================================= */

.btn-view-packs {
  width: 100%;
  background: linear-gradient(135deg, #0070ba 0%, #003087 100%);
  color: #ffffff;
  font-weight: 900;
  font-family: var(--font-heading);
  padding: 12px;
  border-radius: 10px;
  border-bottom: 4px solid rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-view-packs:hover {
  transform: translateY(1px);
  border-bottom-width: 2px;
}

/* Nasconde di default i pacchetti specifici e il tasto indietro */
.key-subpack,
#key-back-wrapper {
  display: none !important;
}


.btn-back-keys {
  padding: 10px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  color: var(--text-muted);
  font-weight: 800;
  font-family: var(--font-heading);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.btn-back-keys:hover {
  background: var(--coral-blue);
  color: #ffffff;
  border-color: var(--coral-blue);
}