/* ==========================================================================
   Design DNA: mostbetvip.vip (Prefix: hyw5)
   Layout: dashboard-sidebar (left rail) | Mobile: bottom-tab-bar
   Typography: Chivo (Headings) + Libre Franklin (Body)
   Palette: Dark obsidian espresso, warm glass, electric cobalt & magenta
   WCAG AA Contrast Compliant | Mobile-First Responsive
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Chivo:wght@600;700;800;900&family=Libre+Franklin:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --hyw5-bg: #1C170C;
  --hyw5-surface: #45391E;
  --hyw5-ink: #F3F0EB;
  --hyw5-ink-muted: #C7C0B3;
  --hyw5-accent: #4C7EEB;
  --hyw5-accent-hover: #3B6CD4;
  --hyw5-accent2: #DA25B9;
  --hyw5-accent2-hover: #BF1EA1;
  --hyw5-on-accent: #111111;
  
  --hyw5-glass-bg: rgba(69, 57, 30, 0.6);
  --hyw5-glass-bg-hover: rgba(69, 57, 30, 0.85);
  --hyw5-glass-border: rgba(243, 240, 235, 0.14);
  --hyw5-glass-border-focus: rgba(76, 126, 235, 0.4);
  --hyw5-glass-radius: 14px;
  
  --hyw5-base-font: 17px;
  --hyw5-scale: 1.2;
  
  --hyw5-font-h: 'Chivo', system-ui, -apple-system, sans-serif;
  --hyw5-font-body: 'Libre Franklin', system-ui, -apple-system, sans-serif;
  
  --hyw5-sidebar-w: 260px;
  --hyw5-header-h: 70px;
  --hyw5-bottom-nav-h: 64px;
  
  --hyw5-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --hyw5-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --hyw5-shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  
  --hyw5-trans: all 0.22s ease-in-out;
}

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

html {
  font-size: var(--hyw5-base-font);
  scroll-behavior: smooth;
  background-color: var(--hyw5-bg);
  color: var(--hyw5-ink);
  font-family: var(--hyw5-font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at 10% 20%, #292010 0%, #1C170C 60%, #120E07 100%);
  background-attachment: fixed;
  color: var(--hyw5-ink);
  display: flex;
  flex-direction: column;
}

a {
  color: var(--hyw5-accent);
  text-decoration: none;
  transition: var(--hyw5-trans);
}

a:hover, a:focus-visible {
  color: #79A3FF;
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--hyw5-font-h);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-transform: none; /* sentence-case */
}

h1 { font-size: 2.25rem; margin-bottom: 1.2rem; }
h2 { font-size: 1.65rem; margin-top: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-top: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; margin-top: 1.25rem; margin-bottom: 0.5rem; }

p, ul, ol, table {
  margin-bottom: 1.25rem;
}

ul, ol {
  padding-left: 1.6rem;
}

li {
  margin-bottom: 0.4rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--hyw5-glass-radius);
}

/* Master Layout: Dashboard Sidebar on Desktop */
.hyw5-app-layout {
  display: flex;
  min-height: 100vh;
}

.hyw5-sidebar {
  width: var(--hyw5-sidebar-w);
  background: rgba(28, 23, 12, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-right: 1px solid var(--hyw5-glass-border);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 1.5rem 1.2rem;
}

.hyw5-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--hyw5-glass-border);
  margin-bottom: 1.5rem;
}

.hyw5-sidebar-logo img {
  height: 42px;
  width: auto;
  border-radius: 6px;
}

.hyw5-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.hyw5-nav-group-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hyw5-ink-muted);
  margin-top: 1rem;
  margin-bottom: 0.4rem;
  padding-left: 0.5rem;
}

.hyw5-nav-link {
  display: block;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  color: var(--hyw5-ink);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--hyw5-trans);
}

.hyw5-nav-link:hover, .hyw5-nav-link.active {
  background: var(--hyw5-surface);
  color: #FFFFFF;
  text-decoration: none;
  border-left: 3px solid var(--hyw5-accent);
}

.hyw5-sidebar-cta {
  margin-top: auto;
  padding-top: 1.5rem;
}

