@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --otg-bg: #07090f;
  --otg-panel: rgba(14, 22, 34, 0.84);
  --otg-panel-solid: #101826;
  --otg-line: rgba(131, 247, 209, 0.2);
  --otg-text: #f4fbff;
  --otg-muted: #9eb0c2;
  --otg-cyan: #35e7ff;
  --otg-lime: #a4ff3f;
  --otg-amber: #ffb533;
  --otg-pink: #ff4fd8;
  --otg-red: #ff5d5d;
  --green-500: var(--otg-lime);
  --green-600: #4bd94c;
  --green-700: #189e4d;
  --green-400: var(--otg-lime);
  --dark-900: var(--otg-bg);
  --dark-800: #0d1018;
  --dark-700: var(--otg-panel-solid);
  --dark-600: #151f2f;
  --dark-500: #1b2a3d;
  --dark-400: #26384f;
  --glass-border: var(--otg-line);
  --text-primary: var(--otg-text);
  --text-secondary: var(--otg-muted);
  --text-muted: #718095;
}

* {
  letter-spacing: 0 !important;
}

body {
  color: var(--otg-text) !important;
  background:
    radial-gradient(circle at 12% 12%, rgba(53, 231, 255, 0.14), transparent 28rem),
    radial-gradient(circle at 82% 26%, rgba(164, 255, 63, 0.12), transparent 26rem),
    linear-gradient(180deg, #07090f 0%, #0d1018 52%, #090a0f 100%) !important;
  font-family: Inter, system-ui, sans-serif !important;
  min-height: 100vh;
}

h1,
h2,
h3,
.navbar-brand,
.section-title,
.product-name,
.product-title,
.result-title,
.total-value,
.price-current {
  font-family: Rajdhani, Inter, system-ui, sans-serif !important;
}

.navbar-main {
  background: rgba(7, 9, 15, 0.78) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09) !important;
  backdrop-filter: blur(18px);
}

.navbar-main .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--otg-text) !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
}

.navbar-main .navbar-brand::before,
.page-header-bar .brand::before {
  content: "";
  display: inline-grid;
  place-items: center;
  width: 2.65rem;
  height: 2.45rem;
  background: url("../../img/logo-otg.png") center / contain no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 30px rgba(53, 231, 255, 0.38);
}

.navbar-main .brand-accent,
.navbar-main .accent {
  color: var(--otg-lime) !important;
}

.navbar-main .nav-link {
  color: var(--otg-muted) !important;
  font-weight: 700 !important;
}

.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
  color: var(--otg-lime) !important;
}

.hero-section {
  position: relative;
  min-height: 76vh;
  display: grid;
  align-items: center;
  padding: 7.2rem 0 5rem !important;
  background-image:
    linear-gradient(90deg, rgba(7, 9, 15, 0.96) 0%, rgba(7, 9, 15, 0.78) 36%, rgba(7, 9, 15, 0.24) 78%),
    linear-gradient(180deg, rgba(7, 9, 15, 0.12) 55%, var(--otg-bg) 100%),
    var(--otg-hero, none);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-section::before {
  display: none !important;
}

.hero-badge {
  border-radius: 0 !important;
  background: rgba(164, 255, 63, 0.1) !important;
  border: 1px solid rgba(164, 255, 63, 0.32) !important;
  color: var(--otg-lime) !important;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 0.95rem !important;
}

.hero-title {
  max-width: 46rem;
  margin-bottom: 1rem !important;
  color: var(--otg-text);
  font-size: clamp(3.5rem, 9vw, 8rem) !important;
  font-weight: 700 !important;
  line-height: 0.86 !important;
  text-shadow: 0 0 28px rgba(53, 231, 255, 0.45);
}

.hero-title .accent {
  color: var(--otg-lime) !important;
}

.hero-sub {
  max-width: 40rem !important;
  color: #dce7f0 !important;
  font-size: clamp(1rem, 2vw, 1.2rem) !important;
  line-height: 1.7;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 36rem;
  margin-top: 2.5rem;
}

.hero-stat,
.product-card,
.sidebar-card,
.detail-card,
.review-card,
.product-summary,
.result-card,
.page-card,
.modal-content {
  background: var(--otg-panel) !important;
  border: 1px solid var(--otg-line) !important;
  border-radius: 0.55rem !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(16px);
}

.hero-stat {
  padding: 1rem;
}

.hero-stat strong {
  display: block;
  color: var(--otg-cyan);
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 1.8rem;
  line-height: 1;
}

.hero-stat span {
  color: var(--otg-muted);
  font-size: 0.86rem;
}

.store-ticker {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: -1.5rem auto 2.5rem;
  padding: 1rem 1.2rem;
  width: min(72rem, calc(100% - 2rem));
  background: var(--otg-panel);
  border: 1px solid var(--otg-line);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
}

.store-ticker span {
  flex: 0 0 auto;
  padding: 0.35rem 0.65rem;
  color: #080d12;
  background: var(--otg-amber);
  font-weight: 900;
  text-transform: uppercase;
}

.store-ticker p {
  margin: 0;
  color: #d6e5ee;
}

.section-title {
  color: var(--otg-text);
  font-size: clamp(2rem, 4vw, 3.5rem) !important;
  font-weight: 700 !important;
  line-height: 0.95;
}

.section-count {
  color: #071015 !important;
  background: var(--otg-lime) !important;
  border-radius: 0 !important;
  font-weight: 900;
}

.product-card {
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(53, 231, 255, 0.45) !important;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.46), 0 0 44px rgba(53, 231, 255, 0.12) !important;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(53, 231, 255, 0.15), transparent 42%, rgba(255, 181, 51, 0.12));
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.product-card:hover::before {
  opacity: 1;
}

