@font-face {
  font-family: 'LotteMartDream';
  src: url('//cdn.jsdelivr.net/korean-webfonts/1/corps/lottemart/LotteMartDream/LotteMartDreamMedium.woff2') format('woff2'),
       url('//cdn.jsdelivr.net/korean-webfonts/1/corps/lottemart/LotteMartDream/LotteMartDreamMedium.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'LotteMartDream';
  src: url('//cdn.jsdelivr.net/korean-webfonts/1/corps/lottemart/LotteMartDream/LotteMartDreamBold.woff2') format('woff2'),
       url('//cdn.jsdelivr.net/korean-webfonts/1/corps/lottemart/LotteMartDream/LotteMartDreamBold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'LotteMartDream';
  src: url('//cdn.jsdelivr.net/korean-webfonts/1/corps/lottemart/LotteMartDream/LotteMartDreamLight.woff2') format('woff2'),
       url('//cdn.jsdelivr.net/korean-webfonts/1/corps/lottemart/LotteMartDream/LotteMartDreamLight.woff') format('woff');
  font-weight: 300;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #202124;
  background: #f5f7f8;
  font-family: 'LotteMartDream', Arial, "Noto Sans KR", sans-serif;
  line-height: 1.5;
  transition: background 0.2s ease, color 0.2s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  padding: 20px 5vw 22px;
  background: #ffffff;
  border-bottom: 1px solid #edf0f2;
}

.top-bar,
.page-shell {
  width: min(1280px, 100%);
  margin: 0 auto;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
}

.top-actions,
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.theme-toggle,
.search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.icon-button {
  width: 38px;
  height: 38px;
  color: #202124;
  font-size: 24px;
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-left: 10px;
  border: 2px solid #202124;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}

.top-bar > .pay-badge {
  margin-right: auto;
}

.theme-toggle {
  min-width: 70px;
  min-height: 36px;
  padding: 0 14px;
  color: #ffffff;
  background: #202124;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.theme-toggle:focus-visible,
.search-button:focus-visible,
.icon-button:focus-visible {
  outline: 3px solid rgba(3, 199, 90, 0.35);
  outline-offset: 2px;
}

.search-panel {
  display: flex;
  align-items: center;
  width: min(710px, 100%);
  height: 60px;
  margin: 8px auto 12px;
  padding: 0 18px 0 26px;
  background: #ffffff;
  border: 2px solid #03c75a;
  border-radius: 999px;
}

.logo {
  margin-right: 18px;
  color: #03c75a;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.search-panel input {
  flex: 1;
  min-width: 0;
  height: 100%;
  color: #202124;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 20px;
}

.search-panel input::placeholder {
  color: #c7ccd1;
}

.search-button {
  width: 44px;
  height: 44px;
  color: #03c75a;
  font-size: 34px;
}

.service-nav {
  display: grid;
  grid-template-columns: repeat(7, minmax(64px, 1fr));
  gap: 10px;
  width: min(720px, 100%);
  margin: 0 auto;
}

.service-nav a {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 7px;
  color: #202124;
  font-size: 14px;
  font-weight: 400;
}

.service-nav span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #03c75a;
  background: #ffffff;
  border: 1px solid #e4e8eb;
  border-radius: 14px;
  box-shadow: 0 2px 7px rgba(32, 33, 36, 0.08);
  font-size: 21px;
  font-weight: 700;
}

.page-shell {
  padding: 28px 5vw 0;
}

.promo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 130px;
  margin-bottom: 16px;
  padding: 24px 46px;
  color: #07140c;
  background:
    radial-gradient(circle at 76% 40%, rgba(255, 255, 255, 0.62) 0 16%, transparent 17%),
    linear-gradient(100deg, #75ff5a 0%, #66f469 48%, #a5ff47 100%);
  border-radius: 8px;
  overflow: hidden;
}

.promo-banner h1 {
  margin: 0 0 6px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.1;
}

.promo-banner p {
  margin: 0;
  font-size: 18px;
}

.promo-banner strong {
  font-size: 24px;
}

.eyebrow {
  color: #056b32;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(330px, 0.95fr);
  gap: 28px;
  align-items: start;
}

.main-column,
.side-column {
  display: grid;
  gap: 16px;
}

.board-card,
.login-card,
.ad-card,
.mini-card {
  background: #ffffff;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
}

.board-card {
  overflow: hidden;
}

.card-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 22px;
  border-bottom: 1px solid #edf0f2;
}

.card-header h2,
.login-card p,
.ad-card h2,
.mini-card h2 {
  margin: 0;
}

.card-header h2 {
  font-size: 20px;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  color: #737a82;
  font-size: 15px;
}

.tab-list a + a::before {
  content: "/";
  margin: 0 10px;
  color: #c7ccd1;
}

.menu-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.menu-table article {
  min-height: 150px;
  padding: 22px;
  border-right: 1px solid #edf0f2;
  border-bottom: 1px solid #edf0f2;
}

.menu-table article:nth-child(2n) {
  border-right: 0;
}

.menu-table span {
  color: #03c75a;
  font-size: 13px;
  font-weight: 700;
}

.menu-table h3 {
  margin: 9px 0 8px;
  font-size: 19px;
}

.menu-table p {
  min-height: 48px;
  margin: 0 0 12px;
  color: #5f6670;
}

.menu-table strong {
  color: #03a64b;
}

.space-preview {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 22px;
  padding: 22px;
}

.space-preview img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.space-preview h3 {
  margin: 4px 0 10px;
  font-size: 24px;
}

.space-preview p,
.mini-card p {
  margin: 0 0 8px;
  color: #5f6670;
}

.login-card,
.ad-card,
.mini-card {
  padding: 22px;
}

.login-card {
  text-align: center;
}

.login-card p {
  margin-bottom: 14px;
  color: #40464d;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 4px;
  font-weight: 700;
}

.button.primary {
  width: 100%;
  color: #ffffff;
  background: #03a64b;
}

.small-links {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 16px;
  color: #737a82;
  font-size: 14px;
}

.small-links a + a::before {
  content: "|";
  margin: 0 10px;
  color: #d4d8dc;
}

.ad-card {
  position: relative;
  min-height: 190px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.8)),
    url("https://images.unsplash.com/photo-1442512595331-e89e73853f31?auto=format&fit=crop&w=900&q=80") center/cover;
}

