/* Site-wide polish — animations, mobile tweaks, preloader, buttons */
/* Enhanced Animations CSS for LUMINA FORGE */

/* ── Global mobile/responsive helpers (site-wide) ── */
img, video {
  max-width: 100%;
  height: auto;
}

/* Better tap targets on mobile */
button, .btn, a {
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
  body {
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
  }

  /* Give sections breathing room on mobile */
  section, .container {
    scroll-margin-top: 84px;
  }

  .container {
    padding-left: 1.1rem !important;
    padding-right: 1.1rem !important;
  }
}

/* ── Page Loader ── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(241, 196, 15, 0.08) 0%, transparent 55%),
    repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(241, 196, 15, 0.03) 3px, rgba(241, 196, 15, 0.03) 6px),
    #050505;
  opacity: 1;
  transition: opacity 0.75s ease;
}

#preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  animation: loaderFadeIn 0.5s ease-out;
}

.loader-logo {
  width: 88px;
  height: auto;
  animation: loaderLogoPulse 1.6s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(241, 196, 15, 0.55));
}

.loader-title {
  font-family: 'MinecraftTen', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 4px;
  color: #f1c40f;
  text-shadow: 0 0 12px rgba(241, 196, 15, 0.45), 3px 3px 0 #000;
}

.loader-bar-track {
  width: 220px;
  height: 14px;
  background: #111;
  border: 2px solid #000;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8), 0 0 0 1px #f1c40f;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #d4a80a, #f1c40f, #ffec6e, #f1c40f);
  background-size: 200% 100%;
  animation: loaderBarFill 1.4s ease-in-out infinite, loaderBarShine 0.8s linear infinite;
  box-shadow: 0 0 12px rgba(241, 196, 15, 0.6);
}

.loader-text {
  margin: 0;
  font-family: 'MinecraftTen', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.7);
}

.loader-dots span {
  animation: loaderDotBlink 1.2s infinite;
}

.loader-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.loader-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes loaderFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loaderLogoPulse {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.06);
  }
}

@keyframes loaderBarFill {
  0% {
    width: 0%;
  }

  50% {
    width: 85%;
  }

  100% {
    width: 100%;
  }
}

@keyframes loaderBarShine {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

@keyframes loaderDotBlink {
  0%, 80%, 100% {
    opacity: 0.2;
  }

  40% {
    opacity: 1;
  }
}

/* ── Navbar ── */
header.lf-navbar {
  background: rgba(6, 6, 6, 0.94) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.55rem 1.25rem !important;
  border-bottom: none !important;
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.65),
    inset 0 -1px 0 rgba(241, 196, 15, 0.25);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header.lf-navbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #f1c40f 20%, #ffec6e 50%, #f1c40f 80%, transparent 100%);
  opacity: 0.9;
}

header.lf-navbar .container-fluid {
  align-items: center;
}

header.lf-navbar .logo img {
  height: 46px !important;
  padding-left: 0 !important;
  display: block;
  animation: subtleGlow 2.5s ease-in-out infinite;
}

header.lf-navbar .navbar-nav {
  gap: 0.25rem !important;
  align-items: center;
}

header.lf-navbar .nav-link {
  font-family: 'MinecraftTen', sans-serif !important;
  font-size: 0.82rem !important;
  letter-spacing: 1.5px;
  padding: 0.45rem 0.95rem !important;
  margin: 0 0.1rem;
  border-radius: 4px;
  border: 2px solid transparent;
  color: #d4b84a !important;
  background: transparent !important;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.9);
  transition: color 0.2s ease, background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

header.lf-navbar .nav-link:hover,
header.lf-navbar .nav-link:focus,
header.lf-navbar .nav-link.active {
  color: #000 !important;
  background: linear-gradient(180deg, #fff5a0 0%, #f1c40f 45%, #d4a80a 100%) !important;
  border-color: #000;
  box-shadow:
    inset -2px -2px 0 #a67c00,
    inset 2px 2px 0 #fff8c0,
    2px 2px 0 rgba(0, 0, 0, 0.55);
  text-shadow: none;
  transform: translateY(-1px);
}

header.lf-navbar .dropdown-toggle::after {
  display: none;
}

header.lf-navbar .dropdown-menu {
  background: rgba(12, 12, 12, 0.97) !important;
  border: 2px solid #f1c40f !important;
  border-radius: 6px;
  padding: 0.35rem;
  margin-top: 0.5rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  animation: navDropdownIn 0.25s ease-out;
}

header.lf-navbar .dropdown-item {
  font-family: 'MinecraftTen', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: #f1c40f !important;
  border-radius: 4px;
  padding: 0.45rem 0.85rem;
  transition: background 0.2s ease, color 0.2s ease;
}

header.lf-navbar .dropdown-item:hover {
  background: #f1c40f !important;
  color: #000 !important;
}

header.lf-navbar .navbar-toggler {
  border-color: rgba(241, 196, 15, 0.5);
}

header.lf-navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 2px rgba(241, 196, 15, 0.35);
}

