:root {
  --ovw8-primary: #763b87;
  --ovw8-primary-dark: #5a2c68;
  --ovw8-accent: #46ab1a;
  --ovw8-accent-hover: #3b8e16;
  --ovw8-bg: #f5f7fa;
  --ovw8-surface: #ffffff;
  --ovw8-surface-glass: rgba(255, 255, 255, 0.9);
  --ovw8-text: #1a1a1a;
  --ovw8-text-light: #4a5568;
  --ovw8-border: #e2e8f0;
  --ovw8-border-radius: 12px;
  --ovw8-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --ovw8-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --ovw8-font-display: 'Kanit', sans-serif;
  --ovw8-font-body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

body.ovw8-body {
  font-family: var(--ovw8-font-body);
  background-color: var(--ovw8-bg);
  color: var(--ovw8-text);
  line-height: 1.5;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

.ovw8-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* HEADER */
.ovw8-header {
  background-color: var(--ovw8-surface);
  border-bottom: 1px solid var(--ovw8-border);
}

.ovw8-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.ovw8-logo {
  font-family: var(--ovw8-font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--ovw8-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ovw8-header-tools {
  display: flex;
  gap: 8px;
}

.ovw8-tool-btn {
  font-family: var(--ovw8-font-display);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.ovw8-tool-login {
  background-color: transparent;
  color: var(--ovw8-primary);
  border: 1px solid var(--ovw8-primary);
}

.ovw8-tool-register {
  background-color: var(--ovw8-accent);
  color: #fff;
  border: 1px solid var(--ovw8-accent);
}

.ovw8-tool-btn:hover { opacity: 0.85; }

/* NAV */
.ovw8-nav {
  background-color: var(--ovw8-primary-dark);
}

.ovw8-nav-list {
  display: flex;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0;
}

.ovw8-nav-list::-webkit-scrollbar { display: none; }

.ovw8-nav-item {
  flex-shrink: 0;
}

.ovw8-nav-link {
  display: block;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-family: var(--ovw8-font-display);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}

.ovw8-nav-link:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}

/* TICKER */
.ovw8-ticker-wrap {
  background-color: var(--ovw8-primary);
  color: #fff;
  width: 100%;
  overflow: hidden;
  padding: 8px 0;
  border-bottom: 2px solid var(--ovw8-accent);
}

.ovw8-ticker-track {
  display: inline-flex;
  white-space: nowrap;
  animation: ovw8-marquee 30s linear infinite;
}

.ovw8-ticker-item {
  padding: 0 32px;
  font-size: 13px;
  font-weight: 500;
}

.ovw8-ticker-item a {
  color: #fff;
  text-decoration: none;
}

@keyframes ovw8-marquee {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* BUTTONS & GENERAL */
.ovw8-btn {
  display: inline-block;
  padding: 10px 20px;
  font-family: var(--ovw8-font-display);
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ovw8-btn-primary {
  background-color: var(--ovw8-primary);
  color: #fff;
}

.ovw8-btn-primary:hover { background-color: var(--ovw8-primary-dark); }

.ovw8-btn-outline {
  background-color: transparent;
  color: var(--ovw8-primary);
  border: 2px solid var(--ovw8-primary);
}

.ovw8-btn-outline:hover {
  background-color: var(--ovw8-primary);
  color: #fff;
}

.ovw8-section-title {
  font-family: var(--ovw8-font-display);
  font-size: 24px;
  color: var(--ovw8-primary);
  margin-bottom: 8px;
  line-height: 1.2;
}

.ovw8-section-sub {
  font-size: 15px;
  color: var(--ovw8-text-light);
  margin-bottom: 20px;
}

.ovw8-center { text-align: center; }

/* MAIN CONTENT PADDING */
.ovw8-main { padding-bottom: 40px; }
.ovw8-main > section { padding: 32px 0; }

/* HERO */
.ovw8-hero { background-color: var(--ovw8-surface); padding-top: 40px !important; }
.ovw8-hero-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ovw8-hero-slogan {
  font-family: var(--ovw8-font-display);
  font-size: 32px;
  line-height: 1.1;
  color: var(--ovw8-primary-dark);
  margin-bottom: 16px;
}
.ovw8-hero-desc {
  font-size: 16px;
  color: var(--ovw8-text-light);
  margin-bottom: 24px;
}
.ovw8-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.ovw8-hero-media {
  width: 100%;
  border-radius: var(--ovw8-border-radius);
  overflow: hidden;
  box-shadow: var(--ovw8-shadow);
}
.ovw8-hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* STATS */
.ovw8-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.ovw8-stat-card {
  background: var(--ovw8-surface);
  padding: 16px;
  border-radius: var(--ovw8-border-radius);
  text-align: center;
  box-shadow: var(--ovw8-shadow-sm);
  border: 1px solid var(--ovw8-border);
}
.ovw8-stat-num {
  font-family: var(--ovw8-font-display);
  font-size: 24px;
  color: var(--ovw8-accent);
  font-weight: 700;
}
.ovw8-stat-label {
  font-size: 13px;
  color: var(--ovw8-text-light);
  font-weight: 500;
}

/* FILTER CHIPS */
.ovw8-filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 16px;
  scrollbar-width: none;
}
.ovw8-filter-row::-webkit-scrollbar { display: none; }
.ovw8-filter-chip {
  padding: 6px 16px;
  background: var(--ovw8-surface);
  border: 1px solid var(--ovw8-border);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ovw8-text-light);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.ovw8-filter-chip.ovw8-active,
.ovw8-filter-chip:hover {
  background: var(--ovw8-primary);
  color: #fff;
  border-color: var(--ovw8-primary);
}

/* GAME CARDS */
.ovw8-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.ovw8-game-card {
  display: block;
  background: var(--ovw8-surface-glass);
  border: 1px solid var(--ovw8-border);
  border-radius: var(--ovw8-border-radius);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--ovw8-shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ovw8-game-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ovw8-shadow);
}
.ovw8-card-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 75%;
  overflow: hidden;
}
.ovw8-card-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ovw8-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--ovw8-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  font-family: var(--ovw8-font-display);
}
.ovw8-card-info {
  padding: 12px;
}
.ovw8-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ovw8-text);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ovw8-card-sub {
  font-size: 12px;
  color: var(--ovw8-text-light);
  display: block;
}

/* BENEFITS */
.ovw8-benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}
.ovw8-benefit-card {
  padding: 20px;
  background: var(--ovw8-surface);
  border-radius: var(--ovw8-border-radius);
  border: 1px solid var(--ovw8-border);
  box-shadow: var(--ovw8-shadow-sm);
  text-align: center;
}
.ovw8-benefit-title {
  font-family: var(--ovw8-font-display);
  font-size: 18px;
  color: var(--ovw8-primary-dark);
  margin-bottom: 8px;
}
.ovw8-benefit-desc {
  font-size: 15px;
  color: var(--ovw8-text-light);
}

