/* Day / night + top ads + vitrin rail */

.oa-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}
.oa-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: block;
  object-fit: cover;
  background: linear-gradient(145deg, #ff9348, #eb7725 55%, #bd692e);
  box-shadow: 0 10px 24px rgba(235, 119, 37, 0.35);
}
.oa-word {
  display: flex;
  flex-direction: column;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: #281910;
}
.oa-word small {
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: #eb7725;
}
html[data-theme="dark"] .oa-word { color: #fff; }
.hero-slide-title {
  font-size: clamp(36px, 6vw, 68px) !important;
  letter-spacing: -0.04em;
}
.topbar-contact {
  font-weight: 700;
}
@media (max-width: 768px) {
  .oa-mark { width: 40px; height: 40px; font-size: 20px; border-radius: 12px; }
  .oa-word { font-size: 26px; }
  .oa-word small { font-size: 9px; }
}

.oa-adbar {
  background: #281910;
  color: #fff;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 123, 31, 0.35);
}
.oa-adbar-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: oa-ad-marquee 28s linear infinite;
  padding: 8px 0;
}
.oa-adbar:hover .oa-adbar-track { animation-play-state: paused; }
.oa-ad {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #955121, #eb7725);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.oa-ad small {
  font-weight: 600;
  opacity: 0.85;
}
@keyframes oa-ad-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.oa-vitrin-rail {
  padding: 8px 0 18px;
}
.oa-vitrin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.oa-vitrin-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}
.oa-vitrin-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  overflow: visible;
}
@media (max-width: 1100px) {
  .oa-vitrin-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .oa-vitrin-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.oa-cats { padding: 8px 0 6px; }
.oa-cats-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}
.oa-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  background: #fff;
  border: 1px solid rgba(43, 25, 14, 0.08);
  border-radius: 14px;
  padding: 10px 8px 12px;
  color: #281910;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  line-height: 1.25;
}
.oa-cat-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #2b190e;
}
.oa-cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  background: #2b190e;
}
.oa-cat-name {
  display: block;
  width: 100%;
  min-height: 2.4em;
  overflow: hidden;
}
.oa-cat-card:hover { border-color: #eb7725; }
@media (max-width: 1100px) {
  .oa-cats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .oa-cats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.oa-partners { padding: 28px 0 8px; }
.oa-partners-inner { max-width: 1200px; }
.oa-partners-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.oa-partners-head h2 { margin: 0; font-size: 22px; font-weight: 800; }
.oa-partners-head p { margin: 6px 0 0; color: #6b7280; font-size: 14px; }
.oa-partners-head a {
  flex: 0 0 auto;
  font-weight: 800;
  color: #281910;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
}
.oa-partners-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
}
.oa-partner-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none !important;
  background: #fff;
  border: 1px solid rgba(43, 25, 14, 0.08);
  border-radius: 14px;
  padding: 8px 10px;
  color: #281910;
}
.oa-partner-chip img,
.oa-partner-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}
.oa-partner-mark {
  display: grid;
  place-items: center;
  background: #53fc18;
  color: #052e16;
  font-weight: 900;
}
.oa-partner-chip strong,
.oa-partner-chip small { display: block; }
.oa-partner-chip strong {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.oa-partner-chip small { color: #6b7280; font-size: 12px; }
@media (max-width: 1100px) {
  .oa-partners-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
html[data-theme="dark"] .oa-cat-card,
html[data-theme="dark"] .oa-partner-chip,
html[data-theme="dark"] .oa-partners-head a {
  background: #2f1f14;
  color: #e5e7eb;
  border-color: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .oa-partners-head h2,
html[data-theme="dark"] .oa-cat-card { color: #fcf9f8; }
html[data-theme="dark"] .oa-partners-head p,
html[data-theme="dark"] .oa-partner-chip small { color: #9ca3af; }
.oa-vitrin-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none !important;
  background: #fff;
  border: 1px solid rgba(43, 25, 14, 0.08);
  border-radius: 16px;
  overflow: hidden;
  color: #281910;
  box-shadow: 0 8px 24px rgba(43, 25, 14, 0.06);
}
.oa-vitrin-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  background: #2b190e;
}
.oa-vitrin-card strong,
.oa-vitrin-card span {
  padding: 0 10px;
}
.oa-vitrin-card strong {
  font-size: 13px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.oa-vitrin-card span {
  padding-bottom: 10px;
  color: #dc742a;
  font-weight: 800;
}
.oa-vitrin-badge {
  position: absolute;
  margin: 8px;
  background: #f36018;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 3px 8px;
}
.oa-vitrin-media { position: relative; }

html[data-theme="dark"] {
  --bg: #21130a;
  --surface: #2f1f14;
  --text-color: #e5e7eb;
  --text-muted: #9ca3af;
  --border-color: rgba(255, 255, 255, 0.08);
  color-scheme: dark;
}
html[data-theme="dark"] body {
  background: #21130a !important;
  background-color: #21130a !important;
  color: #e5e7eb !important;
}
html[data-theme="dark"] body::before {
  background: transparent !important;
}
html[data-theme="dark"] .frontend-header,
html[data-theme="dark"] .topbar,
html[data-theme="dark"] .header-top,
html[data-theme="dark"] .header-content {
  background: #25170e !important;
  color: #e5e7eb !important;
}
html[data-theme="dark"] .header-nav,
html[data-theme="dark"] .frontend-header .header-nav {
  background: #1d120b !important;
  border-top-color: rgba(255, 255, 255, 0.06) !important;
}
html[data-theme="dark"] .site-nav-link,
html[data-theme="dark"] .topbar-contact,
html[data-theme="dark"] .header-search-input {
  color: #e5e7eb !important;
}
html[data-theme="dark"] .header-search-input {
  background: #1b2236 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
html[data-theme="dark"] .listing-card,
html[data-theme="dark"] .epin-card-home,
html[data-theme="dark"] .server-card,
html[data-theme="dark"] .oa-vitrin-card,
html[data-theme="dark"] .blog-card,
html[data-theme="dark"] .category-card {
  background: #2f1f14 !important;
  color: #e5e7eb !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
html[data-theme="dark"] .server-name,
html[data-theme="dark"] .categories-title,
html[data-theme="dark"] .category-section-head h2,
html[data-theme="dark"] .oa-vitrin-head h2,
html[data-theme="dark"] .gs-deals-title,
html[data-theme="dark"] footer,
html[data-theme="dark"] .site-footer {
  color: #e5e7eb !important;
}
html[data-theme="dark"] .oa-vitrin-card strong { color: #fcf9f8; }
html[data-theme="dark"] .register-main,
html[data-theme="dark"] .add-balance-main,
html[data-theme="dark"] .search-main {
  background: transparent !important;
}

.oa-local-credit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff8f3, #fff);
  border: 1px solid #ffc69f;
}
html[data-theme="dark"] .oa-local-credit {
  background: #1c2438;
  border-color: rgba(255, 123, 31, 0.35);
  color: #e5e7eb;
}
.oa-local-credit button {
  border: 0;
  border-radius: 999px;
  background: #eb7725;
  color: #fff;
  font-weight: 800;
  padding: 10px 16px;
  cursor: pointer;
}

.lc-fallback-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.lc-fallback-form input,
.lc-fallback-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(43, 25, 14, 0.12);
  padding: 8px 10px;
  font: inherit;
}
.lc-fallback-form button {
  border: 0;
  border-radius: 10px;
  background: #eb7725;
  color: #fff;
  font-weight: 700;
  padding: 10px 12px;
  cursor: pointer;
}

html[data-theme="dark"] .om-streamers {
  background: #21130a;
}
html[data-theme="dark"] .om-streamers-title,
html[data-theme="dark"] .om-streamer-name {
  color: #fcf9f8 !important;
}
html[data-theme="dark"] .om-streamers-sub,
html[data-theme="dark"] .om-streamer-followers {
  color: #94a3b8 !important;
}
html[data-theme="dark"] .om-streamer-card,
html[data-theme="dark"] .om-streamers-all {
  background: #2f1f14 !important;
  color: #e5e7eb !important;
  border-color: rgba(255,255,255,.08) !important;
}
html[data-theme="dark"] .om-streamer-cat {
  background: #2b190e;
  color: #cbd5e1;
  border-color: rgba(255,255,255,.08);
}

:focus-visible {
  outline: 2px solid #eb7725;
  outline-offset: 2px;
}
