/* Hawaiian Casino global template */
:root {
  --hw-bg: #fff7ec;
  --hw-teal: #0b5d5b;
  --hw-teal-dark: #0b3b3a;
  --hw-pink: #e63b7a;
  --hw-orange: #e4691a;
  --hw-text: #123b3b;
  --hw-muted: #2e4f4a;
}

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

html, body { margin: 0; padding: 0; background: var(--hw-bg); }

body.hw-body {
  font-family: Roboto, system-ui, sans-serif;
  color: var(--hw-text);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--hw-teal); text-decoration: none; cursor: pointer; }
a:hover { color: var(--hw-pink); }

.hw-layout {
  display: flex;
  align-items: flex-start;
  min-height: 100vh;
  background: var(--hw-bg);
}

.hw-sidebar {
  position: sticky;
  top: 0;
  flex: 0 0 284px;
  width: 284px;
  height: 100vh;
  align-self: flex-start;
  z-index: 20;
  background: url('/wp-content/uploads/hawaiian/island-sand-bg.webp') center/cover no-repeat #fff1d6;
  border-right: 1px solid rgba(11, 93, 91, 0.16);
  transition: transform 300ms cubic-bezier(0.05, 0.7, 0.1, 1);
}

.hw-sidebar-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px 16px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,.06) 40%, rgba(255,255,255,.34));
}

.hw-logo-wrap {
  width: 100%;
  height: 132px;
  flex: 0 0 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  margin-bottom: 8px;
}

.hw-logo, .hw-header-logo, .hw-footer-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 3px 6px rgba(90, 50, 0, 0.22));
}

.hw-sidebar-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11, 93, 91, 0.28), transparent);
  margin: 4px 0 16px;
}

.hw-main-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
}

.hw-nav-slot--desktop .hw-main-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 99px;
  font: 500 15px/1 Roboto, sans-serif;
  color: #0e4544;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: background 200ms, transform 200ms, color 200ms;
}

.hw-nav-slot--desktop .hw-main-link:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(3px);
  color: var(--hw-teal);
}

.hw-sidebar-cta {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.hw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: fit-content;
  border-radius: 99px;
  cursor: pointer;
  font: 700 15px/1.15 Roboto, sans-serif;
  text-wrap: balance;
  transition: transform 150ms, box-shadow 150ms;
  text-align: center;
}

.hw-btn--block { width: 100%; padding: 16px 32px; }

.hw-btn--sm { padding: 12px 26px; font-size: 14px; }

.hw-btn--orange {
  padding: 16px 32px;
  background: linear-gradient(180deg, #ffd98a 0%, #ffb03a 40%, #f58b0a 78%, #e07a00 100%) padding-box,
    linear-gradient(180deg, #fff3c4 0%, #f0ce74 34%, #c79430 66%, #8e621a 100%) border-box;
  border: 4px solid transparent;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.6), inset 0 -4px 8px rgba(150,70,0,.32), 0 6px 16px rgba(120,60,0,.26);
  color: #6b2d00;
  letter-spacing: 0.4px;
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
}

.hw-btn--orange:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.6), 0 10px 22px rgba(120,60,0,.3);
}

.hw-btn--teal {
  padding: 14px 30px;
  background: linear-gradient(180deg, #5fdcd2 0%, #22b3ab 42%, #0e8c86 80%, #087771 100%) padding-box,
    linear-gradient(180deg, #fff3c4 0%, #f0ce74 34%, #c79430 66%, #8e621a 100%) border-box;
  border: 4px solid transparent;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.42), inset 0 -4px 8px rgba(0,55,52,.38), 0 6px 16px rgba(4,65,63,.26);
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,50,48,.45);
}

.hw-btn--teal:hover { transform: translateY(-1px) scale(1.03); }

.hw-btn--hero {
  padding: clamp(16px, 1.6vw, 20px) clamp(28px, 3vw, 40px);
  font-size: clamp(16px, 1.4vw, 19px);
}

.hw-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; width: 100%; }

.hw-header {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  padding: 4px clamp(12px, 2vw, 24px);
  position: sticky;
  top: 0;
  z-index: 30;
  background: url('/wp-content/uploads/hawaiian/island-sand-bg.webp') center/cover no-repeat #fff1d6;
  box-shadow: 0 1px 3px rgba(18,59,59,.12);
}

.hw-burger {
  display: none;
  margin-right: auto;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 99px;
  background: rgba(11, 93, 91, 0.08);
  cursor: pointer;
  color: var(--hw-teal);
  padding: 0;
}

.hw-header-logo { display: none; height: 44px; margin: 0 auto; }

.hw-nav-slot--mobile { display: none; }

.hw-header-auth { display: flex; align-items: center; gap: 8px; }

.hw-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(18, 59, 59, 0.45);
  z-index: 40;
}

