/* Purple Lotus Guild - Promotional Site Styles
   Easy to alter: change CSS variables at the top for theming.
   Purple theme matching the game name and lotus aesthetic.
*/

:root {
  --primary: #6b21a8;      /* Deep purple */
  --primary-light: #a855f7;
  --primary-dark: #4c1d95;
  --accent: #c084fc;
  --bg: #0f0a1a;           /* Dark background */
  --bg-card: #1a1228;
  --text: #e9d5ff;
  --text-muted: #c4b5fd;
  --border: #4c1d95;
  --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-heading: 'Georgia', serif;
}

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

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* Header & Navigation */
header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 1rem 2rem;
  border-bottom: 2px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, 0.15);
}

/* Main Content */
main {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1.5rem 3rem;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--accent);
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero {
  text-align: center;
  padding: 2rem 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(107, 33, 168, 0.3);
}

.card h3 {
  margin-top: 0;
  color: var(--primary-light);
}

.section {
  margin: 3rem 0;
}

/* Devlog / Video embeds */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.video-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.video-card iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}

.video-card .meta {
  padding: 1rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  margin-top: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  h1 { font-size: 2rem; }
  nav { flex-direction: column; gap: 1rem; }
}
