:root {
  /* Color Palette - Calor Minimalist / Japanese Inspired */
  --bg-color: #fcfaf8; /* Warm off-white */
  --text-primary: #2c3e50; /* Deep Ink */
  --text-secondary: #5c6c7b;
  --accent-color: #8fbc8f; /* Bamboo Green */
  --accent-hover: #74a074;
  --primary-color: #4a6fa5; /* Calm Ocean Blue */
  --primary-hover: #3b5883;
  --danger-color: #d97b7b; /* Muted Red */
  --success-color: #8ebd8e; 
  --border-color: #e2dfda;
  --card-bg: #ffffff;
  
  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --font-size-base: 16px;
  
  /* Layout */
  --border-radius: 8px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --max-width: 800px;
  --header-height: 70px;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography elements */
h1, h2, h3, h4 {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

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

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

/* Form & UI Elements */
.btn {
  display: inline-block;
  padding: 10px 24px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.9em;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  background-color: #fafafa;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.1);
  background-color: #fff;
}

/* Header & Hamburger */
.header {
  height: var(--header-height);
  background: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--primary-color);
}

/* Menu classes */
.menu-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
}

/* Media placeholers */
.media-placeholder {
  width: 100%;
  background: #f0f0f0;
  border-radius: var(--border-radius);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
}

.image-placeholder {
  aspect-ratio: 16 / 9;
}

.audio-placeholder {
  height: 60px;
  display: flex;
  gap: 15px;
  padding: 0 20px;
  justify-content: flex-start;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 600px) {
  .container {
    padding: 0 15px;
  }
}
