/* DarkHub — Pornhub-inspired black + orange theme */

:root {
  --dh-bg: #000000;
  --dh-surface: #1b1b1b;
  --dh-surface-2: #242424;
  --dh-border: #2c2c2c;
  --dh-orange: #ff9900;
  --dh-orange-hover: #ffb000;
  --dh-orange-dim: rgba(255, 153, 0, 0.15);
  --dh-text: #ffffff;
  --dh-muted: #aaaaaa;
  --dh-muted-2: #777777;
  --dh-success: #4caf50;
  --dh-error: #e74c3c;
  --dh-font: Arial, Helvetica, "Segoe UI", sans-serif;
}

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

html, body { min-height: 100%; }

body {
  background: var(--dh-bg);
  color: var(--dh-text);
  font-family: var(--dh-font);
  padding: 0;
  line-height: 1.5;
  position: relative;
}

body.page-solid-dark {
  background: #000 !important;
  background-image: none !important;
}

body::before { display: none !important; }

/* ——— Logo (Pornhub-style: word + orange hub pill) ——— */
.dh-logo {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--dh-font);
  font-weight: 800;
  font-size: 1.65rem;
  letter-spacing: -0.5px;
  text-decoration: none !important;
  line-height: 1;
  user-select: none;
}
.dh-logo-dark { color: #fff; }
.dh-logo-dark::before,
.dh-logo-dark::after { content: none !important; }
.dh-logo-hub {
  background: var(--dh-orange);
  color: #000;
  padding: 2px 7px 3px;
  border-radius: 4px;
  margin-left: 2px;
  font-weight: 800;
  border-bottom: none !important;
}
.dh-logo:hover .dh-logo-hub { background: var(--dh-orange-hover); color: #000; }
.dh-logo-sm { font-size: 1.25rem; }
.dh-logo-lg { font-size: 2.4rem; }

.container,
.wrap,
.login-container,
.register-container,
.fp-card,
.dispute-container,
.profile-box,
.details-container,
.seller-box,
.become-box {
  position: relative;
  z-index: 2;
  background: var(--dh-surface);
  border: 1px solid var(--dh-border);
  box-shadow: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  border: none;
  background: transparent;
  box-shadow: none;
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  border: none;
  background: transparent;
  box-shadow: none;
}

.wrap .card,
.wrap .topbar,
.payment-card,
.card {
  background: var(--dh-surface) !important;
  border: 1px solid var(--dh-border) !important;
  box-shadow: none !important;
  border-radius: 6px;
}

.login-container,
.register-container,
.fp-card {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  padding: 36px 32px 28px;
  border-radius: 8px;
  background: var(--dh-surface);
  border: 1px solid var(--dh-border);
}

.register-container { max-width: 500px; }

.help-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 8px 14px;
  background: var(--dh-orange);
  color: #000;
  text-decoration: none;
  border: none;
  font-size: 0.85em;
  font-weight: 700;
  font-family: var(--dh-font);
  z-index: 9999;
  cursor: pointer;
  border-radius: 4px;
}
.help-btn:hover {
  background: var(--dh-orange-hover);
  color: #000;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 16px;
  font-weight: 700;
  position: relative;
  z-index: 2;
  color: var(--dh-text);
  text-shadow: none;
  animation: none !important;
  border: none;
  font-family: var(--dh-font);
}

h1 { font-size: 1.75em; color: var(--dh-text); padding-bottom: 0; margin-bottom: 20px; }
h2 { font-size: 1.35em; color: var(--dh-text); }
h3 { font-size: 1.15em; color: var(--dh-orange); }

.glitch {
  color: var(--dh-text) !important;
  font-weight: 700;
  text-shadow: none !important;
  animation: none !important;
}

input, select, textarea {
  background: #111;
  border: 1px solid #3a3a3a;
  color: var(--dh-text);
  padding: 11px 12px;
  width: 100%;
  margin-bottom: 14px;
  font-family: inherit;
  font-size: 0.95em;
  transition: border-color 0.15s ease;
  border-radius: 4px;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--dh-orange);
  box-shadow: none;
  background: #111;
}

