/* ===== CasinoParagon — Nordic Minimal / Dark + Ice Blue + Aurora Green ===== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --bg: #060912;
  --surface: #0c1020;
  --primary: #38bdf8;
  --secondary: #4ade80;
  --accent: #a78bfa;
  --text: #e8f0fe;
  --muted: #6b7fa0;
  --aurora: linear-gradient(135deg, #38bdf8, #4ade80, #a78bfa);
  --aurora-h: linear-gradient(135deg, #4ade80, #a78bfa, #38bdf8);
  --radius: 8px;
  --card-pad: 36px;
  --font-head: 'Figtree', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-w: 1140px;
  --transition: .3s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--secondary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 700; line-height: 1.25; color: var(--text); }

/* ---------- Utility ---------- */
.container { width: 92%; max-width: var(--max-w); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-muted { color: var(--muted); }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }

/* ---------- Aurora gradient text ---------- */
.aurora-text {
  background: var(--aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.btn-primary {
  background: var(--primary);
  color: #060912;
}
.btn-primary:hover {
  background: var(--aurora);
  color: #060912;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(56,189,248,.25);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #060912;
}
.btn-sm { padding: 10px 22px; font-size: .85rem; }

/* ---------- Snowflake / Ice Crystal Decorations ---------- */
.ice-crystal {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--primary);
  opacity: .12;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.ice-crystal--lg { width: 18px; height: 18px; opacity: .06; }
.ice-crystal--sm { width: 8px; height: 8px; opacity: .1; }

.snowflake-deco {
  position: fixed;
  pointer-events: none;
  z-index: 0;
}
.snowflake-deco::before,
.snowflake-deco::after {
  content: '';
  position: absolute;
  background: var(--primary);
  opacity: .04;
}
.snowflake-deco--1 { top: 15%; left: 5%; }
.snowflake-deco--1::before { width: 1px; height: 80px; transform: rotate(0deg); }
.snowflake-deco--1::after { width: 1px; height: 80px; transform: rotate(60deg); left: 0; }
.snowflake-deco--2 { top: 45%; right: 3%; }
.snowflake-deco--2::before { width: 1px; height: 60px; transform: rotate(30deg); }
.snowflake-deco--2::after { width: 1px; height: 60px; transform: rotate(90deg); left: 0; }
.snowflake-deco--3 { bottom: 20%; left: 8%; }
.snowflake-deco--3::before { width: 1px; height: 50px; transform: rotate(-30deg); }
.snowflake-deco--3::after { width: 1px; height: 50px; transform: rotate(30deg); left: 0; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  background: rgba(6,9,18,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(56,189,248,.08);
  transition: all var(--transition);
}
.nav.scrolled { padding: 12px 0; box-shadow: 0 4px 30px rgba(0,0,0,.4); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text);
  letter-spacing: -.5px;
}
.nav__brand span { color: var(--primary); }
.nav__links { display: flex; gap: 32px; align-items: center; }
.nav__links a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
  position: relative;
}
.nav__links a:hover,
.nav__links a.active { color: var(--primary); }
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--aurora);
  transition: width var(--transition);
}
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; }
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 160px 0 100px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 20%, rgba(56,189,248,.06) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 60%, rgba(74,222,128,.04) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 40%, rgba(167,139,250,.03) 0%, transparent 50%);
  pointer-events: none;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 100px;
  background: rgba(56,189,248,.08);
  border: 1px solid rgba(56,189,248,.15);
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
  position: relative;
}
.hero__sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.8;
}
.hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Section ---------- */
.section { padding: 80px 0; position: relative; }
.section--alt { background: var(--surface); }
.section__header {
  text-align: center;
  margin-bottom: 56px;
}
.section__label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 14px;
}
.section__desc {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: .95rem;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border-radius: 12px;
  padding: var(--card-pad);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--aurora);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.card__text {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.7;
}

