/*  Global  */
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: white;
  line-height: 1.6;
  background: #060d1f;
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(30, 60, 160, 0.45) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(20, 40, 120, 0.35) 0%, transparent 60%),
    linear-gradient(160deg, #0a1628 0%, #060d1f 50%, #080e20 100%);
}

html,
body {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

/*  Navbar  */
nav {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0,0,0,0.7);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 20px;
}

nav .logo {
  height: 40px;
  width: auto;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 20px;
  font-weight: bold;
  padding: 6px 12px;
  transition: background-color 0.3s, border-radius 0.3s;
}

nav a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
}

/*  Hero Section  */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
}

/*  About Section  */
.about {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 20px;
  background-color: rgba(0,0,0,0.4);
  border-radius: 12px;
  margin-bottom: 60px;
}

.about h2 {
  margin-bottom: 20px;
  text-align: center;
  font-size: 28px;
}

.about p {
  margin-bottom: 20px;
  color: #ddd;
}

/*  Social Section  */
.nav-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  margin-right: 8px;
}
.nav-socials a {
  display: flex;
  align-items: center;
  opacity: 0.45;
  transition: opacity 0.2s;
  padding: 0;
  margin: 0;
  background: none;
  border-radius: 0;
}
.nav-socials a:hover {
  opacity: 1;
  background: none;
}
.nav-socials img {
  width: 17px;
  height: 17px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.social a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background-color: #5865F2;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.social a:hover {
  background-color: #4752c4;
}

.social img {
  display: block;
  width: 24px;
  height: 24px;
}

/*Fade Animation*/
.fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade.show {
  opacity: 1;
  transform: translateY(0);
}

/*  Container  */
.container {
  max-width: 700px;
  margin: 60px auto;
  padding: 0 20px;
}

/*  Toggle Buttons  */
.toggle-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
}

.toggle-buttons button {
  flex: 1;
  padding: 10px 0;
  font-size: 16px;
  font-weight: bold;
  background-color: #161616;
  color: #eaeaea;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.toggle-buttons button.active {
  background-color: #5865F2;
  color: #fff;
}

.toggle-buttons button:hover {
  background-color: #333333;
}

/*  Pack Styling  */
.pack {
  background-color: #161616;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}

.pack-content {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.pack-text {
  flex: 1 1 300px;
}

.pack-image {
  flex: 0 0 200px;
}

.pack-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.pack h3 {
  margin: 0 0 12px 0;
  font-size: 20px;
}

.pack ul {
  margin: 10px 0 10px 20px;
  color: #ccc;
}

.pack-label {
  font-size: 18px;
  font-weight: 700;
  margin: 18px 0 10px;
  color: #fff;
  border-bottom: 2px solid #5865F2;
  padding-bottom: 4px;
}

.other-info {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 12px;
}

.download-buttons > a,
.download {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;

  padding: 12px 18px;
  background: linear-gradient(135deg, #5865F2, #7b83ff);
  color: #fff;
  text-decoration: none;

  border-radius: 12px;
  border: 1px solid rgba(140, 160, 255, 0.28);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;

  box-shadow: 0 6px 18px rgba(88, 101, 242, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

/* Sweep shimmer on hover */
.download-buttons > a::after,
.download::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09), transparent);
  transition: left 0.38s ease;
  pointer-events: none;
}

.download-buttons > a:hover,
.download:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 12px 28px rgba(88, 101, 242, 0.45);
}

.download-buttons > a:hover::after,
.download:hover::after {
  left: 130%;
}

.download-buttons > a:active,
.download:active {
  transform: translateY(0);
  box-shadow: 0 5px 12px rgba(88, 101, 242, 0.3);
}


/*  Hidden Class  */
.hidden {
  display: none;
}

/*  Categories  */
.category {
  margin-bottom: 40px;
}

.category h2 {
  font-size: 24px;
  margin-bottom: 16px;
  border-bottom: 2px solid #5865F2;
  padding-bottom: 6px;
}

/*  FAQ Section  */
.faq {
  background-color: rgba(0,0,0,0.4);
  border-radius: 12px;
  padding: 40px 20px;
  margin-bottom: 60px;
}

.faq h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  border-bottom: 2px solid #5865F2;
  padding-bottom: 6px;
}