.hyw5-main-content {
  flex: 1;
  margin-left: var(--hyw5-sidebar-w);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Header */
.hyw5-top-header {
  height: var(--hyw5-header-h);
  background: rgba(28, 23, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hyw5-glass-border);
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.hyw5-header-brand {
  display: none;
}

.hyw5-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

/* Solid Block Buttons */
.hyw5-btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  font-family: var(--hyw5-font-h);
  font-weight: 800;
  font-size: 0.95rem;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: var(--hyw5-trans);
  text-decoration: none;
  line-height: 1;
}

.hyw5-btn-primary {
  background: var(--hyw5-accent);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(76, 126, 235, 0.35);
}

.hyw5-btn-primary:hover {
  background: var(--hyw5-accent-hover);
  color: #FFFFFF;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 126, 235, 0.5);
}

.hyw5-btn-secondary {
  background: var(--hyw5-accent2);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(218, 37, 185, 0.35);
}

.hyw5-btn-secondary:hover {
  background: var(--hyw5-accent2-hover);
  color: #FFFFFF;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(218, 37, 185, 0.5);
}

.hyw5-btn-outline {
  background: transparent;
  color: var(--hyw5-ink);
  border: 1px solid var(--hyw5-glass-border);
}

.hyw5-btn-outline:hover {
  background: var(--hyw5-surface);
  color: #FFFFFF;
  text-decoration: none;
}

.hyw5-btn-block {
  display: block;
  width: 100%;
}

/* Glass Cards */
.hyw5-card {
  background: var(--hyw5-glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--hyw5-glass-border);
  border-radius: var(--hyw5-glass-radius);
  padding: 1.5rem;
  box-shadow: var(--hyw5-shadow-glass);
  transition: var(--hyw5-trans);
  margin-bottom: 1.5rem;
}

.hyw5-card:hover {
  background: var(--hyw5-glass-bg-hover);
  border-color: var(--hyw5-glass-border-focus);
  transform: translateY(-3px);
}

/* Hero Section: Full Bleed Gradient Banner */
.hyw5-hero {
  background: linear-gradient(135deg, rgba(69, 57, 30, 0.9) 0%, rgba(28, 23, 12, 0.95) 100%),
              radial-gradient(circle at 80% 30%, rgba(76, 126, 235, 0.25) 0%, transparent 60%);
  border-bottom: 1px solid var(--hyw5-glass-border);
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.hyw5-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.hyw5-hero-tag {
  display: inline-block;
  background: rgba(76, 126, 235, 0.18);
  color: var(--hyw5-accent);
  border: 1px solid rgba(76, 126, 235, 0.35);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hyw5-hero-content h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hyw5-hero-lead {
  font-size: 1.1rem;
  color: var(--hyw5-ink-muted);
  margin-bottom: 1.75rem;
}

.hyw5-hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hyw5-hero-media img {
  width: 100%;
  border-radius: var(--hyw5-glass-radius);
  border: 1px solid var(--hyw5-glass-border);
  box-shadow: var(--hyw5-shadow-md);
}

/* Page Container */
.hyw5-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  width: 100%;
}

/* Breadcrumbs */
.hyw5-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--hyw5-ink-muted);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hyw5-breadcrumbs a {
  color: var(--hyw5-ink-muted);
}

.hyw5-breadcrumbs a:hover {
  color: var(--hyw5-accent);
}

.hyw5-breadcrumb-separator {
  opacity: 0.5;
}

/* E-E-A-T Expert Callout */
.hyw5-expert-callout {
  background: rgba(76, 126, 235, 0.08);
  border-left: 4px solid var(--hyw5-accent);
  padding: 1.2rem 1.5rem;
  border-radius: 0 10px 10px 0;
  margin-bottom: 1.8rem;
  font-size: 0.95rem;
}

.hyw5-expert-callout strong {
  color: #FFFFFF;
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--hyw5-font-h);
}

/* TL;DR Capsule */
.hyw5-tldr-box {
  background: rgba(218, 37, 185, 0.08);
  border: 1px solid rgba(218, 37, 185, 0.25);
  border-radius: var(--hyw5-glass-radius);
  padding: 1.4rem 1.6rem;
  margin-bottom: 2rem;
}

.hyw5-tldr-title {
  font-family: var(--hyw5-font-h);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--hyw5-accent2);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Direct Answer Capsule (GEO Optimization) */
.hyw5-answer-capsule {
  background: rgba(69, 57, 30, 0.45);
  border-left: 4px solid #52C41A;
  padding: 1rem 1.4rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 1.2rem;
  font-size: 0.98rem;
  color: #F8F7F4;
}

/* Tables */
.hyw5-table-wrapper {
  overflow-x: auto;
  margin-bottom: 1.8rem;
  border-radius: var(--hyw5-glass-radius);
  border: 1px solid var(--hyw5-glass-border);
}