@keyframes navDropdownIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991px) {
  header.lf-navbar .navbar-collapse {
    background: rgba(8, 8, 8, 0.98);
    border: 2px solid rgba(241, 196, 15, 0.35);
    border-radius: 8px;
    padding: 0.75rem;
    margin-top: 0.75rem;
  }

  header.lf-navbar .nav-link {
    text-align: center;
    margin: 0.15rem 0;
  }
}

@keyframes subtleGlow {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(241, 196, 15, 0.35));
  }

  50% {
    filter: drop-shadow(0 0 16px rgba(241, 196, 15, 0.65));
  }
}

/* Pixel Block Animation */
@keyframes pixelBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pixelPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(241, 196, 15, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(241, 196, 15, 0.3);
  }
}

@keyframes glitch {
  0% {
    text-shadow: -2px 0 #ff00ff, 2px 0 #00ffff;
  }
  25% {
    text-shadow: 2px 0 #ff00ff, -2px 0 #00ffff;
  }
  50% {
    text-shadow: -2px 0 #00ffff, 2px 0 #ff00ff;
  }
  75% {
    text-shadow: 2px 0 #00ffff, -2px 0 #ff00ff;
  }
  100% {
    text-shadow: -2px 0 #ff00ff, 2px 0 #00ffff;
  }
}

@keyframes neon-glow {
  0%, 100% {
    text-shadow: 0 0 10px #f1c40f, 0 0 20px #f1c40f;
    box-shadow: 0 0 10px #f1c40f, inset 0 0 10px rgba(241, 196, 15, 0.2);
  }
  50% {
    text-shadow: 0 0 20px #f1c40f, 0 0 40px #f1c40f;
    box-shadow: 0 0 20px #f1c40f, inset 0 0 20px rgba(241, 196, 15, 0.3);
  }
}

@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Enhanced Button Styling */
.btn-enhanced {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f1c40f, #ffd700);
  border: 2px solid #f1c40f;
  color: #000;
  font-weight: bold;
  padding: 0.75rem 2rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-enhanced::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-enhanced:hover::before {
  width: 300px;
  height: 300px;
}

.btn-enhanced:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(241, 196, 15, 0.5);
}

/* Card Hover Effects */
.card-hover {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.card-hover:hover {
  transform: translateY(-15px) rotateX(5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Text Animation */
.text-glow {
  animation: neon-glow 2s ease-in-out infinite;
}

.text-bounce {
  animation: pixelBounce 0.6s ease-in-out infinite;
}

/* Hero Section Improvements */
.hero-section-enhanced {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(241, 196, 15, 0.1)), url('images/01-gif.gif') center/cover;
  position: relative;
  overflow: hidden;
}

.hero-section-enhanced::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(241, 196, 15, 0.1) 50%, transparent 70%);
  animation: shimmer 3s infinite;
  pointer-events: none;
}

.hero-content-enhanced {
  position: relative;
  z-index: 2;
}

.hero-content-enhanced h1 {
  animation: slide-in-left 0.8s ease-out;
}

.hero-content-enhanced .play-btn {
  animation: slide-in-right 0.8s ease-out 0.2s both;
}

/* Grid Animation */
.grid-item {
  animation: fade-in-up 0.6s ease-out backwards;
}

.grid-item:nth-child(1) { animation-delay: 0s; }
.grid-item:nth-child(2) { animation-delay: 0.1s; }
.grid-item:nth-child(3) { animation-delay: 0.2s; }
.grid-item:nth-child(4) { animation-delay: 0.3s; }
.grid-item:nth-child(5) { animation-delay: 0.4s; }
.grid-item:nth-child(6) { animation-delay: 0.5s; }

