:root {
  /* Light pink tone */
  --primary-color: #FF7FBF; /* soft pink */
  --primary-hover: #FF68B3; /* slightly deeper pink */
  --primary-rgb: 255, 127, 191;
  --gloss-gradient: linear-gradient(135deg, rgba(255, 96, 170, 0.92), rgba(255, 136, 202, 0.92));
  --gloss-gradient-strong: linear-gradient(135deg, rgba(255, 116, 190, 1), rgba(255, 146, 215, 0.98));
  --secondary-color: #F7FAFF; /* subtle bluish background */
  --text-color: #333;
  --light-text-color: #fff;
  --border-radius: 16px;
  --button-radius: 999px; /* fully rounded buttons */
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-elev: 0 10px 30px rgba(0, 0, 0, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.38);
  --glass-bg-strong: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.65);
  --glass-border-strong: rgba(255, 255, 255, 0.85);
  --glass-shadow: 0 18px 28px rgba(0, 0, 0, 0.12);
  --glass-shadow-strong: 0 24px 40px rgba(0, 0, 0, 0.18);
  --glass-shadow-pressed: 0 12px 20px rgba(0, 0, 0, 0.18);
  --success-rgb: 25, 135, 84;
  --danger-rgb: 220, 53, 69;
  --text-gloss: 0 1px 0 rgba(255, 255, 255, 0.55), 0 -1px 0 rgba(0, 0, 0, 0.06), 0 0 10px rgba(255, 255, 255, 0.35);
  --text-gloss-strong: 0 1px 0 rgba(255, 255, 255, 0.65), 0 -1px 0 rgba(0, 0, 0, 0.08), 0 0 12px rgba(255, 255, 255, 0.42);
}

body {
  font-family: 'Poppins', 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  background: linear-gradient(180deg, #F9FBFF 0%, #F7FAFF 40%, #FFFFFF 100%);
  color: var(--text-color);
  margin: 0; /* ensure no default gaps */
  padding-top: 0; /* NO padding - banner goes to absolute top */
  overflow-x: hidden; /* prevent horizontal dragging from full-width banner */
}

/* Global fixed background for non-home pages */
body.has-site-bg {
  background-image: url('../images/background.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  padding: 0; /* flush to top and sides */
  pointer-events: none;
}

/* Transparent-at-top behavior for home (with hero) */
.site-header .nav-container {
  transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.header-transparent .nav-container {
  background-color: transparent !important;
  box-shadow: none !important;
  border-color: transparent !important;
  backdrop-filter: none !important;
}
.site-header.header-transparent .navbar .nav-link,
.site-header.header-transparent .navbar .btn-outline-primary {
  color: #000;
  border-color: transparent;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.48));
}
.site-header.header-transparent .navbar .btn-outline-primary:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
  color: #000;
  border-color: transparent;
}
.site-header.header-transparent .navbar .btn-primary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.56));
  border-color: transparent;
  color: #111;
}
.site-header.header-transparent .navbar .btn-primary:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.7));
  border-color: transparent;
  color: #111;
}
.site-header.header-transparent .navbar-toggler { filter: none; }

.nav-container {
  max-width: none;
  width: 100%;
  margin: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  border-radius: 0;
  border: none;
  padding: 4px 20px;
  pointer-events: auto;
}

/* Center inner navbar content so it doesn't hug the edges */
.site-header .container-fluid {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 8px;
  padding-right: 8px;
}


/* Show dropdown on hover for desktop */
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
  }
  .navbar .dropdown-toggle::after {
    vertical-align: middle;
  }
}

.logo-img {
  height: 32px;
  object-fit: contain;
}

.site-header .navbar-brand.ms-3 { margin-left: 0 !important; }

/* Brand text style */
.brand-text {
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: #000;
}
.site-header.header-transparent .brand-text { color: #000; }

.navbar {
  position: relative;
}

.navbar .nav-link {
  color: #000;
  font-weight: 400; /* lighter */
  transition: color 0.3s;
}

.navbar .nav-item.dropdown {
  position: static;
}

.navbar .gallery-dropdown-menu {
  overflow-y: auto;
  max-height: 70vh;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

@media (max-width: 992px) {
  .navbar .gallery-dropdown-menu {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    margin: 0 !important;
    transform: none !important;
    width: 300px;
    padding: 0.25rem 0;
    z-index: 1080;
  }
}

.navbar .nav-link:hover {
  color: #000;
}

.hero-viewport {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.home-page .hero-viewport {
  position: sticky;
  top: 0;
  z-index: 1;
}

.hero-banner {
  border-radius: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-viewport .hero-banner {
  margin: 0;
}

.home-page .hero-viewport .hero-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-attachment: fixed;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s ease;
}

/* Keep the footer area solid by fading the hero image when approaching the bottom */
.home-page .hero-viewport.hero-hidden .hero-banner {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero-banner.gallery-hero {
  height: 55vh;
  min-height: 55vh;
}

.hero-banner.gallery-hero {
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.hero-overlay {
  background: transparent; /* keep image colors unchanged */
  border-radius: 0;
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-overlay__content {
  color: #fff;
  text-shadow: 0 14px 26px rgba(0, 0, 0, 0.6);
}
.hero-overlay__content .small-text {
  letter-spacing: 0.25rem;
  text-transform: uppercase;
  font-size: 0.95rem;
  opacity: 0.9;
}
.hero-overlay__content h1 {
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  margin-bottom: 0;
}

/* On small screens, show the entire banner image (contain) */
@media (max-width: 576px) {
  .hero-banner {
    background-size: cover;
    background-position: center center;
    min-height: 55vh;
    height: auto;
    background-repeat: no-repeat;
  }
  .hero-overlay {
    justify-content: center;
    padding: 2rem 1.5rem 1.5rem;
  }
  .hero-banner.gallery-hero {
    min-height: 45vh;
  }
}

/* Universal liquid-glass buttons (aligned with top bar) */
  .btn,
  .navbar .btn {
    border-radius: var(--button-radius) !important;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(var(--primary-rgb), 0.28));
    color: #111;
    text-shadow: var(--text-gloss);
    box-shadow: var(--glass-shadow), 0 6px 18px rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px) saturate(140%);
    font-weight: 600;
    padding: 9px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    transition: none;
    position: relative;
  }
  .navbar .btn { padding: 8px 14px; }
  .btn:hover,
  .btn:focus {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(var(--primary-rgb), 0.34));
    border-color: rgba(255, 255, 255, 0.68);
    text-shadow: var(--text-gloss-strong);
    color: #111;
  }
  .btn:active {
    box-shadow: none;
  }
  .btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.18);
  }

  .site-header .navbar .btn {
    background: transparent !important;
    border-color: rgba(17, 17, 17, 0.14);
    color: #111 !important;
  }
  .site-header .navbar .btn:hover,
  .site-header .navbar .btn:focus {
    background: transparent !important;
    color: #111 !important;
  }
  .site-header .navbar .btn:active {
    background: transparent !important;
  }

  .btn-primary,
  .btn-success,
  .btn-danger {
    border: 1px solid rgba(var(--primary-rgb), 0.35);
    color: #111;
    text-shadow: var(--text-gloss);
  }
  .btn-success {
    border-color: rgba(var(--success-rgb), 0.3);
    color: rgb(var(--success-rgb));
  }
  .btn-danger {
    border-color: rgba(var(--danger-rgb), 0.3);
    color: rgb(var(--danger-rgb));
  }
    .btn-primary:hover,
    .btn-success:hover,
    .btn-danger:hover {
      background: transparent;
      text-shadow: var(--text-gloss-strong);
    }

  .btn-outline-primary,
  .btn-outline-success,
  .btn-outline-danger,
  .btn-outline-dark {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.32));
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #111;
    text-shadow: var(--text-gloss);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(12px) saturate(140%);
  }
  .btn-outline-primary {
    color: rgb(var(--primary-rgb));
    border-color: rgba(var(--primary-rgb), 0.26);
  }
  .btn-outline-success {
    color: #0f5132;
    border-color: rgba(var(--success-rgb), 0.26);
  }
  .btn-outline-danger {
    color: #842029;
    border-color: rgba(var(--danger-rgb), 0.26);
  }
  .btn-outline-dark {
    color: #111;
  }
  .btn-outline-primary:hover,
  .btn-outline-success:hover,
  .btn-outline-danger:hover,
  .btn-outline-dark:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.42));
    text-shadow: var(--text-gloss-strong);
  }
  .btn-outline-success:hover {
    color: #0f5132;
  }
  .btn-outline-danger:hover {
    color: #842029;
  }
  .btn-outline-dark:hover {
    color: #111;
  }

/* Keep inline action buttons tidy and multi-line safe */
.user-action-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

/* Auth pages */
.auth-card {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  background: #fff;
  padding: 24px;
}
.auth-illustration {
  max-width: 360px;
}

.form-control {
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.form-control:focus {
  border-color: rgba(var(--primary-rgb), .35);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .12);
}

.card {
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.98);
}

.liquid-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(160%);
  border-radius: calc(var(--border-radius) - 4px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.liquid-card:hover {
  transform: translateY(-3px);
  background: var(--glass-bg-strong);
  border-color: var(--glass-border-strong);
  box-shadow: var(--glass-shadow-strong);
}

.liquid-list .list-group-item {
  margin-bottom: 12px;
  border-radius: calc(var(--border-radius) + 4px);
}
.liquid-list .list-group-item:last-child {
  margin-bottom: 0;
}

.user-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--glass-border);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(14px) saturate(150%);
}
.user-card:hover {
  background: var(--glass-bg-strong);
  border-color: var(--glass-border-strong);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.14);
}
.user-card-inner {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.user-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}
.user-card-header .user-meta {
  min-width: 0;
  flex: 1;
}
.user-card-header .user-meta .fw-semibold,
.user-card-header .user-meta .text-muted {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-card .user-action-group {
  width: 100%;
  margin-top: 0.35rem;
}

/* Add top spacing for non-home pages so content isn't hidden behind fixed header */
main {
  position: relative;
  z-index: 1;
}

body.home-page main {
  background: transparent;
}

main:not(:has(.hero-banner)) {
  padding-top: 72px;
}

.hero-transition {
  position: relative;
  z-index: 2;
  height: 120px;
  margin-top: 0;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  pointer-events: none;
}

.hero-transition::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #ffffff;
  border-top-left-radius: 56px;
  border-top-right-radius: 56px;
  box-shadow: 0 -6px 18px rgba(255, 255, 255, 0.6) inset, 0 18px 36px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .hero-transition {
    height: 80px;
    margin-top: -80px;
  }
  .hero-transition::before {
    border-top-left-radius: 36px;
    border-top-right-radius: 36px;
  }
}

.hero-content-shell {
  position: relative;
  background: #ffffff;
  padding-bottom: 2rem;
  overflow: hidden;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  z-index: 3;
}

.hero-content-shell .container {
  position: relative;
  z-index: 1;
}

