/* Murder at the Masquerade - Regency Dark Aesthetic */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Crimson+Text:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --gold: #d4af37;
  --gold-light: #f4e4bc;
  --blood: #8b0000;
  --ink: #1a1a1a;
  --parchment: #f5f0e6;
  --shadow: rgba(0,0,0,0.7);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Crimson Text', Georgia, serif;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #2d1a1a 100%);
  color: var(--parchment);
  min-height: 100vh;
  line-height: 1.6;
}

/* Header */
header {
  text-align: center;
  padding: 3rem 1rem;
  border-bottom: 2px solid var(--gold);
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
}

header h1 {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  color: var(--gold);
  text-shadow: 2px 2px 4px var(--shadow);
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}

header .subtitle {
  font-style: italic;
  color: var(--gold-light);
  font-size: 1.3rem;
}

/* Navigation */
nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem;
  background: rgba(0,0,0,0.5);
  border-bottom: 1px solid var(--gold);
}

nav a {
  color: var(--gold-light);
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

nav a:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.crime-scene {
  text-align: center;
  padding: 3rem;
  margin: 2rem 0;
  border: 2px solid var(--gold);
  background: rgba(0,0,0,0.6);
  position: relative;
}

.crime-scene::before {
  content: "CRIME SCENE - DO NOT CROSS";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blood);
  color: white;
  padding: 0.3rem 1rem;
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
}

.crime-scene h2 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.crime-scene p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 1rem;
}

/* Suspect Grid */
.suspect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.suspect-card {
  background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
  border: 1px solid var(--gold);
  border-radius: 5px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.suspect-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.suspect-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: top;
  border-bottom: 2px solid var(--gold);
}

.suspect-card .info {
  padding: 1.5rem;
}

.suspect-card h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.suspect-card .role {
  color: var(--gold-light);
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.suspect-card .secret {
  background: rgba(139, 0, 0, 0.3);
  border-left: 3px solid var(--blood);
  padding: 0.8rem;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.suspect-card .secret strong {
  color: var(--blood);
  display: block;
  margin-bottom: 0.3rem;
}

.suspect-card .alibi {
  margin-top: 1rem;
  font-style: italic;
  color: #aaa;
}

/* Reveal Section */
.reveal {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(to bottom, transparent, rgba(139, 0, 0, 0.2));
}

.reveal h2 {
  font-family: 'Cinzel', serif;
  color: var(--blood);
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.reveal .killer {
  border: 3px solid var(--blood);
  max-width: 500px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(0,0,0,0.8);
}

/* Clues Section */
.clue {
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--gold);
  padding: 1.5rem;
  margin: 1rem 0;
  position: relative;
}

.clue::before {
  content: attr(data-number);
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--gold);
  color: var(--ink);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--gold);
  margin-top: 3rem;
  color: var(--gold-light);
  font-style: italic;
}

/* Decorative Elements */
.mask-divider {
  text-align: center;
  font-size: 2rem;
  color: var(--gold);
  margin: 2rem 0;
}

/* Responsive */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }

  nav {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .suspect-grid {
    grid-template-columns: 1fr;
  }
}