/* Minecraft Block Style Buttons */
.btn-minecraft {
  position: relative;
  background: linear-gradient(135deg, #f1c40f 0%, #ffd700 50%, #f1c40f 100%);
  border: 3px solid #000;
  color: #000;
  font-family: 'MinecraftTen', sans-serif;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  transition: all 0.2s ease;
  box-shadow: 
    3px 3px 0 rgba(0, 0, 0, 0.5),
    6px 6px 0 rgba(0, 0, 0, 0.3);
}

.btn-minecraft:hover {
  transform: translate(-2px, -2px);
  box-shadow: 
    5px 5px 0 rgba(0, 0, 0, 0.5),
    8px 8px 0 rgba(0, 0, 0, 0.3);
}

.btn-minecraft:active {
  transform: translate(1px, 1px);
  box-shadow: 
    1px 1px 0 rgba(0, 0, 0, 0.5),
    2px 2px 0 rgba(0, 0, 0, 0.3);
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Navbar Enhancement */
.navbar-enhanced {
  background: linear-gradient(90deg, #000 0%, #1a1a1a 50%, #000 100%) !important;
  border-bottom: 3px solid #f1c40f;
  box-shadow: 0 4px 15px rgba(241, 196, 15, 0.2);
}

.nav-link-enhanced {
  position: relative;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
}

.nav-link-enhanced::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #f1c40f;
  transition: width 0.3s ease;
}

.nav-link-enhanced:hover::after {
  width: 100%;
}

.nav-link-enhanced:hover {
  color: #ffd700 !important;
  text-shadow: 0 0 10px rgba(241, 196, 15, 0.5);
}

/* Section Title Enhancement */
.section-title-enhanced {
  position: relative;
  text-align: center;
  color: #f1c40f;
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin: 2rem 0;
  animation: slide-in-left 0.8s ease-out;
}

.section-title-enhanced::before,
.section-title-enhanced::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #f1c40f);
  transform: translateY(-50%);
}

.section-title-enhanced::before {
  left: 0;
}

.section-title-enhanced::after {
  right: 0;
  background: linear-gradient(90deg, #f1c40f, transparent);
}

/* Skeleton Loading Animation */
@keyframes skeleton-loading {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.skeleton {
  background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
  background-size: 1000px 100%;
  animation: skeleton-loading 2s infinite;
}

/* Tooltip Enhancement */
.tooltip-enhanced {
  background: linear-gradient(135deg, #f1c40f, #ffd700) !important;
  color: #000 !important;
  font-weight: bold;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.tooltip-enhanced.show {
  opacity: 1;
  animation: fade-in-up 0.3s ease;
}

/* Responsive Improvements */
@media (max-width: 768px) {
  .section-title-enhanced {
    font-size: 1.8rem;
    letter-spacing: 2px;
  }

  .section-title-enhanced::before,
  .section-title-enhanced::after {
    width: 20px;
  }

  .btn-minecraft {
    padding: 0.6rem 1.2rem;
    box-shadow: 
      2px 2px 0 rgba(0, 0, 0, 0.5),
      4px 4px 0 rgba(0, 0, 0, 0.3);
  }

  .nav-link-enhanced {
    padding: 0.4rem 0.8rem !important;
  }
}

/* Loading Bar Animation */
.loading-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #f1c40f, #ffd700, #f1c40f);
  animation: shimmer 2s infinite;
  z-index: 9999;
}

/* Smooth Transitions */
* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Focus States */
a:focus,
button:focus,
input:focus {
  outline: 2px solid #f1c40f;
  outline-offset: 2px;
}

/* Accessible Color Contrast */
.text-high-contrast {
  color: #f1c40f;
  text-shadow: 1px 1px 2px #000;
}

/* Minecraft-Style 3D Button */
.btn-minecraft-3d {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'MinecraftTen', sans-serif;
  font-size: 1.25rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #000 !important;
  background: #f1c40f;
  border: 3px solid #000;
  padding: 0.8rem 2.2rem;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  box-shadow: inset -4px -4px 0px #b5900a, inset 4px 4px 0px #fffebd, 4px 4px 0px rgba(0, 0, 0, 0.4);
}

.btn-minecraft-3d:hover {
  background: #ffd700;
  box-shadow: inset -4px -4px 0px #cda20a, inset 4px 4px 0px #fffff0, 4px 4px 0px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.btn-minecraft-3d:active {
  transform: translateY(2px);
  box-shadow: inset 4px 4px 0px #cda20a, inset -4px -4px 0px #fffff0, 2px 2px 0px rgba(0, 0, 0, 0.4);
}

/* Server Status Bar */
.server-status-bar {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.85);
  border: 2px solid #f1c40f;
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  margin-top: 1.5rem;
  box-shadow: 0 4px 15px rgba(241, 196, 15, 0.15);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  color: #fff;
  font-size: 0.95rem;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #2ecc71;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
  animation: pulse-green 1.6s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(46, 204, 113, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
  }
}

.server-ip {
  color: #f1c40f;
  font-family: 'MinecraftTen', monospace;
  letter-spacing: 1px;
  font-size: 1.1rem;
}

.btn-copy {
  background: #222;
  border: 1px solid #f1c40f;
  color: #f1c40f;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: bold;
}

.btn-copy:hover {
  background: #f1c40f;
  color: #000;
}

.btn-copy.copied {
  background: #2ecc71;
  border-color: #2ecc71;
  color: #fff;
  animation: bounceCopied 0.3s ease;
}

@keyframes bounceCopied {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* Glassmorphic & Glowing Containers */
.glass-container {
  background: rgba(10, 10, 10, 0.75) !important;
  backdrop-filter: blur(12px);
  border: 2px solid #f1c40f !important;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-container:hover {
  border-color: #ffd700 !important;
  box-shadow: 0 10px 40px rgba(241, 196, 15, 0.25);
}

.text-minecraft-glow {
  color: #f1c40f;
  text-shadow: 0 0 10px rgba(241, 196, 15, 0.5);
  font-family: 'MinecraftTen', sans-serif;
}

/* Small variant of Minecraft 3D Button */
.btn-minecraft-3d-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  font-family: 'MinecraftTen', sans-serif;
  font-size: 0.95rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #000 !important;
  background: #f1c40f;
  border: 2px solid #000;
  padding: 0.4rem 1.2rem;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  box-shadow: inset -2px -2px 0px #b5900a, inset 2px 2px 0px #fffebd, 2px 2px 0px rgba(0, 0, 0, 0.4);
}

.btn-minecraft-3d-sm:hover {
  background: #ffd700;
  box-shadow: inset -2px -2px 0px #cda20a, inset 2px 2px 0px #fffff0, 2px 2px 0px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}

.btn-minecraft-3d-sm:active {
  transform: translateY(1px);
  box-shadow: inset 2px 2px 0px #cda20a, inset -2px -2px 0px #fffff0, 1px 1px 0px rgba(0, 0, 0, 0.4);
}

.player-count-btn {
  cursor: default;
  pointer-events: none;
  font-size: 0.8rem;
}

/* Featured carousel — Minecraft theme */
#featuredCarousel .carousel-caption {
  bottom: 8%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

#featuredCarousel .carousel-slide-title {
  margin: 0;
  font-family: 'MinecraftTen', sans-serif;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  line-height: 1.35;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 #000, 0 0 12px rgba(241, 196, 15, 0.35);
}

#featuredCarousel .carousel-control-mc {
  width: auto;
  height: auto;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

#featuredCarousel .carousel-control-prev.carousel-control-mc {
  left: 0.75rem;
}

#featuredCarousel .carousel-control-next.carousel-control-mc {
  right: 0.75rem;
}

#featuredCarousel .carousel-control-mc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background-image: none !important;
  background-color: #f1c40f;
  border: 3px solid #000;
  border-radius: 0;
  padding: 0;
  box-shadow: inset -3px -3px 0 #b5900a, inset 3px 3px 0 #fffebd, 3px 3px 0 rgba(0, 0, 0, 0.5);
  transition: transform 0.1s ease, background-color 0.1s ease, box-shadow 0.1s ease;
}

