/* =========================================================
   PACKAGE QUANTITY — CLEAN ORDER
   ========================================================= */

.page-package .fc-package-purchase .quantity-field {
  width: 100%;
  height: 46px;

  display: grid !important;
  grid-template-columns: 44px 58px 44px minmax(120px, 1fr) !important;
  align-items: stretch;

  overflow: hidden;

  background: #1c1c1c;

  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
}

/* Explicit placement */

.page-package .fc-package-purchase .quantity-field .decrease {
  grid-column: 1;
}

.page-package .fc-package-purchase .quantity-field .quantity {
  grid-column: 2;

  width: 58px !important;

  text-align: center;

  border-left: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.page-package .fc-package-purchase .quantity-field .increase {
  grid-column: 3;
}

.page-package .fc-package-purchase .quantity-field .open-basket {
  grid-column: 4;

  padding: 0 16px !important;

  display: flex;
  align-items: center;
  justify-content: flex-end;

  color: #ff8b2f !important;

  font-size: 10px;
  font-weight: 900;
  text-align: right;
  text-transform: uppercase;

  border-left: 1px solid rgba(255, 255, 255, 0.07) !important;
}

/* Shared control reset */

.page-package .fc-package-purchase
.quantity-field > button,
.page-package .fc-package-purchase
.quantity-field > input {
  height: 100%;

  margin: 0 !important;
  padding: 0 !important;

  color: #ffffff;
  background: transparent;

  border-top: 0;
  border-bottom: 0;
  border-radius: 0;
  outline: 0;
}

.page-package .fc-package-purchase .quantity-field .adjust {
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;
  font-weight: 900;

  cursor: pointer;
}

.page-package .fc-package-purchase .quantity-field .adjust:hover {
  background: rgba(255, 139, 47, 0.12);
}
/* =========================================================
   CATEGORY PAGE — DELUXE-INSPIRED FINAL LAYOUT
   ========================================================= */

.page-category .fc-page {
  padding: 24px 18px 48px;
}

.page-category .fc-container {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.fc-category-layout {
  width: 100%;

  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.fc-category-sidebar,
.fc-category-main {
  min-width: 0;
}

/* =========================================================
   CATEGORY SIDEBAR
   ========================================================= */

.fc-category-sidebar {
  overflow: hidden;

  background: #2d2d2d;

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;

  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.18),
    inset 0 1px rgba(255, 255, 255, 0.025);
}

.fc-category-sidebar-title {
  margin: 0;
  padding: 18px 16px;

  color: #ff8b2f;

  border-bottom: 1px solid rgba(255, 255, 255, 0.07);

  font-family:
    "Arial Narrow",
    "Roboto Condensed",
    Arial,
    sans-serif;

  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.fc-category-sidebar-list {
  display: flex;
  flex-direction: column;
}

.fc-category-sidebar-item {
  position: relative;

  min-height: 68px;
  padding: 10px 14px;

  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;

  color: #e5e5e5;
  text-decoration: none;

  border-bottom: 1px solid rgba(255, 255, 255, 0.055);

  font-size: 13px;
  font-weight: 900;

  transition:
    color 0.18s ease,
    background 0.18s ease;
}

.fc-category-sidebar-item:last-child {
  border-bottom: 0;
}

.fc-category-sidebar-item::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;

  width: 3px;

  content: "";

  background: transparent;
}

.fc-category-sidebar-item:hover {
  color: #ffffff;
  background: #353535;
}

.fc-category-sidebar-item.active {
  color: #ff8b2f;
  background: rgba(255, 139, 47, 0.07);
}

.fc-category-sidebar-item.active::before {
  background: #ff8b2f;
}

.fc-category-sidebar-item img,
.fc-category-sidebar-placeholder {
  width: 42px;
  height: 42px;

  display: block;

  object-fit: contain;
}

.fc-category-sidebar-placeholder {
  background: rgba(255, 255, 255, 0.035);
  border-radius: 5px;
}

/* =========================================================
   CATEGORY DESCRIPTION
   ========================================================= */

.page-category .fc-category-description {
  margin: 0 0 16px;
  padding: 18px;

  color: #c9c9c9;
  background: #2d2d2d;

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;

  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.18),
    inset 0 1px rgba(255, 255, 255, 0.025);

  font-size: 13px;
  line-height: 1.55;
}

.page-category .fc-category-description > :first-child {
  margin-top: 0;
}

.page-category .fc-category-description > :last-child {
  margin-bottom: 0;
}

.page-category .fc-category-description
:is(h1, h2, h3, h4) {
  color: #ff8b2f;
}

/* =========================================================
   PACKAGE PANEL
   ========================================================= */

.page-category .fc-category-packages-panel {
  width: 100%;
  min-height: 360px;
  padding: 16px;

  background: #2d2d2d;

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;

  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.18),
    inset 0 1px rgba(255, 255, 255, 0.025);
}