.product-card .card-img-wrap {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.15), rgba(53, 231, 255, 0.08) 42%, rgba(255, 255, 255, 0.02)),
    #111a28 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.product-card .card-img-wrap img,
.product-image img,
.product-summary img {
  filter: saturate(1.08) contrast(1.06);
}

.badge-stock,
.badge-disc,
.disc-badge,
.stock-badge {
  border-radius: 0 !important;
}

.badge-stock.in-stock,
.stock-badge.in {
  color: var(--otg-lime) !important;
  background: rgba(164, 255, 63, 0.14) !important;
  border: 1px solid rgba(164, 255, 63, 0.32) !important;
}

.badge-stock.out-stock,
.stock-badge.out {
  color: var(--otg-red) !important;
  background: rgba(255, 93, 93, 0.12) !important;
  border: 1px solid rgba(255, 93, 93, 0.28) !important;
}

.badge-disc,
.disc-badge {
  color: #190d00 !important;
  background: var(--otg-amber) !important;
}

.product-card .product-name,
.sidebar-card .product-title {
  color: var(--otg-text);
  font-size: 1.2rem !important;
  font-weight: 700 !important;
}

.product-card .product-desc,
.sidebar-card .product-desc,
.detail-card .detail-content,
.review-card .label,
.result-sub,
.info-box,
.footer-main,
.page-card p,
.page-card li {
  color: var(--otg-muted) !important;
}

.price-current,
.product-summary .total-value,
.sidebar-card .price-current {
  color: var(--otg-lime) !important;
  font-family: Rajdhani, Inter, sans-serif !important;
  font-size: 1.35rem !important;
}

.btn-buy,
.btn-buy-lg,
.btn-pay,
.btn-home,
.btn-modal-submit {
  color: #061016 !important;
  background: linear-gradient(135deg, var(--otg-lime), var(--otg-cyan)) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: 0 0 36px rgba(53, 231, 255, 0.2);
  font-weight: 900 !important;
}

.btn-buy:hover:not(:disabled),
.btn-buy-lg:hover:not(:disabled),
.btn-pay:hover,
.btn-home:hover,
.btn-modal-submit:hover {
  color: #061016 !important;
  box-shadow: 0 0 42px rgba(53, 231, 255, 0.35) !important;
  transform: translateY(-1px);
}

.btn-back,
.btn-back-outline,
.btn-retry,
.btn-modal-cancel,
.btn-copy {
  color: var(--otg-text) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 0 !important;
}

.modal .form-control,
.form-control {
  color: var(--otg-text) !important;
  background: #111a28 !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 0 !important;
}

.modal .form-control:focus,
.form-control:focus {
  border-color: var(--otg-cyan) !important;
  box-shadow: 0 0 0 3px rgba(53, 231, 255, 0.16) !important;
}

.icon-circle.success {
  color: var(--otg-lime) !important;
  background: rgba(164, 255, 63, 0.1) !important;
  border-color: rgba(164, 255, 63, 0.25) !important;
}

.icon-circle.failed {
  color: var(--otg-red) !important;
  background: rgba(255, 93, 93, 0.1) !important;
  border-color: rgba(255, 93, 93, 0.25) !important;
}

.page-header-bar .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--otg-text) !important;
  font-family: Rajdhani, Inter, sans-serif !important;
  font-size: 1.35rem !important;
}

.page-card h1,
.page-card h2 {
  color: var(--otg-text) !important;
  font-family: Rajdhani, Inter, sans-serif !important;
}

.page-card h2 {
  color: var(--otg-lime) !important;
}

@media (max-width: 900px) {
  .hero-section {
    min-height: 78vh;
    background-image:
      linear-gradient(90deg, rgba(7, 9, 15, 0.97) 0%, rgba(7, 9, 15, 0.76) 68%, rgba(7, 9, 15, 0.42) 100%),
      linear-gradient(180deg, rgba(7, 9, 15, 0.08) 55%, var(--otg-bg) 100%),
      var(--otg-hero, none);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero-section {
    min-height: auto;
    padding: 6.5rem 0 4rem !important;
  }

  .store-ticker {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-title {
    font-size: 4.2rem !important;
  }
}
