:root {
  --bg: #100e12;
  --bg-header: #0a0910;
  --bg-card: #1c1922;
  --gold: #f2b544;
  --gold-dark: #c98d1f;
  --red: #ff4d5e;
  --text: #f3efe6;
  --text-dim: #a7a1ae;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-pill: 10px;
}

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

html {
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Sora", "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.4;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  text-decoration: none;
  color: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1a1206;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 8px 22px rgba(242, 181, 68, 0.35);
}

.btn-ghost {
  background: transparent;
  border-color: var(--red);
  color: var(--red);
}

.btn-ghost:hover {
  background: rgba(255, 77, 94, 0.1);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  border-bottom: 1px solid rgba(242, 181, 68, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  height: 42px;
  width: auto;
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero {
  padding: 32px 24px 0;
}

.hero-card {
  position: relative;
  width: 100%;
  aspect-ratio: 4128 / 1024;
  border-radius: var(--radius-lg) 54px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(242, 181, 68, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 6%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  max-width: 40%;
}

.hero-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.pokies {
  padding: 64px 24px 80px;
}

.section-title {
  position: relative;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 28px;
  padding-left: 18px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--gold), var(--red));
}

.pokies-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.pokie-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pokie-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.pokie-name {
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
}

.pokie-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, rgba(30, 10, 8, 0.82), rgba(10, 8, 14, 0.88));
  backdrop-filter: blur(1px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.pokie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 181, 68, 0.5);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.45);
}

.pokie-card:hover img {
  transform: scale(1.08);
}

.pokie-card:hover .pokie-overlay {
  opacity: 1;
}

.article {
  padding: 20px 24px 80px;
}

.article-content {
  max-width: 860px;
  margin: 0 auto;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.7;
}

.article-content h1 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 20px;
}

.article-content h2 {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  margin: 40px 0 16px;
  border-left: 3px solid var(--gold);
  padding-left: 14px;
}

.article-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  margin: 24px 0 8px;
}

.article-content p {
  margin-bottom: 16px;
}

.article-content strong {
  color: var(--text);
  font-weight: 700;
}

.article-content ol {
  margin: 0 0 16px 20px;
  padding-left: 4px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content hr {
  border: none;
  border-top: 1px solid rgba(242, 181, 68, 0.15);
  margin: 40px 0;
}

.table-scroll {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius-md);
  border: 1px solid rgba(242, 181, 68, 0.18);
}

.article-content table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 14px;
}

.article-content th {
  background: var(--bg-card);
  color: var(--gold);
  text-align: left;
  padding: 12px 16px;
  font-weight: 700;
  white-space: nowrap;
}

.article-content td {
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.article-content tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 24px;
}

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  line-height: 1;
  color: var(--red);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] summary {
  color: var(--gold);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item p {
  margin: 0;
  padding: 16px 0 20px;
}

.site-footer {
  padding: 32px 24px 40px;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  border-top: 1px solid rgba(242, 181, 68, 0.12);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  height: 28px;
  width: auto;
}

@media (max-width: 1024px) {
  .pokies-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-content {
    max-width: 55%;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 20px 16px 0;
  }

  .hero-card {
    aspect-ratio: 3 / 2;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  }

  .hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(100deg, rgba(16, 14, 18, 0.92) 0%, rgba(16, 14, 18, 0.65) 40%, rgba(16, 14, 18, 0.1) 75%);
  }

  .hero-img {
    object-position: 60% center;
  }

  .hero-content {
    max-width: 65%;
    left: 5%;
    gap: 16px;
  }

  .hero-title {
    font-size: clamp(18px, 5.5vw, 26px);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  }

  .btn-lg {
    padding: 10px 24px;
    font-size: 13px;
  }

  .pokies {
    padding-top: 96px;
  }

  .pokies-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-inner {
    height: 68px;
  }

  .logo {
    height: 32px;
  }

  .btn {
    padding: 10px 18px;
    font-size: 12px;
  }

  .article {
    padding: 16px 16px 56px;
  }

  .article-content {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .header-actions {
    gap: 8px;
  }

  .logo {
    height: 26px;
  }

  .btn {
    padding: 8px 14px;
    font-size: 11px;
  }
}
