/* Ibom-Oil V56 foundation: one stable reset and component baseline. */
:root {
  --bg: #0b0b0b;
  --panel: #101010;
  --panel2: #151515;
  --gold: #d6c899;
  --gold2: #130f04;
  --text: #eee;
  --muted: #aaa;
  --border: #242424;
  --green: #42d27d;
  --red: #ff6b6b;
  --blue: #5bbcf4;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    Inter,
    Segoe UI,
    Arial,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-width: 320px;
}
html { color-scheme: dark; scroll-behavior: smooth; }
img, video, canvas, svg { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, [role="button"], summary { -webkit-tap-highlight-color: transparent; }
a {
  text-decoration: none;
  color: inherit;
}
.container {
  max-width: 1150px;
  margin: auto;
  padding: 0 16px;
}
.header,
.topbar {
  background: #000;
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  z-index: 50;
}
.nav {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: #fff;
}
.brand img,
.top-logo img,
.logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.brand img:hover,
.top-logo img:hover,
.logo img:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}
.gold {
  color: var(--gold);
}
.menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.menu a {
  padding: 9px;
  border-radius: 10px;
  color: #ddd;
}
.menu a:hover {
  background: #111;
  color: var(--gold);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 15px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #111;
  color: #eee;
  font-weight: 800;
  cursor: pointer;
}
.btn.small {
  padding: 8px 12px;
  font-size: 0.95rem;
}
.btn.gold,
.btn-primary {
  background: linear-gradient(180deg, var(--gold), var(--gold2));
  color: #111;
  border: none;
}
.btn.ghost {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn.red,
.btn.danger {
  border-color: var(--red);
  color: var(--red);
  background: transparent;
}
.hero {
  padding: 50px 0;
  background: linear-gradient(180deg, #000, #0b0b0b);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}
.hero h1 {
  font-size: 2.45rem;
  margin: 14px 0;
  color: #fff;
}
.lead,
.muted {
  color: var(--muted);
}
.hero-img,
.card,
.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 14px 35px #0006;
}
.hero-img {
  overflow: hidden;
}
.hero-img img {
  width: 100%;
  display: block;
  animation: hero-slide 12s ease-in-out infinite alternate;
}

@keyframes hero-slide {
  from {
    transform: translateX(-50px);
  }
  to {
    transform: translateX(50px);
  }
}

.section {
  padding: 42px 0;
  border-top: 1px solid var(--border);
}
h2,
h1 {
  color: var(--gold);
}
.grid {
  display: grid;
  gap: 16px;
}
.products {
  grid-template-columns: repeat(4, 1fr);
}
.card {
  padding: 16px;
}
.product-img {
  height: 145px;
  width: 100%;
  object-fit: cover;
  border-radius: 14px;
  background: #000;
}
.price {
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
}
.form {
  max-width: 560px;
  margin: 30px auto;
}
.form input,
.form select,
.form textarea,
input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0d0d0d;
  color: #eee;
  margin: 6px 0 12px;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.msg {
  padding: 12px;
  border-radius: 12px;
  margin: 10px 0;
}
.ok {
  background: #10351f;
  color: #bfffd6;
}
.err {
  background: #351010;
  color: #ffd1d1;
}
.layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: calc(100vh - 64px);
}
.sidebar {
  background: #000;
  border-right: 1px solid var(--border);
  padding: 14px;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
}
.sidebar a {
  display: block;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 6px;
  color: var(--gold);
  font-weight: 700;
}
.sidebar a:hover,
.sidebar a.active {
  background: #111;
  color: #fff;
}
.main {
  padding: 20px;
}
.kpis {
  grid-template-columns: repeat(4, 1fr);
}
.kpi {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}
.kpi .value {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
}
.table-wrap {
  overflow: auto;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 850px;
}
th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
th {
  color: var(--gold);
  background: #0d0d0d;
}
.badge {
  padding: 5px 9px;
  border-radius: 999px;
  font-weight: 800;
  color: #111;
  display: inline-block;
}
.pending {
  background: var(--gold);
}
.approved,
.completed,
.paid {
  background: var(--green);
}
.rejected,
.cancelled {
  background: var(--red);
}
.footer {
  padding: 22px 0;
  background: #000;
  color: #aaa;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand p {
  margin: 0;
  color: #aaa;
  font-size: 0.95rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links a {
  color: var(--gold);
  font-weight: 700;
}
.footer-links a:hover {
  text-decoration: underline;
}
.float {
  position: fixed;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fab {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold), var(--gold2));
  color: #111;
  display: grid;
  place-items: center;
  font-weight: 900;
}
@media (max-width: 900px) {
  .hero-grid,
  .layout,
  .row {
    grid-template-columns: 1fr;
  }
  .products,
  .kpis {
    grid-template-columns: 1fr 1fr;
  }
  .sidebar {
    position: static;
    height: auto;
  }
  .menu {
    display: none;
  }
}
@media (max-width: 560px) {
  .products,
  .kpis {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
}
.referral-stats {
  grid-template-columns: repeat(4, 1fr);
}
.referral-link {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}
.referral-link label {
  font-weight: 700;
  color: var(--gold);
}
.referral-link input {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0d0d0d;
  color: #eee;
  margin: 0;
}

.section-title {
  margin-bottom: 16px;
  font-size: 1.2rem;
  color: var(--gold);
}
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px 0 14px;
}
.tab-btn {
  width: auto;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0d0d0d;
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
}
.tab-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: #171717;
}
.tab {
  display: none;
}
.tab.active {
  display: block;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.card.kpi {
  display: flex;
  gap: 14px;
  align-items: center;
}
.card.kpi i {
  font-size: 26px;
  color: var(--gold);
}
.card.kpi h3 {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.card.kpi .value {
  margin-top: 6px;
  color: var(--gold);
  font-size: 23px;
  font-weight: 900;
}
@media (max-width: 1100px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .two-col {
    grid-template-columns: 1fr;
  }
}

.password-wrap {
  position: relative;
}
.password-wrap input {
  padding-right: 48px;
}
.toggle-pass {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
  font-size: 16px;
}
.remember {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}
.remember input {
  width: auto;
}
.notice {
  background: #15120a;
  border: 1px solid #4a3a12;
  color: #f5d67a;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 16px;
  line-height: 1.6;
  font-size: 0.93rem;
}
.hidden {
  display: none;
}
.error,
.success {
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 14px;
  line-height: 1.6;
  display: none;
}
.error {
  background: #2a0f0f;
  border: 1px solid #4a1a1a;
  color: #ffb3b3;
}
.success {
  background: #0f281a;
  border: 1px solid #1c4d38;
  color: #b8ffd6;
}
.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 14px 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
}
.terms-check input {
  margin-top: 4px;
  width: auto;
  accent-color: var(--gold);
}
.terms-check a {
  color: var(--gold);
  font-weight: 700;
}
.terms-check a:hover {
  text-decoration: underline;
}
.terms-page {
  padding: 80px 0 40px;
}
.terms-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}
.terms-card h1,
.terms-card h2 {
  color: var(--gold);
}
.terms-card p,
.terms-card li {
  color: var(--muted);
  line-height: 1.8;
}
.terms-scroll {
  max-height: 70vh;
  overflow: auto;
  padding-right: 12px;
}
.terms-scroll::-webkit-scrollbar {
  width: 8px;
}
.terms-scroll::-webkit-scrollbar-thumb {
  background: rgba(214, 184, 153, 0.4);
  border-radius: 999px;
}
.terms-section {
  margin-bottom: 24px;
}
.terms-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.terms-section li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
}
.terms-section li:before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
}
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .terms-card {
    padding: 24px;
  }
  .terms-scroll {
    max-height: none;
  }
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #000;
  border-bottom: 1px solid var(--border);
}
.navbar {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}
.logo img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}
.logo span {
  color: var(--gold);
}
.nav-links,
.nav-btns {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a {
  color: var(--muted);
  font-weight: 600;
}
.nav-links a:hover {
  color: var(--gold);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #111;
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 600;
}
.hero-badge span {
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-image {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.product-image-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #000;
  border-bottom: 1px solid var(--border);
}
.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-body {
  padding: 18px;
}
.pill {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #0c0c0c;
  border: 1px solid var(--border);
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 16px;
}
.price {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 6px;
}
.perL {
  display: block;
  color: var(--muted);
  margin-bottom: 18px;
}
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.trading-chart {
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--panel2);
  padding: 24px;
}
.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.chart-price {
  text-align: right;
}
.chart-price span {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
}
.chart-price small {
  color: var(--muted);
  font-weight: 700;
}
.chart-container {
  height: 350px;
}
.brand-gallery-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #141010 0%, #0f0a0a5e 100%);
}
.brand-gallery-header {
  text-align: center;
  margin-bottom: 40px;
}
.brand-mini-title {
  display: inline-block;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 18px;
  font-size: 0.9rem;
}
.brand-gallery-title {
  font-size: 2.6rem;
  font-weight: 900;
  color: #fff;
}
.brand-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.brand-gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 260px;
  background: #111;
}
.brand-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}
.brand-gallery-card:hover img {
  transform: scale(1.06);
}
.brand-gallery-overlay {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.about-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  background: var(--panel);
}
.about-card i {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 16px;
}
.about-card h3 {
  margin-bottom: 10px;
}
.about-card p {
  color: var(--muted);
  line-height: 1.7;
}
.float-wrap {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold), var(--gold2));
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.3rem;
  }
  .products-grid,
  .brand-gallery-grid {
    grid-template-columns: 1fr;
  }
  .chart-price {
    text-align: left;
  }
  .product-image-wrap {
    height: 220px;
  }
  .brand-gallery-title {
    font-size: 2rem;
  }
}

.badge.awaiting_settlement,.badge.processing-payout{background:#f59e0b!important;color:#111!important;border:1px solid rgba(245,158,11,.45)!important;}
.badge.processing{background:#38bdf8!important;color:#082f49!important;}