#featuredCarousel .carousel-control-mc:hover .carousel-control-mc-icon {
  background-color: #ffd700;
  transform: translateY(-1px);
  box-shadow: inset -3px -3px 0 #cda20a, inset 3px 3px 0 #fffff0, 3px 3px 0 rgba(0, 0, 0, 0.5);
}

#featuredCarousel .carousel-control-mc:active .carousel-control-mc-icon {
  transform: translateY(1px);
  box-shadow: inset 3px 3px 0 #cda20a, inset -3px -3px 0 #fffff0, 2px 2px 0 rgba(0, 0, 0, 0.5);
}

#featuredCarousel .carousel-control-prev-icon.carousel-control-mc-icon::before {
  content: "◀";
  font-family: 'MinecraftTen', sans-serif;
  font-size: 0.95rem;
  color: #000;
  line-height: 1;
}

#featuredCarousel .carousel-control-next-icon.carousel-control-mc-icon::before {
  content: "▶";
  font-family: 'MinecraftTen', sans-serif;
  font-size: 0.95rem;
  color: #000;
  line-height: 1;
}

#featuredCarousel .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border: 2px solid #000;
  border-radius: 0;
  background-color: #555;
  opacity: 1;
  box-shadow: inset -1px -1px 0 #333, inset 1px 1px 0 #777;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