.page-category .fc-product-grid {
  width: 100%;
  margin: 0;
  padding: 0;

  display: grid !important;
  grid-template-columns: repeat(auto-fill, 202px) !important;
  justify-content: start;
  align-items: start;

  gap: 14px !important;
}

/* =========================================================
   COMPACT PACKAGE CARD
   ========================================================= */

.page-category .fc-deluxe-package {
  width: 202px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 12px !important;

  display: flex !important;
  flex-direction: column !important;

  overflow: hidden;

  color: #e8e8e8;
  background: #343434;

  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 7px;

  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.025);

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.page-category .fc-deluxe-package:hover {
  background: #383838;
  border-color: rgba(255, 139, 47, 0.42);

  transform: translateY(-2px);
}

/* Image */

.page-category .fc-deluxe-package-image-link,
.page-category .fc-deluxe-package-image {
  width: 100% !important;
  height: 128px !important;
}

.page-category .fc-deluxe-package-image-link {
  display: block !important;
  overflow: hidden;
}

.page-category .fc-deluxe-package-image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  overflow: hidden;

  background:
    radial-gradient(
      circle,
      rgba(255, 139, 47, 0.1),
      rgba(29, 29, 29, 0.08) 70%
    );

  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 6px;
}

.page-category .fc-deluxe-package-image img {
  width: 116px !important;
  height: 116px !important;

  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 116px !important;
  max-height: 116px !important;

  margin: 0 !important;
  padding: 0 !important;

  display: block !important;

  object-fit: contain !important;
}

/* Details */

.page-category .fc-deluxe-package-details {
  margin-top: 10px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-category .fc-deluxe-package-title {
  width: 100%;
  margin: 0 0 7px;
}

.page-category .fc-deluxe-package-title a {
  display: block;

  color: #ffffff;
  text-decoration: none;

  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;

  overflow-wrap: anywhere;
}

.page-category .fc-deluxe-package-current-price {
  color: #ff8b2f;

  font-size: 13px;
  font-weight: 900;
}

.page-category .fc-deluxe-package-old-price {
  color: #8b8b8b;

  font-size: 10px;
}

/* Buttons */

.page-category .fc-deluxe-package-buttons {
  width: 100%;
  margin-top: auto;
  padding-top: 11px;

  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  gap: 6px !important;
}

.page-category .fc-deluxe-package-button {
  min-width: 0;
  min-height: 38px;
  margin: 0;
  padding: 0 10px;

  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;

  color: #ffffff;
  text-decoration: none;

  border-radius: 5px;

  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.page-category .fc-deluxe-package-info {
  width: 38px !important;
  min-width: 38px !important;
  padding: 0 !important;

  color: #ffffff;
  background: #3d3d3d;

  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-category .fc-deluxe-package-info span {
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  text-transform: lowercase;
}

.page-category .fc-deluxe-package-buy {
  background:
    linear-gradient(
      180deg,
      #ff8b2f,
      #ed542d
    );

  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.2);
}

.page-category .fc-deluxe-package-button:hover {
  color: #ffffff;
  text-decoration: none;

  filter: brightness(1.08);
  transform: translateY(-1px);
}

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

@media (max-width: 850px) {
  .fc-category-layout {
    grid-template-columns: 1fr;
  }

  .fc-category-sidebar-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .fc-category-sidebar-list {
    grid-template-columns: 1fr;
  }

  .page-category .fc-product-grid {
    grid-template-columns: 1fr !important;
  }

  .page-category .fc-deluxe-package {
    width: 100% !important;
  }
}
/* =========================================================
   FRENZYCRAFT LOGO — SMOOTH CONTINUOUS PULSE
   ========================================================= */

@keyframes frenzyLogoPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.035);
  }
}