.hero-card-surface {
  background: #ffffff;
  border-top-left-radius: 48px;
  border-top-right-radius: 48px;
  box-shadow: 0 -6px 28px rgba(0, 0, 0, 0.05), 0 18px 40px rgba(0, 0, 0, 0.08);
  padding: 4rem 0 3rem;
  margin-top: 0;
  position: relative;
  z-index: 3;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  overflow: hidden;
}

.hero-card-surface::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #ffffff;
  border-top-left-radius: 48px;
  border-top-right-radius: 48px;
  z-index: 0;
}

.hero-card-surface > .container {
  position: relative;
  z-index: 1;
}

.hero-card-surface .hero-card-top {
  margin-top: -2rem;
}
.glass-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 25px 45px rgba(255, 143, 192, 0.2);
  backdrop-filter: blur(12px);
}

.home-page footer {
  position: relative;
  background: transparent;
  margin-top: 0;
  padding-top: 1rem;
  z-index: 4;
  padding-bottom: 2rem;
}

/* Toast notifications styling */
.toast {
  border-radius: var(--button-radius);
  box-shadow: var(--shadow);
  min-width: 300px;
  margin-bottom: 0.5rem;
  background-color: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: saturate(180%) blur(10px);
  border: 1px solid black !important;
  color: var(--text-color) !important;
}

.toast-body {
  font-weight: 400;
}

/* Profile banner styling */
.profile-banner {
  position: relative;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.profile-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

/* Scroll reveal animations */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-36px); transition: opacity .8s ease, transform .8s ease; }
.reveal-left.show { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(36px); transition: opacity .8s ease, transform .8s ease; }
.reveal-right.show { opacity: 1; transform: translateX(0); }
.reveal-slow { transition-duration: 1.1s; }

/* Art Gallery */
.art-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-ranking {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.category-ranking__header h3 {
  font-size: 1.3rem;
  margin-bottom: 0;
}

.category-ranking__podium {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.podium-card {
  flex: 1;
  min-width: 180px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(250, 250, 255, 0.9));
  text-align: center;
}

.podium-card h3 {
  margin: 0.3rem 0;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
}

.podium-card .podium-label {
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #555;
}

.podium-count {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
}

.category-ranking__list .list-group-item {
  font-size: 1rem;
}

.category-ranking__list .badge {
  font-size: 0.9rem;
}

.user-access-ranking {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.user-access-ranking__podium {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.user-access-ranking__podium .podium-card {
  flex: 1;
  min-width: 180px;
  border-radius: var(--border-radius);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.user-access-ranking__list {
  margin-top: 1rem;
}

.user-access-ranking__list .list-group-item {
  font-size: 1rem;
}

.access-graph__bar {
  flex: 1;
  max-width: 60px;
}

.access-graph__bar-inner {
  background: linear-gradient(180deg, rgba(255, 145, 0, 0.9), rgba(255, 80, 0, 0.6));
  border-radius: var(--border-radius);
  width: 100%;
  transition: height 0.3s ease;
}

.art-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.art-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.art-card video {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.art-card .media-placeholder {
  width: 100%;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f3f5;
  color: #333;
  font-weight: 500;
}

.art-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.6));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.art-card:hover .art-overlay {
  opacity: 1;
}

.art-overlay .fw-bold {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.art-overlay p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.art-card {
  transition: transform 0.3s ease;
}

.art-card:hover {
  transform: translateY(-5px);
}

.uploader-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  color: var(--text-color);
  padding: 6px 10px;
  border-radius: 999px;
}

.uploader-chip img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.access-graph {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--border-radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.access-graph__bar small {
  display: block;
  font-size: 0.8rem;
}
.gallery-tabs {
  display: flex;
  gap: 0.5rem;
}

.gallery-tabs .btn {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(var(--primary-rgb), 0.24)) !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #111 !important;
  text-shadow: var(--text-gloss);
  padding: 10px 18px;
  font-weight: 600;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(12px) saturate(140%);
}

.gallery-tabs .btn:hover,
.gallery-tabs .btn:focus {
  border-color: rgba(255, 255, 255, 0.68);
  text-shadow: var(--text-gloss-strong);
}

.rounded-circle {
  border-radius: 50% !important;
  object-fit: cover;
}

/* 2026 refresh */
:root {
  --primary-color: #F59E0B;
  --primary-hover: #D97706;
  --primary-rgb: 245, 158, 11;
  --secondary-color: #EF4444;
  --secondary-hover: #DC2626;
  --secondary-rgb: 239, 68, 68;
  --accent-color: #3B82F6;
  --accent-rgb: 59, 130, 246;
  --text-color: #422006;
  --muted-text-color: #8A5A24;
  --surface-color: rgba(255, 255, 255, 0.94);
  --surface-strong: #ffffff;
  --surface-soft: #FFF0DB;
  --border-color: rgba(245, 158, 11, 0.18);
  --border-radius: 24px;
  --button-radius: 999px;
  --shadow: 0 18px 40px rgba(239, 68, 68, 0.10);
  --shadow-soft: 0 10px 24px rgba(245, 158, 11, 0.08);
}

html,
body {
  min-height: 100%;
}

body,
body.site-shell,
body.home-page {
  font-family: 'Manrope', 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at top left, rgba(var(--primary-rgb), 0.16), transparent 26%),
    radial-gradient(circle at top right, rgba(var(--accent-rgb), 0.12), transparent 24%),
    radial-gradient(circle at bottom center, rgba(var(--secondary-rgb), 0.08), transparent 28%),
    linear-gradient(180deg, #FFF7ED 0%, #FFF4E6 50%, #FFF7ED 100%);
}

body.has-site-bg {
  background-image: none;
}

.site-header {
  position: sticky;
  top: 0;
  left: auto;
  right: auto;
  padding: 0.55rem 0 0.8rem;
  pointer-events: auto;
  flex-shrink: 0;
}

.nav-container {
  width: 100%;
  max-width: 1180px;
  padding: 0.25rem 0.4rem;
  border: 1px solid rgba(var(--primary-rgb), 0.20);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 237, 0.98));
  box-shadow: var(--shadow);
}

.site-header .container-fluid {
  max-width: none;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.navbar {
  min-height: 60px;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-right: 1rem;
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(var(--primary-rgb), 0.14);
  box-shadow: var(--shadow-soft);
}

.brand-copy {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand-text {
  color: var(--text-color);
  font-weight: 800;
  font-size: 0.96rem;
  letter-spacing: -0.02em;
}

.brand-subtext {
  display: none;
}

.navbar .nav-link {
  color: var(--text-color);
}

.nav-link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.5rem 0.85rem !important;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--text-color) !important;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-link-pill:hover,
.nav-link-pill:focus,
.nav-item.show .nav-link-pill {
  background: rgba(var(--primary-rgb), 0.12);
  color: var(--secondary-color) !important;
  box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb), 0.15);
  transform: translateY(-1px);
}

.navbar-toggler {
  border: 1px solid rgba(var(--primary-rgb), 0.18);
  border-radius: 999px;
  padding: 0.4rem 0.55rem;
  background: #ffffff;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.12);
}

.gallery-dropdown-menu,
.dropdown-menu {
  border: 1px solid rgba(var(--primary-rgb), 0.16);
  border-radius: 24px;
  padding: 0.6rem;
  box-shadow: var(--shadow);
  background: #ffffff;
  min-width: 260px;
}

.dropdown-item {
  border-radius: 16px;
  padding: 0.8rem 0.9rem;
  font-weight: 600;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(var(--primary-rgb), 0.10);
  color: var(--secondary-color);
}

.dropdown-count {
  min-width: 34px;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent-color);
  text-align: center;
  font-size: 0.82rem;
}

main.site-main {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  padding: 0.4rem 0 4rem;
}

.page-container {
  max-width: 1220px;
}

.site-footer {
  margin-top: auto;
  flex-shrink: 0;
  position: relative;
  padding: 0 0 2.6rem;
  color: var(--muted-text-color);
}

.site-footer::before {
  content: '';
  display: block;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-bottom: 1.5rem;
  border-top: 1px solid rgba(var(--primary-rgb), 0.22);
}

.footer-shell {
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 0.7fr));
  gap: 1.5rem;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.72rem;
}

.footer-brand-block h3 {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  margin: 0;
  font-family: 'Jua', 'Noto Sans KR', sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.35rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--text-color);
}

.footer-brand-block h3 span {
  display: block;
}

.footer-brand-block p {
  margin: 0;
  max-width: 360px;
  line-height: 1.75;
}

.footer-link-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link-group h4 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  color: var(--secondary-color);
}

.footer-link-group a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
}

.footer-link-group a:hover,
.footer-link-group a:focus {
  color: var(--accent-color);
}

.footer-bottom {
  display: block;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 0;
}

.footer-caption {
  max-width: 420px;
  color: var(--muted-text-color);
  line-height: 1.6;
}

.footer-maker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: var(--muted-text-color);
  text-decoration: none;
  font-family: 'Jua', 'Noto Sans KR', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  box-shadow: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.footer-maker:hover,
.footer-maker:focus {
  transform: none;
  border-color: transparent;
  box-shadow: none;
  color: var(--text-color);
}

.footer-maker strong {
  color: var(--accent-color);
  font-weight: 400;
}

.btn,
.navbar .btn,
.gallery-tabs .btn {
  border-radius: 999px !important;
  border: 1px solid transparent;
  padding: 0.78rem 1.2rem;
  font-weight: 700;
  box-shadow: none;
  text-shadow: none;
  backdrop-filter: none;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.nav-actions .btn {
  padding: 0.5rem 0.9rem;
  font-size: 0.92rem;
}

.btn-primary,
.btn-success {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
}

.btn-primary:hover,
.btn-success:hover,
.btn-primary:focus,
.btn-success:focus {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #ffffff;
}

.btn-dark {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #ffffff;
}

.btn-dark:hover,
.btn-dark:focus {
  background: var(--secondary-hover);
  border-color: var(--secondary-hover);
  color: #ffffff;
}

.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-success,
.btn-outline-danger,
.btn-secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(var(--primary-rgb), 0.16);
  color: var(--text-color);
}

.btn-outline-primary {
  border-color: rgba(var(--accent-rgb), 0.25);
  color: var(--accent-color);
}

.btn-outline-danger {
  border-color: rgba(var(--secondary-rgb), 0.25);
  color: var(--secondary-color);
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.btn-outline-success:hover,
.btn-outline-danger:hover,
.btn-secondary:hover {
  background: #ffffff;
  color: var(--text-color);
}

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

.card,
.auth-card,
.section-card,
.category-ranking,
.user-access-ranking,
.access-graph {
  border: 1px solid rgba(var(--primary-rgb), 0.10);
  border-radius: 28px;
  background: var(--surface-color);
  box-shadow: var(--shadow);
}

.section-card {
  padding: 1.5rem;
}

.card:hover,
.liquid-card:hover,
.user-card:hover {
  transform: translateY(-2px);
}

.form-control,
.form-select {
  min-height: 52px;
  border-radius: 18px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.92);
}

