@font-face {
  font-family: 'Staff X Wide';
  src: url('fonts/Staff-XWide.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f5;
  --bg-card: #ffffff;
  --border: #d4d4d4;
  --text: #171717;
  --text-sec: #525252;
  --text-muted: #a3a3a3;
  --font-display: 'Staff X Wide', 'Arial Black', sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 10px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navbar ── */
.navbar {
  background: #171717;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-container {
  display: flex;
  align-items: center;
  height: 52px;
  width: 100%;
  padding: 0 16px;
  gap: 8px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 2px;
  font-family: var(--font-display);
  flex-shrink: 0;
  margin-right: auto;
}
.logo i { font-size: 0.85rem; color: #a3a3a3; }
.logo-icon { height: 1em; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex: 1;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links li { position: relative; }
.nav-links > li > a {
  text-decoration: none;
  color: #a3a3a3;
  font-size: 0.72rem;
  font-weight: 600;
  transition: color 0.2s;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: #ffffff; }
.submenu-arrow { font-size: 0.5rem; transition: transform 0.2s; }
.has-submenu:hover .submenu-arrow { transform: rotate(180deg); }
.has-submenu:hover > a { color: #ffffff; }
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #242428;
  border: 1px solid #333;
  border-radius: 6px;
  min-width: 140px;
  padding: 4px 0;
  list-style: none;
  z-index: 1001;
}
.has-submenu:hover .submenu { display: block; }
.submenu li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.72rem;
  color: #a3a3a3;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.15s;
  font-family: var(--font-body);
}
.submenu li a:hover { color: #ffffff; background: #333; }
.submenu li a.active { color: #ffffff; }
.user-greeting {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #a3a3a3;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: color 0.2s;
  white-space: nowrap;
}
.user-greeting:hover { color: #ffffff; }
.user-greeting i { font-size: 1rem; }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  margin: 4px 0;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
  margin-top: auto;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.footer-links a {
  color: var(--text-sec);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer p {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);
}
.btn-primary:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--text);
  transform: translateY(-2px);
}

/* ── Divider ── */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 60px 0 40px;
  position: relative;
}
.divider-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  width: 100%;
  position: absolute;
}
.divider-label {
  position: relative;
  background: var(--bg);
  padding: 0 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-sec);
  font-family: var(--font-display);
}

/* ── Marquee ── */
.marquee-wrap {
  background: #171717;
  border-bottom: 1px solid #2e2e36;
  overflow: hidden;
  position: sticky;
  top: 52px;
  z-index: 999;
  height: 28px;
  display: flex;
  align-items: center;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: scrollLeft 80s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-period {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: #171717;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
  z-index: 1;
  font-family: var(--font-body);
  border-right: 1px solid #333;
}
.marquee-item {
  white-space: nowrap;
  padding: 0 28px;
  font-size: 0.68rem;
  color: #a3a3a3;
  letter-spacing: 0.3px;
  font-weight: 500;
}
.marquee-item .price { color: #ffffff; font-weight: 700; }
@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Icons (50% bigger, excluding navbar) ── */
.main i[class*="fa-"] { font-size: 1.5em; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-container { padding: 0 12px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    width: 100%;
    background: #171717;
    flex-direction: column;
    padding: 12px 0;
    gap: 0;
    border-bottom: 1px solid #333;
    justify-content: flex-start;
    align-items: stretch;
  }
  .nav-links.active { display: flex; }
  .nav-links > li > a { padding: 12px 20px; font-size: 0.75rem; }
  .has-submenu .submenu {
    position: static;
    border: none;
    border-radius: 0;
    background: #1e1e22;
    padding: 0;
  }
  .submenu li a { padding: 10px 20px 10px 40px; }
  .menu-toggle { display: block; order: 10; }
  .marquee-wrap { top: 52px; }
}
