/*--------------------------------------------------------------
# Hero Section — MU ARMUS
# Faithfully replicates the Figma hero design
--------------------------------------------------------------*/

/* ===== CAPTCHA ARMUS ===== */
.armus-captcha-group {
  margin-top: 16px;
  text-align: left;
}

.armus-captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.armus-captcha-image {
  display: block;
  width: 210px;
  max-width: calc(100% - 54px);
  height: 58px;
  object-fit: cover;
  border-radius: 7px;
  border: 1px solid rgba(244, 55, 61, 0.55);
  background: #121217;
}

.armus-captcha-refresh {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.armus-captcha-refresh:hover,
.armus-captcha-refresh:focus {
  border-color: #f4373d;
  background: rgba(244, 55, 61, 0.16);
  color: #ffffff;
  outline: none;
}

.armus-captcha-input {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  padding: 12px 16px !important;
}

.armus-captcha-input:focus {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: #f4373d !important;
  box-shadow: 0 0 12px rgba(244, 55, 61, 0.3) !important;
  outline: none !important;
}
/* ===== Hero Section Container ===== */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 998;
  /* Override default section styles from style.css */
  opacity: 1 !important;
  top: 0 !important;
  bottom: auto !important;
  padding-bottom: 0 !important;
}

.hero-section .container {
  background: none;
  padding: 0;
}

/* ===== Hero Background ===== */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Dark gradient overlay for readability */
.hero-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

/* ===== Navbar ===== */
.hero-navbar {
  position: relative;
  z-index: 10;
  padding: 36px 40px;
  width: 100%;
  flex-shrink: 0;
}

.hero-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.hero-nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-family: "Inter", "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.hero-nav-links a:hover {
  color: #fff;
  text-decoration: none;
}

.hero-nav-left {
  justify-content: flex-end;
}

.hero-nav-right {
  justify-content: flex-start;
}

/* Logo centered */
.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 35px;
  flex-shrink: 0;
}

.hero-logo img {
  height: 78px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

/* Login Button */
.hero-login-btn {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%) !important;
  color: #fff !important;
  padding: 13px 34px !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: 1.5px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(238, 90, 36, 0.4);
}

.hero-login-btn:hover {
  background: linear-gradient(135deg, #ff7b7b 0%, #ff6b34 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(238, 90, 36, 0.6);
}

/* ===== Hero Content & Layout ===== */
.hero-content {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: -20px;
  min-height: 520px;
}

/* Giant ARMUS text */
.hero-title {
  position: absolute;
  font-family: "Inter", "Raleway", sans-serif;
  font-size: 18vw;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  z-index: 1;
  user-select: none;
  line-height: 0.85;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  margin: 0;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}

/* Character overlapping the text */
.hero-character {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  padding-bottom: 0;
}

.hero-character img {
  height: 72vh;
  max-height: 720px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(180, 20, 20, 0.35));
  animation: heroCharFloat 6s ease-in-out infinite;
}

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

/* ===== Bottom Info Cards ===== */
.hero-cards {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 0 40px 30px 40px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  flex-shrink: 0;
  margin-top: -60px;
}

.hero-card {
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none !important;
}

.hero-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

/* Action CTA Cards (Reg & Downloads) */
.hero-card-action {
  background: linear-gradient(135deg, rgba(249, 47, 47, 0.95), rgba(192, 57, 43, 0.95));
  border: 1px solid rgba(249, 47, 47, 0.5);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #ffffff !important;
}

