/* 쇼핑앤쿡 – 에메랄드 그린 테마 */
:root {
  --text: #111827;
  --background: #F0FDF4;
  --tint: #10B981;
  --tabIconDefault: #4B5563;
  --tabIconSelected: #10B981;
  --headerBackground: #ECFDF5;
  --tabBarBackground: #ECFDF5;
  --primary: #10B981;
  --secondary: #059669;
  --accent: #D1FAE5;
  --border: #9CA3AF;
  --card: #FFFFFF;
  --surface: #FFFFFF;
  --success: #10B981;
  --warning: #D97706;
  --error: #DC2626;
  --info: #3B82F6;
  --disabled: #D1D5DB;
  --placeholder: #9CA3AF;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--background);
  color: var(--text);
  text-align: center;
}

header {
  background-color: var(--headerBackground);
  color: var(--text);
  padding: 2em 1em;
  border-bottom: 1px solid var(--border);
}

main {
  padding: 2em 1em;
}

h1, h2 {
  font-weight: 600;
  color: var(--text);
}

h1 {
  margin-top: 0;
  font-size: 2.5rem;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 1em;
  line-height: 1.8;
}

header h1 {
  color: var(--text);
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  flex-wrap: nowrap;
  text-decoration: none;
  color: var(--text);
}

.logo-container h1 {
  line-height: 1;
  margin: 0;
}

.logo-container img {
  max-width: 60px;
  height: auto;
  padding: 0.5em;
  border-radius: 12px;
  border: 2px solid var(--primary);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
  background-color: var(--card);
}

header p {
  margin-bottom: 0;
}

.buttons {
  margin-top: 2em;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

@media (min-width: 600px) {
  .buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.highlighted-section {
  background-color: var(--primary);
  color: var(--surface);
  padding: 2em 1em;
  border-radius: 8px;
  margin-top: 3em;
}

.highlighted-section h2 {
  margin-top: 0;
  color: var(--surface);
}

.highlighted-section img.guide-img {
  max-width: 100%;
  height: auto;
  margin-top: 1em;
  border: 3px solid var(--surface);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

.policy-link {
  margin-top: 2em;
}

.policy-link a {
  color: var(--primary);
  text-decoration: underline;
}

.policy-link a:hover {
  color: var(--secondary);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--surface);
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
}

/* policy 페이지용 */
main .container a {
  color: var(--primary);
  text-decoration: underline;
}

main .container a:hover {
  color: var(--secondary);
}