button, .button {
  background: var(--dh-orange);
  border: none;
  color: #000;
  font-weight: 700;
  padding: 11px 20px;
  cursor: pointer;
  font-family: inherit;
  border-radius: 4px;
  margin-right: 8px;
  font-size: 0.9em;
}

button:hover:not(:disabled) {
  background: var(--dh-orange-hover);
  color: #000;
}

a { color: var(--dh-orange); text-decoration: none; font-weight: 500; }
a:hover { color: var(--dh-orange-hover); text-decoration: underline; }

.success {
  border: 1px solid var(--dh-success);
  background: rgba(76, 175, 80, 0.1);
  color: #81c784;
  padding: 14px;
  margin: 14px 0;
  border-radius: 4px;
  border-left: 3px solid var(--dh-success);
}

.error {
  border: 1px solid var(--dh-error);
  background: rgba(231, 76, 60, 0.1);
  color: #ef9a9a;
  padding: 14px;
  margin: 14px 0;
  border-radius: 4px;
  border-left: 3px solid var(--dh-error);
}

footer {
  margin-top: 40px;
  text-align: center;
  color: var(--dh-muted-2);
  font-size: 0.85em;
  border-top: 1px solid var(--dh-border);
  padding: 24px 16px;
  position: relative;
  z-index: 2;
  background: #0d0d0d;
}

.topbar,
.market-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: #0f0f0f;
  border: 1px solid var(--dh-border);
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 18px;
}

.topbar h1,
.market-header h1 {
  margin: 0;
  font-size: 1.1em;
  color: var(--dh-muted);
  border: none;
  padding: 0;
}

.user-info {
  text-align: right;
  font-size: 0.9em;
  color: var(--dh-muted);
}
.user-info .balance,
.balance {
  color: var(--dh-orange) !important;
  font-weight: 700;
  font-size: 1.15em;
}

