/* Greek-inspired theme: marble, terracotta, bronze, aegean blue */
:root{
  --bg: #0b0b10;          /* Deep night */
  --bg-soft: #13131a;      /* Softer panel */
  --fg: #f3f2f7;           /* Marble white */
  --muted: #b8b6c7;        /* Muted text */
  --accent: #caa46f;       /* Bronze */
  --accent-2: #1f6fae;     /* Aegean blue */
  --accent-terracotta: #b45a2b; /* Terracotta */
  --border: #2a2a38;       /* Border */
  --card: #191922;         /* Card bg */
  --marble-1: #e9e6e2;     /* Marble veins */
  --marble-2: #d9d5cf;     /* Marble veins */
}

*{ box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
}

/* Accessibility */
.skip-link{
  position: absolute; left: -999px; top: -999px;
}
.skip-link:focus{
  left: 12px; top: 12px; z-index: 9999;
  background: var(--accent);
  color: #000; padding: 8px 12px; border-radius: 8px;
}

/* Greek key borders (top/bottom) */
.greek-key.top, .greek-key.bottom{
  height: 12px;
  background:
    repeating-linear-gradient(90deg,
      var(--accent-terracotta) 0 16px,
      transparent 16px 24px),
    repeating-linear-gradient(0deg,
      transparent 0 8px,
      var(--accent-terracotta) 8px 16px);
  opacity: 0.5;
}
.greek-key.bottom{ margin-top: 40px; }

/* Containers */
.container{ width: 92%; max-width: 1100px; margin: 0 auto; }

/* Header */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner{ display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.logo{
  font-family: 'Cinzel', serif; font-weight: 700; letter-spacing: 0.08em;
  color: var(--fg); text-decoration: none; font-size: 1.25rem;
}
.nav a{ color: var(--muted); margin-left: 18px; text-decoration: none; }
.nav a:hover{ color: var(--fg); }
.menu-toggle{ display: none; background: transparent; color: var(--fg); border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; }

/* Hero with marble & laurel motifs */
.hero{
  position: relative;
  min-height: 72vh;
  display: grid; place-items: center;
  text-align: center;
  background:
    radial-gradient(1400px 800px at 50% 0%, rgba(196,138,72,0.12), transparent),
    linear-gradient(180deg, rgba(22,22,31,0.8) 0%, rgba(9,9,14,1) 60%);
}
.hero .marble{
  position: absolute; inset: 0; opacity: 0.08; pointer-events: none;
  background-image:
    linear-gradient(115deg, var(--marble-1) 0%, transparent 20%, var(--marble-2) 40%, transparent 60%, var(--marble-1) 80%, transparent 100%);
  mix-blend-mode: screen;
}
.laurel{
  position: absolute; top: 12%; width: 180px; height: 180px; opacity: 0.18;
  filter: drop-shadow(0 0 10px rgba(0,0,0,0.4));
}
.wreath-left{
  left: 6%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="180" height="180" viewBox="0 0 180 180"><g fill="%23caa46f"><path d="M90 10c-30 5-55 30-60 60 18-4 36-10 52-22-8 14-19 27-34 37 18 1 35-5 50-14-9 16-23 28-39 37 21 5 43 0 62-10-8 14-20 26-34 34 27-2 51-18 64-41C162 62 136 20 90 10z"/></g></svg>');
  background-size: contain; background-repeat: no-repeat;
}
.wreath-right{
  right: 6%;
  transform: scaleX(-1);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="180" height="180" viewBox="0 0 180 180"><g fill="%23caa46f"><path d="M90 10c-30 5-55 30-60 60 18-4 36-10 52-22-8 14-19 27-34 37 18 1 35-5 50-14-9 16-23 28-39 37 21 5 43 0 62-10-8 14-20 26-34 34 27-2 51-18 64-41C162 62 136 20 90 10z"/></g></svg>');
  background-size: contain; background-repeat: no-repeat;
}

.hero-inner h1{
  font-family: 'Cinzel', serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  letter-spacing: 0.05em; margin: 0;
}
.hero-inner p{
  color: var(--muted); max-width: 750px; margin: 14px auto 24px;
}
.cta{ display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn{
  background: var(--bg-soft); color: var(--fg);
  border: 1px solid var(--border); padding: 10px 16px;
  border-radius: 10px; text-decoration: none;
}
.btn:hover{ border-color: var(--accent); }
.btn-primary{ background: linear-gradient(135deg, var(--accent-terracotta), var(--accent-2)); border: none; }

/* Sections */
.section{ padding: 60px 0; }
.section h2, .section h3{ font-family: 'Cinzel', serif; letter-spacing: 0.05em; }
.divider{
  height: 10px; margin: 34px auto 0; width: 180px; opacity: 0.4;
  background:
    linear-gradient(90deg, transparent, var(--accent-terracotta), var(--accent));
  clip-path: polygon(0 40%, 10% 55%, 20% 40%, 30% 55%, 40% 40%, 50% 55%, 60% 40%, 70% 55%, 80% 40%, 90% 55%, 100% 40%, 100% 60%, 0 60%);
}

/* Grids & cards */
.grid{ display: grid; gap: 20px; }
.grid.two{ grid-template-columns: repeat(2, 1fr); }
.grid.three{ grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px){ .grid.three{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px){
  .grid.two, .grid.three{ grid-template-columns: 1fr; }
}

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 16px;
}
.card h3{ margin-top: 0; }

/* Lists and details */
ul{ padding-left: 20px; }
.details{
  margin-top: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 14px;
}
.details .button{
  display: inline-block;
  background: var(--bg-soft);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  text-decoration: none;
}
.details .button:hover{ border-color: var(--accent); }

/* Playtesting callout */
.callout{
  margin-top: 16px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(180,90,43,0.12), rgba(31,111,174,0.12));
  border: 1px solid var(--border);
  border-radius: 14px;
}

/* Downloads */
.downloads .download-grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 900px){ .downloads .download-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .downloads .download-grid{ grid-template-columns: 1fr; } }

.dl-card{
  display: grid; gap: 6px;
  padding: 16px; border-radius: 12px;
  background: var(--bg-soft); border: 1px solid var(--border);
  color: var(--fg); text-decoration: none;
}
.dl-card.coming{ opacity: 0.7; pointer-events: none; }
.dl-title{ font-weight: 600; }
.dl-meta{ color: var(--muted); font-size: 0.95rem; }
.tips{
  margin-top: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 12px;
}

/* Roadmap */
.roadmap{ list-style: disc; padding-left: 20px; color: var(--muted); }
.banner{
  margin-top: 12px; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: 12px;
  background: linear-gradient(135deg, rgba(196,138,72,0.15), rgba(31,111,174,0.15));
  text-align: center; font-weight: 600;
}

/* Contact */
.contact .form-row{ display: grid; gap: 6px; margin-bottom: 12px; }
.contact input, .contact textarea{
  background: var(--bg-soft); color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 12px;
}
.status{ color: var(--muted); font-size: 0.95rem; margin-top: 8px; }

/* Footer */
.site-footer{
  border-top: 1px solid var(--border);
  padding: 28px 0; background: #0d0d14;
}
.site-footer .small{ color: var(--muted); font-size: 0.9rem; }

/* Responsive nav */
@media (max-width: 820px){
  .nav{
    display: none; position: absolute; right: 4%; top: 58px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 12px; padding: 8px 10px;
  }
  .nav.open{ display: block; }
  .nav a{ display: block; padding: 8px; }
  .menu-toggle{ display: inline-block; }
}