.ad-label {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 2px 7px;
  color: #9aa1a9;
  border: 1px solid #d9dde1;
  border-radius: 999px;
  font-size: 11px;
}

.ad-card h2 {
  margin-bottom: 10px;
  font-size: 24px;
}

.ad-card p {
  max-width: 250px;
  margin: 0 0 18px;
}

.ad-card a {
  color: #03a64b;
  font-weight: 700;
}

.mini-card strong {
  color: #03a64b;
  font-size: 20px;
}

.footer {
  width: min(1280px, 100%);
  margin: 30px auto 0;
  padding: 24px 5vw;
  color: #737a82;
}

.footer p {
  margin: 0;
}

body.dark-theme {
  color: #e8edf2;
  background: #101418;
}

body.dark-theme .site-header,
body.dark-theme .board-card,
body.dark-theme .login-card,
body.dark-theme .ad-card,
body.dark-theme .mini-card,
body.dark-theme .service-nav span,
body.dark-theme .search-panel {
  background-color: #181f26;
  border-color: #2c3742;
}

body.dark-theme .icon-button,
body.dark-theme .service-nav a,
body.dark-theme .search-panel input,
body.dark-theme .pay-badge {
  color: #e8edf2;
}

body.dark-theme .theme-toggle {
  color: #202124;
  background: #ffffff;
}

