/* ==========================================================================
   PulaoBiryani.games - Minimalist Indie Studio Stylesheet
   ========================================================================== */

:root {
  --teal-primary: #10858e;
  --teal-hover: #1599a4;
  --teal-subtle: rgba(16, 133, 142, 0.12);

  --spice-orange: #d46231;
  --spice-hover: #e37243;
  --spice-subtle: rgba(212, 98, 49, 0.12);

  --bg-page: #0e1416;
  --bg-surface: #141e21;
  --bg-surface-elevated: #1a272b;
  --bg-surface-inset: #0a0f11;

  --border-subtle: #1c2b2e;
  --border-medium: #273b40;
  --border-active: #38555c;

  --text-main: #f1f5f6;
  --text-secondary: #a0b4b8;
  --text-muted: #667c80;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --transition: all 0.18s ease;

  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.top-accent-bar {
  height: 3px;
  background: var(--teal-primary);
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 20, 22, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
}

.brand-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: #0e8388;
  border: 1px solid var(--border-medium);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.brand-title-group {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.brand-subtitle {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--spice-orange);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link.active {
  color: var(--teal-primary);
  font-weight: 600;
}

.btn-header {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: var(--transition);
}

.btn-header:hover {
  border-color: var(--teal-primary);
  color: #fff;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.4rem;
}

/* Studio Hero Section */
.hero {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-layout-simple {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.studio-profile-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.studio-large-avatar {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-md);
  background: #0e8388;
  border: 1px solid var(--border-medium);
  overflow: hidden;
  flex-shrink: 0;
}

.studio-large-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.hero-heading-simple {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero-subtext {
  font-size: 1rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  margin-top: 0.2rem;
}

.hero-social-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--spice-orange);
  color: #fff;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--spice-hover);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface);
  color: var(--text-main);
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid var(--border-medium);
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-active);
}

/* Chai Tycoon Project Card */
.section {
  padding: 3.5rem 0 4.5rem;
}

.project-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.project-tag {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--teal-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
}

.project-status-badge {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--spice-orange);
  background: var(--spice-subtle);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

.project-body {
  padding: 2rem;
}

.project-image-wrap {
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #091215;
  margin-bottom: 1.75rem;
}

.project-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.store-box-title {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.store-buttons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.store-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-surface-inset);
  border: 1px solid var(--border-subtle);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}

.store-item-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.store-item-icon img, .store-item-icon svg {
  width: 100%;
  height: 100%;
}

.store-item-info {
  display: flex;
  flex-direction: column;
}

.store-item-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.store-item-status {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--spice-orange);
}

/* Footer */
.site-footer {
  background: #090e10;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.footer-simple-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-simple-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-simple-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

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

/* Responsive */
@media (max-width: 640px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 1.25rem;
    gap: 1rem;
  }

  .nav-menu.open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .studio-profile-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .hero-heading-simple {
    font-size: 1.75rem;
  }

  .project-header {
    padding: 1.25rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .project-body {
    padding: 1.5rem;
  }

  .footer-simple-content {
    flex-direction: column;
    align-items: flex-start;
  }
}