.banner-logo {
  display: block;

  animation: frenzyLogoPulse 2.8s ease-in-out infinite;

  transform-origin: center center;
  will-change: transform;
  backface-visibility: hidden;
}

/* Respektera användare som stängt av animationer */

@media (prefers-reduced-motion: reduce) {
  .banner-logo {
    animation: none;
  }
}
/* =========================================================
   FRENZYCRAFT SIDEBAR MODULES
   Top Customer / Recent Payments / Giftcard
   ========================================================= */

/* Gemensamma kort */

.widget-top-donator,
.widget-recent,
.widget-gift-card {
  width: 100%;
  margin: 0;
  padding: 18px;

  overflow: hidden;

  color: #e8e8e8;
  background: #2d2d2d;

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;

  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.18),
    inset 0 1px rgba(255, 255, 255, 0.025);
}

/* Gemensamma rubriker */

.widget-top-donator .widget-title,
.widget-recent .widget-title,
.widget-gift-card .widget-title {
  margin: 0 0 16px;
  padding: 0;

  display: flex;
  align-items: center;
  gap: 11px;

  color: #ff8b2f;
  background: transparent;

  border: 0;

  font-family:
    "Arial Narrow",
    "Roboto Condensed",
    Arial,
    sans-serif;

  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.025em;
  line-height: 1;
  text-transform: uppercase;
}

.widget-title-icon {
  width: 23px;
  height: 23px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 23px;

  color: #777777;
}

.widget-title-icon svg {
  width: 23px;
  height: 23px;

  display: block;
  stroke: currentColor;
}

/* Gemensamt tomt läge */

.widget-top-donator .empty,
.widget-recent .empty,
.widget-gift-card .empty {
  margin: 0;

  color: #aaaaaa;

  font-size: 12px;
  line-height: 1.4;
}

/* =========================================================
   TOP CUSTOMER
   ========================================================= */

