/* ============================================
   kazinoazerbaycan.com — shared styles
   ============================================ */

:root {
  --bg:        #0f1419;
  --bg-soft:   #171f29;
  --bg-card:   #1c2531;
  --line:      #2a3543;
  --text:      #e6edf3;
  --text-dim:  #9aa7b4;
  --gold:      #d4a548;
  --gold-soft: #e8c578;
  --green:     #2ea66f;
  --green-dim: #1f7a52;
  --red:       #c0492f;
  --radius:    14px;
  --maxw:      1080px;
  --font-head: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* subtle texture on background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(212,165,72,0.05), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(46,166,111,0.04), transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; position: relative; z-index: 1; }

/* ---------- Header ---------- */
header.site {
  border-bottom: 1px solid var(--line);
  background: rgba(15,20,25,0.85);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 50;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.logo {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.3px;
  display: flex; align-items: center; gap: 9px;
}
.logo .mark {
  color: var(--gold);
  font-size: 1.6rem;
  line-height: 1;
}
.menu { display: flex; gap: 26px; list-style: none; }
.menu a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.menu a:hover, .menu a.active { color: var(--gold); }

.burger { display: none; background: none; border: none; color: var(--text); font-size: 1.6rem; cursor: pointer; }

@media (max-width: 760px) {
  .menu {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s;
  }
  .menu.open { max-height: 320px; }
  .menu li { border-top: 1px solid var(--line); }
  .menu a { display: block; padding: 16px 22px; }
  .burger { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 70px 0 50px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.hero .eyebrow {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.18;
  font-weight: 700;
  max-width: 800px;
  margin: 0 auto 22px;
  letter-spacing: -0.5px;
}
.hero p.lead {
  color: var(--text-dim);
  font-size: 1.12rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- Sections ---------- */
section.block { padding: 52px 0; border-bottom: 1px solid var(--line); }
section.block h2 {
  font-family: var(--font-head);
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  margin-bottom: 22px;
  letter-spacing: -0.3px;
}
section.block h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  margin: 28px 0 12px;
  color: var(--gold-soft);
}
section.block p { margin-bottom: 18px; color: #cdd6df; }
section.block p:last-child { margin-bottom: 0; }
.lead-in { font-size: 1.05rem; }

/* ---------- Offer cards ---------- */
.offers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
@media (max-width: 760px) { .offers { grid-template-columns: 1fr; } }

.offer {
  background: linear-gradient(165deg, var(--bg-card), var(--bg-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}
.offer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
}
.offer:hover { transform: translateY(-6px); border-color: var(--gold); }
.offer .rank {
  font-family: var(--font-head);
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.offer .name {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.offer .bonus {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gold-soft);
  line-height: 1.1;
  margin-bottom: 4px;
}
.offer .bonus-sub { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 18px; }
.offer .feat { list-style: none; margin: 0 0 22px; text-align: left; }
.offer .feat li {
  font-size: 0.92rem; color: #cdd6df; padding: 5px 0 5px 24px; position: relative;
}
.offer .feat li::before {
  content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700;
}
.cta {
  display: inline-block;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--green), var(--green-dim));
  color: #fff;
  text-decoration: none;
  border-radius: 9px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(46,166,111,0.25);
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(46,166,111,0.4); }

/* ---------- Criteria / feature grid ---------- */
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 8px; }
@media (max-width: 760px) { .grid2 { grid-template-columns: 1fr; } }
.feature {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.feature h3 { margin-top: 0; color: var(--gold-soft); }
.feature p { font-size: 0.97rem; margin-bottom: 0; }

/* ---------- Disclosure / disclaimer ---------- */
.disclosure {
  background: var(--bg-soft);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--text-dim);
  margin: 30px 0 0;
}

/* ---------- Footer ---------- */
footer.site {
  padding: 44px 0 30px;
  background: var(--bg-soft);
  color: var(--text-dim);
  font-size: 0.9rem;
}
footer.site .cols {
  display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between;
  margin-bottom: 30px;
}
footer.site h4 {
  color: var(--text); font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 12px;
}
footer.site a { color: var(--text-dim); text-decoration: none; }
footer.site a:hover { color: var(--gold); }
footer.site ul { list-style: none; }
footer.site ul li { margin-bottom: 8px; }
.age {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid var(--red); color: var(--red);
  font-weight: 800; font-size: 0.95rem; margin-bottom: 14px;
}
.responsible { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.responsible a { color: var(--gold); text-decoration: underline; }
.copyright {
  border-top: 1px solid var(--line); padding-top: 20px; text-align: center;
  font-size: 0.85rem; line-height: 1.6;
}

/* ---------- Generic content page ---------- */
.page-head { padding: 56px 0 30px; border-bottom: 1px solid var(--line); }
.page-head h1 {
  font-family: var(--font-head); font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: -0.4px;
}
.page-head .meta { color: var(--text-dim); font-size: 0.88rem; margin-top: 12px; }
article.content { padding: 40px 0 56px; }
article.content h2 { font-family: var(--font-head); font-size: 1.5rem; margin: 30px 0 14px; }
article.content p { margin-bottom: 18px; color: #cdd6df; }
article.content ul { margin: 0 0 18px 22px; color: #cdd6df; }
article.content li { margin-bottom: 8px; }
article.content a { color: var(--gold); }

/* breadcrumb */
.crumb { font-size: 0.85rem; color: var(--text-dim); padding-top: 22px; }
.crumb a { color: var(--gold); text-decoration: none; }