.hero-card-dl {
  background: linear-gradient(135deg, rgba(20, 20, 26, 0.95), rgba(12, 12, 16, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card-action-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #ffffff;
  flex-shrink: 0;
}

.hero-card-action-title {
  display: block;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #ffffff;
  line-height: 1.2;
}

.hero-card-action-sub {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}

/* Status Card (White/Light Card) */
.hero-card-status {
  background: #ffffff;
  padding: 14px 18px;
  color: #111116;
  font-family: "Inter", sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.magma-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
}

.magma-status-text {
  font-size: 11px;
  font-weight: 800;
  color: #10b981;
  letter-spacing: 1px;
}

.magma-status-stats {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 6px 0;
}

.magma-online-number {
  font-size: 26px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
}

.magma-online-label {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
}

.magma-acc-number {
  font-size: 16px;
  font-weight: 900;
  color: #ef4444;
}

.magma-acc-label {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
}

.magma-clocks-bar {
  font-size: 10px;
  font-weight: 700;
  color: #475569;
  border-top: 1px solid #e2e8f0;
  padding-top: 4px;
}

.magma-clocks-bar strong {
  color: #f92f2f;
}

/* Features Card (Dark Glass Card) */
.hero-card-features {
  background: rgba(14, 14, 18, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-card-label {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.magma-features-grid-inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
  margin-top: 6px;
}

.magma-feat-chip {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.magma-feat-chip strong {
  color: #f92f2f;
  font-weight: 800;
}



.hero-card {
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none !important;
}

.hero-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* Register & Downloads cards (image-based) */
.hero-card-register,
.hero-card-downloads {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  min-height: 80px;
}

.hero-card-register img,
.hero-card-downloads img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

/* Players Online card */
.hero-card-players {
  flex: 1.2;
  min-width: 0;
  background: rgba(255, 255, 255, 0.97);
  padding: 22px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  backdrop-filter: blur(10px);
  border-left: 4px solid #1a1a1a;
  min-height: 80px;
}

.hero-card-label {
  font-family: "Inter", "Poppins", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  color: #777;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hero-card-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.hero-card-number {
  font-family: "Inter", "Poppins", sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1;
}

.hero-card-unit {
  font-family: "Inter", "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #999;
}

/* Rate EXP card */
.hero-card-rate {
  flex: 1.4;
  min-width: 0;
  background: rgba(255, 255, 255, 0.97);
  padding: 22px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 3px solid #e74c3c;
  backdrop-filter: blur(10px);
  min-height: 80px;
}

.hero-card-rate .hero-card-label {
  color: #555;
  letter-spacing: 5px;
}

.hero-card-rate-number {
  color: #e74c3c !important;
  font-size: 38px !important;
  font-weight: 800 !important;
}


/* ===== Mobile Menu ===== */
.hero-mobile-toggle {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 20;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 22px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.hero-mobile-toggle:hover {
  background: rgba(255,255,255,0.1);
}

.hero-mobile-menu {
  display: none;
  position: absolute;
  top: 65px;
  left: 15px;
  right: 15px;
  z-index: 19;
  background: rgba(0, 0, 0, 0.92);
  border-radius: 12px;
  padding: 15px 20px;
  flex-direction: column;
  gap: 0;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.1);
}

.hero-mobile-menu a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-family: "Inter", "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.3s ease;
}

.hero-mobile-menu a:last-child {
  border-bottom: none;
}

.hero-mobile-menu a:hover {
  color: #ff6b6b;
}

.hero-mobile-menu .hero-login-btn {
  display: inline-block;
  text-align: center;
  margin-top: 8px;
  padding: 10px 28px !important;
  border-bottom: none;
}

.hero-mobile-menu.active {
  display: flex;
}

/* ===== Animations ===== */
@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-title {
  animation: heroFadeIn 1.2s ease-out 0.2s both;
}

.hero-character {
  animation: heroFadeInUp 1s ease-out 0.5s both;
}

.hero-cards {
  animation: heroFadeInUp 0.8s ease-out 0.8s both;
}

.hero-navbar {
  animation: heroFadeIn 1s ease-out 0.1s both;
}

/* ===== Responsive ===== */

/* Tablet */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 22vw;
  }
  
  .hero-nav-links {
    gap: 16px;
  }
  
  .hero-nav-links a {
    font-size: 10px;
    letter-spacing: 1px;
  }
  
  .hero-logo {
    margin: 0 20px;
  }
  
  .hero-logo img {
    height: 40px;
  }
  
  .hero-cards {
    gap: 8px;
    padding: 0 20px 20px 20px;
  }
  
  .hero-card-number {
    font-size: 26px;
  }
  
  .hero-card-rate-number {
    font-size: 22px !important;
  }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .hero-navbar {
    padding: 12px 20px !important;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000 !important;
    background: rgba(8, 8, 12, 0.95) !important;
    backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .hero-navbar-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-nav-links {
    display: none !important;
  }

  .hero-logo {
    display: flex !important;
    margin: 0 !important;
    align-items: center !important;
  }

  .hero-logo img {
    height: 38px !important;
    width: auto !important;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5)) !important;
  }

  .hero-mobile-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: 42px !important;
    height: 42px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 10px !important;
    font-size: 22px !important;
    color: #ffffff !important;
    cursor: pointer !important;
    z-index: 1001 !important;
    outline: none !important;
  }

  .hero-mobile-menu {
    position: fixed !important;
    top: 62px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(8, 8, 12, 0.98) !important;
    backdrop-filter: blur(25px) !important;
    z-index: 9999 !important;
    padding: 30px 24px !important;
    flex-direction: column !important;
    gap: 8px !important;
    border-top: 1px solid rgba(249, 47, 47, 0.3) !important;
    border-radius: 0 !important;
    overflow-y: auto !important;
  }

  .hero-mobile-menu a {
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 14px 16px !important;
    border-radius: 8px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.85) !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
  }

  .hero-mobile-menu a:hover,
  .hero-mobile-menu a.active {
    color: #ffffff !important;
    background: rgba(249, 47, 47, 0.15) !important;
    border-color: rgba(249, 47, 47, 0.3) !important;
  }

  .hero-section {
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
    padding-top: 80px !important;
    padding-bottom: 40px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }

  .hero-content {
    position: relative !important;
    height: auto !important;
    min-height: 400px !important;
    margin: 15px 0 0 0 !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
  }

  .hero-title {
    font-size: clamp(80px, 26vw, 150px) !important;
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
    letter-spacing: 4px !important;
    position: absolute !important;
    top: 45% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    white-space: nowrap !important;
    z-index: 1 !important;
  }

  .hero-character {
    position: relative !important;
    z-index: 4 !important;
    margin-bottom: -22px !important;
  }

  .hero-character img {
    height: auto !important;
    max-height: 420px !important;
    width: auto !important;
    object-fit: contain !important;
  }



  .hero-cards {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 0 16px !important;
    width: 100% !important;
    max-width: 480px !important;
    margin: 0 auto !important;
    z-index: 3 !important;
  }

  /* Action Cards (Register & Downloads) */
  .hero-card-action {
    width: 100% !important;
    height: auto !important;
    min-height: 54px !important;
    padding: 12px 18px !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
  }

  .hero-card-action-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 18px !important;
    border-radius: 10px !important;
  }

  .hero-card-action-title {
    font-size: 13px !important;
  }

  .hero-card-action-sub {
    font-size: 11px !important;
  }

  /* Status Card (White Card) */
  .hero-card-status {
    width: 100% !important;
    background: #ffffff !important;
    padding: 16px 20px !important;
    border-radius: 14px !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4) !important;
    color: #111116 !important;
  }

  .magma-online-number {
    font-size: 24px !important;
  }

  .magma-acc-number {
    font-size: 16px !important;
  }

  .magma-clocks-bar {
    font-size: 11px !important;
    margin-top: 8px !important;
  }

  /* Features Card (Dark Glass Card) */
  .hero-card-features {
    width: 100% !important;
    background: rgba(14, 14, 18, 0.96) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 16px 20px !important;
    border-radius: 14px !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4) !important;
  }

  .magma-features-grid-inline {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .magma-feat-chip {
    font-size: 11px !important;
    padding: 6px 10px !important;
  }


  /* ===== Mobile Rankings Uncoupling & List View ===== */
  .rankings-unified-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    backdrop-filter: none !important;
  }

  .magma-banner-card {
    background: rgba(18, 18, 24, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    padding: 16px !important;
    gap: 14px !important;
    margin-bottom: 20px !important;
  }

  .magma-tabs-bar {
    background: rgba(18, 18, 24, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 8px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    margin-bottom: 20px !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .magma-tabs-bar::-webkit-scrollbar,
  .magma-class-filters::-webkit-scrollbar {
    display: none !important;
  }

  .magma-tab-item {
    white-space: nowrap !important;
    font-size: 11px !important;
    padding: 8px 14px !important;
  }

  .magma-class-filters {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    gap: 16px !important;
    padding: 6px 4px 12px 4px !important;
    margin-bottom: 25px !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  /* Hide podium cards on mobile completely and display table in list mode */
  .magma-podium-grid {
    display: none !important;
  }

  .magma-table tr.magma-top3-row {
    display: table-row !important;
  }

  .magma-table-container {
    background: rgba(18, 18, 24, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    overflow-x: auto !important;
  }

  .magma-table {
    min-width: 540px !important;
  }

  .magma-table th,
  .magma-table td {
    padding: 12px 14px !important;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(36px, 14vw, 80px) !important;
  }

  .hero-character img {
    height: 52vh !important;
  }

  .hero-cards {
    padding: 0 10px 15px 10px !important;
    gap: 8px !important;
  }
}



/*--------------------------------------------------------------
# Rankings Section — Below Hero
--------------------------------------------------------------*/

.rankings-section {
  position: relative;
  width: 100%;
  background: #0a0a0a;
  z-index: 10;
  /* Override default section styles */
  opacity: 1 !important;
  top: 0 !important;
  bottom: auto !important;
  padding-bottom: 0 !important;
  overflow: visible !important;
}

.rankings-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 40px 70px;
}

/* Header */
.rankings-header {
  text-align: center;
  margin-bottom: 45px;
}

.rankings-title {
  font-family: "Inter", "Raleway", sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin: 0 0 10px 0;
}

.rankings-subtitle {
  font-family: "Inter", "Poppins", sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 2px;
  margin: 0;
}

/* Grid: 2 columns */
.rankings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Panel */
.ranking-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ranking-panel:hover {
  border-color: rgba(249, 47, 47, 0.25);
  box-shadow: 0 0 30px rgba(249, 47, 47, 0.08);
}

/* Panel Header */
.ranking-panel-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(135deg, rgba(249, 47, 47, 0.08) 0%, transparent 100%);
}

.ranking-panel-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f92f2f 0%, #c0392b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ranking-panel-icon i {
  color: #fff;
  font-size: 18px;
}

.ranking-panel-header h3 {
  font-family: "Inter", "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0;
}

/* Panel Body */
.ranking-panel-body {
  padding: 16px 28px 24px;
}

/* Override ranking table styles inside ranking panels */
.ranking-panel-body .ranking-table {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

.ranking-panel-body .ranking-table td {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 8px;
  font-size: 13px;
  vertical-align: middle;
}

.ranking-panel-body .ranking-table thead th {
  border: none;
  font-family: "Inter", "Poppins", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  padding: 8px 8px 12px;
}

.ranking-panel-body .ranking-table tbody tr:hover {
  background: rgba(249, 47, 47, 0.06);
}

.ranking-panel-body .ranking-table tbody tr:first-child td {
  color: #f92f2f;
  font-weight: 600;
}

.ranking-panel-body p.ranking-no-data {
  font-size: 13px;
  border-left: 3px solid #f92f2f;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 8px 8px 0;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
  .rankings-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .rankings-container {
    padding: 40px 15px 50px;
  }

  .rankings-title {
    font-size: 26px;
    letter-spacing: 4px;
  }

  .ranking-panel-header {
    padding: 16px 20px;
  }

  .ranking-panel-body {
    padding: 12px 20px 20px;
  }
}

/*--------------------------------------------------------------
# Login Modal Popup
--------------------------------------------------------------*/
.login-modal-content {
  background: #111116;
  border: 1px solid rgba(249, 47, 47, 0.35);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.8), 0 0 30px rgba(249,47,47,0.2);
  overflow: hidden;
  color: #fff;
}

.login-modal-header {
  background: linear-gradient(135deg, rgba(249, 47, 47, 0.15) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 24px;
}

.login-modal-header .modal-title {
  font-family: "Inter", "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #fff;
  text-transform: uppercase;
}

.login-modal-header .modal-title i {
  color: #f92f2f;
  margin-right: 8px;
}

.login-modal-body {
  padding: 28px 24px;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
}

.login-modal-form label {
  font-family: "Inter", "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.login-modal-form label i {
  color: #f92f2f;
  margin-right: 4px;
}

.login-modal-input {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  color: #fff !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  transition: all 0.3s ease !important;
}

.login-modal-input:focus {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: #f92f2f !important;
  box-shadow: 0 0 12px rgba(249, 47, 47, 0.3) !important;
  outline: none !important;
}

.login-modal-submit {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%) !important;
  color: #fff !important;
  font-family: "Inter", "Poppins", sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 2px !important;
  padding: 12px !important;
  border-radius: 8px !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(238, 90, 36, 0.4) !important;
  transition: all 0.3s ease !important;
  margin-top: 10px;
}

.login-modal-submit:hover {
  background: linear-gradient(135deg, #ff7b7b 0%, #ff6b34 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(238, 90, 36, 0.6) !important;
}

.login-modal-footer {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.login-modal-footer a:hover {
  color: #fff;
}

/* Modal Tabs */
.login-modal-tabs {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-family: "Inter", "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 14px 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  outline: none !important;
}

.modal-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

.modal-tab-btn.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(249, 47, 47, 0.2) 0%, transparent 100%);
  border-bottom: 2px solid #f92f2f;
}

.modal-tab-btn i {
  color: #f92f2f;
  margin-right: 6px;
}

/*--------------------------------------------------------------
# MU MAGMA Inspired Components & Button Styles
--------------------------------------------------------------*/

/* Server Status Badge (Online / Offline) */
.server-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 20px;
  font-family: "Inter", "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  user-select: none;
}

