/* ========================================
   CAMALZE.COM — MAIN STYLESHEET
   Design: premium dark gold casino affiliate
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ======== RESET & BASE ======== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-primary:    #0d0f1a;
  --bg-secondary:  #121526;
  --bg-card:       #161929;
  --bg-card-hover: #1c2035;
  --gold:          #c9a84c;
  --gold-light:    #e8c96a;
  --gold-dark:     #a07c30;
  --text-primary:  #f0f2f8;
  --text-secondary:#a8b0c8;
  --text-muted:    #6b7494;
  --green-badge:   #1db954;
  --border-glass:  rgba(201,168,76,0.18);
  --shadow-gold:   0 0 30px rgba(201,168,76,0.15);
  --radius-card:   14px;
  --radius-btn:    8px;
  --transition:    0.3s cubic-bezier(0.4,0,0.2,1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-light);
}

/* ======== TYPOGRAPHY ======== */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  letter-spacing: -0.01em;
}

p {
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.8;
}

/* ======== LAYOUT ======== */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ======== HERO / HEADER ======== */
.hero {
  position: relative;
  background: linear-gradient(180deg, #0a0c17 0%, #0d0f1a 60%, #121526 100%);
  padding: 80px 0 120px;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(201,168,76,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(30,50,120,0.15) 0%, transparent 60%);
  pointer-events: none;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.5;
}

.hero__inner {
  position: relative;
  z-index: 2;
}

.hero__title {
  color: var(--text-primary);
  margin-bottom: 48px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}

.hero__title span {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ======== BRAND CARD ======== */
.brand-card-wrapper {
  position: relative;
  z-index: 10;
  margin-top: -50px;
  padding-bottom: 60px;
}

.brand-card {
  background: linear-gradient(135deg, rgba(22,25,41,0.95) 0%, rgba(20,23,38,0.98) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), var(--shadow-gold);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 60px rgba(0,0,0,0.6), 0 0 50px rgba(201,168,76,0.25);
  color: inherit;
}

.brand-card__left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.badge-recommended {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, var(--green-badge), #17a348);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

.badge-recommended::before {
  content: '★';
  font-size: 0.7rem;
}

.brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand-card__center {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bonus-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 4px;
  padding: 2px 8px;
  display: inline-block;
  width: fit-content;
}

.bonus-desc {
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 500;
}

.brand-card__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 110px;
}

.brand-card__rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stars-row {
  display: flex;
  gap: 3px;
  align-items: center;
}

.star-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.star-img.visible {
  opacity: 1;
  transform: scale(1);
}

.brand-score {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: #0d0f1a;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  box-shadow: 0 4px 20px rgba(201,168,76,0.35);
}

.btn-play:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px rgba(201,168,76,0.5);
  filter: brightness(1.1);
  color: #0d0f1a;
}

/* ======== CONTENT SECTIONS ======== */
.content-section {
  padding: 72px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  background: var(--bg-primary);
}

.content-section:nth-child(even) {
  background: var(--bg-secondary);
}

.section-heading {
  color: var(--gold-light);
  margin-bottom: 28px;
  position: relative;
  padding-bottom: 18px;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
}

.content-section p + p {
  margin-top: 18px;
}

/* ======== SCROLL ANIMATION ======== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ======== 18+ DISCLAIMER BAR ======== */
.disclaimer-18 {
  background: #0a0c16;
  border-top: 1px solid rgba(201,168,76,0.12);
  border-bottom: 1px solid rgba(201,168,76,0.12);
  padding: 20px 0;
}

.disclaimer-18__inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.disclaimer-18__icon {
  flex-shrink: 0;
  width: 44px;
  height: auto;
  opacity: 0.9;
}

.disclaimer-18__text {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.disclaimer-18__text a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ======== FOOTER ======== */
footer {
  background: #090b14;
  padding: 60px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-col h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.footer-col p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-col p + p {
  margin-top: 12px;
}

.footer-col h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 20px 0 8px;
  letter-spacing: 0.04em;
}

/* ======== RESPONSIBLE GAMING LOGOS ======== */
.responsible-logos {
  padding: 36px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.responsible-logos__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.responsible-logos__row:last-child {
  margin-bottom: 0;
}

.resp-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
  transition: opacity var(--transition), transform var(--transition);
}

.resp-logo-link:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.resp-logo-link img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.resp-logo-link.large img {
  height: 64px;
}

/* footer arrow decoration */
.footer-arrow {
  height: 32px;
  width: auto;
  opacity: 0.5;
  flex-shrink: 0;
}

/* ======== FOOTER PHONE ROW ======== */
.footer-phone {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-phone a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer-phone__number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

.footer-phone a:hover .footer-phone__number {
  color: var(--gold-light);
}

.footer-phone__label {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
  max-width: 160px;
}

.footer-phone__icon {
  height: 56px;
  width: auto;
}

/* ======== FOOTER BOTTOM ======== */
.footer-bottom {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 24px;
}

.footer-links a {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-links a + a {
  border-left: 1px solid rgba(255,255,255,0.12);
  padding-left: 24px;
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.6;
}

/* ======== COOKIE BANNER ======== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(135deg, rgba(18,21,38,0.98) 0%, rgba(13,15,26,0.98) 100%);
  border-top: 1px solid var(--border-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 18px 24px;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.5);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner__icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.cookie-banner__text {
  flex: 1;
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.5;
  min-width: 200px;
}

.cookie-banner__text a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #0d0f1a;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 10px 22px;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-cookie-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.4);
}

.btn-cookie-decline {
  background: transparent;
  color: var(--text-muted);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn-cookie-decline:hover {
  border-color: rgba(255,255,255,0.3);
  color: var(--text-primary);
}

/* ======== POLICY PAGE STYLES ======== */
.policy-hero {
  background: linear-gradient(180deg, #0a0c17 0%, #0d0f1a 100%);
  padding: 60px 0 48px;
  border-bottom: 1px solid rgba(201,168,76,0.12);
}

.policy-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--gold-light);
}

.policy-updated {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.policy-content {
  padding: 60px 0 80px;
}

.policy-content h2 {
  font-size: 1.25rem;
  color: var(--gold);
  margin: 36px 0 12px;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p {
  margin-bottom: 14px;
}

.policy-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}

.policy-content ul li {
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 6px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 20px;
  transition: color var(--transition);
}

.back-link:hover {
  color: var(--gold-light);
}

.back-link::before {
  content: '←';
  font-size: 1rem;
}

/* ======== SITE HEADER NAV (policy pages) ======== */
.site-nav {
  background: rgba(9,11,20,0.95);
  border-bottom: 1px solid rgba(201,168,76,0.1);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.04em;
}

.site-logo span {
  color: var(--text-muted);
  font-weight: 400;
}

/* ======== DIVIDER ======== */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.2), transparent);
  margin: 0;
}

/* ======== RESPONSIVE ======== */
@media (max-width: 768px) {
  .hero {
    padding: 60px 0 90px;
  }

  .hero__title {
    margin-bottom: 0;
    font-size: clamp(1.6rem, 7vw, 2.4rem);
  }

  /* Strip container constraints so the card bleeds edge-to-edge */
  .brand-card-wrapper {
    max-width: 100%;
    padding: 0;
    margin-top: -55px;
    padding-bottom: 0;
  }

  .brand-card {
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--border-glass);
    grid-template-columns: 1fr;
    text-align: center;
    align-items: center;
    gap: 14px;
    padding: 20px 16px;
    width: 100%;
  }

  .brand-card__left {
    align-items: center;
  }

  .brand-card__right {
    flex-direction: row;
    justify-content: center;
    min-width: auto;
    flex-wrap: wrap;
    gap: 10px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-phone {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-links {
    gap: 8px 16px;
  }

  .footer-links a + a {
    border-left: none;
    padding-left: 0;
  }

  .responsible-logos__row {
    gap: 16px;
  }

  .resp-logo-link img {
    height: 38px;
  }

  .resp-logo-link.large img {
    height: 52px;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .btn-cookie-accept,
  .btn-cookie-decline {
    flex: 1;
    text-align: center;
  }

  .content-section {
    padding: 52px 0;
  }

  h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .brand-card__right {
    gap: 6px;
  }

  .brand-score {
    font-size: 1.6rem;
  }
}

/* ======== SCROLLBAR ======== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(201,168,76,0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(201,168,76,0.5);
}

/* ======== SELECTION ======== */
::selection {
  background: rgba(201,168,76,0.25);
  color: var(--text-primary);
}
