/* ============================================================
   BLANK MINECRAFT WEBSTORE THEME  —  style.css
   You only need this file to change COLORS.
   Scroll to "EDIT THESE" and replace the hex codes.
   Do not delete the semicolons.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700;800&family=Oswald:wght@500;600;700&display=swap");

:root {
  /* ----- EDIT THESE ----- */
  --th-navy: #1e1b4b;          /* top bar, nav, headings */
  --th-navy-hover: #312e81;    /* nav button hover */
  --th-accent: #8b5cf6;        /* buttons, prices, title */
  --th-accent-hover: #6d28d9;  /* button hover */
  --th-accent-light: #c4b5fd;  /* top-bar links */
  --th-page-bg: #f5f3ff;       /* page background */
  --th-panel: #ffffff;         /* white cards */
  --th-text: #18181b;          /* main text */
  --th-muted: #64748b;         /* small / footer text */
  --th-line: #dbe7f0;          /* borders */
  --th-danger: #e11d48;        /* logout */
  --th-heading-font: Oswald, sans-serif;
  --th-body-font: "Nunito Sans", "Segoe UI", Arial, sans-serif;
  /* ----- stop editing unless you know CSS ----- */
}

body.th-store, body {
  background: var(--th-page-bg);
  color: var(--th-text);
  font-family: var(--th-body-font);
}

/* If a Background URL / photo is set in the store dashboard, base.html adds
   an inline background-image style to <body>. Make sure it displays nicely
   instead of tiling or stretching oddly. */
body.th-store[style*="background-image"] {
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

/* Top bar (Website / Forums / Discord) */
.th-topbar {
  background: var(--th-navy);
  color: #fff;
  padding: 8px 16px;
}
.th-topbar-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.th-top-links a, .th-top-actions a {
  color: var(--th-accent-light) !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  margin-right: 14px;
}
.th-top-links a:hover, .th-top-actions a:hover { color: #fff !important; }
.th-cart {
  background: var(--th-accent);
  color: #fff !important;
  padding: 6px 12px;
  border-radius: 2px;
}
.th-cart:hover { background: var(--th-accent-hover); color: #fff !important; }
.th-logout {
  background: var(--th-danger);
  color: #fff !important;
  padding: 6px 10px;
  border-radius: 2px;
  margin-right: 8px;
}

/* Banner behind the logo / store name */
.th-banner {
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--th-navy);
  text-align: center;
  padding: 40px 12px;
}
.th-banner-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.th-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(139,92,246,.28) 0%, transparent 58%),
    linear-gradient(180deg, rgba(11,18,32,.55), rgba(139,92,246,.35));
  pointer-events: none;
}
.logo, .th-banner .logo {
  position: relative;
  z-index: 1;
  margin: 0;
  text-align: center;
}
.th-logo-text {
  display: inline-block;
  font-family: var(--th-heading-font);
  font-size: 64px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 8px 28px rgba(0,0,0,.45);
}
.th-logo-img {
  max-height: 150px;
  width: auto;
}

/* Navigation */
.navbar.th-nav, .navbar-default {
  background: var(--th-navy) !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 0 18px !important;
}
.navbar-default .navbar-nav > li > a,
.navbar-default .navbar-brand {
  color: #fff !important;
  font-family: var(--th-heading-font);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .open > a {
  background: var(--th-navy-hover) !important;
  color: var(--th-accent-light) !important;
}
.navbar-default .navbar-toggle .icon-bar { background: var(--th-accent-light) !important; }

.th-body { padding-top: 16px; padding-bottom: 24px; }

.panel, .panel-default, .modal-content {
  background: var(--th-panel) !important;
  border: none !important;
  border-radius: 0 !important;
  color: var(--th-text) !important;
}
.panel-heading, .modal-header {
  background: #111 !important;
  color: #fff !important;
  font-family: var(--th-heading-font);
  text-transform: uppercase;
  letter-spacing: .08em;
  border: none !important;
  border-radius: 0 !important;
}
.btn-primary, .btn-info, .btn-success {
  background: var(--th-accent) !important;
  border-color: var(--th-accent-hover) !important;
  color: #fff !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.btn-primary:hover, .btn-info:hover, .btn-success:hover {
  background: var(--th-accent-hover) !important;
}
.btn-danger { background: var(--th-danger) !important; border-color: #be123c !important; }
.progress { background: #e2e8f0 !important; }
.progress-bar { background: var(--th-accent) !important; }
.table-hover > tbody > tr:hover { background: #e0f2fe !important; }
.form-control {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.footer, .th-footer, .th-footer a { color: var(--th-muted) !important; }
.dropdown-menu { background: #fff !important; }
.dropdown-menu > li > a:hover { background: #e0f2fe !important; color: var(--th-accent) !important; }
a:hover { color: var(--th-accent-hover); }

.th-welcome { text-align: center; padding: 28px 16px 36px !important; }
.th-store-title {
  font-family: var(--th-heading-font);
  font-size: 72px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--th-accent);
  margin: 8px 0 0;
  line-height: 1;
}
.th-store-rule {
  width: 140px;
  height: 4px;
  background: var(--th-accent);
  margin: 8px auto 22px;
}
.th-muted { color: var(--th-muted); }
.th-page-content { margin-top: 24px; text-align: left; color: var(--th-muted); font-size: 13px; }

/* Package list */
.th-pkg-table td { vertical-align: middle !important; padding: 10px 12px !important; }
.th-pkg-table .price { color: var(--th-accent); font-weight: 700; white-space: nowrap; }
.th-pkg-table .name { font-size: 16px; }
.th-pkg-table > tbody > tr:hover > td { background: #f0f9ff !important; }
.th-pkg-icon { width: 120px; }
.th-pkg-icon img,
.th-pkg-modal-img,
.th-pkg-page-img {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  filter: none;
}
.th-pkg-icon img {
  width: 108px;
  height: 108px;
  object-fit: contain;
  object-position: center;
  display: block;
}
.th-pkg-modal-img {
  display: block;
  width: 220px;
  height: 220px;
  object-fit: contain;
  margin: 0 auto 16px;
}
.th-pkg-page-img {
  display: block;
  width: 220px;
  height: 220px;
  object-fit: contain;
  margin: 0 0 16px;
}

.modal-header .close { color: #fff; opacity: 1; }