/* =========================
   Root
========================= */
:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;

  color-scheme: dark;
  background-color: #0a0b0e;
  color: #e6e6e6;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html, body {
  overflow-x: hidden;
  overflow-y: auto;
} 

/* =========================
   Base
========================= */
body {
  margin: 0;
  min-height: 100vh;
  background-color: #2c2c2c;
  color: #e6e6e6;
  padding: 0 0 3rem 0;
}



/* =========================
   Header
========================= */
header {
  top: 0;
  z-index: 50;
  background-color: #0a0b0e;
  border-bottom: 1px solid #1f2228;
}

header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}

/* ===== Header ===== */
.app-header {
  width: 100vw;
  border-bottom: 1px solid #1f2228;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 1rem;
}

.app-header h1 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont,
    'Segoe UI', 'Noto Sans KR', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ===== App ===== */
#app {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0 1rem 0;
}

/* =========================
   Navigation
========================= */
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

nav .btn {
  background-color: transparent;
  color: #e6e6e6;
  border: 1px solid #22252b;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

nav .btn:hover {
  background-color: #15171c;
  border-color: #2f333a;
  color:#e6e6e6
}

a:link {
  text-decoration: none;
}


a:hover {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}



/* =========================
   App Layout
========================= */
#app {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =========================
   Main Container
========================= */
main {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0px;
}

/* =========================
   Content Box (중심 레이아웃)
========================= */
main > * {
  width: 100%;
  max-width: 1280px;
  
}

/* =========================
   Typography
========================= */
h2, h3 {
  color: #ffffff;
  font-weight: 600;
}

p {
  line-height: 1.75;
  color: #e0e0e0;
}

/* =========================
   Cards (리스트용)
========================= */
.card {
  background-color: #15171c;
  border: 1px solid #22252b;
  border-radius: 14px;
  margin-bottom: 1.25rem;
}

/* =========================
   Buttons
========================= */
button,
.btn {
  background-color: #15171c;
  color: #ffffff;
  border: 1px solid #22252b;
  border-radius: 10px;
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
  cursor: pointer;
}

button:hover,
.btn:hover {
  background-color: #1b1e24;
}

/* =========================
   Forms
========================= */
input,
textarea,
select {
  width: 100%;
  background-color: #0a0b0e;
  color: #e6e6e6;
  border: 1px solid #22252b;
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
}

input::placeholder,
textarea::placeholder {
  color: #7d828a;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #3a3f47;
}

/* =========================
   Divider
========================= */
hr {
  border: none;
  border-top: 1px solid #22252b;
  margin: 2rem 0;
}

/* =========================
   Responsive
========================= */
@media (max-width: 1279px) {
  
  header h1 {
    font-size: 1.8rem;
  }
  
  header h2 {
    font-size: 1.4rem;
  } 
  
  header h3 {
    font-size: 1.0rem;
  }

  main > * {
    border-radius: 0;
  }
}