.hyw5-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.hyw5-table th {
  background: var(--hyw5-surface);
  color: #FFFFFF;
  font-family: var(--hyw5-font-h);
  font-weight: 700;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--hyw5-glass-border);
}

.hyw5-table td {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid rgba(243, 240, 235, 0.06);
  color: var(--hyw5-ink);
}

.hyw5-table tr:last-child td {
  border-bottom: none;
}

.hyw5-table tr:hover td {
  background: rgba(69, 57, 30, 0.3);
}

/* Grid Layouts */
.hyw5-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.hyw5-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.hyw5-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 2rem;
}

/* FAQ Accordion / Cards */
.hyw5-faq-item {
  background: var(--hyw5-glass-bg);
  border: 1px solid var(--hyw5-glass-border);
  border-radius: var(--hyw5-glass-radius);
  margin-bottom: 1rem;
  padding: 1.3rem 1.6rem;
}

.hyw5-faq-q {
  font-family: var(--hyw5-font-h);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.6rem;
}

.hyw5-faq-a {
  color: var(--hyw5-ink-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* Step-by-Step Flow */
.hyw5-steps {
  list-style: none;
  padding-left: 0;
  counter-reset: hyw5-step-counter;
  margin-bottom: 2rem;
}

.hyw5-step-item {
  counter-increment: hyw5-step-counter;
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 1.5rem;
}

.hyw5-step-item::before {
  content: counter(hyw5-step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.4rem;
  height: 2.4rem;
  background: var(--hyw5-surface);
  border: 2px solid var(--hyw5-accent);
  color: #FFFFFF;
  font-family: var(--hyw5-font-h);
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* Responsible Play Banner (18+ PAGCOR / Global) */
.hyw5-responsible-banner {
  background: rgba(28, 23, 12, 0.95);
  border: 1px solid rgba(243, 240, 235, 0.15);
  border-radius: var(--hyw5-glass-radius);
  padding: 1.4rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hyw5-responsible-badge {
  background: #E53E3E;
  color: #FFFFFF;
  font-family: var(--hyw5-font-h);
  font-weight: 900;
  font-size: 1.4rem;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  line-height: 1;
}

.hyw5-responsible-text {
  font-size: 0.85rem;
  color: var(--hyw5-ink-muted);
}

.hyw5-responsible-text strong {
  color: #FFFFFF;
}

/* Footer: Centered Stack */
.hyw5-footer {
  background: #120E07;
  border-top: 1px solid var(--hyw5-glass-border);
  padding: 3rem 2rem 5rem 2rem;
  margin-top: auto;
  text-align: center;
}

.hyw5-footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hyw5-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  font-size: 0.9rem;
}

.hyw5-footer-links a {
  color: var(--hyw5-ink-muted);
}

.hyw5-footer-links a:hover {
  color: var(--hyw5-accent);
}

.hyw5-footer-disclaimer {
  font-size: 0.8rem;
  color: #8C8476;
  max-width: 750px;
  line-height: 1.6;
}

/* Mobile Bottom Tab Bar */
.hyw5-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--hyw5-bottom-nav-h);
  background: rgba(28, 23, 12, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--hyw5-glass-border);
  z-index: 1000;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.5rem;
}

.hyw5-bottom-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  color: var(--hyw5-ink-muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3rem 0;
}

.hyw5-bottom-tab:hover, .hyw5-bottom-tab.active {
  color: var(--hyw5-accent);
  text-decoration: none;
}

.hyw5-bottom-cta {
  background: var(--hyw5-accent);
  color: #FFFFFF !important;
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  margin: 0.4rem 0.2rem;
  font-weight: 800;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hyw5-sidebar {
    display: none;
  }
  .hyw5-main-content {
    margin-left: 0;
    padding-bottom: var(--hyw5-bottom-nav-h);
  }
  .hyw5-header-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .hyw5-header-brand img {
    height: 34px;
    width: auto;
  }
  .hyw5-bottom-bar {
    display: flex;
  }
  .hyw5-hero-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hyw5-grid-3, .hyw5-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  html {
    font-size: 16px;
  }
  .hyw5-hero {
    padding: 2rem 1.2rem;
  }
  .hyw5-hero-content h1 {
    font-size: 1.8rem;
  }
  .hyw5-container {
    padding: 1.5rem 1.2rem;
  }
  .hyw5-grid-2, .hyw5-grid-3, .hyw5-grid-4 {
    grid-template-columns: 1fr;
  }
  .hyw5-responsible-banner {
    flex-direction: column;
    text-align: left;
  }
}
