@charset "UTF-8";
/* Reset CSS */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&family=IBM+Plex+Mono:wght@300;400;500&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

ul, ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

/* Base Variables - Tailwind 기반 디자인 시스템 */
body {
  background-color: hsl(0, 0%, 100%);
  color: hsl(210, 10%, 15%);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  color: hsl(210, 10%, 15%);
  font-weight: 500;
}

h1 {
  font-size: 28px;
  line-height: 1.2;
}

h2 {
  font-size: 22px;
  line-height: 1.3;
}

h3 {
  font-size: 18px;
  line-height: 1.4;
}

p {
  font-size: 16px;
  color: hsl(210, 10%, 15%);
}

label {
  font-size: 14px;
  color: hsl(210, 10%, 15%);
}

small {
  font-size: 12px;
  color: hsl(210, 10%, 64%);
}

.font-headline {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

.text-h1 {
  font-size: 28px;
  line-height: 1.2;
}

.text-h2 {
  font-size: 22px;
  line-height: 1.3;
}

.text-h3 {
  font-size: 18px;
  line-height: 1.4;
}

.text-body {
  font-size: 16px;
  line-height: 1.5;
}

.text-label {
  font-size: 14px;
  line-height: 1.4;
}

.text-caption {
  font-size: 12px;
  line-height: 1.4;
}

.text-primary {
  color: hsl(12, 85%, 57%);
}

.text-foreground {
  color: hsl(210, 10%, 15%);
}

.text-muted {
  color: hsl(210, 10%, 64%);
}

.bg-background {
  background-color: hsl(0, 0%, 100%);
}

.bg-primary {
  background-color: hsl(12, 85%, 57%);
}

.bg-muted {
  background-color: hsl(210, 20%, 96%);
}

.bg-gradient-1 {
  background: linear-gradient(135deg, hsl(12, 85%, 57%), hsl(16, 80%, 70%));
}

.bg-gradient-2 {
  background: linear-gradient(135deg, hsl(158, 35%, 88%), hsl(161, 35%, 75%));
}

/* Utility Classes */
.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-2 {
  gap: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

/* Mixins */
/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  font-family: "Inter", sans-serif;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-size: 16px;
}
.btn.btn-primary {
  background-color: hsl(12, 85%, 57%);
  color: hsl(0, 0%, 100%);
}
.btn.btn-primary:hover {
  background-color: hsl(12, 85%, 52%);
}
.btn.btn-ghost {
  background-color: transparent;
  color: hsl(210, 10%, 15%);
}
.btn.btn-ghost:hover {
  background-color: hsl(210, 20%, 96%);
}
.btn.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 14px;
}
.btn.btn-icon {
  padding: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
}
.btn.btn-outline {
  border: 1px solid hsl(210, 16%, 89%);
  background-color: transparent;
}
.btn.btn-outline:hover {
  background-color: hsl(210, 20%, 96%);
}

.card {
  background: hsl(0, 0%, 100%);
  border-radius: 8px;
  border: 1px solid hsl(210, 16%, 89%);
  overflow: hidden;
}
.card .card-header {
  padding: 1rem;
  border-bottom: 1px solid hsl(210, 16%, 89%);
}
.card .card-content {
  padding: 1rem;
}
.card .card-image {
  overflow: hidden;
}
.card .card-image img {
  width: 100%;
  height: auto;
  display: block;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 400;
  font-family: "Inter", sans-serif;
}
.badge.badge-primary {
  background-color: hsl(12, 85%, 57%);
  color: hsl(0, 0%, 100%);
}
.badge.badge-secondary {
  background-color: hsl(16, 80%, 80%);
  color: hsl(12, 85%, 25%);
}
.badge.badge-tertiary {
  background-color: hsl(158, 35%, 88%);
  color: hsl(161, 30%, 25%);
}
.badge.badge-destructive {
  background-color: hsl(355, 75%, 50%);
  color: hsl(0, 0%, 100%);
}
.badge.badge-outline {
  background-color: transparent;
  border: 1px solid hsl(210, 16%, 89%);
  color: hsl(210, 10%, 64%);
}

.input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid hsl(210, 16%, 89%);
  border-radius: 8px;
  font-size: 16px;
  font-family: "Inter", sans-serif;
  background-color: hsl(0, 0%, 100%);
  color: hsl(210, 10%, 15%);
  transition: border-color 0.2s;
}
.input:focus {
  outline: none;
  border-color: hsl(200, 85%, 45%);
  box-shadow: 0 0 0 3px rgba(17, 147, 212, 0.1);
}
.input::-moz-placeholder {
  color: hsl(210, 10%, 64%);
}
.input::placeholder {
  color: hsl(210, 10%, 64%);
}