/* ---------- Casino Rankings ---------- */
.casino-list { display: flex; flex-direction: column; gap: 20px; }
.casino-item {
  background: var(--surface);
  border-radius: 12px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 60px 1fr auto auto;
  align-items: center;
  gap: 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.casino-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--aurora);
}
.casino-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.casino-item__rank {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: #060912;
  background: var(--aurora);
  flex-shrink: 0;
}
.casino-item__info { min-width: 0; }
.casino-item__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.casino-item__bonus {
  color: var(--secondary);
  font-weight: 600;
  font-size: .9rem;
}
.casino-item__features {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.casino-item__tag {
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(56,189,248,.08);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
}
.casino-item__cta { flex-shrink: 0; }

/* ---------- Features Grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card { text-align: center; }
.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(56,189,248,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
  color: var(--primary);
  border: 1px solid rgba(56,189,248,.12);
}
.feature-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card__text {
  color: var(--muted);
  font-size: .88rem;
}

/* ---------- Bonus Table ---------- */
.bonus-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
}
.bonus-table thead { background: var(--surface); }
.bonus-table th {
  padding: 16px 24px;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  border-bottom: 2px solid rgba(56,189,248,.1);
}
.bonus-table td {
  padding: 18px 24px;
  font-size: .92rem;
  border-bottom: 1px solid rgba(56,189,248,.05);
  color: var(--text);
}
.bonus-table tbody tr { background: var(--surface); transition: background var(--transition); }
.bonus-table tbody tr:hover { background: rgba(56,189,248,.04); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(56,189,248,.08);
  padding: 20px 0;
}
.faq-item__q {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  transition: color var(--transition);
}
.faq-item__q:hover { color: var(--primary); }
.faq-item__q::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--primary);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-item__q::after {
  content: '-';
}
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.8;
}
.faq-item.open .faq-item__a {
  max-height: 500px;
  padding-top: 14px;
}

/* ---------- Article Card ---------- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.article-card::before {
  content: '';
  display: block;
  height: 2px;
  background: var(--aurora);
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.article-card__body { padding: 28px; }
.article-card__tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--secondary);
  margin-bottom: 12px;
}
.article-card__title {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}
.article-card__excerpt {
  color: var(--muted);
  font-size: .85rem;
  margin-bottom: 16px;
  line-height: 1.7;
}
.article-card__link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
}
.article-card__link:hover { color: var(--secondary); }

/* ---------- Footer ---------- */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid rgba(56,189,248,.06);
  background: var(--surface);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer__brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.footer__brand span { color: var(--primary); }
.footer__desc {
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.7;
  max-width: 360px;
}
.footer__heading {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 18px;
}
.footer__link {
  display: block;
  color: var(--muted);
  font-size: .88rem;
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer__link:hover { color: var(--primary); }
.footer__bottom {
  border-top: 1px solid rgba(56,189,248,.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__copy {
  color: var(--muted);
  font-size: .78rem;
}
.footer__badges { display: flex; gap: 12px; }
.footer__badge {
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(56,189,248,.06);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
}

/* ---------- Responsible Gambling ---------- */
.responsible {
  padding: 40px 0;
  text-align: center;
}
.responsible__text {
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}
.responsible__text a { color: var(--primary); }

/* ---------- Article Page ---------- */
.article-hero {
  padding: 140px 0 60px;
  text-align: center;
}
.article-hero__tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 16px;
}
.article-hero__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 18px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.article-hero__meta {
  color: var(--muted);
  font-size: .85rem;
}
.article-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 0 80px;
}
.article-content h2 {
  font-size: 1.6rem;
  margin-top: 48px;
  margin-bottom: 18px;
  letter-spacing: -.5px;
}
.article-content h3 {
  font-size: 1.2rem;
  margin-top: 36px;
  margin-bottom: 14px;
}
.article-content p {
  margin-bottom: 18px;
  color: var(--text);
  font-size: .95rem;
  line-height: 1.85;
}
.article-content ul,
.article-content ol {
  margin-bottom: 18px;
  padding-left: 24px;
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li {
  margin-bottom: 8px;
  color: var(--text);
  font-size: .95rem;
  line-height: 1.7;
}
.article-content blockquote {
  border-left: 3px solid var(--primary);
  padding: 16px 24px;
  margin: 24px 0;
  background: rgba(56,189,248,.04);
  border-radius: 0 8px 8px 0;
  color: var(--muted);
  font-style: italic;
}
.article-content .cta-box {
  background: var(--surface);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}
.article-content .cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--aurora);
}
.article-content .cta-box h3 {
  margin-top: 0;
  margin-bottom: 12px;
}
.article-content .cta-box p { color: var(--muted); }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: 100px 0 0;
  font-size: .82rem;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--muted); margin: 0 8px; }
.breadcrumb .current { color: var(--primary); }

/* ---------- Fade-up Animation ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary);
  color: #060912;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  border: none;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--aurora);
  transform: translateY(-3px);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .casino-item {
    grid-template-columns: 50px 1fr;
    gap: 16px;
  }
  .casino-item__features { grid-column: 1 / -1; }
  .casino-item__cta { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .nav__links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(6,9,18,.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 999;
  }
  .nav__links.open { display: flex; }
  .nav__links a { font-size: 1.2rem; }
  .nav__toggle { display: block; z-index: 1000; }
  .features-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 130px 0 70px; }
  .hero__cta { flex-direction: column; align-items: center; }
  .section { padding: 60px 0; }
  :root { --card-pad: 24px; }
  .casino-item { padding: 22px 20px; }
  .bonus-table { font-size: .82rem; }
  .bonus-table th, .bonus-table td { padding: 12px 14px; }
}
