/* ═══════════════════════════════════════════
   SHARED STYLES — Hart Kitsak
   ═══════════════════════════════════════════ */

/* ────── Reset & Base ────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: 'Inter', sans-serif;
  background: #0a0a0a;
  color: #e5e5e5;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
::selection { background: rgba(240, 180, 41, 0.3); color: #fff; }
a { color: inherit; text-decoration: none; }
img {
  max-width: 100%; display: block;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.accent { color: #f0b429; }

/* ────── Buttons ────── */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: #f0b429;
  color: #0a0a0a;
}
.btn-primary:hover {
  background: #f5c84a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240, 180, 41, 0.25);
}
.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-outline {
  background: transparent;
  color: #f0b429;
  border: 1.5px solid #f0b429;
}
.btn-outline:hover {
  background: #f0b429;
  color: #0a0a0a;
  transform: translateY(-2px);
}
.btn-sm { padding: 10px 24px; font-size: 0.85rem; }
.btn-full { width: 100%; text-align: center; }
.btn-ghost {
  background: transparent; border: none; color: #999;
  cursor: pointer; transition: color 0.25s; font-size: 0.85rem;
}
.btn-ghost:hover { color: #ef4444; }

/* ────── Section Headers ────── */
.section-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: #666; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 700;
  margin-bottom: 16px; color: #fff;
}
.section-desc {
  font-size: 1.05rem; color: #999; max-width: 560px;
  margin: 0 auto;
}
section { padding: 100px 0; }

/* ────── Page Loader ────── */
#loader {
  position: fixed; inset: 0; z-index: 9999; background: #0a0a0a;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-spinner {
  width: 40px; height: 40px;
  border: 2px solid rgba(240, 180, 41, 0.15);
  border-top-color: #f0b429;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-logo {
  position: relative; font-size: 1.1rem; font-weight: 800;
  color: #fff; letter-spacing: -0.5px; margin-top: 80px;
}

/* ────── Navbar ────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0; transition: all 0.35s ease;
}
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.5px; color: #fff; }
.logo span { color: #f0b429; }

/* ────── Footer ────── */
footer { border-top: 1px solid #181818; padding: 32px 0; }
footer .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer p { font-size: 0.85rem; color: #555; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.85rem; color: #666; transition: color 0.25s; }
.footer-links a:hover { color: #f0b429; }

/* ────── Scroll Reveal ────── */
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ────── Back to Top ────── */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%;
  background: #f0b429; color: #0a0a0a; border: none;
  font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: all 0.35s ease;
  box-shadow: 0 4px 16px rgba(240, 180, 41, 0.2);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #f5c84a; transform: translateY(-3px); box-shadow: 0 8px 24px rgba(240, 180, 41, 0.3); }

/* ────── Responsive (shared) ────── */
@media (max-width: 600px) {
  .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
  footer .container { flex-direction: column; text-align: center; }
}