.scroll-area {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.5rem;
}
.scroll-area::-webkit-scrollbar {
  height: 4px;
}
.scroll-area::-webkit-scrollbar-thumb {
  background: hsl(210, 14%, 83%);
  border-radius: 4px;
}
.scroll-area::-webkit-scrollbar-track {
  background: hsl(210, 20%, 96%);
}

.campaign-card {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
  overflow: hidden;
  transition: transform 0.2s;
}
.campaign-card:hover {
  transform: scale(1.02);
}
.campaign-card .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.campaign-card .card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  flex-shrink: 0;
}
.campaign-card .card-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.campaign-card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.75rem;
}
@media (min-width: 640px) {
  .campaign-card .card-content {
    padding: 1rem;
  }
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 8px;
  transition: background-color 0.2s;
  cursor: pointer;
  background: none;
  border: none;
}
.category-item:hover {
  background-color: hsl(210, 20%, 96%);
}
.category-item .icon-box {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(158, 35%, 88%), hsl(161, 35%, 75%));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.category-item .icon-box img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.category-item span {
  font-size: 12px;
  color: hsl(210, 10%, 15%);
}

.platform-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.platform-icons .platform-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
}
.platform-icons .platform-icon img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.campaign-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 0.5rem;
  min-height: 1.75rem;
}

.campaign-title {
  margin-bottom: 0.5rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.campaign-title.title-sm {
  font-size: 0.875rem;
  min-height: 2.5rem;
}
.campaign-title.title-md {
  font-size: 1rem;
  min-height: 3rem;
}

.campaign-participants {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: hsl(210, 10%, 64%);
}
.campaign-participants i {
  width: 0.875rem;
  height: 0.875rem;
}
@media (min-width: 640px) {
  .campaign-participants i {
    width: 1rem;
    height: 1rem;
  }
}

.rank-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 10;
  background: hsl(12, 85%, 57%);
  color: white;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.875rem;
}

.campaign-provide-details {
  margin-bottom: 0.5rem;
  color: hsl(210, 10%, 64%);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.campaign-dday {
  margin-top: 0.5rem;
  color: hsl(12, 85%, 57%);
  font-weight: 500;
}

.campaign-points {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid hsl(210, 16%, 89%);
  color: hsl(210, 10%, 15%);
  font-size: 0.75rem;
  font-weight: 500;
}

.campaign-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1rem;
}
@media (min-width: 640px) {
  .campaign-grid {
    gap: 1.25rem;
  }
}

.filter-bar {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Common Layout */
.wrapper {
  max-width: 768px;
  margin: 0 auto;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: hsl(0, 0%, 100%);
  position: relative;
}

header.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: hsl(0, 0%, 100%);
  border-bottom: 1px solid hsl(210, 16%, 89%);
}
header.main-header .header-inner {
  max-width: 768px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
}
header.main-header .top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
header.main-header .top-bar .logo {
  text-decoration: none;
  color: inherit;
}
header.main-header .top-bar .actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
header.main-header .navigation-menu {
  padding-bottom: 0.75rem;
}
header.main-header .navigation-menu .menu-list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
header.main-header .navigation-menu .menu-list li a {
  font-size: 14px;
  color: hsl(210, 9%, 31%);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 300;
}
header.main-header .navigation-menu .menu-list li a:hover, header.main-header .navigation-menu .menu-list li a.active {
  color: hsl(12, 85%, 57%);
  font-weight: 500;
}

.campaign-bottom-action-bar {
  position: fixed;
  bottom: 70px;
  left: 0;
  right: 0;
  background-color: hsl(0, 0%, 100%);
  border-top: 1px solid hsl(210, 16%, 89%);
  padding: 1rem;
  z-index: 40;
  max-width: 768px;
  margin: 0 auto;
  width: 100%;
  max-width: 768px;
}
.campaign-bottom-action-bar button {
  width: 100%;
}