.faq-item {
  margin-bottom: 30px;
}

.faq-item h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.faq-item p,
.faq-item ul {
  margin-left: 20px;
  color: #ccc;
}

.faq-item ul li {
  margin-bottom: 6px;
}

.faq-item .other-info {
  color: #aaa;
  margin-top: 8px;
}

/* Sheep Video */
.Sheep {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.Sheep video {
  max-width: 100%;
  width: 560px;
  height: 315px;
  border-radius: 12px;
  pointer-events: none;
  object-fit: cover;  
}

/*  Responsive  */
@media (max-width: 600px) {
  nav a {
    margin: 0 10px;
    font-size: 14px;
  }
  .hero h1 {
    font-size: clamp(28px, 8vw, 48px);
  }
  .about {
    padding: 40px 15px;
  }
  .social a {
    font-size: 14px;
    padding: 10px 14px;
  }
  .social img {
    width: 20px;
    height: 20px;
  }
  .toggle-buttons button {
    font-size: 14px;
  }
  .fun-video iframe {
    width: 100%;
    height: auto;
  }
}

/*  Download Stats Section */
.download-stats {
  max-width: 800px;
  margin: 40px auto;
  padding: 40px 20px;
  background-color: rgba(0,0,0,0.5);
  border-radius: 12px;
  text-align: center;
}

.download-stats h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #fff;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.stat-box {
  background-color: #161616;
  border-radius: 10px;
  padding: 15px 20px;
  min-width: 120px;
  text-align: center;
  font-weight: bold;
}

.stat-box span {
  display: block;
  font-size: 28px;
  margin-bottom: 6px;
}

.pack-box {
  margin-bottom: 10px;
}

.pack-box .stat-box a {
  color: #fff;
  text-decoration: none;
}

.pack-box .download-count {
  display: block;
  color: #ccc;
  margin-top: 4px;
}

.leaderboard {
  margin: 20px 0 30px 0;
  font-size: 18px;
  color: #ccc;
}

.toggle-view {
  padding: 10px 20px;
  background: rgba(108, 123, 255, 0.12);
  color: #a8bdff;
  border: 1px solid rgba(108, 123, 255, 0.3);
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  margin: 5px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.toggle-view:hover {
  background: rgba(108, 123, 255, 0.22);
  color: #c8d8ff;
  border-color: rgba(108, 123, 255, 0.5);
  transform: translateY(-1px);
}

/* Vouch System */
.vouch-panel {
  position: relative;
  max-width: 1040px;
  margin: 18px auto 18px;
  padding: 22px 24px 18px;
  background: linear-gradient(150deg, rgba(10, 20, 40, 0.97), rgba(8, 16, 32, 0.97));
  border: 1px solid rgba(129, 166, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.vouch-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 140px at -8% -40%, rgba(125, 150, 255, 0.12), transparent 72%),
    radial-gradient(320px 120px at 105% 120%, rgba(83, 170, 255, 0.1), transparent 72%);
  pointer-events: none;
}

.vouch-panel h2 {
  position: relative;
  margin: 0 0 8px;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.15;
  letter-spacing: 0;
}

.vouch-meta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dce7ff;
  margin-bottom: 10px;
  font-size: 13px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(132, 164, 255, 0.18);
  background: rgba(11, 24, 47, 0.56);
}

