/* ═══════════════════════════════════════════════════════════════════════════
   LAYOUT - Structure & Responsive Rules
   ═══════════════════════════════════════════════════════════════════════════ */

header { 
  padding: 24px; 
  text-align: center; 
  background: rgba(45, 45, 45, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  position: relative;
}

header h1 { 
  margin: 0 0 8px 0; 
  font-size: 2.5rem; 
  font-weight: 700;
  background: linear-gradient(135deg, #d4a574, #8b6f47);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

header p { 
  margin: 4px 0; 
  font-size: 1rem; 
  opacity: 0.9;
}

.header-buttons {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  gap: 12px;
}

.status-bar {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 16px 0;
  flex-wrap: wrap;
}

.stat {
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

main { 
  max-width: 1400px; 
  margin: 0 auto; 
  padding: 24px; 
}

.tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.content-area {
  background: rgba(45, 45, 45, 0.8);
  border-radius: 16px;
  padding: 24px;
  min-height: 400px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.tab-content { 
  display: none; 
}

.tab-content.active { 
  display: block; 
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  gap: 16px;
}

.buy-mode-selector {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.prestige-container {
  max-width: 700px;
  margin: 0 auto;
}

.empty-state {
  text-align: center;
  padding: 40px;
  opacity: 0.6;
  font-size: 1.1rem;
  grid-column: 1 / -1;
}