.widget-top-donator .widget-content {
  margin: 0;
  padding: 0;

  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.top-customer-head {
  width: 52px;
  height: 52px;

  overflow: hidden;

  background: #1d1d1d;

  border: 1px solid rgba(255, 139, 47, 0.28);
  border-radius: 5px;

  box-shadow:
    0 5px 12px rgba(0, 0, 0, 0.25);
}

.top-customer-head .avatar {
  width: 52px !important;
  height: 104px !important;

  max-width: none !important;
  max-height: none !important;

  display: block !important;

  object-fit: cover !important;
  object-position: top center !important;

  transform: scale(1.85);
  transform-origin: top center;

  image-rendering: pixelated;
}

.top-customer-info {
  min-width: 0;
}

.widget-top-donator .username {
  margin: 0 0 4px;
  padding: 0;

  overflow: hidden;

  color: #ff8b2f;

  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.widget-top-donator .top-customer-spent {
  margin: 0;

  color: #c7c7c7;

  font-size: 12px;
  line-height: 1.4;
}

.widget-top-donator .top-customer-spent strong {
  color: #ffffff;
  font-weight: 900;
}

.widget-top-donator .empty {
  grid-column: 1 / -1;
}

/* =========================================================
   RECENT PAYMENTS
   ========================================================= */

.widget-recent .widget-content {
  margin: 0;
  padding: 0;
}

.recent-payments-list {
  display: grid;
  gap: 10px;
}

.recent-payment {
  min-width: 0;
  padding: 10px;

  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;

  background: #343434;

  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;

  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.recent-payment:hover {
  background: #393939;
  border-color: rgba(255, 139, 47, 0.18);

  transform: translateY(-1px);
}

.recent-payment-head {
  width: 48px;
  height: 48px;

  overflow: hidden;

  background: #1d1d1d;

  border: 1px solid rgba(255, 139, 47, 0.22);
  border-radius: 5px;
}

.recent-payment-head .avatar {
  width: 48px !important;
  height: 96px !important;

  max-width: none !important;
  max-height: none !important;

  display: block !important;

  object-fit: cover !important;
  object-position: top center !important;

  transform: scale(1.85);
  transform-origin: top center;

  image-rendering: pixelated;
}

.recent-payment-info {
  min-width: 0;
}

.widget-recent .username {
  margin: 0 0 4px;
  padding: 0;

  overflow: hidden;

  color: #ff8b2f;

  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-payment-meta {
  margin: 0;

  color: #c7c7c7;

  font-size: 12px;
  line-height: 1.35;
}

.recent-payment-meta .sep {
  margin: 0 4px;
  color: #777777;
}

.recent-payment-meta .price {
  color: #ffffff;
  font-weight: 900;
}

.recent-payment-time {
  display: block;

  margin-top: 3px;

  color: #8f8f8f;

  font-size: 10px;
  line-height: 1.2;
}

/* =========================================================
   GIFTCARD BALANCE
   ========================================================= */

.widget-gift-card .gift-card-form {
  margin: 0;
  padding: 0;

  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  align-items: stretch;
  gap: 8px;
}

.widget-gift-card .gift-card-input,
.widget-gift-card .gift-card-button {
  height: 42px;
  min-height: 42px;

  margin: 0;
  box-sizing: border-box;
}

.widget-gift-card .gift-card-input {
  width: 100%;
  min-width: 0;

  padding: 0 13px;

  color: #f4f4f4;
  background: #1d1d1d;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;

  outline: none;

  font-size: 13px;
}

.widget-gift-card .gift-card-input::placeholder {
  color: #919191;
}

.widget-gift-card .gift-card-input:focus {
  border-color: rgba(255, 139, 47, 0.7);

  box-shadow:
    0 0 0 3px rgba(255, 139, 47, 0.1);
}

.widget-gift-card .gift-card-button {
  width: 88px;
  padding: 0 14px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  background:
    linear-gradient(
      180deg,
      #ff8b2f,
      #ed542d
    );

  border: 0;
  border-radius: 5px;

  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.2);

  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;

  cursor: pointer;
}

.widget-gift-card .gift-card-button:hover {
  filter: brightness(1.07);
}

.gift-card-message {
  grid-column: 1 / -1;

  margin: 4px 0 0;
  padding: 10px 12px;

  border-radius: 5px;

  font-size: 12px;
  line-height: 1.4;
}

.gift-card-message.success {
  color: #a9eeb6;
  background: rgba(57, 150, 78, 0.15);
  border: 1px solid rgba(78, 190, 99, 0.25);
}

.gift-card-message.error {
  color: #ffb5b5;
  background: rgba(160, 54, 54, 0.15);
  border: 1px solid rgba(220, 76, 76, 0.25);
}

.gift-card-message.warning {
  color: #ffd98c;
  background: rgba(174, 118, 31, 0.15);
  border: 1px solid rgba(226, 160, 49, 0.25);
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {
  .widget-top-donator,
  .widget-recent,
  .widget-gift-card {
    padding: 15px;
  }

  .widget-top-donator .widget-content {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
  }

  .top-customer-head {
    width: 48px;
    height: 48px;
  }

  .top-customer-head .avatar {
    width: 48px !important;
    height: 96px !important;
  }

  .recent-payment {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
  }

  .recent-payment-head {
    width: 44px;
    height: 44px;
  }

  .recent-payment-head .avatar {
    width: 44px !important;
    height: 88px !important;
  }

  .widget-gift-card .gift-card-form {
    grid-template-columns: 1fr;
  }

  .widget-gift-card .gift-card-button {
    width: 100%;
  }
}
/* =========================================================
   FRENZYCRAFT HOMEPAGE
   ========================================================= */

.fc-home-description {
  width: 100%;
  min-width: 0;
}

.fc-homepage-card {
  width: 100%;
  padding: 22px;

  color: #c9c9c9;
  background: #2d2d2d;

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;

  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.18),
    inset 0 1px rgba(255, 255, 255, 0.025);
}

.fc-homepage-section + .fc-homepage-section {
  margin-top: 22px;
  padding-top: 20px;

  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.fc-homepage-title {
  margin: 0 0 12px;
  padding: 0;

  color: #ff8b2f;

  font-family:
    "Arial Narrow",
    "Roboto Condensed",
    Arial,
    sans-serif;

  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.025em;
  line-height: 1;
  text-transform: uppercase;
}

.fc-homepage-section p {
  margin: 0 0 10px;

  color: #c9c9c9;

  font-size: 13px;
  line-height: 1.6;
}

.fc-homepage-section p:last-child {
  margin-bottom: 0;
}

.fc-homepage-section strong {
  color: #ffffff;
  font-weight: 900;
}

/* =========================================================
   HOMEPAGE BUTTONS
   ========================================================= */

.fc-homepage-buttons {
  margin-top: 18px;

  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fc-homepage-button {
  min-width: 170px;
  height: 46px;
  padding: 0 22px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  text-decoration: none;

  border-radius: 6px;

  font-family:
    "Arial Narrow",
    "Roboto Condensed",
    Arial,
    sans-serif;

  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;

  transition:
    transform 0.18s ease,
    filter 0.18s ease,
    box-shadow 0.18s ease;
}

.fc-homepage-button.discord {
  background:
    linear-gradient(
      180deg,
      #5865f2 0%,
      #4752c4 100%
    );

  box-shadow:
    0 8px 20px rgba(88, 101, 242, 0.28),
    inset 0 1px rgba(255, 255, 255, 0.18);
}

.fc-homepage-button.support {
  background:
    linear-gradient(
      180deg,
      #ef4444 0%,
      #c62828 100%
    );

  box-shadow:
    0 8px 20px rgba(239, 68, 68, 0.25),
    inset 0 1px rgba(255, 255, 255, 0.18);
}

.fc-homepage-button:hover {
  color: #ffffff;
  text-decoration: none;

  transform: translateY(-2px);
  filter: brightness(1.08);
}

.fc-homepage-button.discord:hover {
  box-shadow:
    0 12px 28px rgba(88, 101, 242, 0.38),
    inset 0 1px rgba(255, 255, 255, 0.18);
}

.fc-homepage-button.support:hover {
  box-shadow:
    0 12px 28px rgba(239, 68, 68, 0.35),
    inset 0 1px rgba(255, 255, 255, 0.18);
}

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

@media (max-width: 600px) {
  .fc-homepage-card {
    padding: 18px;
  }

  .fc-homepage-section p {
    font-size: 12px;
  }

  .fc-homepage-buttons {
    flex-direction: column;
  }

  .fc-homepage-button {
    width: 100%;
  }
}
/* =========================================================
   HOME CONTENT ONLY
   Does not style navigation or header
   ========================================================= */

.page-index .fc-page {
  padding: 24px 18px 48px;
  background: #242424;
}

.page-index .fc-container {
  width: min(1260px, 100%);
  margin: 0 auto;
}

.fc-home-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

/* Sidebar categories */

.fc-home-sidebar,
.fc-home-main,
.fc-home-description,
.fc-home-modules {
  min-width: 0;
}

.fc-category-menu {
  overflow: hidden;
  background: #2d2d2d;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 8px;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, .18),
    inset 0 1px rgba(255, 255, 255, .025);
}

.fc-category-menu-title {
  margin: 0;
  padding: 18px;
  color: #ff8b2f;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .03em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.fc-category-menu-list {
  display: flex;
  flex-direction: column;
}

.fc-category-menu-item {
  min-height: 78px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  color: #f2f2f2;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background .18s ease, color .18s ease;
}

.fc-category-menu-item:last-child {
  border-bottom: 0;
}

.fc-category-menu-item:hover {
  color: #fff;
  background: #353535;
}

.fc-category-menu-item img,
.fc-category-menu-placeholder {
  width: 52px;
  height: 52px;
  display: block;
  object-fit: contain;
}

.fc-category-menu-name {
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: 14px;
  font-weight: 900;
}

/* Main area */

.fc-home-main {
  display: grid;
  gap: 18px;
}

.fc-home-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: start;
}

.fc-home-description {
  padding: 22px;
  color: #e8e8e8;
  background: #2d2d2d;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 8px;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, .18),
    inset 0 1px rgba(255, 255, 255, .025);
}

.fc-home-modules {
  display: grid;
  gap: 14px;
  align-content: start;
}

/* Featured packages */

.fc-featured-packages[hidden] {
  display: none !important;
}

.fc-featured-packages {
  width: 100%;
  margin: 0;
  padding: 18px;
  overflow: hidden;
  background: #2d2d2d;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 8px;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, .18),
    inset 0 1px rgba(255, 255, 255, .025);
}

.fc-featured-packages::before,
.fc-featured-packages::after,
.fc-featured-package::before,
.fc-featured-package::after {
  display: none !important;
  content: none !important;
}

.fc-featured-packages-title {
  margin: 0 0 16px;
  padding: 0;
  color: #ff8b2f;
  background: transparent;
  border: 0;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .05em;
  line-height: 1;
  text-transform: uppercase;
}

.fc-featured-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.fc-featured-package {
  min-width: 0;
  min-height: 108px;
  padding: 12px;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  overflow: hidden;
  color: #f2f2f2;
  text-decoration: none;
  background: #383838;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 6px;
  box-shadow: inset 0 1px rgba(255, 255, 255, .03);
  transition:
    background .18s ease,
    border-color .18s ease,
    transform .18s ease;
}

.fc-featured-package:hover {
  color: #fff;
  background: #3d3d3d;
  border-color: rgba(255, 255, 255, .28);
  transform: translateY(-2px);
}

.fc-featured-package-image {
  width: 86px;
  height: 86px;
  min-width: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.fc-featured-package-image img {
  width: 86px !important;
  height: 86px !important;
  max-width: 86px !important;
  max-height: 86px !important;
  display: block !important;
  object-fit: contain !important;
  filter: drop-shadow(0 5px 6px rgba(0, 0, 0, .42));
}

.fc-featured-package-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.fc-featured-package-name,
.fc-featured-package-title {
  max-width: 100%;
  margin: 0 0 7px;
  color: #fff;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.fc-featured-package-pricing {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.fc-featured-package-pricing del {
  color: #909090;
  font-size: 9px;
  font-weight: 700;
}

.fc-featured-package-pricing strong {
  color: #ff8b2f;
  font-size: 12px;
  font-weight: 900;
}

/* Responsive */

@media (max-width: 1050px) {
  .fc-home-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .fc-home-grid {
    grid-template-columns: 1fr;
  }

  .fc-category-menu-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fc-category-menu-title {
    grid-column: 1 / -1;
  }

  .fc-featured-packages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .page-index .fc-page {
    padding: 16px 10px 32px;
  }

  .fc-category-menu-list,
  .fc-featured-packages-grid {
    grid-template-columns: 1fr;
  }

  .fc-featured-packages {
    padding: 15px;
  }

  .fc-featured-packages-title {
    font-size: 18px;
  }

  .fc-featured-package {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .fc-featured-package-image,
  .fc-featured-package-image img {
    width: 70px !important;
    height: 70px !important;
    min-width: 70px;
    max-width: 70px !important;
    max-height: 70px !important;
  }
}
/* =========================================================
   PAGE BACKGROUND
   ========================================================= */

html,
body,
.fc-body,
.fc-site,
.fc-page {
  min-height: 100%;
  background: #242424 !important;
}

body {
  margin: 0;
  overflow-x: hidden;
}

.fc-site,
.fc-page {
  position: relative;
}

/* =========================================================
   FRENZYCRAFT HEADER — CLEAN FINAL VERSION
   ========================================================= */

.fc-header {
  position: relative;
  width: 100%;
  height: 178px;
  overflow: hidden;
}

/* Background image */

.backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;

  background:
    url("https://cdn.discordapp.com/attachments/1519689239795597434/1531291046384898058/Z.png?ex=6a68ad6b&is=6a675beb&hm=35f4b0204309788f92065390cdfd0ff86007720ae5e122c00a477f75e978dd39&")
    center 48% / cover no-repeat;

  filter:
    brightness(.54)
    saturate(.58)
    contrast(.94);
}

/* Blur exactly over the background */

.backdrop::after {
  position: absolute;
  inset: 0;
  content: "";

  background: rgba(82, 78, 78, .18);

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Navigation */

.topbar {
  position: relative;
  z-index: 5;

  width: 100%;
  height: 68px;

  background: rgba(36, 36, 36, .12);

  border-top: 1px solid rgba(0, 0, 0, .55);
  border-bottom: 1px solid rgba(0, 0, 0, .5);
}

.nav-wrap {
  position: relative;

  width: 100vw;
  height: 100%;

  padding:
    0
    max(18px, calc((100vw - 1260px) / 2));

  display: flex;
  align-items: center;
}

.nav-links {
  position: absolute;
  left: 50vw;

  display: flex;
  align-items: center;
  gap: 4px;

  margin: 0;
  padding: 0;

  transform: translateX(-50%);
}

.nav-links a {
  min-width: 72px;
  padding: 12px 17px;

  color: #d7d9d8;
  text-align: center;
  text-decoration: none;

  font-family:
    "Arial Narrow",
    "Roboto Condensed",
    Arial,
    sans-serif;

  font-size: 12px;
  font-weight: 900;
  letter-spacing: -.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links .store-pill {
  min-width: 116px;
  margin: 0 10px;

  color: #fff;

  border-radius: 30px;

  background:
    linear-gradient(
      180deg,
      #ff8b2f,
      #ed542d
    );

  box-shadow:
    inset 0 1px rgba(255, 255, 255, .24);
}

/* Account links */

.account-links {
  margin-left: auto;

  display: flex;
  align-items: center;
  gap: 2px;

  padding-left: 17px;

  border-left:
    1px solid rgba(255, 255, 255, .15);
}

.account-name,
.account-links a,
.account-links button {
  position: relative;

  padding: 11px 13px;

  color: #f2f0ef;
  background: transparent;

  border: 0;

  font-family:
    "Arial Narrow",
    "Roboto Condensed",
    Arial,
    sans-serif;

  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.account-links a:hover,
.account-links button:hover {
  color: #ff982f;
  background: rgba(255, 152, 47, .08);
}

/* Server banner */

.server-banner {
  position: relative;
  z-index: 2;

  width: min(1080px, calc(100vw - 36px));
  height: 110px;

  margin-left: 50vw;

  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  align-items: center;

  transform: translateX(-50%);
}

.server-banner-left {
  grid-column: 1;

  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-logo-link {
  grid-column: 2;

  width: 220px;
  height: 110px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.server-banner-right {
  grid-column: 3;

  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-logo {
  width: 138px;
  height: 96px;

  margin: auto;

  display: block;
  object-fit: contain;

  pointer-events: none;
  user-select: none;

  filter:
    drop-shadow(
      0 5px 7px
      rgba(0, 0, 0, .5)
    );
}

.quick-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;

  padding: 9px 13px;

  color: #fff;
  background: transparent;

  border: 1px solid transparent;
  border-radius: 5px;

  font-family:
    "Arial Narrow",
    "Roboto Condensed",
    Arial,
    sans-serif;

  text-shadow:
    0 1px 1px rgba(0, 0, 0, .85);

  cursor: pointer;
}

.quick-status span {
  display: flex;
  flex-direction: column;
}

.quick-status small {
  margin-bottom: 2px;

  font-size: 9px;
  font-weight: 900;
  letter-spacing: .035em;
  line-height: 1;
}

.quick-status strong {
  color: #fff;

  font-size: 16px;
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.quick-status.server {
  color: #ff982f;
}

.quick-status.discord {
  color: #ff5145;
}

/* Mobile */

.menu-toggle {
  display: none;
}

@media (max-width: 760px) {
  .topbar {
    height: 64px;
    background: rgba(34, 34, 34, .94);
  }

  .nav-wrap {
    width: 100vw;
    padding-inline: 12px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    top: 63px;
    left: 0;
    right: 0;

    display: none;

    padding: 10px 14px;

    flex-direction: column;

    background: #292929;

    transform: none;
  }

  .nav-links.open,
  .navigation-open .nav-links,
  .is-navigation-open .nav-links {
    display: flex;
  }

  .nav-links a,
  .nav-links .store-pill {
    width: 100%;
    margin: 0;
  }

  .server-banner {
    width: calc(100vw - 20px);
    grid-template-columns: 1fr 1fr;
  }

  .banner-logo-link {
    display: none;
  }
}