/* ==========================================================================
   cazinis.com — Ink-and-signal editorial archive
   Palette: cream #F8F0E3 | near-black #171717 | signal red #C94F48
            muted olive #73755E | steel blue #64778A | warm gray #B9AB9A
            footer #111111
   ========================================================================== */

/* --- Reset & Base ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #F8F0E3;
  color: #171717;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Typography -------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.2rem; }

p { margin-bottom: 0.75rem; }

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- Top Warning Bar --------------------------------------------- */
.top-warning {
  background: #171717;
  color: #F8F0E3;
  text-align: center;
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  line-height: 1.4;
}

/* --- Header / Logo Band ------------------------------------------ */
.site-header {
  background: #F8F0E3;
  border-bottom: 2px solid #171717;
  position: relative;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  position: relative;
}

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

.site-logo svg, .site-logo img {
  width: 100%;
  height: 100%;
}

/* Desktop: no menu buttons */
.desktop-nav { display: none; }

/* Mobile burger */
.burger-btn {
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #171717;
  margin: 5px 0;
  transition: transform 0.2s, opacity 0.2s;
  border-radius: 1px;
}

.burger-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger-btn.open span:nth-child(2) {
  opacity: 0;
}
.burger-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  width: 100%;
  height: calc(100vh - 64px);
  background: #F8F0E3;
  z-index: 200;
  padding: 2rem 1.5rem;
  overflow-y: auto;
  border-top: 2px solid #171717;
}

.mobile-menu.open { display: block; }

.mobile-menu nav a {
  display: block;
  padding: 0.85rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  border-bottom: 1px solid #B9AB9A;
  color: #171717;
}

/* --- Hero -------------------------------------------------------- */
.hero {
  background: #F8F0E3;
  padding: 2.5rem 0 2.5rem;
  border-bottom: 2px solid #171717;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  max-width: 720px;
}

.hero p {
  font-size: 1rem;
  color: #333;
  max-width: 660px;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.hero-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border: 1.5px solid #171717;
  color: #171717;
}

/* --- Section spacing --------------------------------------------- */
section { padding: 2.5rem 0; border-bottom: 1px solid #B9AB9A; }
section:last-of-type { border-bottom: none; }

.section-title {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #171717;
  display: inline-block;
}

/* --- Highlighted Card -------------------------------------------- */
.card-highlight {
  background: #fff;
  border: 2px solid #171717;
  margin-bottom: 1.5rem;
}

.card-highlight-top {
  background: #171717;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
}

.card-highlight-top img {
  height: 40px;
  width: auto;
}

.card-highlight-body {
  padding: 1.5rem 1.25rem;
}

.card-highlight-score {
  display: inline-block;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #C94F48;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.score-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64778A;
  display: block;
  margin-bottom: 0.25rem;
}

.card-highlight-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: #333;
}

.card-highlight-bullets {
  margin-bottom: 1.25rem;
}

.card-highlight-bullets li {
  font-size: 0.9rem;
  padding: 0.35rem 0 0.35rem 1.2rem;
  position: relative;
  color: #333;
}

.card-highlight-bullets li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #C94F48;
}

.card-highlight-note {
  font-size: 0.78rem;
  color: #73755E;
  margin-bottom: 1rem;
  font-style: italic;
}

/* --- Standard Cards (wide rows, 1 per breakpoint) ---------------- */
.card-standard {
  background: #fff;
  border: 2px solid #171717;
  margin-bottom: 1.25rem;
}

.card-standard-inner {
  display: flex;
  flex-direction: column;
}

.card-standard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #B9AB9A;
}

.card-standard-top img {
  height: 36px;
  width: auto;
}

.card-standard-score {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #C94F48;
  text-align: right;
}

.card-standard-body {
  padding: 1.25rem;
}

.card-standard-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 0.85rem;
  color: #333;
}

.card-standard-bullets {
  margin-bottom: 1rem;
}

.card-standard-bullets li {
  font-size: 0.87rem;
  padding: 0.3rem 0 0.3rem 1.2rem;
  position: relative;
  color: #444;
}

.card-standard-bullets li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #64778A;
}

.card-standard-note {
  font-size: 0.76rem;
  color: #73755E;
  margin-bottom: 1rem;
  font-style: italic;
}

/* --- CTA Button -------------------------------------------------- */
.cta-btn {
  display: inline-block;
  background: #171717;
  color: #F8F0E3;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.7rem 1.5rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
}

.cta-btn:hover {
  background: #C94F48;
}

/* --- Three Step Guide -------------------------------------------- */
.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.step-item {
  padding: 1rem 0;
  border-bottom: 1px solid #B9AB9A;
}

.step-item:last-child { border-bottom: none; }

.step-number {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #C94F48;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.step-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.step-item p {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.6;
}

/* --- Payment Methods Block --------------------------------------- */
.payment-info p {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.7;
}

/* --- Regulator / Institution Block -------------------------------- */
.regulator-info p {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.7;
}

/* --- Player Protection Block ------------------------------------- */
.protection-info p {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.7;
}

/* --- FAQ --------------------------------------------------------- */
.faq-item {
  padding: 1rem 0;
  border-bottom: 1px solid #B9AB9A;
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #171717;
}

.faq-question::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: #C94F48;
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.open .faq-question::after {
  content: "−";
}

.faq-answer {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.7;
  padding-top: 0.6rem;
  display: none;
}

.faq-item.open .faq-answer { display: block; }

/* --- Footer ------------------------------------------------------ */
.site-footer {
  background: #111111;
  color: #ccc;
  padding: 2.5rem 0;
  font-size: 0.88rem;
  line-height: 1.7;
}