.vouch-form {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.vouch-form input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(108, 123, 255, 0.28);
  background: rgba(8, 15, 30, 0.9);
  color: #e0e8ff;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.vouch-form input::placeholder { color: rgba(168, 189, 255, 0.38); }
.vouch-form input:focus {
  border-color: rgba(108, 123, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(108, 123, 255, 0.1);
  outline: none;
}

.vouch-form button {
  flex: 0 0 auto;
  min-width: 110px;
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #5865F2, #7b83ff);
}

.vouch-form button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.vouch-status {
  position: relative;
  margin-top: 10px;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(108, 123, 255, 0.06);
  border: 1px solid rgba(108, 123, 255, 0.12);
  color: rgba(168, 189, 255, 0.65);
  font-weight: 600;
}

.vouch-status.ok {
  color: #98f0b2;
}

.vouch-status.err {
  color: #ff9aa8;
}

.vouch-ticker {
  margin: 18px auto 22px;
  width: min(96vw, 1040px);
}

.vouch-ticker-label {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a8bce8;
  margin-bottom: 8px;
}

.vouch-ticker-track-wrap {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(110, 144, 255, 0.2);
  background: rgba(7, 13, 25, 0.9);
  position: relative;
}

.vouch-ticker-track {
  display: inline-flex;
  gap: 10px;
  padding: 12px 0;
  white-space: nowrap;
  min-width: max-content;
  will-change: transform;
}

.vouch-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(110, 144, 255, 0.26);
  background: rgba(22, 34, 58, 0.9);
  color: #e4edff;
  font-size: 13px;
}

.vouch-chip-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(152, 180, 255, 0.4);
}

.vouch-chip-name {
  font-weight: 700;
  color: #f2f7ff;
}

.vouch-chip-sep {
  opacity: 0.7;
}

.vouch-chip-msg {
  color: #d8e6ff;
}

@media (max-width: 700px) {
  .vouch-panel {
    margin: 18px 14px 22px;
    padding: 16px;
  }

  .vouch-form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .vouch-form button {
    width: 100%;
    min-width: 0;
  }
}

.toggle-view.hidden {
  display: none;
}


/* Remove bullets from leaderboard */
.leaderboard ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

/* Hidden elements remain hidden even with fade */
.fade.hidden {
  opacity: 0 !important;
  transform: translateY(20px) !important;
}

/* Ensure packs container stays hidden initially */
#packsContainer.hidden {
  display: none !important;
}

/* Section title styling */
.leaderboard h3 {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 12px;
}

/* Java / Bedrock labels */
.leaderboard > div {
  font-size: 20px;
  font-weight: bold;
  color: #eaeaea;
  margin-top: 14px;
  margin-bottom: 6px;
}

/* Pack list items */
.leaderboard li {
  font-size: 16px;
  font-weight: normal;
  color: #ccc;
}

#popularJava,
#popularBedrock {
  list-style: none;
  padding: 0;
  margin: 0;
}

#popularJava li,
#popularBedrock li {
  margin: 6px 0;
}

.countdown {
  max-width: 1100px;
  margin: 60px auto 40px;
  display: flex;
  justify-content: center;
}

.countdown-box {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 18px;
  padding: 40px 60px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.countdown-box h2 {
  margin-bottom: 16px;
  font-size: 24px;
}

.countdown-display {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 1px;
  transition: transform 0.12s ease;
}

.countdown {
  position: relative;
}

.online-box {
    position: fixed;
    top: 20px;
    left: 20px;

    background: #0f1b3d;
    padding: 12px 18px;
    border-radius: 12px;

    display: flex;
    align-items: center;
    gap: 10px;

    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    font-weight: 600;
}

.online-text {
    color: white;
}

.online-indicator {
    width: 10px;
    height: 10px;
    background: #00ff66;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff66;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 5px #00ff66;
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 15px #00ff66;
        transform: scale(1.2);
    }
    100% {
        box-shadow: 0 0 5px #00ff66;
        transform: scale(1);
    }
}

.online-box {
    position: fixed;
    top: 100px;
    left: 40px;

    background: #0f1b3d;
    padding: 10px 18px;
    border-radius: 14px;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    white-space: nowrap;

    box-shadow: 0 10px 30px rgba(0,0,0,0.45);
    z-index: 99999;
}

.login-btn {
  background: linear-gradient(135deg, #5865F2, #7b83ff);
  color: white;
  padding: 8px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(130, 165, 255, 0.26);
  box-shadow: 0 4px 14px rgba(31, 53, 128, 0.3);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.login-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.12);
}

#auth-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

#auth-area img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

#auth-area span {
  font-weight: 600;
}

#auth-area a {
  font-weight: 600;
  text-decoration: none;
  color: #d9e7ff;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(130, 162, 245, 0.22);
  background: rgba(89, 108, 187, 0.14);
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