/* COMPARISON TABLE */
.ovw8-table-wrap {
  overflow-x: auto;
  margin-top: 16px;
  background: var(--ovw8-surface);
  border-radius: var(--ovw8-border-radius);
  box-shadow: var(--ovw8-shadow-sm);
}
.ovw8-feature-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}
.ovw8-feature-table th, 
.ovw8-feature-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--ovw8-border);
  font-size: 15px;
}
.ovw8-feature-table th {
  background: var(--ovw8-primary);
  color: #fff;
  font-weight: 600;
  font-family: var(--ovw8-font-display);
}
.ovw8-highlight {
  font-weight: 600;
  color: var(--ovw8-accent);
}

/* STEPS */
.ovw8-steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}
.ovw8-step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--ovw8-surface);
  padding: 16px;
  border-radius: var(--ovw8-border-radius);
  border: 1px solid var(--ovw8-border);
}
.ovw8-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--ovw8-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ovw8-font-display);
  font-weight: 700;
  font-size: 16px;
}
.ovw8-step-text h4 {
  font-size: 16px;
  color: var(--ovw8-primary-dark);
  margin-bottom: 4px;
}
.ovw8-step-text p {
  font-size: 15px;
  color: var(--ovw8-text-light);
}

/* PAYMENTS */
.ovw8-payment-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.ovw8-pay-chip {
  background: var(--ovw8-surface);
  border: 1px solid var(--ovw8-border);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ovw8-text-light);
}

/* FAQ */
.ovw8-faq-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
.ovw8-faq-item {
  background: var(--ovw8-surface);
  border: 1px solid var(--ovw8-border);
  border-radius: 8px;
  overflow: hidden;
}
.ovw8-faq-question {
  padding: 16px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  background: var(--ovw8-surface);
  list-style: none;
  position: relative;
  font-family: var(--ovw8-font-display);
  color: var(--ovw8-primary-dark);
}
.ovw8-faq-question::-webkit-details-marker { display: none; }
.ovw8-faq-question::after {
  content: '+';
  position: absolute;
  right: 16px;
  font-size: 18px;
  transition: transform 0.2s;
}
.ovw8-faq-item[open] .ovw8-faq-question::after {
  transform: rotate(45deg);
}
.ovw8-faq-answer {
  padding: 0 16px 16px;
  font-size: 15px;
  color: var(--ovw8-text-light);
  border-top: 1px solid var(--ovw8-border);
  margin-top: 8px;
  padding-top: 16px;
}