.site-footer .container { max-width: 880px; }

.footer-paragraphs p {
  margin-bottom: 1.1rem;
  color: #bbb;
}

.footer-resources {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #333;
}

.footer-resources h3 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1rem;
  color: #F8F0E3;
  margin-bottom: 1rem;
}

.footer-resources-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.footer-resources-grid a {
  display: block;
  transition: opacity 0.2s;
}

.footer-resources-grid a:hover { opacity: 0.7; }

.footer-resources-grid img {
  height: 40px;
  width: auto;
}

.footer-resources-grid .resource-no-link img {
  cursor: default;
}

.footer-mandatory {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #333;
  font-size: 0.82rem;
  color: #888;
  text-align: center;
}

.footer-bottom-warning {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: #888;
  text-align: center;
  line-height: 1.5;
}

/* --- 18+ Popup Modal --------------------------------------------- */
.age-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.age-overlay.active {
  opacity: 1;
  visibility: visible;
}

.age-modal {
  background: #F8F0E3;
  border: 2px solid #171717;
  padding: 2rem 1.5rem;
  max-width: 380px;
  width: 90%;
  text-align: center;
}

.age-modal h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  border-bottom: none;
  display: block;
}

.age-modal p {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 1.25rem;
}

.age-modal-btns {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.age-btn {
  padding: 0.6rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  border: 2px solid #171717;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.age-btn-yes {
  background: #171717;
  color: #F8F0E3;
}

.age-btn-yes:hover {
  background: #C94F48;
  border-color: #C94F48;
}

.age-btn-no {
  background: transparent;
  color: #171717;
}

.age-btn-no:hover {
  background: #171717;
  color: #F8F0E3;
}

/* --- Cookie Banner ----------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: #171717;
  color: #F8F0E3;
  padding: 1rem 1.25rem;
  z-index: 9998;
  display: none;
  font-size: 0.85rem;
}

.cookie-banner.active { display: block; }

.cookie-inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.cookie-inner p {
  margin: 0;
  font-size: 0.82rem;
  flex: 1;
  min-width: 200px;
}

.cookie-btns {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.45rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid #F8F0E3;
  background: transparent;
  color: #F8F0E3;
  cursor: pointer;
  transition: background 0.2s;
}

.cookie-btn-accept {
  background: #C94F48;
  border-color: #C94F48;
}

.cookie-btn-accept:hover {
  background: #b33f38;
}

.cookie-btn-reject:hover {
  background: rgba(255,255,255,0.1);
}

/* --- Public page styling ----------------------------------------- */
.page-content {
  padding: 2.5rem 0;
  min-height: 50vh;
}

.page-content h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.page-content h2 {
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.page-content p, .page-content li {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.7;
}

.page-content ul {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.page-content ul li {
  margin-bottom: 0.3rem;
}

.page-content .back-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-weight: 600;
  color: #C94F48;
  text-decoration: underline;
}

/* --- Thank-you page ---------------------------------------------- */
.thank-you-content {
  text-align: center;
  padding: 4rem 0;
}

.thank-you-content h1 {
  margin-bottom: 1rem;
}

/* --- Internal card redirect pages -------------------------------- */
.redirect-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding: 2rem 1.25rem;
}

.redirect-box {
  text-align: center;
  max-width: 480px;
}

.redirect-box h1 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.redirect-box p {
  font-size: 0.92rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.redirect-spinner {
  width: 32px;
  height: 32px;
  border: 2px solid #B9AB9A;
  border-top-color: #C94F48;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin { to { transform: rotate(360deg); } }

.redirect-fallback {
  display: inline-block;
  margin-top: 0.75rem;
}

/* --- Responsive -------------------------------------------------- */

/* Tablet */
@media (max-width: 768px) {
  .container { padding: 0 1rem; }
  h1 { font-size: 1.8rem; }
  .hero h1 { font-size: 1.7rem; }
  .hero { padding: 1.5rem 0 2rem; }
  .card-highlight-top img { height: 34px; }
  .card-standard-top img { height: 30px; }
  section { padding: 1.75rem 0; }
}

/* Mobile */
@media (max-width: 640px) {
  .burger-btn { display: block; }
  .header-inner { justify-content: center; }
  .site-logo { width: 36px; height: 36px; }

  h1 { font-size: 1.5rem; }
  .hero h1 { font-size: 1.4rem; }
  .hero p { font-size: 0.92rem; }
  .hero { padding: 1.25rem 0 1.5rem; }

  .card-highlight-body { padding: 1rem; }
  .card-highlight-top { padding: 0.6rem 1rem; }
  .card-highlight-top img { height: 30px; }
  .card-highlight-score { font-size: 1.6rem; }

  .card-standard-top { padding: 0.75rem 1rem; }
  .card-standard-top img { height: 26px; }
  .card-standard-score { font-size: 1.3rem; }
  .card-standard-body { padding: 1rem; }

  .section-title { font-size: 1.15rem; }

  .footer-resources-grid { gap: 0.75rem; }
  .footer-resources-grid img { height: 32px; }

  .cookie-inner { flex-direction: column; text-align: center; }
  .cookie-btns { width: 100%; justify-content: center; }

  .age-modal { padding: 1.5rem 1rem; }

  .redirect-box h1 { font-size: 1.1rem; }
}

/* Small mobile */
@media (max-width: 400px) {
  .hero h1 { font-size: 1.2rem; }
  .card-highlight-score { font-size: 1.3rem; }
  .card-standard-score { font-size: 1.1rem; }
}
