/* ===== Playcoco Design System ===== */
:root {
  --color-bg: #0a0a0f;
  --color-surface: #12121a;
  --color-surface-hover: #1a1a25;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-text: #ffffff;
  --color-text-muted: #8892a6;
  --color-accent: #6366f1;
  --color-accent-light: #818cf8;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 16px;
  --radius-md: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-text);
}

h3 {
  font-size: 1.125rem;
}

p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

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

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

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

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

.hero h1 {
  margin-bottom: 16px;
}

.hero-tagline {
  background: linear-gradient(135deg, #fff 40%, var(--color-accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  max-width: 520px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ===== Games Section ===== */
.section {
  padding: 60px 0;
}

.section-header {
  margin-bottom: 40px;
  text-align: center;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .games-grid {
    grid-template-columns: 1fr;
  }
}

/* Game Card */
.game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.game-card:hover {
  transform: translateY(-6px);
  background: var(--color-surface-hover);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.game-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-accent), #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.game-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-text);
}

.game-subtitle {
  font-size: 0.8rem;
  color: var(--color-accent-light);
  margin-bottom: 12px;
  font-weight: 500;
}

.game-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}

.download-btn:hover {
  background: var(--color-accent-light);
  transform: scale(1.02);
}

/* ===== About Section ===== */
.about-section {
  padding: 80px 0;
  border-top: 1px solid var(--color-border);
}

.about-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ===== Footer ===== */
footer {
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

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

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

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

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

/* ===== Privacy / Content Pages ===== */
.content-page {
  padding: 120px 24px 60px;
  max-width: 720px;
  margin: 0 auto;
}

.content-page h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.content-page .last-updated {
  color: var(--color-text-muted);
  margin-bottom: 40px;
  font-size: 0.9rem;
}

.content-page h2 {
  font-size: 1.25rem;
  margin-top: 40px;
  margin-bottom: 12px;
}

.content-page p {
  margin-bottom: 16px;
  line-height: 1.75;
}

.content-page ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.content-page li {
  color: var(--color-text-muted);
  margin-bottom: 8px;
  line-height: 1.6;
}

.content-page a {
  color: var(--color-accent-light);
}

.content-page a:hover {
  text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    gap: 16px;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .content-page {
    padding-top: 100px;
  }
}