/* ——— Pornhub-style profile dropdown ——— */
.dh-profile {
  position: relative;
  z-index: 40;
}
.dh-profile-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #3a3a3a;
  background: #1b1b1b;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  margin: 0;
}
.dh-profile-btn:hover,
.dh-profile.open .dh-profile-btn {
  border-color: #ff9900;
  color: #ff9900;
  background: #111;
}
.dh-profile-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 280px;
  background: #1b1b1b;
  border: 1px solid #2c2c2c;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.55);
  padding: 14px 0 10px;
  z-index: 50;
}
.dh-profile-quick {
  display: flex;
  justify-content: space-around;
  gap: 6px;
  padding: 4px 12px 14px;
  border-bottom: 1px solid #2c2c2c;
}
.dh-q {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #ccc !important;
  text-decoration: none !important;
  font-size: 0.68em;
  font-weight: 700;
  min-width: 64px;
}
.dh-q:hover { color: #fff !important; }
.dh-q-ico {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #3a3a3a;
  background: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ff9900;
  font-size: 1.15rem;
  font-weight: 800;
}
.dh-q:hover .dh-q-ico { border-color: #ff9900; background: rgba(255,153,0,0.08); }
.dh-profile-balance {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  color: #aaa;
  font-size: 0.82em;
  border-bottom: 1px solid #2c2c2c;
}
.dh-profile-balance strong,
#balance-display {
  color: #ff9900 !important;
  font-size: 1.05em;
  font-weight: 800;
}
.dh-profile-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}
.dh-profile-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  color: #ddd !important;
  text-decoration: none !important;
  font-size: 0.88em;
  font-weight: 600;
}
.dh-profile-list a:hover {
  background: #242424;
  color: #fff !important;
}
.dh-profile-list svg { color: #aaa; flex-shrink: 0; }
.dh-profile-list a:hover svg { color: #ff9900; }
.dh-profile-sep {
  margin-top: 4px;
  border-top: 1px solid #2c2c2c;
  padding-top: 4px;
}
.dh-logout { color: #ef9a9a !important; }
.dh-profile-foot {
  padding: 10px 16px 4px;
  color: #666;
  font-size: 0.75em;
  text-align: right;
}

/* Guest auth (browse without account) */
.dh-guest-auth {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.dh-guest-login,
.dh-guest-join {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 4px;
  font-size: 0.78em;
  font-weight: 700;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.dh-guest-login {
  color: #fff !important;
  border: 1px solid #ff9900;
  background: #000;
}
.dh-guest-login:hover {
  background: #ff9900;
  color: #000 !important;
}
.dh-guest-join {
  color: #000 !important;
  background: #ff9900;
  border: 1px solid #ff9900;
}
.dh-guest-join:hover {
  background: #ffb000;
  color: #000 !important;
}

.navtabs {
  display: flex;
  gap: 0;
  padding: 0;
  margin-bottom: 22px;
  background: #111;
  border-radius: 0;
  border: none;
  border-bottom: 2px solid var(--dh-border);
  flex-wrap: wrap;
}
.navtabs a {
  flex: 0 0 auto;
  min-width: auto;
  text-align: center;
  padding: 12px 18px;
  border-radius: 0;
  color: var(--dh-muted);
  text-decoration: none !important;
  font-weight: 700;
  letter-spacing: 0.3px;
  font-size: 0.85em;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.15s, border-color 0.15s;
  font-family: var(--dh-font);
  background: transparent;
  border-left: none;
  border-right: none;
  border-top: none;
}
.navtabs a:hover {
  color: #fff;
  background: transparent;
  border-color: transparent;
}
.navtabs a.active {
  color: #fff;
  background: transparent;
  border-bottom-color: var(--dh-orange);
}

@media (max-width: 768px) {
  body { padding: 0; font-size: 0.95em; }
  .container, .wrap { padding: 12px 10px 28px; }
  h1 { font-size: 1.35em; }
  .dh-logo { font-size: 1.35rem; }
  .dh-logo-lg { font-size: 1.8rem; }
}

#welcomePopupOverlay,
.rr-methods-ad-overlay,
.rr-site-notice-overlay,
[id*='methods_ad']:not(script) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.warning-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  padding: max(20px, 4vh) 16px;
  box-sizing: border-box;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.warning-popup-overlay.show { display: flex; opacity: 1; }
.warning-popup-container {
  background: #1b1b1b;
  border: 1px solid #ff9900;
  border-radius: 8px;
  max-width: min(640px, calc(100vw - 32px));
  width: 100%;
  max-height: min(92vh, calc(100dvh - 40px));
  overflow-y: auto;
  padding: 28px 32px;
  margin: auto;
  flex-shrink: 0;
  box-sizing: border-box;
}
.warning-popup-header {
  color: #ff9900;
  font-size: 1.1em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}
.warning-popup-content {
  color: #d4d4d8;
  font-size: 0.9em;
  line-height: 1.7;
  margin-bottom: 20px;
}
.official-domains {
  background: #141418;
  border-left: 3px solid #ff9900;
  padding: 16px;
  border-radius: 6px;
  margin: 16px 0;
}
.official-domains-title { color: #ff9900; font-weight: 700; margin-bottom: 8px; }
.domain-list { list-style: none; }
.domain-list li {
  color: #a1a1aa;
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
  font-size: 0.9em;
}
.warning-popup-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.warning-btn {
  padding: 10px 24px;
  font-size: 0.85em;
  font-weight: 600;
  border: 1px solid #ff9900;
  background: transparent;
  color: #ff9900;
  cursor: pointer;
  border-radius: 4px;
  font-family: inherit;
}
.warning-btn:hover, .warning-btn.primary {
  background: #ff9900;
  color: #000;
}

aside.categories,
.cat-sidebar,
.left-nav,
.market-sidebar,
.category-accordion,
.dh-cat-panel,
[class*='subcategor'] {
  display: none !important;
}

.captcha-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.captcha-box img {
  height: 56px;
  width: 170px;
  object-fit: cover;
  border: 1px solid #3a3a3a;
  border-radius: 4px;
  background: #fff;
}
.captcha-refresh {
  background: #222 !important;
  color: #ff9900 !important;
  border: 1px solid #3a3a3a !important;
  padding: 10px 12px !important;
  margin: 0 !important;
  min-width: 44px;
  border-radius: 4px !important;
}
.captcha-refresh:hover {
  border-color: #ff9900 !important;
  background: rgba(255,153,0,0.12) !important;
}