textarea.form-control {
  min-height: 140px;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(var(--primary-rgb), 0.3);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.12);
  background: #ffffff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.8rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--primary-color);
}

.empty-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 220px;
  padding: 2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted-text-color);
  text-align: center;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2rem);
  letter-spacing: -0.03em;
}

.home-shell,
.gallery-shell,
.editor-shell {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.home-shell {
  gap: 0;
}

.home-hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: calc(100svh - 3rem);
  padding: clamp(2.75rem, 7vh, 4.75rem) 0 clamp(4rem, 9vh, 6rem);
  overflow: hidden;
  isolation: isolate;
}

.home-hero__fireworks {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.firework {
  position: absolute;
  aspect-ratio: 1;
  width: min(30vw, 320px);
  border-radius: 50%;
  opacity: 0.74;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.96) 0 4%, transparent 4.8%),
    repeating-conic-gradient(
      from 0deg,
      rgba(var(--primary-rgb), 0.9) 0 8deg,
      transparent 8deg 18deg,
      rgba(var(--secondary-rgb), 0.84) 18deg 26deg,
      transparent 26deg 36deg,
      rgba(var(--accent-rgb), 0.84) 36deg 44deg,
      transparent 44deg 54deg,
      rgba(255, 255, 255, 0.7) 54deg 60deg,
      transparent 60deg 72deg
    );
  -webkit-mask: radial-gradient(circle, transparent 0 16%, #000 18% 62%, transparent 66%);
  mask: radial-gradient(circle, transparent 0 16%, #000 18% 62%, transparent 66%);
  animation: fireworkGlow 4.8s ease-in-out infinite;
}

.firework::before,
.firework::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.firework::before {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.92) 0 3.4%, transparent 4.2%),
    repeating-conic-gradient(
      from 12deg,
      rgba(var(--accent-rgb), 0.76) 0 7deg,
      transparent 7deg 16deg,
      rgba(var(--secondary-rgb), 0.72) 16deg 23deg,
      transparent 23deg 32deg,
      rgba(var(--primary-rgb), 0.72) 32deg 39deg,
      transparent 39deg 48deg
    );
  -webkit-mask: radial-gradient(circle, transparent 0 24%, #000 27% 74%, transparent 78%);
  mask: radial-gradient(circle, transparent 0 24%, #000 27% 74%, transparent 78%);
  opacity: 0.78;
  transform: scale(0.72) rotate(14deg);
}

.firework::after {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.18) 0 34%, transparent 36%),
    radial-gradient(circle, rgba(var(--primary-rgb), 0.18) 0 50%, transparent 52%);
  opacity: 0.55;
  transform: scale(1.18);
}

.firework--left {
  top: 7%;
  left: -1%;
  width: min(24vw, 240px);
  animation-delay: -0.6s;
}

.firework--center {
  top: 1%;
  left: 50%;
  transform: translateX(-50%);
  width: min(32vw, 340px);
  animation-delay: -1.9s;
}

.firework--right {
  top: 10%;
  right: -2%;
  width: min(22vw, 220px);
  animation-delay: -1.1s;
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  margin: 0 auto;
}

.home-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1.1rem;
  padding-top: clamp(2.4rem, 8vh, 5.5rem);
  text-align: center;
}

.home-hero__year {
  margin: 0;
  color: rgba(var(--secondary-rgb), 0.92);
  font-size: clamp(0.98rem, 2vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.26em;
}

.home-hero h1 {
  font-size: clamp(3.25rem, 8vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
  margin: 0;
  max-width: 8ch;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 0;
}

.home-hero__actions .btn {
  min-width: 148px;
  padding: 0.9rem 1.35rem;
}

@keyframes fireworkGlow {
  0%,
  100% {
    opacity: 0.34;
    filter: saturate(0.96);
  }
  40% {
    opacity: 0.82;
    filter: saturate(1.08);
  }
  70% {
    opacity: 0.56;
    filter: saturate(1.02);
  }
}

.home-section {
  padding-top: 1rem;
}

.home-overview {
  padding-top: 1.75rem;
}

.home-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  max-width: 1040px;
  margin: 0 auto;
}

.stat-card {
  min-height: 150px;
  padding: 1.35rem;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-card__label {
  display: block;
  color: var(--muted-text-color);
  font-size: 0.82rem;
  margin-bottom: 0.65rem;
}

.stat-card strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
}

.home-stat-grid .stat-card:nth-child(2) {
  transition-delay: 0.08s;
}

.home-stat-grid .stat-card:nth-child(3) {
  transition-delay: 0.16s;
}

.home-section-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.5rem;
}

.quick-link-grid,
.mini-art-grid,
.year-selector-grid {
  display: grid;
  gap: 1rem;
}

.quick-link-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quick-link-card,
.year-card,
.mini-art-card,
.booth-preview-item {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 26px;
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.quick-link-card:hover,
.year-card:hover,
.mini-art-card:hover,
.booth-preview-item:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--primary-rgb), 0.18);
  box-shadow: var(--shadow);
}

.quick-link-card__kicker,
.year-card__tag {
  display: inline-flex;
  margin-bottom: 0.75rem;
  color: var(--accent-color);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.quick-link-card strong,
.year-card strong,
.mini-art-card strong,
.booth-preview-item strong {
  display: block;
  font-size: 1.08rem;
  margin-bottom: 0.55rem;
}

.mini-art-card p {
  margin: 0;
  color: var(--muted-text-color);
  line-height: 1.65;
}

.year-selector-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.year-card {
  min-height: 204px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.year-card__count {
  color: var(--muted-text-color);
  font-weight: 700;
}

.year-card__action {
  margin-top: 1.25rem;
  color: var(--accent-color);
  font-weight: 700;
}

.year-card.is-active {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.98), rgba(var(--secondary-rgb), 0.92));
  color: #ffffff;
}

.year-card.is-active p,
.year-card.is-active .year-card__tag,
.year-card.is-active .year-card__action {
  color: rgba(255, 255, 255, 0.84);
}

.mini-art-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-art-card {
  padding: 0;
  overflow: hidden;
}

.mini-art-card__media {
  height: 190px;
  background: #FFE5C2;
}

.mini-art-card__media img,
.mini-art-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mini-art-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--muted-text-color);
}

.mini-art-card__body {
  padding: 1rem 1.1rem 1.15rem;
}

.festival-timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(32, 39, 34, 0.08);
}

.timeline-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.timeline-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(var(--accent-rgb), 0.10);
  color: var(--accent-color);
  font-weight: 800;
  flex: 0 0 auto;
}

.timeline-item strong {
  display: block;
  margin-bottom: 0.35rem;
}

.timeline-item p {
  margin: 0;
  color: var(--muted-text-color);
  line-height: 1.7;
}

.booth-preview-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.booth-preview-item__meta {
  color: var(--muted-text-color);
  font-weight: 700;
}

.gallery-hero-panel,
.gallery-toolbar,
.editor-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 2.1rem;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.gallery-hero-panel {
  flex-direction: column;
  align-items: flex-start;
}

.gallery-hero-panel h1,
.gallery-toolbar h2,
.editor-header h2 {
  margin: 0;
  letter-spacing: -0.04em;
}

.gallery-hero-panel p,
.gallery-toolbar__text {
  color: var(--muted-text-color);
  line-height: 1.75;
  max-width: 760px;
}

.gallery-year-selector {
  margin-top: -0.1rem;
}

.category-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 126px;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(32, 39, 34, 0.08);
  color: var(--text-color);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}

.category-chip strong {
  color: var(--accent-color);
}

.category-chip.is-active {
  background: var(--primary-color);
  color: #ffffff;
}

.category-chip.is-active strong {
  color: #ffffff;
}

.category-ranking {
  padding: 1.5rem;
}

.category-ranking__podium {
  gap: 1rem;
}

.podium-card {
  min-width: 0;
  background: rgba(255, 255, 255, 0.84);
  border-radius: 22px;
  border: 1px solid rgba(32, 39, 34, 0.08);
}

.podium-count {
  color: var(--secondary-color);
}

.art-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.art-card__media {
  height: 260px;
  background: #FFE5C2;
}

.art-card__media img,
.art-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.art-card .media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--muted-text-color);
  background: linear-gradient(135deg, #FFF0DB, #FFE1B4);
}

.art-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.3rem;
}

.art-card__meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.art-card__meta span,
.detail-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.10);
  color: var(--accent-color);
  font-size: 0.82rem;
  font-weight: 700;
}

.art-card h3 {
  font-size: 1.14rem;
  margin: 0;
  line-height: 1.4;
}

.art-card p {
  margin: 0;
  color: var(--muted-text-color);
  line-height: 1.65;
}

.editor-header {
  align-items: center;
}

.editor-form {
  width: 100%;
}

.editor-note {
  margin: 1.1rem 0 1.4rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--accent-color);
  font-weight: 600;
}

.artwork-detail-media,
.artwork-detail-info {
  padding: 1.4rem;
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.artwork-description {
  color: var(--muted-text-color);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.uploader-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.9rem 0.5rem 0.55rem;
  border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.10);
  border: 1px solid rgba(var(--primary-rgb), 0.16);
}

.uploader-chip img {
  width: 34px;
  height: 34px;
}