/* ARTICLE */
.ovw8-article {
  background: var(--ovw8-surface);
  padding: 24px;
  border-radius: var(--ovw8-border-radius);
  box-shadow: var(--ovw8-shadow-sm);
  border: 1px solid var(--ovw8-border);
}
.ovw8-article h2, .ovw8-article h3 {
  font-family: var(--ovw8-font-display);
  color: var(--ovw8-primary);
  margin: 24px 0 12px;
  line-height: 1.3;
}
.ovw8-article h2 { font-size: 24px; border-bottom: 2px solid var(--ovw8-border); padding-bottom: 8px; }
.ovw8-article h3 { font-size: 20px; }
.ovw8-article p { margin-bottom: 16px; font-size: 15px; color: var(--ovw8-text); }
.ovw8-article ul, .ovw8-article ol {
  margin: 0 0 16px 20px;
  font-size: 15px;
  color: var(--ovw8-text);
}
.ovw8-article li { margin-bottom: 8px; }
.ovw8-article img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 16px 0;
}
.ovw8-article blockquote {
  border-left: 4px solid var(--ovw8-accent);
  padding-left: 16px;
  margin: 16px 0;
  color: var(--ovw8-text-light);
  font-style: italic;
}
.ovw8-article table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}
.ovw8-article th, .ovw8-article td {
  border: 1px solid var(--ovw8-border);
  padding: 8px 12px;
  font-size: 15px;
}

/* PAGE SPECIFIC */
.ovw8-page-header {
  background-color: var(--ovw8-primary-dark);
  color: #fff;
  padding: 32px 0 40px;
}
.ovw8-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
}
.ovw8-crumb-item a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.ovw8-crumb-item a:hover { color: #fff; }
.ovw8-crumb-item::after {
  content: '>';
  color: rgba(255, 255, 255, 0.5);
  margin-left: 8px;
}
.ovw8-crumb-item:last-child::after { content: ''; }

.ovw8-page-title {
  font-family: var(--ovw8-font-display);
  font-size: 32px;
  margin-bottom: 12px;
  line-height: 1.2;
}
.ovw8-meta-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 800px;
}

.ovw8-page-content { padding-top: 0 !important; margin-top: -24px; }
.ovw8-page-extras { margin-top: 32px; }
.ovw8-extras-title {
  font-family: var(--ovw8-font-display);
  font-size: 20px;
  color: var(--ovw8-primary);
  margin-bottom: 16px;
  border-bottom: 2px solid var(--ovw8-border);
  padding-bottom: 8px;
}

/* PAGER & RELATED */
.ovw8-pager-wrapper {
  display: flex;
  justify-content: space-between;
  margin: 32px 0;
  gap: 16px;
}
.ovw8-pager-link {
  display: inline-block;
  padding: 10px 16px;
  background: var(--ovw8-surface);
  border: 1px solid var(--ovw8-border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--ovw8-primary);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s;
}
.ovw8-pager-link:hover {
  background: var(--ovw8-primary);
  color: #fff;
}

.ovw8-related-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ovw8-related-links a {
  color: var(--ovw8-primary-dark);
  text-decoration: none;
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--ovw8-border);
}
.ovw8-related-links a:hover { color: var(--ovw8-accent); }

/* FOOTER */
.ovw8-footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 40px 0 20px;
  border-top: 4px solid var(--ovw8-primary);
}
.ovw8-footer-top {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 32px;
}
.ovw8-footer-logo {
  font-family: var(--ovw8-font-display);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.ovw8-footer-tagline {
  font-size: 14px;
  color: #aaa;
  max-width: 300px;
}
.ovw8-footer-heading {
  font-family: var(--ovw8-font-display);
  font-size: 16px;
  color: var(--ovw8-accent);
  margin-bottom: 16px;
}
.ovw8-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ovw8-footer-links a {
  color: #ddd;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.ovw8-footer-links a:hover { color: #fff; }

.ovw8-footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  font-size: 12px;
  color: #888;
  text-align: center;
}
.ovw8-legal-text {
  margin-bottom: 12px;
  line-height: 1.5;
}

/* MEDIA QUERIES (MOBILE FIRST -> PHABLET -> TABLET -> DESKTOP) */
@media (min-width: 480px) {
  .ovw8-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .ovw8-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .ovw8-hero-container {
    flex-direction: row;
    align-items: center;
  }
  .ovw8-hero-content, .ovw8-hero-media {
    flex: 1;
  }
  .ovw8-hero-slogan {
    font-size: 40px;
  }
  .ovw8-card-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .ovw8-benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ovw8-steps-list {
    flex-direction: row;
  }
  .ovw8-step-item {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .ovw8-footer-top {
    flex-direction: row;
    justify-content: space-between;
  }
  .ovw8-footer-brand, .ovw8-footer-links-wrap {
    flex: 1;
  }
}

@media (min-width: 1024px) {
  .ovw8-card-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .ovw8-page-title {
    font-size: 40px;
  }
}