.server-status-badge.online {
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.35);
  color: #2ecc71;
}

.server-status-badge.offline {
  background: rgba(231, 76, 60, 0.12);
  border: 1px solid rgba(231, 76, 60, 0.35);
  color: #e74c3c;
}

/* Pulsating LED Dot */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.status-dot.online {
  background: #2ecc71;
  box-shadow: 0 0 10px #2ecc71;
  animation: pulseGreen 2s infinite;
}

.status-dot.offline {
  background: #e74c3c;
  box-shadow: 0 0 10px #e74c3c;
  animation: pulseRed 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(46, 204, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

@keyframes pulseRed {
  0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(231, 76, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}

/* Magma Action Buttons */
.btn-magma-primary {
  background: linear-gradient(135deg, #ff3838 0%, #ff6b00 100%) !important;
  color: #fff !important;
  font-family: "Inter", "Poppins", sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  padding: 13px 32px !important;
  border-radius: 8px !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(255, 56, 56, 0.45), 0 0 15px rgba(255, 107, 0, 0.25) !important;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none !important;
  cursor: pointer;
}

.btn-magma-primary:hover {
  background: linear-gradient(135deg, #ff4d4d 0%, #ff7b1a 100%) !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 56, 56, 0.65), 0 0 25px rgba(255, 107, 0, 0.45) !important;
  color: #fff !important;
}

.btn-magma-secondary {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #fff !important;
  font-family: "Inter", "Poppins", sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  padding: 13px 32px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(10px) !important;
  transition: all 0.3s ease !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none !important;
  cursor: pointer;
}

.btn-magma-secondary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: #ff3838 !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 56, 56, 0.35) !important;
}

/* Quick Bar in Hero Header */
.hero-status-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: "Inter", "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-status-pill i {
  color: #ff3838;
  font-size: 13px;
}

.hero-status-pill strong {
  color: #fff;
  font-weight: 800;
}

/* ===== Home Page Sections Relative Flow Override ===== */
#news-section,
#store-donations,
#rankings-home {
  position: relative !important;
  top: auto !important;
  bottom: auto !important;
  opacity: 1 !important;
  z-index: 1 !important;
  overflow: visible !important;
}

#news-section .container,
#store-donations .container {
  background: transparent !important;
  padding: 0 !important;
}

/* News Read Button */
.btn-news-read {
  width: 100%;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  font-family: "Inter", "Poppins", sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  padding: 12px 18px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  box-shadow: none !important;
}

.btn-news-read:hover {
  background: linear-gradient(135deg, #f92f2f 0%, #c0392b 100%) !important;
  border-color: #f92f2f !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 15px rgba(249, 47, 47, 0.4) !important;
}

/* ===== Global Prevent Horizontal Overflow ===== */
html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* Remove pseudo-element strike-through line from section titles */
.section-title h2::after {
  display: none !important;
}

/* Mobile Compact Card & Section Layout */
@media (max-width: 768px) {
  #news-section,
  #store-donations,
  #rankings-home {
    padding-left: 12px !important;
    padding-right: 12px !important;
    padding-top: 30px !important;
    padding-bottom: 30px !important;
    overflow-x: hidden !important;
  }

  #news-section .row,
  #store-donations .row,
  .rankings-grid {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #news-section .col-lg-4,
  #news-section .col-md-6,
  #store-donations .col-lg-4,
  #store-donations .col-md-6 {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  .client-card {
    padding: 18px 16px !important;
    border-radius: 14px !important;
    margin-bottom: 14px !important;
  }

  .client-header h3,
  .client-name {
    font-size: 17px !important;
  }

  .client-desc {
    font-size: 12px !important;
    line-height: 1.5 !important;
    margin-bottom: 14px !important;
  }

  .section-title {
    margin-bottom: 20px !important;
  }

  .section-title h2 {
    font-size: 22px !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
  }

  .section-title p {
    font-size: 12px !important;
    margin-top: 4px !important;
    line-height: 1.4 !important;
  }
}

/*--------------------------------------------------------------
# Site Footer Styles (100% Mobile Responsive)
--------------------------------------------------------------*/
.site-footer {
  background: rgba(10, 10, 15, 0.98);
  border-top: 1px solid rgba(249, 47, 47, 0.25);
  color: rgba(255, 255, 255, 0.7);
  font-family: "Inter", "Poppins", sans-serif;
  padding-top: 50px;
  padding-bottom: 30px;
  position: relative;
  z-index: 10;
  backdrop-filter: blur(15px);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.footer-brand .footer-logo img {
  width: 250px;
  max-width: 100%;
  height: auto;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 20px;
}

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

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-socials a:hover {
  background: #f92f2f;
  border-color: #f92f2f;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(249, 47, 47, 0.4);
}

.footer-heading {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: #f92f2f;
  display: block !important;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.footer-links a i {
  color: #f92f2f;
  font-size: 11px;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-status-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
}

.footer-status-box .status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  color: #10b981;
  letter-spacing: 1px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-specs strong {
  color: #fff;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.copyright-text strong {
  color: #fff;
}

.disclaimer-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

/* Mobile Footer Adaptation */
@media (max-width: 768px) {
  .site-footer {
    padding-top: 35px;
    padding-bottom: 25px;
  }

  .footer-heading {
    font-size: 14px;
    margin-bottom: 14px;
  }

  .footer-desc {
    font-size: 12px;
    margin-bottom: 16px;
  }

  .footer-socials {
    justify-content: flex-start;
    margin-bottom: 25px;
  }

  .footer-links a {
    font-size: 12px;
    padding: 2px 0;
  }

  .footer-bottom {
    margin-top: 25px;
    padding-top: 16px;
    text-align: center;
  }

  .disclaimer-text {
    margin-top: 4px;
  }
}

