/*
Theme Name: Pokies Theme
Author: Custom
Version: 1.0
*/

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(214,170,71,0.10), transparent 22%),
    linear-gradient(180deg,#f8f6f1 0%,#f1eee7 100%);
  color: #1a1d24;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  color: #111827;
  letter-spacing: -0.03em;
  font-weight: 800;
}

p {
  margin: 0 0 14px;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: auto;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(17,24,39,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand a {
  text-decoration: none;
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  color: #111827;
  display: inline-block;
  transition: opacity .2s ease;
}

.brand a:hover {
  opacity: .85;
}

/* HERO */

.hero-wrap {
  padding: 0 0 8px;
}

.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: linear-gradient(135deg,#121a28,#1c2536);
  color: #fff;
  padding: 28px 0 20px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.12);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 25%,rgba(212,170,75,0.16),transparent 18%),
    radial-gradient(circle at 15% 10%,rgba(255,255,255,0.04),transparent 18%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.hero-left {
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  color: #f6e8bf;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-title {
  font-size: clamp(2rem, 4.4vw, 3.55rem);
  line-height: 0.96;
  margin-bottom: 10px;
  color: #ffffff !important;
  letter-spacing: -0.045em;
  max-width: 720px;
}

.hero-text {
  max-width: 720px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 14px;
}

.hero-actions {
  margin-bottom: 12px;
}

.btn-primary {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 14px;
  font-weight: 800;
  background: linear-gradient(135deg,#d4aa4b,#b98522);
  color: #111827;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(185,133,34,0.24);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.hero-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.70);
  font-size: 0.84rem;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 16px 18px;
}

.hero-card-title {
  font-size: 0.9rem;
  color: #f7e5af;
  margin-bottom: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-stat {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #fff;
}

.hero-stat:last-child {
  border-bottom: 0;
}

.hero-stat strong {
  color: #f7e5af;
  text-align: right;
}

.hero-author-side {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 14px 18px;
}

.hero-author-content {
  min-width: 0;
}

.hero-author-tag {
  display: inline-block;
  margin-bottom: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  color: #f6e8bf;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-author-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}

.hero-author-role {
  font-size: 0.84rem;
  font-weight: 700;
  color: #f0d898;
  margin-bottom: 4px;
}

.hero-author-bio {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.hero-author-bio p {
  margin: 0;
}

/* CONTENT WRAPPER */

.content-shell {
  padding: 14px 0 60px;
}

.content-card {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(17,24,39,0.07);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.05);
}

/* CASINO LIST */

.casino-table {
  margin: 0 0 24px;
  background: #fff;
  border: 1px solid #e7e5df;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.04);
}

.casino-table-title {
  font-size: 1.9rem;
  margin-bottom: 18px;
}

.casino-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.casino-item {
  display: grid;
  grid-template-columns: 44px 90px 1fr auto;
  gap: 18px;
  padding: 18px;
  border: 1px solid #ece8de;
  border-radius: 18px;
  margin-bottom: 14px;
  background: #fff;
  align-items: center;
}

.casino-item:last-child {
  margin-bottom: 0;
}

.casino-position {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  background: linear-gradient(135deg,#f7e7bd,#ecd088);
}

.casino-logo {
  align-self: start;
}

.casino-logo-frame {
  width: 80px;
  height: 80px;
  background: #fff;
  border: 1px solid #ece8de;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.casino-logo-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.casino-content {
  min-width: 0;
  align-self: start;
}

.casino-name {
  font-size: 1.16rem;
  font-weight: 800;
  color: #111827;
}

.casino-bonus {
  font-weight: 800;
  margin: 4px 0;
  color: #111827;
}

.casino-desc {
  font-size: 0.94rem;
  color: #5b6473;
  margin: 0;
}

.casino-cta {
  align-self: center;
}

.casino-cta a {
  display: inline-block;
  padding: 13px 20px;
  background: linear-gradient(135deg,#d4aa4b,#b98522);
  color: #111827;
  font-weight: 800;
  border-radius: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.casino-cta a:hover {
  transform: translateY(-1px);
}

/* TOC */

.toc-box {
  margin: 0 0 28px;
  background: #ffffff;
  border: 1px solid #e7e5df;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,0.04);
}

.toc-box summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
  background: #fffdf9;
  border-bottom: 1px solid #efe9dc;
}

.toc-box summary::-webkit-details-marker {
  display: none;
}

.toc-box summary::after {
  content: "+";
  float: right;
  font-size: 1.2rem;
  color: #b98522;
  line-height: 1;
}

.toc-box[open] summary::after {
  content: "−";
}

.toc-inner {
  padding: 16px 20px 14px;
}

.toc-list {
  margin: 0;
  padding-left: 18px;
}

.toc-list li {
  margin-bottom: 8px;
  color: #374151;
}

.toc-list a {
  color: #374151;
  font-weight: 700;
  text-decoration: none;
}

/* ARTICLE */

.article-content h2 {
  font-size: 1.8rem;
  margin-top: 26px;
}

.article-content h3 {
  font-size: 1.4rem;
  margin-top: 20px;
}

/* FAQ */

.faq-section {
  margin-top: 30px;
  background: #fff;
  border: 1px solid #e7e5df;
  border-radius: 22px;
  padding: 24px;
}

.faq-item {
  border: 1px solid #ece8de;
  border-radius: 14px;
  margin-bottom: 12px;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-question {
  padding: 15px;
  font-weight: 800;
  cursor: pointer;
}

.faq-answer {
  padding: 0 15px 15px;
  color: #5b6473;
}

/* FOOTER */

.site-footer {
  margin-top: 40px;
  padding: 34px 0;
  border-top: 1px solid rgba(17,24,39,0.08);
  background: rgba(255,255,255,0.74);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #4b5563;
  font-weight: 700;
  text-decoration: none;
}

.footer-copy {
  color: #6b7280;
}

.footer-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #111827;
  color: #f7e5af;
  font-weight: 900;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .casino-item {
    grid-template-columns: 1fr;
  }

  .casino-cta {
    margin-top: 10px;
  }

  .casino-cta a {
    width: 100%;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-stat {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stat strong {
    text-align: left;
  }

  .content-card {
    padding: 20px;
  }
}
/* MOBILE-FIRST FOCUS ON CASINO LIST */

/* LARGE PHONES / MODERN MOBILES */
@media (max-width: 768px) {
  .hero {
    padding: 22px 0 16px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 2.7rem);
    line-height: 0.97;
    margin-bottom: 8px;
    max-width: 100%;
  }

  .hero-text {
    font-size: 0.94rem;
    margin-bottom: 12px;
    max-width: 100%;
  }

  .hero-actions {
    margin-bottom: 10px;
  }

  .btn-primary {
    padding: 12px 20px;
    font-size: 0.96rem;
  }

  .hero-meta {
    gap: 10px;
    font-size: 0.8rem;
  }

  .hero-side {
    gap: 12px;
  }

  .hero-card,
  .hero-author-side {
    padding: 14px 16px;
    border-radius: 18px;
  }

  .hero-card-title {
    font-size: 0.82rem;
    margin-bottom: 6px;
  }

  .hero-stat {
    padding: 8px 0;
    font-size: 0.9rem;
  }

  .hero-author-tag {
    font-size: 0.64rem;
    padding: 3px 7px;
    margin-bottom: 5px;
  }

  .hero-author-name {
    font-size: 0.94rem;
  }

  .hero-author-role {
    font-size: 0.8rem;
    margin-bottom: 2px;
  }

  .hero-author-bio {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .content-shell {
    padding: 10px 0 40px;
  }

  .content-card {
    padding: 18px;
    border-radius: 20px;
  }

  .casino-table {
    padding: 18px;
    border-radius: 18px;
    margin-bottom: 20px;
  }

  .casino-table-title {
    font-size: 1.55rem;
    margin-bottom: 14px;
  }

  .casino-item {
    grid-template-columns: 40px 74px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
    align-items: start;
  }

  .casino-position {
    width: 40px;
    height: 40px;
    font-size: 0.88rem;
  }

  .casino-logo {
    width: 74px;
  }

  .casino-logo-frame {
    width: 68px;
    height: 68px;
    padding: 7px;
    border-radius: 14px;
  }

  .casino-content {
    min-width: 0;
  }

  .casino-name {
    font-size: 1.02rem;
    line-height: 1.15;
    margin-bottom: 3px;
  }

  .casino-bonus {
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 5px;
  }

  .casino-desc {
    font-size: 0.87rem;
    line-height: 1.45;
  }

  .casino-cta {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 4px;
  }

  .casino-cta a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    font-size: 0.94rem;
  }

  .toc-box {
    margin-bottom: 20px;
    border-radius: 16px;
  }

  .toc-box summary {
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  .toc-inner {
    padding: 14px 16px 12px;
  }

  .article-content h2,
  .faq-section h2 {
    font-size: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* SMALL PHONES ONLY */
@media (max-width: 480px) {
  .hero {
    padding: 18px 0 12px;
  }

  .hero-badge {
    margin-bottom: 8px;
    font-size: 0.74rem;
    padding: 5px 10px;
  }

  .hero-title {
    font-size: 1.95rem;
    line-height: 0.96;
  }

  .hero-text {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  .hero-text p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-meta {
    display: none;
  }

  .hero-card {
    display: none;
  }

  .hero-author-side {
    display: none;
  }

  .content-card {
    padding: 16px;
    border-radius: 18px;
  }

  .casino-table {
    padding: 16px;
  }

  .casino-table-title {
    font-size: 1.42rem;
  }

  .casino-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .casino-logo {
    width: 100%;
    justify-self: start;
  }

  .casino-logo-frame {
    width: 64px;
    height: 64px;
  }

  .casino-position {
    width: 36px;
    height: 36px;
  }

  .casino-name {
    font-size: 1rem;
  }

  .casino-bonus {
    font-size: 0.88rem;
  }

  .casino-desc {
    font-size: 0.85rem;
  }

  .casino-cta a {
    font-size: 0.92rem;
  }
}


@media (max-width: 480px) {
  .hero-text.hero-text-toggle {
    cursor: pointer;
  }

  .hero-text.hero-text-toggle p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.2s ease;
  }

  .hero-text.hero-text-toggle.is-open p {
    display: block;
    overflow: visible;
  }
}