.toast {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

@media (max-width: 991.98px) {
  .gallery-toolbar,
  .editor-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-section-split {
    grid-template-columns: 1fr;
  }

  .quick-link-grid,
  .mini-art-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-actions {
    margin-top: 1rem;
  }

  .navbar-collapse {
    padding: 1rem 0 0.25rem;
  }

  .gallery-dropdown-menu {
    position: static !important;
    width: 100%;
    margin-top: 0.5rem !important;
  }
}

@media (max-width: 767.98px) {
  .nav-container {
    border-radius: 34px;
  }

  main.site-main {
    padding-bottom: 3rem;
  }

  .gallery-hero-panel,
  .gallery-toolbar,
  .editor-header,
  .section-card {
    padding: 1.45rem;
  }

  .home-hero h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .home-hero {
    min-height: calc(100svh - 2rem);
    padding: 2.2rem 0 4rem;
  }

  .home-hero__copy {
    padding-top: 2rem;
  }

  .home-hero__year {
    letter-spacing: 0.18em;
  }

  .firework--left {
    top: 9%;
    left: -12%;
    width: min(42vw, 180px);
  }

  .firework--center {
    top: 4%;
    width: min(52vw, 220px);
  }

  .firework--right {
    top: 12%;
    right: -14%;
    width: min(38vw, 160px);
  }

  .home-hero__actions {
    width: min(100%, 280px);
    flex-direction: column;
    margin-inline: auto;
  }

  .home-hero__actions .btn {
    width: 100%;
  }

  .quick-link-grid,
  .year-selector-grid,
  .mini-art-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .home-stat-grid {
    grid-template-columns: 1fr;
  }

  .footer-shell {
    padding: 1.45rem;
  }

  .footer-maker {
    width: auto;
    justify-content: flex-start;
  }

  .category-chip {
    min-width: calc(50% - 0.4rem);
  }

  .art-card__media,
  .mini-art-card__media {
    height: 220px;
  }
}

/* Line-only card mode */
.home-hero,
.info-card,
.stat-card,
.quick-link-card,
.year-card,
.mini-art-card,
.booth-preview-item,
.liquid-card,
.liquid-list .list-group-item,
.list-group-item.liquid-card,
.gallery-hero-panel,
.gallery-toolbar,
.editor-header,
.card,
.auth-card,
.section-card,
.category-ranking,
.user-access-ranking,
.access-graph,
.footer-shell,
.category-chip,
.podium-card,
.art-card,
.empty-panel,
.uploader-chip,
.footer-maker {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

.footer-shell {
  border: 0 !important;
}

.home-hero::before {
  display: none;
}

.home-page .home-hero {
  border: 0 !important;
  border-radius: 0 !important;
}

.card:hover,
.liquid-card:hover,
.user-card:hover,
.quick-link-card:hover,
.year-card:hover,
.mini-art-card:hover,
.booth-preview-item:hover,
.footer-maker:hover,
.footer-maker:focus,
.art-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

.info-card-accent,
.year-card.is-active,
.category-chip.is-active {
  background: transparent !important;
  color: var(--text-color) !important;
}

.year-card.is-active p,
.year-card.is-active .year-card__tag,
.year-card.is-active .year-card__action,
.category-chip.is-active strong {
  color: inherit !important;
}

.mini-art-card__media,
.art-card__media {
  background: transparent !important;
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.18);
}

.art-card .media-placeholder,
.mini-art-card__placeholder {
  background: transparent !important;
}

.footer-bottom,
.timeline-item,
.art-card__body,
.mini-art-card__body,
.liquid-list .list-group-item,
.table > :not(caption) > * > *,
.table-responsive,
.alert.alert-light.border {
  border-color: rgba(var(--primary-rgb), 0.18);
}

.table-responsive {
  border: 1px solid rgba(var(--primary-rgb), 0.18);
  border-radius: 24px;
}

.table {
  margin-bottom: 0;
  --bs-table-bg: transparent;
  --bs-table-striped-bg: transparent;
  --bs-table-hover-bg: transparent;
  --bs-table-border-color: rgba(var(--primary-rgb), 0.18);
}

.table > :not(caption) > * > * {
  background: transparent !important;
  box-shadow: none !important;
}

.alert.alert-light.border {
  background: transparent !important;
  box-shadow: none !important;
}

.editor-note {
  background: transparent !important;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
}

/* Home page refresh */
body.home-page {
  --home-pink-rgb: 244, 114, 182;
  --home-violet-rgb: 168, 85, 247;
  --home-orange-rgb: 249, 115, 22;
  --home-gold-rgb: 251, 191, 36;
  --home-mint-rgb: 45, 212, 191;
  --home-card-shadow: 0 20px 48px rgba(168, 85, 247, 0.10);
  --home-card-shadow-hover: 0 28px 56px rgba(249, 115, 22, 0.14);
}

.home-page .home-hero__fireworks {
  filter: saturate(1.08);
}

.home-page .firework {
  width: min(28vw, 300px);
  opacity: 0;
  overflow: visible;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.98) 0 3.2%, transparent 9%),
    radial-gradient(circle, rgba(var(--home-gold-rgb), 0.22) 0 18%, transparent 58%);
  -webkit-mask: none;
  mask: none;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.26));
  will-change: transform, opacity;
  animation: homeFireworkBurst 5.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  animation-delay: var(--delay, 0s);
}

.home-page .firework::before,
.home-page .firework::after {
  inset: auto;
  left: 50%;
  top: 50%;
  pointer-events: none;
  transform-origin: center;
}

.home-page .firework::before {
  width: 12px;
  height: 12px;
  margin-left: -6px;
  margin-top: -6px;
  border-radius: 2px;
  background: rgba(var(--home-gold-rgb), 0.96);
  box-shadow:
    0 -96px 0 -1px rgba(var(--home-gold-rgb), 0.96),
    70px -70px 0 -2px rgba(var(--home-pink-rgb), 0.94),
    96px 0 0 -2px rgba(var(--home-orange-rgb), 0.95),
    72px 72px 0 -3px rgba(var(--home-violet-rgb), 0.92),
    0 100px 0 -1px rgba(var(--home-mint-rgb), 0.9),
    -74px 74px 0 -2px rgba(255, 255, 255, 0.96),
    -98px 0 0 -2px rgba(var(--home-gold-rgb), 0.92),
    -70px -70px 0 -2px rgba(var(--home-pink-rgb), 0.92),
    36px -44px 0 -3px rgba(var(--home-violet-rgb), 0.88),
    46px 28px 0 -4px rgba(var(--home-orange-rgb), 0.88),
    -30px 48px 0 -4px rgba(var(--home-gold-rgb), 0.84),
    -42px -32px 0 -4px rgba(var(--home-mint-rgb), 0.82),
    16px 64px 0 -4px rgba(255, 255, 255, 0.92),
    -14px -58px 0 -4px rgba(var(--home-orange-rgb), 0.88);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.08) rotate(-22deg);
  animation: homeFireworkSpark 5.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  animation-delay: var(--delay, 0s);
}

.home-page .firework::after {
  width: 14px;
  height: 5px;
  margin-left: -7px;
  margin-top: -2.5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 -76px 0 0 rgba(255, 255, 255, 0.96),
    54px -54px 0 0 rgba(var(--home-violet-rgb), 0.9),
    78px -18px 0 0 rgba(var(--home-gold-rgb), 0.92),
    84px 34px 0 0 rgba(var(--home-orange-rgb), 0.9),
    34px 80px 0 0 rgba(var(--home-pink-rgb), 0.9),
    -24px 84px 0 0 rgba(var(--home-mint-rgb), 0.88),
    -78px 26px 0 0 rgba(var(--home-gold-rgb), 0.9),
    -82px -28px 0 0 rgba(var(--home-violet-rgb), 0.88),
    -36px -80px 0 0 rgba(var(--home-orange-rgb), 0.9),
    22px -84px 0 0 rgba(var(--home-pink-rgb), 0.88),
    12px 42px 0 0 rgba(255, 255, 255, 0.92),
    -10px 34px 0 0 rgba(var(--home-gold-rgb), 0.82),
    38px -8px 0 0 rgba(var(--home-mint-rgb), 0.82),
    -40px 6px 0 0 rgba(var(--home-orange-rgb), 0.8);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.04) rotate(14deg);
  animation: homeFireworkFlash 5.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  animation-delay: var(--delay, 0s);
}

.home-page .firework--left {
  --delay: -0.7s;
  top: 8%;
  left: 1%;
  width: min(24vw, 240px);
}

.home-page .firework--center {
  --delay: -2s;
  top: 0;
  left: 50%;
  width: min(32vw, 340px);
}

.home-page .firework--right {
  --delay: -1.15s;
  top: 10%;
  right: 0;
  width: min(22vw, 220px);
}

.home-page .home-hero__copy {
  position: relative;
  max-width: min(100%, 760px);
  margin-inline: auto;
  padding: clamp(2.8rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: 36px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.88), rgba(255, 247, 240, 0.74)),
    radial-gradient(circle at top right, rgba(var(--home-violet-rgb), 0.16), transparent 34%),
    radial-gradient(circle at bottom left, rgba(var(--home-orange-rgb), 0.18), transparent 36%);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 32px 64px rgba(91, 33, 182, 0.10);
  backdrop-filter: blur(18px);
  isolation: isolate;
}

.home-page .home-hero__copy::before,
.home-page .home-hero__copy::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
}

.home-page .home-hero__copy::before {
  top: -24px;
  right: -18px;
  width: clamp(88px, 12vw, 148px);
  height: clamp(88px, 12vw, 148px);
  background: radial-gradient(circle, rgba(var(--home-gold-rgb), 0.34), transparent 72%);
  filter: blur(2px);
}

.home-page .home-hero__copy::after {
  bottom: -42px;
  left: -38px;
  width: clamp(120px, 16vw, 190px);
  height: clamp(120px, 16vw, 190px);
  background: radial-gradient(circle, rgba(var(--home-pink-rgb), 0.18), transparent 70%);
  filter: blur(8px);
}

.home-page .home-hero__year {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.62rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(var(--home-violet-rgb), 0.14);
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.08);
  color: rgb(var(--home-orange-rgb));
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.2em;
}

.home-page .home-hero__year::before,
.home-page .home-hero__year::after {
  content: '✦';
  color: rgb(var(--home-gold-rgb));
  font-size: 0.82em;
}

.home-page .home-hero h1 {
  position: relative;
  display: inline-block;
  max-width: 9ch;
  font-family: 'Jua', 'Noto Sans KR', sans-serif;
  font-size: clamp(3.8rem, 9vw, 7.2rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-wrap: balance;
  background: linear-gradient(135deg, rgb(var(--home-violet-rgb)) 0%, rgb(var(--home-pink-rgb)) 36%, rgb(var(--home-orange-rgb)) 74%, rgb(var(--home-gold-rgb)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 14px 26px rgba(236, 72, 153, 0.16));
}

.home-page .home-hero__actions {
  gap: 0.9rem;
  margin-top: 0.35rem;
}

.home-page .home-hero__actions .btn {
  min-width: 160px;
  padding: 1rem 1.45rem;
  font-weight: 800;
  border-radius: 999px !important;
  box-shadow: 0 16px 30px rgba(249, 115, 22, 0.12);
}

.home-page .home-hero__actions .btn-primary {
  background: linear-gradient(135deg, rgba(var(--home-pink-rgb), 0.98), rgba(var(--home-orange-rgb), 0.98)) !important;
  border-color: transparent !important;
  color: #ffffff !important;
}

.home-page .home-hero__actions .btn-primary:hover,
.home-page .home-hero__actions .btn-primary:focus {
  background: linear-gradient(135deg, rgba(var(--home-violet-rgb), 0.98), rgba(var(--home-pink-rgb), 0.98)) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.home-page .home-hero__actions .btn-outline-primary {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(var(--home-violet-rgb), 0.18) !important;
  color: rgb(var(--home-violet-rgb)) !important;
}

.home-page .home-hero__actions .btn-outline-primary:hover,
.home-page .home-hero__actions .btn-outline-primary:focus {
  background: rgba(255, 255, 255, 0.98) !important;
  border-color: rgba(var(--home-pink-rgb), 0.24) !important;
  color: rgb(var(--home-pink-rgb)) !important;
  transform: translateY(-2px);
}

.home-page .home-hero__actions .btn:focus-visible {
  box-shadow: 0 0 0 4px rgba(var(--home-pink-rgb), 0.18);
}

.home-page .home-shell .section-card,
.home-page .home-shell .quick-link-card,
.home-page .home-shell .year-card,
.home-page .home-shell .mini-art-card,
.home-page .home-shell .booth-preview-item,
.home-page .home-shell .empty-panel {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.86), rgba(255, 248, 244, 0.74)) !important;
  border: 1px solid rgba(255, 255, 255, 0.78) !important;
  box-shadow: var(--home-card-shadow) !important;
  backdrop-filter: blur(14px);
}

.home-page .home-shell .stat-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.home-page .home-shell .quick-link-card:hover,
.home-page .home-shell .year-card:hover,
.home-page .home-shell .mini-art-card:hover,
.home-page .home-shell .booth-preview-item:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(var(--home-pink-rgb), 0.20) !important;
  box-shadow: var(--home-card-shadow-hover) !important;
}

