/* MCD Games - Main Stylesheet */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500&family=Space+Grotesk:wght@500;700&display=swap');

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-primary: #0D0D0D;
  --bg-surface: #1A1A1A;
  --text-primary: #FFFFFF;
  --text-body: #F5F5F5;
  --text-muted: #999999;
  --accent: #E89B3A;
  --accent-hover: #F5B04D;
  --border: #2A2A2A;
  --radius: 14px;
  --max-width: 900px;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1, h2, h3 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

main {
  flex: 1;
}

/* Header */
.site-header {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.wordmark {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.wordmark span {
  color: var(--accent);
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

nav a:hover,
nav a.active {
  color: var(--text-primary);
}

/* Hero */
.hero {
  text-align: center;
  padding: 80px 0 64px;
}

.hero-wordmark {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.hero-wordmark span {
  color: var(--accent);
}

.tagline {
  font-size: 1.25rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Sections */
.section {
  padding: 48px 0;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

/* Game Card */
.game-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.game-card-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.game-icon {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  flex-shrink: 0;
}

.game-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.game-card p {
  color: var(--text-muted);
  max-width: 480px;
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--bg-primary);
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 1rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
  width: fit-content;
}

.app-store-btn:hover {
  background: var(--accent-hover);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

.app-store-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* About */
.about-text {
  max-width: 600px;
  color: var(--text-body);
}

/* Contact Page */
.page-header {
  padding: 64px 0 48px;
}

.page-header h1 {
  font-size: clamp(2rem, 6vw, 3rem);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-value {
  font-size: 1.25rem;
  color: var(--text-primary);
}

.contact-value a {
  color: var(--text-primary);
}

.contact-value a:hover {
  color: var(--accent);
}

/* Footer */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.copyright {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Privacy Policy Page */
.last-updated {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 8px;
}

.policy-content {
  max-width: 700px;
}

.policy-content h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--accent);
}

.policy-content h3 {
  font-size: 1.125rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.policy-content p {
  margin-bottom: 16px;
}

.policy-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.policy-content li {
  margin-bottom: 8px;
  color: var(--text-body);
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .site-header {
    padding: 24px 0;
  }

  .header-content {
    flex-direction: column;
    gap: 16px;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .section {
    padding: 32px 0;
  }

  .game-card {
    padding: 24px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