.hw-hero {
  position: relative;
  width: 100%;
  min-height: clamp(360px, 42vw, 600px);
  display: flex;
  align-items: center;
  background-color: #ffe9be;
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hw-parrot-hero {
  position: absolute;
  left: clamp(12px, 4vw, 48px);
  bottom: clamp(8px, 2vw, 24px);
  width: clamp(72px, 9vw, 110px);
  height: auto;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 12px 22px rgba(90, 50, 0, 0.18));
}

@media (min-width: 1024px) {
  .hw-parrot-hero { display: none; }
}

.hw-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,244,214,.92) 0%, rgba(255,240,205,.72) 46%, rgba(255,240,205,0) 74%);
}

.hw-hero-inner {
  position: relative;
  max-width: 500px;
  padding: clamp(28px, 5vw, 64px) clamp(20px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(16px, 2.4vw, 28px);
}

.hw-hero-title {
  margin: 0;
  font: 700 clamp(30px, 4.4vw, 52px)/1.08 Roboto, sans-serif;
  letter-spacing: -1px;
  color: var(--hw-teal-dark);
  text-wrap: pretty;
  text-shadow: 0 2px 0 rgba(255,255,255,.5);
}

.hw-section { padding: clamp(28px, 4vw, 48px) clamp(16px, 3vw, 40px) 8px; }

.hw-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hw-h2 {
  margin: 0 0 6px;
  font: 700 clamp(22px, 2.6vw, 32px)/1.15 Roboto, sans-serif;
  letter-spacing: -0.5px;
  color: var(--hw-teal-dark);
}

.hw-accent { width: 72px; height: 4px; border-radius: 99px; }
.hw-accent--orange { background: linear-gradient(90deg, #ff7a1a, #ffb627); }
.hw-accent--teal { background: linear-gradient(90deg, #00a9a5, #8bc34a); }
.hw-accent--pink { background: linear-gradient(90deg, #e63b7a, #ff9e1b); }

.hw-carousel-nav { display: flex; gap: 8px; }

.hw-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 99px;
  border: 1px solid rgba(11, 93, 91, 0.24);
  background: #fff;
  color: var(--hw-teal);
  cursor: pointer;
  font-size: 18px;
}

.hw-icon-btn:hover { background: rgba(11, 93, 91, 0.08); }

.noscroll { scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.noscroll::-webkit-scrollbar { height: 8px; }
.noscroll::-webkit-scrollbar-thumb { background: rgba(11, 93, 91, 0.32); border-radius: 99px; }

.hw-win-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-snap-type: x mandatory;
}

.hw-winner {
  flex: 0 0 auto;
  width: 242px;
  scroll-snap-align: start;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(11, 93, 91, 0.1);
  box-shadow: 0 1px 3px rgba(18, 59, 59, 0.1);
  transition: box-shadow 200ms, transform 200ms;
}

.hw-winner:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(18, 59, 59, 0.16);
}

.hw-winner-thumb {
  width: 64px;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
  flex: 0 0 64px;
  background: #efe3cc;
}

.hw-winner-meta { min-width: 0; display: flex; flex-direction: column; gap: 6px; }

.hw-winner-user {
  font: 500 14px/1.2 Roboto, sans-serif;
  color: var(--hw-teal-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hw-winner-amt { font: 700 19px/1 Roboto, sans-serif; color: var(--hw-orange); }

.hw-winner-ago { font: 400 11px/1 Roboto, sans-serif; color: #6c7f79; }

.hw-content-wrap {
  position: relative;
  max-width: 880px;
}

.hw-content {
  font: 400 16px/1.7 Roboto, sans-serif;
  color: var(--hw-muted);
}

.hw-content h2, .hw-content h3 { color: var(--hw-teal-dark); font-weight: 700; }
.hw-content h2 { font-size: clamp(24px, 3vw, 36px); margin: 0 0 10px; }
.hw-content h3 { font-size: clamp(18px, 2vw, 22px); margin: 0 0 14px; color: var(--hw-teal); }
.hw-content p { margin: 0 0 14px; }
.hw-content ul, .hw-content ol { margin: 0; padding-left: 22px; }
.hw-content blockquote {
  margin: 0;
  padding: 24px 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0,169,165,.12), rgba(255,182,39,.14));
  border: 1px solid rgba(11, 93, 91, 0.14);
}

.hw-content table { width: 100%; border-collapse: collapse; font-size: 15px; }

.hw-content table th,
.hw-content table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(11, 93, 91, 0.1);
}

.hw-content table th {
  background: linear-gradient(90deg, #0b5d5b, #00a9a5);
  color: #fff;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.hw-parrot {
  display: none;
}

@keyframes hw-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hw-slot-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 16px;
  padding: 4px 0 18px;
}

.hw-slot {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #efe3cc;
  box-shadow: 0 1px 3px rgba(18, 59, 59, 0.14);
  transition: transform 200ms, box-shadow 200ms;
}

.hw-slot img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  display: block;
}

.hw-slot:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 20px rgba(18, 59, 59, 0.2);
}

.hw-slot--hidden { display: none; }

.hw-more-wrap { display: flex; justify-content: center; margin-top: 12px; }

.hw-btn-outline {
  min-height: 48px;
  padding: 0 32px;
  border-radius: 99px;
  border: 1px solid var(--hw-teal);
  background: transparent;
  color: var(--hw-teal);
  font: 500 15px/1 Roboto, sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hw-btn-outline:hover { background: rgba(11, 93, 91, 0.1); }

.hw-prov-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-snap-type: x proximity;
}

.hw-prov {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 172px;
  height: 82px;
  border-radius: 14px;
  background: var(--hw-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 200ms, background 200ms;
}

.hw-prov img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.hw-prov:hover {
  transform: translateY(-3px);
  background: var(--hw-teal);
}

.hw-footer {
  position: relative;
  overflow: hidden;
  background-color: #fff1d6;
  background-size: cover;
  background-position: center;
  border-top: 1px solid rgba(11, 93, 91, 0.14);
  margin-top: 24px;
}

.hw-footer-row {
  position: relative;
  z-index: 2;
  padding: clamp(32px, 5vw, 56px) clamp(16px, 3vw, 40px) 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(28px, 4vw, 48px);
}

.hw-footer-brand {
  flex: 0 1 260px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hw-footer-logo { max-width: 200px; max-height: 118px; }

.hw-footer-links {
  flex: 1 1 360px;
  min-width: 280px;
  max-width: 520px;
}

.hw-footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 11px 48px;
  align-items: start;
}

.hw-nav-slot--footer .hw-footer-nav {
  gap: 11px 48px;
}

.hw-footer-link {
  font: 600 15px/1.45 Roboto, sans-serif;
  color: #0b3b3a;
  display: block;
  padding: 2px 0;
}

.hw-footer-link:hover {
  color: #e63b7a;
}

.hw-turtle {
  position: absolute;
  right: clamp(-30px, -1vw, 0);
  bottom: 56px;
  width: clamp(170px, 24vw, 330px);
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 14px 24px rgba(90, 50, 0, 0.16));
}

.hw-footer-bar {
  position: relative;
  z-index: 2;
  margin-top: clamp(24px, 4vw, 40px);
  padding: 18px clamp(16px, 3vw, 40px);
  border-top: 1px solid rgba(11, 93, 91, 0.18);
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
}

.hw-footer-legal {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 720px;
}

.hw-footer-license {
  margin: 0;
  font: 400 12px/1.55 Roboto, sans-serif;
  color: #3d5a54;
}

.hw-footer-copy {
  margin: 0;
  font: 400 13px/1.4 Roboto, sans-serif;
  color: #3d5a54;
}

.hw-footer-age {
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--hw-teal-dark);
  margin: 0;
  font-size: 14px;
  white-space: nowrap;
}

.hw-nav-slot--mobile .hw-main-nav {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
}

.hw-nav-slot--mobile .hw-main-link {
  padding: 8px 14px;
  min-height: 40px;
  font-size: 14px;
}

@media (max-width: 768px) {
  table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}

@media (max-width: 900px) {
  .hw-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 50;
    box-shadow: 0 8px 24px rgba(18, 59, 59, 0.28);
    transform: translateX(-100%);
  }

  .hw-sidebar.is-open { transform: translateX(0); }

  .hw-scrim.is-open {
    display: block;
  }

  .hw-burger { display: flex; }

  .hw-header {
    justify-content: space-between;
    padding: 8px 12px;
  }

  .hw-header-logo { display: block; }

  .hw-login-desktop { display: none; }

  .hw-sidebar-login { display: inline-flex; }

  .hw-carousel-nav { display: none; }

  .hw-hero {
    min-height: 440px;
    align-items: flex-start;
    justify-content: center;
    background-position: center bottom;
  }

  .hw-hero-overlay {
    background: linear-gradient(180deg, rgba(255,244,214,.95) 0%, rgba(255,240,205,.8) 42%, rgba(255,240,205,0) 82%);
  }

  .hw-hero-inner {
    max-width: 420px;
    width: 100%;
    padding: 72px 20px 36px;
    align-items: center;
    text-align: center;
  }

  .hw-hero-title { font-size: 32px; }

  .hw-parrot-hero {
    width: 88px;
    left: 8px;
    bottom: 12px;
    opacity: 0.95;
  }

  .hw-slot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .hw-turtle { display: none; }

  .hw-footer-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hw-footer-links {
    width: 100%;
    max-width: 100%;
  }

  .hw-footer-nav,
  .hw-nav-slot--footer .hw-footer-nav {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 11px 24px;
    justify-items: center;
  }

  .hw-footer-bar {
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }

  .hw-footer-legal { align-items: center; }
}

@media (max-width: 640px) {
  .hw-slot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
}
