:root {
  --bg: #1e1d32;
  --bg-header: #16152a;
  --bg-card: #292748;
  --green: #3fe28a;
  --green-dark: #2bc46f;
  --pink: #ff4fd8;
  --text: #f4f3fb;
  --text-dim: #b9b6d6;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-pill: 999px;
}

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

html {
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "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;
}

/* Buttons */

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

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #0f1a12;
  box-shadow: 0 0 0 rgba(63, 226, 138, 0);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(63, 226, 138, 0.45);
}

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

.btn-ghost:hover {
  background: rgba(255, 79, 216, 0.12);
  transform: translateY(-2px);
}

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

/* Header */

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

.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 */

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

.hero-card {
  position: relative;
  width: 100%;
  aspect-ratio: 4128 / 1024;
  border-radius: var(--radius-lg) var(--radius-lg) 60px var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.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 12px rgba(0, 0, 0, 0.4);
}

/* Pokies grid */

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

.section-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 28px;
  color: var(--text);
}

.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);
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 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(8, 40, 26, 0.75), rgba(110, 10, 85, 0.85));
  backdrop-filter: blur(1px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.pokie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(255, 79, 216, 0.25);
}

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

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

/* Article content */

.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;
}

.article-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  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(255, 255, 255, 0.1);
  margin: 40px 0;
}

.table-scroll {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.article-content th {
  background: var(--bg-card);
  color: var(--text);
  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 accordion */

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

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

.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(--green);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

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

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

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

/* Footer */

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

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

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

/* Responsive */

@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.35);
  }

  .hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(100deg, rgba(30, 29, 50, 0.92) 0%, rgba(30, 29, 50, 0.65) 40%, rgba(30, 29, 50, 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: 14px;
  }

  .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: 13px;
  }

  .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: 12px;
  }
}
