/* Kasino Ayelujara - Gold/Amber/Cream Casino Theme */

:root {
  --gold: #c9a227;
  --gold-light: #e8d174;
  --gold-dark: #8b6914;
  --amber: #d4930d;
  --cream: #fdf8e8;
  --cream-dark: #f5ecd0;
  --charcoal: #1a1a1a;
  --text: #2d2a24;
  --text-light: #5c5648;
  --border: #e6d9a8;
  --shadow: rgba(201, 162, 39, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.75;
  color: var(--text);
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER / NAV */
header[role="banner"] {
  background: var(--charcoal);
  border-bottom: 3px solid var(--gold);
  padding: 0.8rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

header[role="banner"] nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

header[role="banner"] .brand {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.02em;
}

header[role="banner"] .nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

header[role="banner"] .nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

header[role="banner"] .nav-links a:hover {
  color: var(--gold-light);
}

/* MAIN CONTENT */
main[role="main"] {
  flex: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  width: 100%;
}

/* HOMEPAGE */
section.hero {
  background: linear-gradient(135deg, var(--charcoal) 0%, #2a2520 100%);
  border: 1px solid var(--gold-dark);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

section.hero h1 {
  color: var(--gold);
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

section.hero p {
  color: var(--cream-dark);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* INTRO CONTENT */
section.intro-content {
  margin-bottom: 2.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
  box-shadow: 0 2px 8px var(--shadow);
}

section.intro-content h2 {
  color: var(--gold-dark);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

section.intro-content p {
  margin-bottom: 1rem;
  color: var(--text);
  line-height: 1.8;
}

section.intro-content p:last-child {
  margin-bottom: 0;
}

/* SEE ALL LINK */
.see-all {
  margin-top: 1rem;
  text-align: right;
}

.see-all a {
  color: var(--amber);
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}

.see-all a:hover {
  color: var(--gold-dark);
}

/* BONUS DESC */
.bonus-desc {
  display: block;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

/* LISTINGS */
section.listing {
  margin-bottom: 3rem;
}

section.listing h2 {
  color: var(--gold-dark);
  font-size: 1.5rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
}

section.listing ol,
section.listing ul {
  list-style: none;
  display: grid;
  gap: 1rem;
}

section.listing li {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  padding: 1rem 1.25rem;
  transition: box-shadow 0.2s, transform 0.15s;
}

section.listing li:hover {
  box-shadow: 0 4px 16px var(--shadow);
  transform: translateY(-1px);
}

section.listing li a {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  display: block;
}

section.listing li a:hover {
  color: var(--gold-dark);
}

section.listing li time {
  color: var(--text-light);
  font-size: 0.82rem;
  display: block;
  margin-top: 0.3rem;
}

/* ARTICLE PAGE */
article[itemscope] {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  box-shadow: 0 2px 12px var(--shadow);
}

article[itemscope] header {
  position: static;
  background: none;
  border-bottom: 2px solid var(--border);
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
}

article[itemscope] header h1 {
  color: var(--charcoal);
  font-size: 1.85rem;
  line-height: 1.3;
}

article[itemscope] header time {
  color: var(--text-light);
  font-size: 0.88rem;
  margin-top: 0.5rem;
  display: block;
}

article[itemscope] h2 {
  color: var(--gold-dark);
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

article[itemscope] h3 {
  color: var(--charcoal);
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

article[itemscope] p {
  margin-bottom: 1rem;
}

article[itemscope] strong {
  color: var(--charcoal);
}

article[itemscope] ul,
article[itemscope] ol {
  margin: 1rem 0 1rem 1.5rem;
}

article[itemscope] li {
  margin-bottom: 0.4rem;
}

article[itemscope] a {
  color: var(--amber);
  text-decoration: underline;
  text-decoration-color: var(--gold-light);
  text-underline-offset: 2px;
}

article[itemscope] a:hover {
  color: var(--gold-dark);
}

article[itemscope] hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

article[itemscope] table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

article[itemscope] th,
article[itemscope] td {
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border);
  text-align: left;
}

article[itemscope] th {
  background: var(--cream-dark);
  font-weight: 600;
  color: var(--gold-dark);
}

article[itemscope] blockquote {
  border-left: 4px solid var(--gold);
  background: var(--cream-dark);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-light);
}

/* ASIDE: RELATED LINKS */
aside[role="complementary"] {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: 6px;
}

aside[role="complementary"] h2 {
  font-size: 1.15rem;
  color: var(--gold-dark);
  margin-bottom: 1rem;
  border: none;
  padding: 0;
}

aside[role="complementary"] ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 0.6rem;
}

aside[role="complementary"] li a {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0;
  display: block;
  border-bottom: 1px dashed var(--border);
}

aside[role="complementary"] li a:hover {
  color: var(--gold-dark);
}

/* FOOTER */
footer[role="contentinfo"] {
  background: var(--charcoal);
  border-top: 3px solid var(--gold);
  padding: 1.5rem;
  margin-top: auto;
}

footer[role="contentinfo"] .footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

footer[role="contentinfo"] p {
  color: var(--cream-dark);
  font-size: 0.82rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

footer[role="contentinfo"] .disclaimer {
  color: #998e72;
  font-size: 0.75rem;
  max-width: 700px;
  margin: 0.75rem auto 0;
  border-top: 1px solid #3d3627;
  padding-top: 0.75rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  header[role="banner"] nav {
    flex-direction: column;
    align-items: flex-start;
  }

  header[role="banner"] .nav-links {
    gap: 1rem;
  }

  section.hero {
    padding: 1.5rem 1rem;
  }

  section.hero h1 {
    font-size: 1.5rem;
  }

  article[itemscope] {
    padding: 1.5rem 1rem;
  }

  article[itemscope] header h1 {
    font-size: 1.4rem;
  }

  aside[role="complementary"] ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  header[role="banner"] .nav-links {
    gap: 0.75rem;
    font-size: 0.85rem;
  }

  main[role="main"] {
    padding: 1rem;
  }
}