.home-page .home-shell .quick-link-card__kicker,
.home-page .home-shell .year-card__tag,
.home-page .home-shell .stat-card strong,
.home-page .home-shell .section-heading h2 {
  color: rgb(var(--home-violet-rgb));
}

.home-page .home-shell .year-card__action,
.home-page .home-shell .booth-preview-item__meta,
.home-page .home-shell .eyebrow {
  color: rgb(var(--home-orange-rgb));
}

.home-page .home-shell .quick-link-card strong,
.home-page .home-shell .year-card strong,
.home-page .home-shell .mini-art-card strong,
.home-page .home-shell .booth-preview-item strong {
  color: #55244c;
}

.home-page .home-shell .stat-card__label,
.home-page .home-shell .year-card__count,
.home-page .home-shell .mini-art-card p,
.home-page .home-shell .empty-panel {
  color: #7b4b23;
}

@keyframes homeFireworkBurst {
  0%,
  14%,
  100% {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.14);
  }
  18% {
    opacity: 0.94;
    transform: translate3d(0, 10px, 0) scale(0.2);
  }
  26% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(0.32);
  }
  40% {
    opacity: 0.24;
    transform: translate3d(0, -18px, 0) scale(1.08);
  }
}

@keyframes homeFireworkSpark {
  0%,
  14%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.08) rotate(-22deg);
  }
  19% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.18) rotate(-10deg);
  }
  28% {
    opacity: 0.96;
    transform: translate(-50%, -50%) scale(0.86) rotate(18deg);
  }
  40% {
    opacity: 0.42;
    transform: translate(-50%, -50%) scale(1.06) rotate(44deg);
  }
  50% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.2) rotate(62deg);
  }
}

@keyframes homeFireworkFlash {
  0%,
  15%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.04) rotate(14deg);
  }
  20% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.14) rotate(28deg);
  }
  30% {
    opacity: 0.88;
    transform: translate(-50%, -50%) scale(0.78) rotate(66deg);
  }
  42% {
    opacity: 0.28;
    transform: translate(-50%, -50%) scale(1.08) rotate(94deg);
  }
  52% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.18) rotate(118deg);
  }
}

@media (max-width: 767.98px) {
  .home-page .home-hero__copy {
    padding: 2.35rem 1.3rem 2rem;
    border-radius: 30px;
  }

  .home-page .home-hero h1 {
    font-size: clamp(3.2rem, 15vw, 4.9rem);
    max-width: 100%;
  }

  .home-page .firework--left {
    top: 10%;
    left: -10%;
    width: min(42vw, 180px);
  }

  .home-page .firework--center {
    top: 4%;
    width: min(52vw, 220px);
  }

  .home-page .firework--right {
    top: 13%;
    right: -12%;
    width: min(38vw, 160px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .firework,
  .home-page .firework::before,
  .home-page .firework::after {
    animation: none !important;
    opacity: 0.32;
    transform: none !important;
  }

  .home-page .home-shell .quick-link-card:hover,
  .home-page .home-shell .year-card:hover,
  .home-page .home-shell .mini-art-card:hover,
  .home-page .home-shell .booth-preview-item:hover,
  .home-page .home-hero__actions .btn:hover,
  .home-page .home-hero__actions .btn:focus {
    transform: none !important;
  }
}

/* 2026-03 visual polish: top nav + home hero + auth */
:root {
  --ui-navy: #1f3a5f;
  --ui-ink: #172033;
  --ui-mint: #0f9f99;
  --ui-coral: #ff6f61;
  --ui-coral-deep: #f25444;
  --ui-card-border: rgba(23, 32, 51, 0.1);
}

.site-header {
  padding: 0.9rem 0 0.95rem;
}

.site-header .nav-container {
  max-width: 1220px;
  border-radius: 22px;
  border: 1px solid rgba(23, 32, 51, 0.08);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.95), rgba(241, 250, 255, 0.93)),
    radial-gradient(circle at right top, rgba(15, 159, 153, 0.12), transparent 38%);
  box-shadow: 0 16px 34px rgba(31, 58, 95, 0.13);
  backdrop-filter: blur(10px);
  padding: 0.4rem 0.75rem;
}

.navbar-brand {
  gap: 0.7rem;
}