nav.bottom-tab-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  background-color: hsl(0, 0%, 100%);
  border-top: 1px solid hsl(210, 16%, 89%);
  max-width: 768px;
  margin: 0 auto;
  width: 100%;
  max-width: 768px;
}
nav.bottom-tab-bar .tab-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 4rem;
}
nav.bottom-tab-bar .tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  text-decoration: none;
  color: hsl(210, 8%, 46%);
  transition: color 0.2s;
  gap: 0.25rem;
}
nav.bottom-tab-bar .tab-item i {
  width: 1.5rem;
  height: 1.5rem;
}
nav.bottom-tab-bar .tab-item span {
  font-size: 12px;
}
nav.bottom-tab-bar .tab-item:hover, nav.bottom-tab-bar .tab-item.active {
  color: hsl(12, 85%, 57%);
}
nav.bottom-tab-bar .tab-item:hover span, nav.bottom-tab-bar .tab-item.active span {
  font-weight: 500;
}

.content {
  flex: 1;
  padding-bottom: 5rem;
}
@media (min-width: 1024px) {
  .content {
    padding-bottom: 0;
  }
}

.campaign-detail-page {
  padding-bottom: 140px;
}

.campaign-list-page {
  padding: 1.5rem 1rem;
  max-width: 768px;
  margin: 0 auto;
}
.campaign-list-page .campaign-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.wrapper-content {
  padding: 1.5rem 1rem;
  max-width: 768px;
  margin: 0 auto;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.flex {
  display: flex;
}

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

.gap-3 {
  gap: 0.75rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.grid {
  display: grid;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.w-32 {
  width: 8rem;
}

.aspect-video {
  aspect-ratio: 16/9;
}

.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}

.text-xs {
  font-size: 0.75rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.col-span-2 {
  grid-column: span 2;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Home Page */
.home-page {
  padding: 1.5rem 1rem;
  max-width: 768px;
  margin: 0 auto;
}
.home-page section {
  margin-bottom: 3rem;
}
.home-page .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .home-page .section-header {
    margin-bottom: 1.5rem;
  }
}
.home-page .banner-section {
  margin-bottom: 3rem;
}
.home-page .banner-carousel {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}
.home-page .banner-carousel img {
  width: 100%;
  aspect-ratio: 16/9;
  -o-object-fit: cover;
     object-fit: cover;
}
.home-page .category-section .category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.home-page .campaign-section .campaign-list {
  display: flex;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .home-page .campaign-section .campaign-list {
    gap: 1rem;
  }
}
.home-page .campaign-section .campaign-list.horizontal {
  overflow-x: auto;
  padding-bottom: 0.5rem;
}
.home-page .campaign-section .campaign-list.horizontal .campaign-card {
  min-width: 42vw;
}
@media (min-width: 640px) {
  .home-page .campaign-section .campaign-list.horizontal .campaign-card {
    min-width: 260px;
  }
}
.home-page .campaign-section .campaign-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .home-page .campaign-section .campaign-grid {
    gap: 1rem;
  }
}
.home-page .promotion-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.home-page .promotion-section .promo-banner {
  height: 120px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-page .promotion-section .promo-banner p {
  color: white;
  font-size: 22px;
}
.home-page .scroll-area {
  overflow-x: auto;
  padding-bottom: 0.5rem;
}
.home-page .scroll-area::-webkit-scrollbar {
  height: 4px;
}
.home-page .scroll-area::-webkit-scrollbar-thumb {
  background: hsl(210, 14%, 83%);
  border-radius: 4px;
}

/* My Page */
/* Admin Pages */
.admin-layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
  background: hsl(0, 0%, 100%);
}

.sidebar {
  width: 250px;
  background: hsl(210, 20%, 96%);
  border-right: 1px solid hsl(210, 16%, 89%);
  display: flex;
  flex-direction: column;
}
.sidebar .sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid hsl(210, 16%, 89%);
}
.sidebar .sidebar-nav {
  flex: 1;
  padding: 1rem;
}
.sidebar .nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  width: 100%;
  text-align: left;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: hsl(210, 10%, 15%);
  font-size: 14px;
  transition: background-color 0.2s;
}
.sidebar .nav-item:hover {
  background: hsl(210, 16%, 89%);
}
.sidebar .nav-item.active {
  background: hsl(12, 85%, 57%);
  color: hsl(0, 0%, 100%);
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.admin-header {
  height: 64px;
  border-bottom: 1px solid hsl(210, 16%, 89%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.content-area {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  background: hsl(0, 0%, 98%);
}

.dashboard-page,
.admin-campaign-list,
.admin-category-list,
.admin-banner-list,
.admin-user-list {
  padding: 1.5rem;
}
.dashboard-page .stats-cards,
.admin-campaign-list .stats-cards,
.admin-category-list .stats-cards,
.admin-banner-list .stats-cards,
.admin-user-list .stats-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}/*# sourceMappingURL=style.css.map */