body.dark-theme .search-panel input::placeholder,
body.dark-theme .tab-list,
body.dark-theme .menu-table p,
body.dark-theme .space-preview p,
body.dark-theme .mini-card p,
body.dark-theme .login-card p {
  color: #aeb7c1;
}

body.dark-theme .card-header,
body.dark-theme .menu-table article {
  border-color: #2c3742;
}

body.dark-theme .promo-banner {
  color: #07140c;
}

body.dark-theme .ad-card {
  background:
    linear-gradient(135deg, rgba(24, 31, 38, 0.96), rgba(24, 31, 38, 0.82)),
    url("https://images.unsplash.com/photo-1442512595331-e89e73853f31?auto=format&fit=crop&w=900&q=80") center/cover;
}

.text-link {
  color: #03a64b;
  font-weight: 700;
}

.menu-link {
  line-height: 1;
}

.compact-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.compact-header .logo {
  margin-right: 0;
}

.sub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.sub-nav a {
  padding: 9px 13px;
  color: #40464d;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
}

.sub-nav a:hover,
.sub-nav .active {
  color: #ffffff;
  background: #03a64b;
}

.sub-page {
  padding-top: 42px;
}

.page-title {
  max-width: 760px;
  margin-bottom: 24px;
}

.page-title h1 {
  margin: 0 0 8px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
}

.page-title p {
  margin: 0;
  color: #5f6670;
  font-size: 18px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.detail-grid article,
.detail-grid a,
.timeline article,
.contact-form {
  background: #ffffff;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
}

.detail-grid article,
.detail-grid a {
  min-height: 190px;
  padding: 24px;
}

.detail-grid h2,
.timeline h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.detail-grid p,
.timeline p {
  margin: 0 0 14px;
  color: #5f6670;
}

.detail-grid strong {
  color: #03a64b;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.feature-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.feature-row h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.feature-row p {
  margin: 0 0 24px;
  color: #5f6670;
}

.timeline {
  display: grid;
  gap: 14px;
  max-width: 860px;
}

.timeline article {
  padding: 24px;
}

.timeline span {
  display: block;
  margin-bottom: 8px;
  color: #03a64b;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
  max-width: 680px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #40464d;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: #202124;
  background: #ffffff;
  border: 1px solid #d9dde1;
  border-radius: 6px;
  outline: 0;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #03a64b;
  box-shadow: 0 0 0 3px rgba(3, 199, 90, 0.16);
}

body.dark-theme .sub-nav a {
  color: #d8e0e7;
}

body.dark-theme .sub-nav a:hover,
body.dark-theme .sub-nav .active {
  color: #ffffff;
  background: #03a64b;
}

body.dark-theme .detail-grid article,
body.dark-theme .detail-grid a,
body.dark-theme .timeline article,
body.dark-theme .contact-form {
  background: #181f26;
  border-color: #2c3742;
}

body.dark-theme .page-title p,
body.dark-theme .detail-grid p,
body.dark-theme .timeline p,
body.dark-theme .feature-row p,
body.dark-theme .contact-form label {
  color: #aeb7c1;
}

body.dark-theme .contact-form input,
body.dark-theme .contact-form textarea {
  color: #e8edf2;
  background: #101418;
  border-color: #2c3742;
}

@media (max-width: 1000px) {
  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .compact-header {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 14px;
  }

  .sub-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .content-grid,
  .space-preview {
    grid-template-columns: 1fr;
  }

  .service-nav {
    grid-template-columns: repeat(4, minmax(64px, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px 18px;
  }

  .page-shell {
    padding: 18px 16px 0;
  }

  .search-panel {
    height: 54px;
    padding-left: 18px;
  }

  .logo {
    margin-right: 12px;
    font-size: 26px;
  }

  .search-panel input {
    font-size: 16px;
  }

  .service-nav {
    grid-template-columns: repeat(3, minmax(64px, 1fr));
  }

  .promo-banner {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
  }

  .menu-table {
    grid-template-columns: 1fr;
  }

  .menu-table article {
    border-right: 0;
  }
}