.brand-text {
  color: var(--ui-ink);
  font-size: 0.97rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.nav-link-pill {
  border-radius: 999px;
  color: #273348 !important;
  font-weight: 700;
}

.nav-link-pill:hover,
.nav-link-pill:focus,
.nav-item.show .nav-link-pill {
  color: var(--ui-navy) !important;
  background: rgba(15, 159, 153, 0.1);
  box-shadow: inset 0 0 0 1px rgba(15, 159, 153, 0.22);
}

.nav-actions .btn {
  min-width: 96px;
  font-weight: 700;
}

.site-header .btn-primary {
  background: var(--ui-coral);
  border-color: var(--ui-coral);
}

.site-header .btn-primary:hover,
.site-header .btn-primary:focus {
  background: var(--ui-coral-deep);
  border-color: var(--ui-coral-deep);
}

.site-header .btn-outline-primary {
  color: var(--ui-navy);
  border-color: rgba(31, 58, 95, 0.28);
}

.site-header .btn-outline-primary:hover,
.site-header .btn-outline-primary:focus {
  color: var(--ui-navy);
  border-color: rgba(31, 58, 95, 0.42);
}

body.home-page {
  background:
    radial-gradient(circle at 12% 2%, rgba(15, 159, 153, 0.2), transparent 28%),
    radial-gradient(circle at 88% 1%, rgba(255, 111, 97, 0.16), transparent 26%),
    linear-gradient(180deg, #f8fcff 0%, #f6fbff 48%, #ffffff 100%);
}

.home-page .home-hero {
  min-height: auto !important;
  margin-top: 0.25rem;
  padding: clamp(3.1rem, 7vw, 4.7rem) clamp(1.1rem, 3vw, 2.4rem) clamp(3.2rem, 6vw, 4.8rem) !important;
  border: 1px solid rgba(23, 32, 51, 0.08) !important;
  border-radius: 36px !important;
  background:
    radial-gradient(circle at 2% 3%, rgba(15, 159, 153, 0.18), transparent 30%),
    radial-gradient(circle at 98% 12%, rgba(255, 111, 97, 0.2), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(245, 252, 255, 0.94)) !important;
  box-shadow: 0 26px 60px rgba(31, 58, 95, 0.13) !important;
}

.home-page .home-hero__inner {
  width: min(100%, 1060px);
}

.home-page .home-hero__copy {
  padding: 0 !important;
  max-width: 860px;
  margin: 0 auto;
  gap: 1.25rem;
  text-align: center;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.home-page .home-hero__year {
  border-radius: 999px;
  border: 1px solid rgba(15, 159, 153, 0.24);
  background: rgba(255, 255, 255, 0.75);
  padding: 0.55rem 1.1rem;
  letter-spacing: 0.16em;
  color: var(--ui-mint);
  font-size: 0.83rem;
}

.home-page .home-hero__year::before,
.home-page .home-hero__year::after {
  content: '' !important;
}

.home-page .home-hero h1 {
  max-width: none;
  margin: 0;
  font-family: 'Jua', 'Noto Sans KR', sans-serif;
  font-size: clamp(3.1rem, 8vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--ui-ink) !important;
  background: none !important;
  -webkit-background-clip: initial;
  background-clip: initial;
  filter: none;
}

.home-page .home-hero__subtitle {
  max-width: 42ch;
  margin: 0 auto;
  color: #3a4962;
  font-size: clamp(1.02rem, 1.8vw, 1.17rem);
  line-height: 1.7;
}

.home-page .home-hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.home-page .home-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(23, 32, 51, 0.12);
  background: rgba(255, 255, 255, 0.84);
  padding: 0.44rem 0.9rem;
  color: #34425a;
  font-size: 0.84rem;
  font-weight: 600;
}

.home-page .home-hero__meta strong {
  color: var(--ui-coral);
  font-weight: 800;
}

.home-page .home-hero__actions {
  margin-top: 0.35rem;
}

.home-page .home-hero__actions .btn {
  min-width: 162px;
  box-shadow: 0 14px 28px rgba(31, 58, 95, 0.14);
}

.home-page .home-hero__actions .btn-primary {
  background: linear-gradient(135deg, #ff7d5f, #ff5f70) !important;
  border-color: transparent !important;
}

.home-page .home-hero__actions .btn-primary:hover,
.home-page .home-hero__actions .btn-primary:focus {
  background: linear-gradient(135deg, #ff6f5d, #ff4f63) !important;
  border-color: transparent !important;
}

.home-page .home-hero__actions .btn-outline-primary {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(31, 58, 95, 0.24) !important;
  color: var(--ui-navy) !important;
}

.home-page .home-hero__actions .btn-outline-primary:hover,
.home-page .home-hero__actions .btn-outline-primary:focus {
  background: #ffffff !important;
  border-color: rgba(31, 58, 95, 0.38) !important;
  color: var(--ui-navy) !important;
}

body.auth-page {
  background:
    radial-gradient(circle at 14% 6%, rgba(15, 159, 153, 0.2), transparent 30%),
    radial-gradient(circle at 88% 9%, rgba(255, 111, 97, 0.18), transparent 30%),
    linear-gradient(180deg, #f7fbff 0%, #eff8ff 44%, #f9fcff 100%);
}

.auth-page .page-container {
  max-width: 1160px;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.2rem;
  align-items: stretch;
  margin-top: 0.4rem;
}

.auth-showcase {
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  background:
    linear-gradient(150deg, rgba(21, 43, 70, 0.88), rgba(15, 159, 153, 0.84)),
    radial-gradient(circle at top right, rgba(255, 111, 97, 0.45), transparent 34%);
  color: #eef7ff;
  box-shadow: 0 26px 54px rgba(21, 43, 70, 0.32);
}

.auth-showcase h1 {
  margin: 0;
  font-family: 'Jua', 'Noto Sans KR', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.auth-showcase p {
  margin: 0.9rem 0 0;
  color: rgba(238, 247, 255, 0.88);
  line-height: 1.75;
}

.auth-showcase__eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
}

.auth-showcase__list {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.auth-showcase__list li {
  position: relative;
  padding-left: 1.1rem;
  color: rgba(238, 247, 255, 0.9);
  font-weight: 600;
}

.auth-showcase__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.64rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}

.auth-card.auth-card--enhanced {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid var(--ui-card-border) !important;
  border-radius: 34px !important;
  box-shadow: 0 20px 44px rgba(31, 58, 95, 0.15) !important;
  padding: clamp(1.7rem, 3.4vw, 2.4rem);
}

.auth-card__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: var(--ui-mint);
}

.auth-card h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.auth-card__lead {
  margin: 0.7rem 0 0;
  color: #596981;
  line-height: 1.7;
}

.auth-form {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.35rem;
}

.auth-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.auth-field .form-label {
  margin-bottom: 0.35rem;
  color: #2a3f5d;
  font-size: 0.9rem;
  font-weight: 700;
}

.auth-field .form-control {
  min-height: 50px;
  border-radius: 14px;
  border-color: rgba(23, 32, 51, 0.14);
  background: #ffffff;
}

.auth-field .form-control:focus {
  border-color: rgba(15, 159, 153, 0.38);
  box-shadow: 0 0 0 4px rgba(15, 159, 153, 0.15);
}

.auth-submit-btn {
  margin-top: 0.2rem;
  min-height: 52px;
  font-weight: 800;
  font-size: 0.98rem;
  border: 0;
  background: linear-gradient(135deg, #ff7b66, #ff5f6d);
}

.auth-submit-btn:hover,
.auth-submit-btn:focus {
  background: linear-gradient(135deg, #ff6658, #f24f60);
}

.auth-card__helper {
  margin: 1.1rem 0 0;
  color: #5a6b84;
  font-size: 0.9rem;
}

.auth-card__helper a {
  color: var(--ui-mint);
  text-decoration: none;
  font-weight: 700;
}

.auth-card__helper a:hover,
.auth-card__helper a:focus {
  text-decoration: underline;
}

@keyframes uiRiseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-page .home-hero__copy,
.auth-showcase,
.auth-card.auth-card--enhanced {
  animation: uiRiseIn 0.55s ease both;
}

.auth-card.auth-card--enhanced {
  animation-delay: 0.06s;
}

@media (max-width: 991.98px) {
  .site-header {
    padding: 0.75rem 0 0.9rem;
  }

  .site-header .nav-container {
    border-radius: 20px;
    padding: 0.38rem 0.56rem;
  }

  .navbar-collapse {
    margin-top: 0.65rem;
    padding: 0.85rem;
    border-top: 1px solid rgba(23, 32, 51, 0.09);
  }

  .nav-actions {
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .nav-actions .btn {
    width: 100%;
  }

  .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-showcase {
    order: 2;
  }

  .auth-card.auth-card--enhanced {
    order: 1;
  }
}

@media (max-width: 767.98px) {
  .site-header .nav-container {
    border-radius: 18px;
  }

  .home-page .home-hero {
    border-radius: 28px !important;
    padding: 2.35rem 1rem 2.8rem !important;
  }

  .home-page .home-hero h1 {
    font-size: clamp(2.35rem, 14vw, 3.8rem);
    line-height: 0.96;
  }

  .home-page .home-hero__subtitle {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .home-page .home-hero__meta {
    gap: 0.45rem;
  }

  .home-page .home-hero__meta span {
    font-size: 0.78rem;
    padding: 0.4rem 0.72rem;
  }

  .home-page .home-hero__actions {
    width: min(100%, 280px);
    flex-direction: column;
    margin-inline: auto;
  }

  .home-page .home-hero__actions .btn {
    width: 100%;
  }

  .auth-form-grid {
    grid-template-columns: 1fr;
  }

  .auth-card.auth-card--enhanced,
  .auth-showcase {
    border-radius: 26px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .home-hero__copy,
  .auth-showcase,
  .auth-card.auth-card--enhanced {
    animation: none !important;
  }
}

/* 2026-03 reference-style redesign */
:root {
  --ref-bg: #eeeeef;
  --ref-surface: #f6f6f7;
  --ref-border: #cfcfd3;
  --ref-ink: #121316;
  --ref-muted: #676b74;
  --ref-lime: #d9f18a;
  --ref-lime-strong: #cce77d;
  --ref-dark: #121316;
  --ref-dark-soft: #1d1f25;
}

body.site-shell,
body.home-page,
body.auth-page {
  background: var(--ref-bg);
  color: var(--ref-ink);
  font-family: 'Noto Sans KR', 'Manrope', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

main.site-main {
  padding: 0.6rem 0 4rem;
}

.page-container {
  max-width: 1240px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1045;
  padding: 0.55rem 0 0.7rem;
  background: rgba(238, 238, 239, 0.92);
  backdrop-filter: blur(10px);
}

.site-header .nav-container {
  max-width: 1240px;
  border-radius: 999px;
  border: 1px solid var(--ref-border);
  background: var(--ref-surface);
  box-shadow: none;
  padding: 0.24rem 0.65rem;
}

.navbar {
  min-height: 56px;
}

.logo-img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--ref-border);
  box-shadow: none;
}

.brand-text {
  color: #1e212a;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  font-weight: 800;
  text-transform: none;
}

.festival-nav-list .nav-link-pill {
  color: #1c2029 !important;
  padding: 0.5rem 0.78rem !important;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  border-radius: 999px;
}

.festival-nav-list .nav-link-pill:hover,
.festival-nav-list .nav-link-pill:focus,
.festival-nav-list .nav-item.show .nav-link-pill {
  background: #ffffff;
  color: #000 !important;
  box-shadow: inset 0 0 0 1px #d8d8dc;
}

.gallery-mobile-years {
  display: flex;
  gap: 0.38rem;
  margin-top: 0.35rem;
  padding-left: 0.24rem;
}

.gallery-mobile-year-link {
  min-height: 32px;
  padding: 0.34rem 0.7rem;
  border: 1px solid #cfd4e0;
  border-radius: 999px;
  background: #ffffff;
  color: #2d3749;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.gallery-mobile-year-link:hover,
.gallery-mobile-year-link:focus {
  background: #f2f5fb;
  border-color: #b9c2d3;
  color: #1b2434;
  text-decoration: none;
}

.nav-actions {
  margin-left: 0.8rem;
}

.nav-contact-link {
  color: #5d616c;
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-contact-link:hover,
.nav-contact-link:focus {
  color: #262a33;
}

.nav-inline-link {
  color: #3a3e49;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.nav-inline-link:hover,
.nav-inline-link:focus {
  color: #101317;
}

.btn-nav-cta {
  min-height: 38px;
  padding: 0.5rem 1rem;
  border: 1px solid #a8acb7;
  background: linear-gradient(145deg, #f2f3ff, #d6d8e8) !important;
  color: #121420 !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: none !important;
}

.btn-nav-cta:hover,
.btn-nav-cta:focus {
  background: linear-gradient(145deg, #ecefff, #cdd2e3) !important;
}

.btn-nav-outline {
  min-height: 38px;
  border-color: #b4b8c3 !important;
  color: #2a3040 !important;
  background: #f8f8f8 !important;
  font-size: 0.78rem;
}

.gallery-dropdown-menu,
.dropdown-menu {
  border: 1px solid #d2d4dc;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(18, 19, 22, 0.1);
  padding: 0.45rem;
}

.dropdown-item {
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 600;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: #f2f4f8;
  color: #111;
}

.dropdown-count {
  background: #e6f3bd;
  color: #435421;
}

.landing-page {
  display: flex;
  flex-direction: column;
  gap: 2.6rem;
  padding-bottom: 1.2rem;
}

.landing-hero {
  border: 1px solid var(--ref-border);
  border-radius: 30px;
  background: var(--ref-surface);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  display: grid;
  gap: 1.6rem;
  position: relative;
  overflow: hidden;
}

.landing-hero--pinned {
  opacity: 1 !important;
  transform: none !important;
}

.landing-hero--pinned .hero-art-image {
  animation: none !important;
}

.landing-hero__copy {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.landing-tag {
  margin: 0;
  color: #737783;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: none;
  font-weight: 700;
}

.landing-hero__copy h1 {
  margin: 0.55rem 0 0;
  font-size: clamp(2.15rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #16181d;
  font-family: 'Jua', 'Noto Sans KR', sans-serif;
  font-weight: 400;
}

.hero-title-line {
  display: block;
}

.landing-hero__actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.58rem;
}

.landing-btn {
  min-height: 45px;
  padding: 0.68rem 1.2rem;
  border-radius: 999px !important;
  font-weight: 700;
  font-size: 0.88rem;
  border: 1px solid transparent;
}

.landing-btn--solid {
  border-color: #bdd67b;
  background: var(--ref-lime);
  color: #192005;
}

.landing-btn--solid:hover,
.landing-btn--solid:focus {
  background: var(--ref-lime-strong);
  color: #111;
}

.landing-btn--outline {
  border-color: #b6bcc9;
  background: #ffffff;
  color: #1f2532;
}

.landing-btn--outline:hover,
.landing-btn--outline:focus {
  background: #f5f6f9;
  color: #10151f;
}

.landing-hero__gallery {
  border: 1px solid #c8ced9;
  border-radius: 24px;
  background: linear-gradient(180deg, #f7f8fb 0%, #eef2f8 100%);
  padding: 0.78rem;
  overflow: hidden;
  position: relative;
  display: grid;
  gap: 0.56rem;
}

.landing-hero__gallery::before,
.landing-hero__gallery::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  z-index: 2;
  pointer-events: none;
}

.landing-hero__gallery::before {
  left: 0;
  background: linear-gradient(90deg, #f4f6fb 10%, rgba(244, 246, 251, 0));
}

.landing-hero__gallery::after {
  right: 0;
  background: linear-gradient(270deg, #eef1f7 10%, rgba(238, 241, 247, 0));
}

.hero-gallery-row {
  overflow: hidden;
  border-radius: 18px;
}

.hero-gallery-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.hero-gallery-track--left {
  animation: heroGallerySlideLeft 32s linear infinite;
}

.hero-gallery-track--right {
  animation: heroGallerySlideRight 34s linear infinite;
}

.hero-gallery-strip {
  display: flex;
  align-items: stretch;
  gap: 0.72rem;
  padding-right: 0.72rem;
}

.landing-hero__gallery:hover .hero-gallery-track,
.landing-hero__gallery:focus-within .hero-gallery-track {
  animation-play-state: paused;
}

.hero-art-card {
  width: 176px;
  border: 1px solid #c8ced9;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  flex: 0 0 auto;
  text-decoration: none;
  color: #1b2331;
  box-shadow: 0 8px 20px rgba(23, 29, 43, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.hero-art-card:hover,
.hero-art-card:focus {
  text-decoration: none;
  color: #111720;
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(20, 26, 39, 0.14);
}

.hero-art-card img,
.hero-art-card__media {
  width: 100%;
  height: 114px;
  display: block;
  object-fit: cover;
}

.hero-art-image {
  opacity: 0;
  background: linear-gradient(110deg, #d8dde6 8%, #eef1f7 18%, #d8dde6 33%);
  background-size: 200% 100%;
  animation: heroImageSkeleton 1.15s linear infinite;
  transition: opacity 0.28s ease;
}

.hero-art-image.is-loaded {
  opacity: 1;
  animation: none;
  background: transparent;
}

.hero-art-card__media--fallback {
  background: radial-gradient(circle at 20% 20%, #f4ffd3 0%, #e4f3ac 56%, #d5e997 100%);
  display: grid;
  place-items: center;
}

.hero-art-card__media--fallback span {
  font-size: 1.45rem;
  color: #27300f;
}

.hero-art-card__meta {
  padding: 0.54rem 0.64rem 0.62rem;
  display: grid;
  gap: 0.17rem;
}

.hero-art-card__meta p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #1f2634;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-art-card__meta small {
  font-size: 0.67rem;
  color: #5b6270;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-art-card--placeholder {
  pointer-events: none;
}

@keyframes heroGallerySlideLeft {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes heroGallerySlideRight {
  from {
    transform: translate3d(-50%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroImageSkeleton {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

.landing-partner-strip {
  border-radius: 0;
  background: var(--ref-dark);
  color: #f3f3f4;
  padding: 1.15rem 1.3rem;
  text-align: center;
}

.landing-partner-strip p {
  margin: 0;
  font-size: 0.73rem;
  color: #9fa4af;
  letter-spacing: 0.03em;
}

.landing-partner-strip__logos {
  margin-top: 0.72rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.partner-brand-item {
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #f5f8ff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.partner-brand-item:hover,
.partner-brand-item:focus {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.14);
  text-decoration: none;
}

.partner-favicon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: #fff;
}

.landing-how {
  border: 1px solid #d3d5dc;
  border-radius: 30px;
  background: #f4f4f5;
  padding: clamp(1.2rem, 2.6vw, 2rem);
}

.landing-section-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.4rem 0.92rem;
  border-radius: 999px;
  border: 1px solid #bfc3cf;
  color: #171a21;
  font-size: 0.9rem;
  margin: 0;
}

.landing-how h2,
.landing-reviews h2 {
  margin: 1rem 0 0;
  max-width: 16.5ch;
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-family: 'Jua', 'Noto Sans KR', sans-serif;
  font-weight: 400;
}

.highlight-key {
  display: inline;
  border-radius: 0.22em;
  padding: 0 0.12em 0.02em;
  background-image: linear-gradient(
    to bottom,
    transparent 54%,
    rgba(217, 241, 138, 0.95) 54%,
    rgba(217, 241, 138, 0.95) 96%,
    transparent 96%
  );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.highlight-key--nowrap {
  white-space: nowrap;
}

@media (min-width: 992px) {
  .landing-how h2 {
    max-width: 100%;
    white-space: nowrap;
  }
}

.landing-how__grid {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 0.7rem;
}

.how-card {
  border: 1px solid #c4c8d2;
  border-radius: 22px;
  background: #f8f9fb;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  min-height: 270px;
}

.how-card h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.how-card p {
  margin: 0.72rem 0 0;
  color: #535968;
  font-size: 0.86rem;
  line-height: 1.6;
}

.how-card--primary {
  background: #17191f;
  border-color: #17191f;
  color: #f3f5fb;
}

.how-card--primary p {
  color: #cfd5df;
}

.how-list {
  list-style: none;
  margin: 0.95rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.how-list li {
  border: 1px solid #d8dae2;
  border-radius: 14px;
  padding: 0.55rem 0.65rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
}

.how-list a {
  color: #1a1f2a;
  font-size: 0.82rem;
  text-decoration: none;
  font-weight: 700;
}

.how-list small {
  color: #68707c;
  font-size: 0.73rem;
}

.how-list--stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.42rem;
}

.how-list--stats li {
  background: #20232c;
  border-color: #3a3e49;
  color: #e8ebf3;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 90px;
}

.how-list--stats strong {
  font-size: 1.35rem;
  line-height: 1;
}

.how-list--stats span {
  margin-top: 0.18rem;
  color: #b8beca;
  font-size: 0.74rem;
}

.how-empty {
  margin: 0.95rem 0 0;
  color: #69707d;
  font-size: 0.85rem;
}

.how-card__link {
  margin-top: auto;
  padding-top: 0.72rem;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  color: #1c2530;
}

.how-card--primary .how-card__link {
  color: #dff0a7;
}

.landing-benefit {
  background:
    radial-gradient(circle at 18% 85%, rgba(217, 241, 138, 0.07), transparent 42%),
    linear-gradient(160deg, #13151b, #0f1116 56%, #181b24);
  border: 1px solid #232733;
  border-radius: 30px;
  padding: clamp(1.3rem, 2.8vw, 2.2rem);
  color: #f3f5f9;
}

.landing-benefit__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 1rem;
  align-items: center;
}

.landing-benefit__copy p:first-child {
  margin: 0;
  font-size: 0.78rem;
  color: #8b93a4;
  letter-spacing: 0.06em;
}

.landing-benefit__copy h2 {
  margin: 0.64rem 0 0;
  font-size: clamp(2rem, 4.7vw, 3.5rem);
  line-height: 0.97;
  letter-spacing: -0.03em;
  max-width: 12ch;
  font-family: 'Jua', 'Noto Sans KR', sans-serif;
  font-weight: 400;
}

.landing-benefit__copy p:last-child {
  margin: 1rem 0 0;
  color: #c0c6d3;
  font-size: 0.9rem;
  max-width: 48ch;
  line-height: 1.7;
}

.landing-benefit__cta {
  border: 1px solid #9cb260;
  border-radius: 999px;
  background: var(--ref-lime);
  color: #182005;
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 700;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.12rem;
  white-space: nowrap;
}

.landing-benefit__cta:hover,
.landing-benefit__cta:focus {
  background: var(--ref-lime-strong);
  color: #111;
}

.landing-benefit__play {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 1px solid #323746;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #12151d;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.landing-benefit__play:hover,
.landing-benefit__play:focus {
  border-color: #4c5466;
  background: #171b24;
  transform: translateY(-1px);
}

.landing-benefit__play:focus-visible {
  outline: 2px solid rgba(217, 241, 138, 0.9);
  outline-offset: 2px;
}

.landing-benefit__play span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ref-lime);
  color: #111;
  font-size: 1rem;
  pointer-events: none;
}

.landing-reviews {
  border: 1px solid #d3d5dc;
  border-radius: 30px;
  background: #f4f4f5;
  padding: clamp(1.2rem, 2.6vw, 2rem);
}

.landing-reviews h2 {
  max-width: 12.4ch;
}

.landing-reviews__grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
}

.review-card {
  border: 1px solid #bfc3cf;
  border-radius: 18px;
  background: #f8f8f9;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  min-height: 250px;
}

.review-chip {
  align-self: flex-start;
  border-radius: 999px;
  background: #ffeeb4;
  color: #5b4c1d;
  padding: 0.22rem 0.58rem;
  font-size: 0.7rem;
  font-weight: 700;
}

.review-chip--blue {
  background: #dce6ff;
  color: #324d83;
}

.review-chip--green {
  background: #dff3c9;
  color: #3a5e2e;
}

.review-card h3 {
  margin: 0.66rem 0 0;
  font-size: 1.42rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.review-card p {
  margin: 0.72rem 0 0;
  color: #565d6a;
  font-size: 0.86rem;
  line-height: 1.65;
}

.review-stat-grid {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.48rem;
}

.review-stat-grid div {
  border: 1px solid #d4d6dd;
  border-radius: 12px;
  background: #fff;
  padding: 0.52rem 0.58rem;
}

.review-stat-grid strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1;
}

.review-stat-grid span {
  margin-top: 0.18rem;
  display: block;
  color: #676d7a;
  font-size: 0.73rem;
}

.review-link {
  margin-top: 1.02rem;
  color: #171d2a;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.landing-contact {
  border: 1px solid #232733;
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 14%, rgba(217, 241, 138, 0.08), transparent 31%),
    linear-gradient(160deg, #13151b, #101219 60%, #181b24);
  color: #f1f4fb;
  padding: clamp(1.3rem, 2.8vw, 2.2rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 1rem;
  align-items: center;
}

.landing-contact h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3.5rem);
  line-height: 0.97;
  letter-spacing: -0.03em;
  max-width: 13.5ch;
  font-family: 'Jua', 'Noto Sans KR', sans-serif;
  font-weight: 400;
}

.landing-contact__copy > p {
  margin: 0.92rem 0 0;
  color: #c0c7d4;
  max-width: 52ch;
  font-size: 0.92rem;
  line-height: 1.7;
}

.landing-contact__copy .landing-btn {
  margin-top: 1rem;
}

.landing-contact__items {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.landing-contact__items a,
.landing-contact__items div {
  border: 1px solid #343947;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.68rem;
  text-decoration: none;
}

.landing-contact__items strong {
  display: block;
  color: #f3f4f8;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.landing-contact__items span {
  display: block;
  margin-top: 0.26rem;
  color: #c0c7d4;
  font-size: 0.77rem;
}

.landing-contact__orbit {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(196, 205, 221, 0.24);
}

.orbit-ring--outer {
  inset: 8%;
}

.orbit-ring--middle {
  inset: 22%;
}

.orbit-core {
  position: absolute;
  inset: 36%;
  border-radius: 50%;
  background: #f3f4f7;
  color: #1a202b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.92rem;
}

.orbit-symbol {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid #d8dfed;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #222a36;
  box-shadow: 0 8px 18px rgba(16, 18, 26, 0.18);
}

.orbit-symbol--a {
  top: 3%;
  left: 48%;
  transform: translateX(-50%);
}

.orbit-symbol--b {
  right: 2%;
  top: 58%;
}

.orbit-symbol--c {
  left: 7%;
  bottom: 12%;
}

.site-footer {
  padding: 0 0 1.1rem;
}

.site-footer::before {
  display: none;
}

.festival-footer-shell {
  border: 1px solid var(--ref-border);
  border-radius: 24px;
  background: #f6f6f7;
  padding: 1.05rem;
}

.festival-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 0.75fr));
  gap: 0.82rem;
}

.festival-footer-mini {
  margin: 0;
  color: #747983;
  font-size: 0.69rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.festival-footer-brand h3 {
  margin: 0.35rem 0 0;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.festival-footer-brand p {
  margin: 0.52rem 0 0;
  color: #5e6470;
  font-size: 0.8rem;
  line-height: 1.6;
}

.festival-footer-brand a {
  margin-top: 0.56rem;
  display: inline-flex;
  color: #222731;
  font-size: 0.8rem;
  text-decoration: none;
  font-weight: 700;
}

.festival-madeby {
  margin-top: 0.56rem;
  display: inline-flex !important;
  align-items: center;
  gap: 0.25rem;
  min-height: 30px;
  padding: 0.24rem 0.5rem;
  border-radius: 999px;
  border: 1px solid #d6dae3;
  background: #ffffff;
  color: #4a5160 !important;
  font-size: 0.63rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em;
  line-height: 1;
}

.festival-madeby:hover,
.festival-madeby:focus {
  color: #242a34 !important;
  border-color: #c8cedb;
  background: #fbfcff;
  text-decoration: none !important;
}

.festival-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.festival-footer-links a {
  color: #232833;
  font-size: 0.78rem;
  text-decoration: none;
}

.festival-footer-links a:hover,
.festival-footer-links a:focus {
  color: #0c1019;
  text-decoration: underline;
}

.festival-news-btn {
  margin-top: 0.45rem;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid #bcc1cd;
  background: #191c24;
  color: #eef2f8 !important;
  text-decoration: none !important;
  padding: 0.52rem 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
}

.festival-footer-note {
  margin: 0.62rem 0 0;
  color: #727884;
  font-size: 0.75rem;
  line-height: 1.5;
}

.festival-footer-bottom {
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px solid #d3d6dd;
  text-align: center;
}

.festival-footer-bottom p {
  color: #757983;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

@media (max-width: 1199.98px) {
  .hero-art-card {
    width: 166px;
  }

  .landing-how__grid {
    grid-template-columns: 1fr;
  }

  .how-card {
    min-height: 220px;
  }

  .landing-reviews__grid {
    grid-template-columns: 1fr 1fr;
  }

  .landing-contact {
    grid-template-columns: 1fr;
  }

  .festival-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .site-header .nav-container {
    border-radius: 22px;
    padding: 0.36rem 0.52rem;
  }

  .navbar-collapse {
    margin-top: 0.66rem;
    border-top: 1px solid #d2d4dc;
    padding-top: 0.72rem;
  }

  .festival-nav-list .nav-link-pill {
    justify-content: flex-start;
    padding-left: 0.3rem !important;
    padding-right: 0.3rem !important;
  }

  .nav-actions {
    margin-left: 0;
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0.44rem;
  }

  .nav-contact-link {
    font-size: 0.68rem;
  }

  .btn-nav-cta,
  .btn-nav-outline {
    width: 100%;
  }

  .hero-art-card {
    width: 152px;
  }

  .hero-gallery-strip {
    gap: 0.58rem;
    padding-right: 0.58rem;
  }

  .hero-art-card img,
  .hero-art-card__media {
    height: 102px;
  }

  .landing-benefit__grid {
    grid-template-columns: 1fr;
    justify-items: flex-start;
  }

  .landing-benefit__cta {
    writing-mode: horizontal-tb;
    transform: none;
    min-height: 42px;
    padding: 0.52rem 1rem;
  }

  .landing-contact__items {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  main.site-main {
    padding-bottom: 2.9rem;
  }

  .landing-page {
    gap: 2rem;
  }

  .landing-hero,
  .landing-how,
  .landing-benefit,
  .landing-reviews,
  .landing-contact,
  .festival-footer-shell {
    border-radius: 22px;
  }

  .landing-hero__copy h1,
  .landing-how h2,
  .landing-reviews h2,
  .landing-benefit__copy h2,
  .landing-contact h2 {
    max-width: 100%;
    font-size: clamp(1.85rem, 11vw, 2.6rem);
    line-height: 1.02;
  }

  .landing-hero__gallery {
    border-radius: 18px;
    padding: 0.72rem;
  }

  .hero-gallery-row {
    border-radius: 12px;
  }

  .hero-gallery-strip {
    gap: 0.56rem;
    padding-right: 0.56rem;
  }

  .hero-art-card {
    width: 136px;
    border-radius: 13px;
  }

  .hero-art-card img,
  .hero-art-card__media {
    height: 92px;
  }

  .hero-art-card__meta p {
    font-size: 0.74rem;
  }

  .hero-art-card__meta small {
    font-size: 0.63rem;
  }

  .how-list--stats {
    grid-template-columns: 1fr;
  }

  .landing-reviews__grid {
    grid-template-columns: 1fr;
  }

  .landing-partner-strip__logos {
    gap: 0.45rem;
  }

  .partner-brand-item {
    min-height: 36px;
    padding: 0.38rem 0.78rem;
    font-size: 0.86rem;
  }

  .partner-favicon {
    width: 18px;
    height: 18px;
  }

  .festival-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-page .reveal,
  .landing-page .reveal-left,
  .landing-page .reveal-right {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }

  .hero-gallery-track {
    animation: none !important;
    transform: none !important;
  }

  .hero-art-image {
    animation: none !important;
    transition: none !important;
  }
}

/* 2026-03 global harmonize: make non-home pages consistent with home tone */
:root {
  --ui-core-bg: #f6f7fa;
  --ui-core-surface: #ffffff;
  --ui-core-border: #d3d8e3;
  --ui-core-ink: #1a2130;
  --ui-core-dark-btn: #151922;
  --ui-core-dark-btn-hover: #0f131b;
}

/* Keep main cards/layout on inner pages clean and consistent */
body:not(.home-page) .card,
body:not(.home-page) .liquid-card,
body:not(.home-page) .section-card,
body:not(.home-page) .auth-card,
body:not(.home-page) .category-ranking,
body:not(.home-page) .user-access-ranking,
body:not(.home-page) .access-graph,
body:not(.home-page) .table-responsive,
body:not(.home-page) .list-group-item,
body:not(.home-page) .list-group-item.liquid-card,
body:not(.home-page) .liquid-list .list-group-item,
body:not(.home-page) .alert.alert-light.border {
  background: var(--ui-core-surface) !important;
  border: 1px solid var(--ui-core-border) !important;
  box-shadow: 0 10px 24px rgba(24, 31, 45, 0.08) !important;
  border-radius: 20px !important;
}

body:not(.home-page) .section-card,
body:not(.home-page) .gallery-hero-panel,
body:not(.home-page) .gallery-toolbar,
body:not(.home-page) .editor-header {
  background: var(--ui-core-surface) !important;
  border: 1px solid var(--ui-core-border) !important;
  box-shadow: 0 10px 24px rgba(24, 31, 45, 0.08) !important;
  border-radius: 22px !important;
}

.audition-apply-shell {
  margin: 0.2rem 0 0.7rem;
}

.audition-apply-card {
  padding: clamp(1.15rem, 2.8vw, 1.9rem) !important;
  border-radius: 24px !important;
}

.audition-apply-card__header {
  display: grid;
  gap: 0.36rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid #e1e5ee;
}

.audition-apply-card__header h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 2.05rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.audition-apply-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.audition-apply-form .form-label {
  margin-bottom: 0.38rem;
  font-weight: 700;
  color: #2a3345;
}

.audition-apply-form .form-control {
  min-height: 48px;
  border-radius: 13px;
}

.audition-apply-form textarea.form-control {
  min-height: 132px;
}

.audition-member-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.7rem;
  margin-top: 0.3rem;
}

.audition-member-toolbar h5 {
  font-size: 1.04rem;
}

.audition-member-wrap {
  display: grid;
  gap: 0.62rem;
}

.team-member-row {
  border: 1px solid #d6dce8;
  border-radius: 16px;
  background: #f8fafe;
  padding: 0.72rem;
}

.team-member-row__index {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  background: #e7edf8;
  color: #25324a;
  font-size: 0.73rem;
  font-weight: 700;
  padding: 0.16rem 0.58rem;
}

.audition-form-actions {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  margin-top: 0.2rem;
}

.audition-form-actions .btn {
  min-height: 44px;
  padding-left: 1.05rem;
  padding-right: 1.05rem;
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .audition-apply-card {
    padding: 1rem !important;
    border-radius: 20px !important;
  }

  .audition-apply-card__header h2 {
    font-size: clamp(1.35rem, 8vw, 1.75rem);
  }

  .audition-member-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .audition-member-toolbar #addMemberBtn {
    width: 100%;
    min-height: 42px;
  }

  .team-member-row {
    padding: 0.66rem;
    border-radius: 14px;
  }

  .team-member-row .remove-member-btn {
    min-height: 40px;
  }

  .audition-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .audition-form-actions .btn {
    width: 100%;
  }
}

/* Table rows were transparent in old overrides; normalize */
body:not(.home-page) .table {
  --bs-table-bg: #ffffff;
  --bs-table-striped-bg: #f8f9fc;
  --bs-table-hover-bg: #f3f6fb;
  --bs-table-border-color: #d8dde7;
}

body:not(.home-page) .table > :not(caption) > * > * {
  background: transparent !important;
}

/* Buttons: black primary style for consistency */
body .btn-primary,
body .btn-dark,
body .btn-success {
  background: var(--ui-core-dark-btn) !important;
  border-color: var(--ui-core-dark-btn) !important;
  color: #f2f5fb !important;
  box-shadow: none !important;
}

body .btn-primary:hover,
body .btn-primary:focus,
body .btn-dark:hover,
body .btn-dark:focus,
body .btn-success:hover,
body .btn-success:focus {
  background: var(--ui-core-dark-btn-hover) !important;
  border-color: var(--ui-core-dark-btn-hover) !important;
  color: #ffffff !important;
}

/* Keep destructive action visibly destructive */
body .btn-danger {
  background: #b3261e !important;
  border-color: #b3261e !important;
  color: #ffffff !important;
}

body .btn-danger:hover,
body .btn-danger:focus {
  background: #941c16 !important;
  border-color: #941c16 !important;
}

/* Neutralize mixed accent outlines */
body .btn-outline-primary,
body .btn-outline-secondary,
body .btn-outline-success,
body .btn-outline-danger,
body .btn-secondary {
  background: #ffffff !important;
  border: 1px solid #c3c9d7 !important;
  color: #243045 !important;
}

body .btn-outline-primary:hover,
body .btn-outline-primary:focus,
body .btn-outline-secondary:hover,
body .btn-outline-secondary:focus,
body .btn-outline-success:hover,
body .btn-outline-success:focus,
body .btn-outline-danger:hover,
body .btn-outline-danger:focus,
body .btn-secondary:hover,
body .btn-secondary:focus {
  background: #f2f4f9 !important;
  border-color: #aeb6c8 !important;
  color: #131b2a !important;
}

/* Keep top-right auth buttons aligned with this system */
.btn-nav-cta {
  background: var(--ui-core-dark-btn) !important;
  border-color: var(--ui-core-dark-btn) !important;
  color: #f2f5fb !important;
}

.btn-nav-cta:hover,
.btn-nav-cta:focus {
  background: var(--ui-core-dark-btn-hover) !important;
  border-color: var(--ui-core-dark-btn-hover) !important;
  color: #ffffff !important;
}

.btn-nav-outline {
  background: #ffffff !important;
  border-color: #c3c9d7 !important;
  color: #243045 !important;
}

@media (hover: none) and (pointer: coarse) {
  .btn,
  .nav-link-pill,
  .dropdown-item,
  .landing-btn,
  .how-card__link,
  .review-link,
  .partner-brand-item,
  .festival-news-btn {
    -webkit-tap-highlight-color: transparent;
  }

  .btn:hover,
  .btn:focus,
  .btn:active,
  .nav-link-pill:hover,
  .nav-link-pill:focus,
  .nav-link-pill:active {
    transform: none !important;
    box-shadow: none !important;
  }

  .btn,
  .nav-link-pill {
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease !important;
  }
}