#featuredCarousel .carousel-indicators .active {
  background-color: #f1c40f;
  box-shadow: inset -2px -2px 0 #b5900a, inset 2px 2px 0 #fffebd;
  transform: scale(1.1);
}
  padding: 0.35rem 1rem;
}

@keyframes infoSectionReveal {
  0% {
    opacity: 0.3;
    transform: translateY(48px);
  }

  65% {
    opacity: 1;
    transform: translateY(-6px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes infoHeaderPulse {
  0% {
    letter-spacing: 2px;
    box-shadow: inset 0 0 0 0 rgba(0, 0, 0, 0);
  }

  40% {
    letter-spacing: 6px;
    box-shadow: inset 0 -4px 12px rgba(0, 0, 0, 0.15);
  }

  100% {
    letter-spacing: 2px;
    box-shadow: inset 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

#server-info-header.info-section-animate {
  animation: infoHeaderPulse 0.75s ease-out;
}

#play-section.info-section-animate {
  animation: infoSectionReveal 0.75s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Whitelist Notice styling */
.whitelist-notice {
  font-family: 'MinecraftTen', sans-serif;
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

.whitelist-notice span {
  color: #f1c40f;
}

/* Seasons Gallery styling */
#seasons-gallery {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 2rem;
  background-color: #030303;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  transition:
    max-height 1s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.6s ease;
}

#seasons-gallery.is-animating {
  transition:
    opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.6s ease;
}

#seasons-gallery > .container {
  padding: 5rem 0;
}

#seasons-gallery.is-measuring {
  position: absolute;
  left: 0;
  right: 0;
  visibility: hidden;
  max-height: none !important;
  pointer-events: none;
  opacity: 1;
  border-top-color: #f1c40f;
  border-bottom-color: #f1c40f;
}

#seasons-gallery.show {
  opacity: 1;
  border-top-color: #f1c40f;
  border-bottom-color: #f1c40f;
}

#seasons-gallery .season-card {
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease;
  transition-delay: var(--season-stagger, 0ms);
}

#seasons-gallery.show .season-card.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

#btnExploreMore:disabled {
  opacity: 0.72;
  cursor: wait;
}

.season-card {
  height: 100%;
}

#seasons-gallery.show .season-card.is-revealed:hover {
  transform: translateY(-8px) scale(1);
}

.season-img-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 200px;
  border: 1px solid rgba(241, 196, 15, 0.3);
}

.season-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.season-card:hover .season-img {
  transform: scale(1.1);
}

.season-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #f1c40f;
  color: #000;
  font-family: 'MinecraftTen', sans-serif;
  font-size: 0.85rem;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  box-shadow: 2px 2px 0px #000;
  font-weight: bold;
}

/* ERA Divider */
.era-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 3.5rem 0 2rem;
  width: 100%;
}

.era-title {
  font-family: 'MinecraftTen', sans-serif;
  font-size: 1.5rem;
  color: #000;
  background: #f1c40f;
  padding: 0.4rem 1.5rem;
  border: 3px solid #000;
  white-space: nowrap;
  box-shadow: inset -3px -3px 0px #b5900a, inset 3px 3px 0px #fffebd, 3px 3px 0px rgba(0,0,0,0.5);
}

.era-line {
  flex: 1;
  height: 3px;
  background: linear-gradient(to right, #f1c40f, transparent);
  border-radius: 2px;
}