#auth-area a:hover {
  color: #ffffff;
  border-color: rgba(171, 191, 255, 0.4);
  background: rgba(104, 124, 255, 0.2);
}

#announcementBar {
  display: none;
  background: #0f172a; /* dark navy */
  color: #e2e8f0;
  padding: 14px;
  text-align: center;
  font-size: 15px;
  border-bottom: 2px solid #1e293b;
}

.profile-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 80px 0;
}

.profile-card {
  width: 100%;
  max-width: 1100px;
  background: #182233;
  padding: 50px;
  border-radius: 18px;
  color: white;
  box-shadow: 0 40px 100px rgba(0,0,0,.55);
}

/* Force true visual centering */
body {
  overflow-x: hidden;
}

textarea {
  resize: none;
}

.response-box {
  margin-top: 15px;
  padding: 14px;
  border-radius: 12px;
  font-weight: 600;
}

.response-success {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.4);
}

.response-error {
  background: rgba(255, 77, 77, 0.15);
  color: #ff4d4d;
  border: 1px solid rgba(255, 77, 77, 0.4);
}

.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: white;
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}

.role-badge svg {
  width: 14px;
  height: 14px;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ROLE COLORS */

.role-staff {
  background-image: linear-gradient(90deg, #ff4d4d, #b30000);
}

.role-verified {
  background-image: linear-gradient(90deg, #1da1f2, #0d8ddb);
}

.role-contributor {
  background-image: linear-gradient(90deg, #22c55e, #15803d);
}

.role-owner {
  background-image: linear-gradient(90deg, #00e5ff, #0099cc);
}

.role-bedrock {
  background-image: linear-gradient(90deg, #ff8c00, #ff4500);
}

/* =========================
   2026 UI Refresh
========================= */
:root {
  --bg-top: #3f5fd8;
  --bg-mid: #233474;
  --bg-bottom: #090f1f;
  --card-bg: linear-gradient(160deg, rgba(12, 22, 41, 0.95), rgba(8, 16, 31, 0.95));
  --card-border: rgba(129, 166, 255, 0.16);
  --text-main: #f3f7ff;
  --text-soft: #c6d4ef;
  --brand: #6c7bff;
  --brand-strong: #4d62ff;
}

body {
  font-family: "Segoe UI", "Trebuchet MS", Verdana, sans-serif;
  color: var(--text-main);
}

html.mods-page, body.mods-page {
  min-height: 100vh;
}

nav {
  width: min(1120px, calc(100% - 22px));
  margin: 10px auto 8px;
  padding: 9px 12px;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-start;
  background:
    linear-gradient(180deg, rgba(9, 18, 36, 0.9), rgba(7, 14, 28, 0.92));
  border: 1px solid rgba(117, 160, 255, 0.24);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  box-shadow:
    0 10px 28px rgba(4, 8, 20, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

nav .logo {
  height: 32px;
  margin: 0 6px 0 2px;
}

nav a {
  margin: 0;
  position: relative;
  border-radius: 10px;
  color: #d8e7ff;
  font-size: 14px;
  padding: 8px 12px;
  border: 1px solid transparent;
  letter-spacing: 0.2px;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

nav a:hover {
  background-color: rgba(108, 123, 255, 0.2);
  border-color: rgba(159, 183, 255, 0.26);
  color: #ffffff;
  transform: translateY(-1px);
}

nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7f95ff, #5fc0ff);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}

nav a:hover::after,
nav a.nav-active::after {
  transform: scaleX(1);
}

nav a.nav-active {
  background: rgba(104, 124, 255, 0.26);
  border-color: rgba(150, 177, 255, 0.28);
  color: #ffffff;
}

#auth-area {
  margin-left: 0;
  padding-left: 10px;
  border-left: 1px solid rgba(130, 162, 245, 0.2);
}

#announcementBar {
  position: fixed;
  left: 50%;
  bottom: 62px;
  transform: translateX(-50%);
  width: min(92vw, 980px);
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(142, 176, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(18, 33, 63, 0.96), rgba(11, 22, 44, 0.96));
  color: #edf3ff;
  box-shadow:
    0 14px 34px rgba(6, 11, 24, 0.5),
    0 0 0 1px rgba(144, 176, 255, 0.12) inset;
  backdrop-filter: blur(8px);
  z-index: 1400;
  animation: announcementPulse 3s ease-in-out infinite;
}

#announcementBar > div {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  font-weight: 700;
}

#announcementBar img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(175, 198, 255, 0.36);
}

@keyframes announcementPulse {
  0%, 100% { box-shadow: 0 14px 34px rgba(6, 11, 24, 0.5), 0 0 0 1px rgba(144, 176, 255, 0.12) inset; }
  50% { box-shadow: 0 18px 42px rgba(8, 13, 28, 0.56), 0 0 0 1px rgba(173, 201, 255, 0.18) inset; }
}

@media (max-width: 700px) {
  #announcementBar {
    bottom: 40px;
    width: calc(100vw - 16px);
    padding: 10px 12px;
    border-radius: 12px;
  }

  #announcementBar > div {
    gap: 8px;
    font-size: 13px;
  }
}

.hero {
  min-height: clamp(220px, 38vh, 430px);
  height: auto;
  padding: 24px 20px 10px;
}

.hero h1 {
  letter-spacing: 0.02em;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.container {
  max-width: 1040px;
  margin: 24px auto 48px;
  padding: 0 18px;
}

.pack,
.about,
.faq,
.download-stats,
.countdown-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

.pack {
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 18px;
}

.pack h3,
.about h2,
.faq h2 {
  color: #f5f8ff;
}

.pack p,
.pack li,
.about p,
.faq-item p,
.faq-item ul,
.other-info {
  color: var(--text-soft);
}

.download-stats {
  border-radius: 16px;
}

.stat-box {
  background: linear-gradient(180deg, rgba(14, 22, 36, 0.95), rgba(8, 15, 27, 0.95));
  border: 1px solid rgba(132, 171, 255, 0.18);
  border-radius: 12px;
}

.toggle-view,
.vouch-form button,
.social a,
.login-btn {
  border-radius: 10px;
  border: 1px solid rgba(130, 165, 255, 0.26);
  box-shadow: 0 8px 20px rgba(31, 53, 128, 0.34);
}

.social {
  gap: 14px;
  flex-wrap: wrap;
  padding: 0 14px;
}

.social a {
  background: linear-gradient(135deg, #5f71ff, #7584ff);
  transition: transform 0.16s ease, filter 0.2s ease;
}

.social a:hover {
  background: linear-gradient(135deg, #6c7dff, #8794ff);
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.vouch-ticker-track-wrap {
  border-radius: 14px;
}

.Sheep video {
  border: 1px solid rgba(129, 166, 255, 0.25);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.3);
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(132, 164, 255, 0.34);
  border-radius: 12px;
  background: linear-gradient(135deg, #6075ff, #8190ff);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(31, 53, 128, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, filter .2s ease;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  filter: brightness(1.06);
}

.legal-links {
  width: min(96vw, 1040px);
  margin: 8px auto 26px;
  text-align: center;
  font-size: 12px;
  color: rgba(226, 236, 255, 0.7);
}

.legal-links a {
  color: rgba(226, 236, 255, 0.75);
  text-decoration: none;
}

.legal-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.legal-links .dot {
  margin: 0 8px;
  opacity: 0.6;
}

@media (max-width: 900px) {
  nav {
    width: calc(100% - 16px);
    margin: 8px auto 6px;
    justify-content: flex-start;
    border-radius: 12px;
  }

  #auth-area {
    margin-left: 0;
    width: 100%;
    border-left: 0;
    border-top: 1px solid rgba(130, 162, 245, 0.2);
    padding-top: 8px;
    padding-left: 0;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 180px;
    padding-top: 16px;
  }

  .container {
    padding: 0 12px;
  }

  .pack {
    padding: 16px;
  }
}

/* ═══════════════════════════════════════════════════════
   DYNAMIC LAYOUT & BUTTON REDESIGN — 2026
═══════════════════════════════════════════════════════ */

/* ── Pack cards: hover lift + top accent glow ── */
.pack {
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, opacity 0.8s ease-out;
}
.pack::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, #6c7bff 35%, #5fc0ff 65%, transparent 95%);
  border-radius: 14px 14px 0 0;
  opacity: 0;
  transition: opacity 0.22s ease;
  z-index: 1;
  pointer-events: none;
}
.pack:hover {
  transform: translateY(-4px);
  border-color: rgba(140, 175, 255, 0.38);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.42);
}
.pack:hover::before { opacity: 1; }

/* ── Hero: pulsing radial glow ── */
.hero { position: relative; overflow: hidden; }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 45% at 50% 55%, rgba(108, 123, 255, 0.16), transparent 72%);
  animation: heroPulse 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
@keyframes heroPulse {
  0%, 100% { opacity: 0.55; }
  50%       { opacity: 1;    }
}

/* ── Hero tagline ── */
.hero-tagline {
  font-size: clamp(13px, 1.8vw, 16px);
  color: rgba(196, 215, 255, 0.65);
  font-weight: 500;
  margin: 10px 0 0;
  letter-spacing: 0.03em;
}

/* ── Stat boxes: gradient numbers + hover ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.stat-box {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 16px;
}
.stat-box:hover {
  transform: translateY(-3px);
  border-color: rgba(140, 175, 255, 0.3);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
}
.stat-box span {
  background: linear-gradient(135deg, #aac4ff, #79daff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 30px;
  font-weight: 800;
}
.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(168, 189, 255, 0.55);
  font-weight: 700;
  margin-bottom: 2px;
}
.stats-header {
  text-align: center;
  margin-bottom: 20px;
}
.stats-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #f3f7ff;
  margin: 0 0 4px;
}
.stats-subtitle {
  font-size: 13px;
  color: rgba(168, 189, 255, 0.55);
  margin: 0;
}

/* ── About section: left accent ── */
.about { border-left: 3px solid rgba(108, 123, 255, 0.5); }

/* ── Category headers: gradient text ── */
.category h2 {
  background: linear-gradient(90deg, #c6d8ff, #90eade);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border-image: linear-gradient(90deg, rgba(108, 123, 255, 0.7), rgba(95, 192, 255, 0.5)) 1;
}

/* ── FAQ items: dividers ── */
.faq-item + .faq-item {
  border-top: 1px solid rgba(108, 123, 255, 0.12);
  padding-top: 24px;
}
.faq-item h3 { color: #c8d9ff; }

/* ── Social: per-platform hover shadows ── */
.social a:nth-child(1):hover { box-shadow: 0 10px 28px rgba(88, 101, 242, 0.5); }
.social a:nth-child(2):hover { box-shadow: 0 10px 28px rgba(220, 40, 40, 0.35); }
.social a:nth-child(3):hover { box-shadow: 0 10px 28px rgba(230, 100, 20, 0.35); }
.social a:nth-child(4):hover { box-shadow: 0 10px 28px rgba(145, 70, 255, 0.35); }

/* ── Download stats inner glow ── */
.download-stats { position: relative; overflow: hidden; }
.download-stats::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(500px 200px at 50% 0%, rgba(108, 123, 255, 0.08), transparent 75%);
  pointer-events: none;
}

/* ══════════════════════════════
   BUTTON REDESIGN — ALL BUTTONS
══════════════════════════════ */

/* Java / Bedrock toggle tabs */
.toggle-buttons {
  background: rgba(8, 14, 26, 0.8);
  border: 1px solid rgba(108, 123, 255, 0.2);
  border-radius: 12px;
  padding: 5px;
  gap: 5px;
}
.toggle-buttons button {
  padding: 9px 20px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(168, 189, 255, 0.7);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.toggle-buttons button.active {
  background: linear-gradient(135deg, #5865F2, #7b83ff);
  color: #fff;
  border-color: rgba(130, 165, 255, 0.26);
  box-shadow: 0 4px 14px rgba(31, 53, 128, 0.35);
}
.toggle-buttons button:hover:not(.active) {
  background: rgba(108, 123, 255, 0.12);
  color: #c8d8ff;
  border-color: rgba(108, 123, 255, 0.2);
}

/* Show All Packs / Collapse button */
.toggle-view {
  padding: 11px 24px;
  background: rgba(108, 123, 255, 0.1);
  color: #a8bdff;
  border: 1px solid rgba(108, 123, 255, 0.28);
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.toggle-view:hover {
  background: rgba(108, 123, 255, 0.2);
  color: #c8d8ff;
  border-color: rgba(108, 123, 255, 0.48);
  transform: translateY(-1px);
}

/* Login button */
.login-btn {
  background: linear-gradient(135deg, #5865F2, #7b83ff);
  color: #fff;
  padding: 8px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid rgba(130, 165, 255, 0.26);
  box-shadow: 0 4px 14px rgba(31, 53, 128, 0.3);
  transition: transform 0.18s ease, filter 0.18s ease;
}
.login-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
  opacity: 1;
}

/* Vouch submit button */
.vouch-form button {
  background: linear-gradient(135deg, #5865F2, #7b83ff);
  border: 1px solid rgba(130, 165, 255, 0.26);
  box-shadow: 0 4px 14px rgba(31, 53, 128, 0.3);
  font-size: 14px;
  transition: transform 0.18s ease, filter 0.18s ease;
}
.vouch-form button:not(:disabled):hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

/* Commission card pay button */
.commission-pay-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.28), rgba(123, 131, 255, 0.18));
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid rgba(140, 160, 255, 0.42);
  box-shadow: 0 6px 18px rgba(31, 53, 128, 0.22);
  font-size: 15px;
  font-weight: 700;
  margin-top: 12px;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.commission-pay-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}
.commission-pay-btn-price {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}
.commission-pay-btn-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, #43e97b, #38f9d7);
  color: #071a0e;
  padding: 3px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ══════════════════════════════
   POPULAR PACKS CAROUSEL
══════════════════════════════ */
.pop-packs-section {
  width: min(96vw, 1040px);
  margin: 0 auto 28px;
}
.pop-packs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0 2px;
}
.pop-packs-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  color: rgba(168, 189, 255, 0.7);
}
.pop-packs-viewall {
  color: #a8bdff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(108, 123, 255, 0.28);
  padding: 4px 12px;
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.pop-packs-viewall:hover {
  background: rgba(108, 123, 255, 0.14);
  color: #fff;
  border-color: rgba(108, 123, 255, 0.5);
}
.pop-packs-wrap {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(108, 123, 255, 0.18);
  background: rgba(7, 13, 25, 0.88);
  padding: 16px 0;
}
.pop-packs-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  padding: 0 14px;
  width: max-content;
  will-change: transform;
}
.pop-pack-card {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  padding: 13px 16px;
  min-width: 175px;
  background: linear-gradient(160deg, rgba(14, 24, 44, 0.95), rgba(9, 17, 33, 0.95));
  border: 1px solid rgba(108, 123, 255, 0.2);
  border-radius: 12px;
  text-decoration: none;
  vertical-align: top;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.pop-pack-card:hover {
  border-color: rgba(108, 123, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}
.pop-pack-platform {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 9px;
  border-radius: 999px;
  width: fit-content;
}
.pop-pack-platform.java {
  background: rgba(95, 192, 255, 0.14);
  color: #5fc0ff;
  border: 1px solid rgba(95, 192, 255, 0.28);
}
.pop-pack-platform.bedrock {
  background: rgba(255, 160, 64, 0.12);
  color: #ffaa44;
  border: 1px solid rgba(255, 160, 64, 0.28);
}
.pop-pack-name {
  font-size: 13px;
  font-weight: 700;
  color: #e0e8ff;
  white-space: normal;
  max-width: 175px;
  line-height: 1.35;
}
.pop-pack-count {
  font-size: 11px;
  color: rgba(168, 189, 255, 0.55);
  font-weight: 600;
}

/* ── Site footer ── */
.site-footer {
  text-align: center;
  padding: 28px 20px 130px;
  font-size: 13px;
  color: rgba(168, 189, 255, 0.4);
}
.site-footer a {
  color: rgba(168, 189, 255, 0.55);
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.15s;
}
.site-footer a:hover {
  color: rgba(168, 189, 255, 0.9);
}
.site-footer .footer-sep {
  opacity: 0.3;
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pop-packs-section {
    margin-bottom: 20px;
  }
}
