:root {
  --outer-bg: #c8c8c6;
  --page-bg: #ffffff;
  --ticker-bg: #343434;
  --text: #1c2024;
  --muted: #80838d;
  --line: rgba(0, 0, 0, 0.08);
  --input-line: rgba(0, 0, 0, 0.12);
  --shadow: 0 4px 16px -8px rgba(0, 0, 0, 0.16), 0 3px 12px -4px rgba(0, 0, 0, 0.16),
    0 2px 3px -2px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.15);
  --radius-block: 12px;
  --side-padding: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page-bg);
  color: var(--text);
  font-family:
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    "Segoe UI",
    sans-serif;
}

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

button,
input {
  font: inherit;
}

.app-shell {
  min-height: 100vh;
}

.phone-shell {
  position: relative;
  width: 100%;
  background: var(--page-bg);
}

.ticker {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  height: 38px;
  overflow: hidden;
  background: var(--ticker-bg);
}

.ticker-track {
  display: inline-flex;
  min-width: 200%;
  height: 100%;
  align-items: center;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  animation: ticker-scroll 48s linear infinite;
}

.ticker-item {
  padding: 0 60px;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.profile-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 16px var(--side-padding) 6px;
}

.profile-row {
  display: block;
  width: 100%;
}

.profile-copy {
  width: 100%;
  min-width: 0;
}

.profile-topline {
  display: grid;
  width: 100%;
  align-items: start;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.profile-copy h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.profile-copy p {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.profile-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-block);
  background: rgba(255, 255, 255, 0.5);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.profile-chip:hover {
  background: rgba(255, 255, 255, 1);
}

.profile-chip:active {
  transform: scale(0.98);
}

.profile-chip svg {
  width: 17px;
  height: 14px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

body[data-page="home"] .language-switch {
  position: fixed;
  left: 14px;
  bottom: 92px;
  z-index: 18;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 8px;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

body[data-page="home"] .language-switch.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

body[data-page="home"] .language-drawer-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 32px rgba(17, 17, 17, 0.1);
  backdrop-filter: blur(14px);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
}

body[data-page="home"] .language-drawer-trigger svg {
  width: 16px;
  height: 16px;
}

body[data-page="home"] .language-drawer-panel {
  display: none;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.12);
  backdrop-filter: blur(14px);
}

body[data-page="home"] .language-switch.is-open .language-drawer-panel {
  display: grid;
}

.action-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex: 0 0 auto;
  width: auto;
}

.action-button,
.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-block);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.action-button svg,
.action-link svg {
  width: 16px;
  height: 16px;
}

.language-button {
  min-width: 44px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.language-button.is-active {
  border-color: #1c2024;
  background: #1c2024;
  color: #ffffff;
}

.page-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 var(--side-padding) 24px;
}

.page-block {
  padding-top: 12px;
  padding-bottom: 8px;
}

.page-block + .page-block {
  margin-top: 0;
}

.contact-grid {
  margin-top: 12px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-card,
.floating-contact-option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-block);
  background: #ffffff;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}

.contact-card {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  aspect-ratio: 0.95 / 1;
  min-height: 212px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 14px;
  background: #ffffff;
  text-align: center;
  box-shadow:
    0 18px 34px rgba(17, 17, 17, 0.1),
    0 8px 16px rgba(17, 17, 17, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:active,
.floating-contact-option:active,
.floating-contact-trigger:active {
  transform: scale(0.98);
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #f6f6f6;
  color: #4d5562;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  flex: 0 0 auto;
}

.contact-icon img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.contact-label {
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.contact-card .contact-icon {
  width: 74px;
  height: 74px;
  background: transparent;
  font-size: 20px;
  box-shadow: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.contact-card .contact-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}

.contact-card-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  padding: 16px 12px 36px;
}

.contact-card-brand {
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.contact-card-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  min-height: 82px;
  padding: 12px 10px 14px;
  background: #ffffff;
}

.contact-card-headline {
  margin: 0;
  color: #111111;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.contact-card-description {
  margin: 0;
  color: #8a8e97;
  font-size: 12px;
  line-height: 1.35;
}

.contact-card[data-contact="whatsapp"] .contact-card-visual {
  background: linear-gradient(180deg, #2cc21d 0%, #28b319 100%);
}

.contact-card[data-contact="telegram"] .contact-card-visual {
  background: linear-gradient(180deg, #41a7da 0%, #3197d3 100%);
}

@media (hover: hover) {
  .contact-card:hover {
    transform: translateY(-4px);
    box-shadow:
      0 24px 42px rgba(17, 17, 17, 0.14),
      0 10px 18px rgba(17, 17, 17, 0.08);
  }

  .contact-card:hover .contact-icon {
    transform: translateY(-5px);
    filter: saturate(1.04);
  }

  .contact-card:hover .contact-card-copy {
    transform: translateY(-1px);
  }
}

.floating-contact {
  position: fixed;
  right: 14px;
  bottom: 92px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.floating-contact.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-contact-menu {
  display: none;
  width: 152px;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.12);
  backdrop-filter: blur(14px);
}

.floating-contact.is-open .floating-contact-menu {
  display: grid;
}

.floating-contact-option {
  min-height: 44px;
  padding: 0 12px;
}

.floating-contact-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.34);
  cursor: pointer;
}

.floating-contact-trigger img {
  width: 24px;
  height: 24px;
}

.block-title-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 20px;
  padding-bottom: 2px;
  margin-bottom: 8px;
  text-align: center;
}

.block-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}

.grid {
  display: grid;
  gap: 8px;
}

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

.grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.collection-card,
.wide-card,
.subscribe-form {
  border-radius: var(--radius-block);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.collection-card,
.wide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: none;
  color: inherit;
  text-align: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.collection-card:hover,
.wide-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.card-media {
  position: relative;
  align-self: stretch;
  overflow: hidden;
}

.card-media img,
.card-media .media-placeholder {
  width: 100%;
  display: block;
  object-fit: cover;
  background-color: #f5f5f5;
}

.card-media.is-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: #ffffff;
}

.card-media.is-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: transparent;
}

.card-media.is-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: media-carousel var(--carousel-duration, 12s) infinite;
  animation-delay: var(--carousel-delay, 0s);
}

.card-media.is-swipe-carousel {
  aspect-ratio: 1 / 1;
  background: #f4f4f1;
}

.media-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  touch-action: pan-x;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.media-slider-track::-webkit-scrollbar {
  display: none;
}

.media-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
}

.media-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #f5f5f5;
}

.media-dots {
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}

.media-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 1px 4px rgba(17, 17, 17, 0.12);
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.media-dot.is-active {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.68);
}

.collection-card .card-media img,
.collection-card .card-media .media-placeholder {
  aspect-ratio: 1 / 1;
}

.collection-card .card-media.is-carousel {
  aspect-ratio: 1 / 1;
}

.collection-card .card-media.is-swipe-carousel {
  aspect-ratio: 1 / 1;
}

.collection-card .card-media.is-logo img {
  aspect-ratio: 1 / 1;
}

.collection-card.is-compact .card-media img,
.collection-card.is-compact .card-media .media-placeholder {
  aspect-ratio: 4 / 3;
}

.brand-card {
  background: #ffffff;
}

.brand-card .card-media,
.brand-card .card-media.is-carousel {
  aspect-ratio: 1 / 1;
  background: #ffffff;
}

.brand-card .card-media img,
.brand-card .card-media .media-placeholder {
  aspect-ratio: 1 / 1;
}

.brand-card .brand-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: #f8f7f4;
}

.brand-card .brand-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

.media-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  max-width: 104px;
  height: 38px;
  padding: 7px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 10px 18px rgba(17, 17, 17, 0.1),
    0 2px 6px rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(6px);
}

.media-badge.is-wide {
  min-width: 88px;
  max-width: 132px;
  height: 44px;
  padding: 8px 12px;
}

.media-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

.collection-card.is-compact .card-media.is-carousel {
  aspect-ratio: 4 / 3;
}

.grid-two .collection-card.is-compact .card-media img,
.grid-two .collection-card.is-compact .card-media .media-placeholder {
  aspect-ratio: 16 / 8;
}

.grid-two .collection-card.is-compact .card-media.is-carousel {
  aspect-ratio: 16 / 8;
}

.collection-card.is-compact .card-media.is-logo img {
  aspect-ratio: 4 / 3;
}

.collection-card.is-compact .card-media.is-logo {
  padding: 12px;
}

.grid-two .collection-card.is-compact .card-media.is-logo {
  padding: 8px 24px;
}

.grid-two .collection-card.is-compact .card-media.is-logo img {
  aspect-ratio: 16 / 8;
}

.wide-card .card-media img,
.wide-card .card-media .media-placeholder {
  aspect-ratio: 16 / 9;
}

.wide-card .card-media.is-carousel {
  aspect-ratio: 16 / 9;
}

@keyframes media-carousel {
  0%,
  28% {
    opacity: 1;
  }

  33%,
  95% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.media-cover-text {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 1;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #111111;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

#top-sections .wide-card .card-media img,
#top-sections .wide-card .card-media .media-placeholder {
  aspect-ratio: 16 / 11;
}

.media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.12)),
    linear-gradient(135deg, #cbc5bf 0%, #bab3ac 100%);
}

.placeholder-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #555;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px;
  text-align: center;
}

.wide-card .card-body {
  align-items: flex-start;
  padding: 12px;
  text-align: left;
}

.collection-card.is-compact .card-body {
  padding: 6px 6px 8px;
}

.grid-two .collection-card.is-compact .card-body {
  padding: 4px 6px 6px;
}

.card-title {
  display: -webkit-box;
  align-self: stretch;
  overflow: hidden;
  margin: 0;
  color: var(--text);
  text-overflow: ellipsis;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: -0.02em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-subtitle {
  display: -webkit-box;
  align-self: stretch;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  text-overflow: ellipsis;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: -0.02em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.subscribe-stack {
  display: grid;
  gap: 8px;
}

.subscribe-form {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.subscribe-form label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.subscribe-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.subscribe-row input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--input-line);
  border-radius: 10px;
  outline: none;
  color: var(--text);
  background: #fff;
}

.subscribe-row input:focus {
  border-color: rgba(0, 0, 0, 0.24);
}

.subscribe-row button {
  border: none;
  border-radius: 10px;
  background: #1c2024;
  color: #fff;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.subscribe-row button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.turnstile-slot {
  min-height: 0;
}

.turnstile-slot.is-active {
  min-height: 66px;
}

.form-meta {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 50;
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  pointer-events: none;
  border-radius: 999px;
  background: rgba(28, 32, 36, 0.96);
  color: #fff;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.subscribe-shell {
  min-height: 100vh;
}

.subscribe-page {
  padding: 16px;
}

.subscribe-page-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.subscribe-page-copy {
  margin-bottom: 12px;
}

.subscribe-page-copy h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
}

.subscribe-page-copy p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.subscribe-only-block {
  padding-top: 0;
}

@media (min-width: 484px) {
  body {
    background: var(--outer-bg);
  }

  .app-shell {
    padding-top: 32px;
  }

  .phone-shell {
    max-width: 440px;
    min-height: calc(100vh - 32px);
    margin: 0 auto;
    border-radius: 32px 32px 0 0;
    box-shadow: 0 16px 36px -20px rgba(0, 0, 0, 0.18), 0 16px 64px 0 rgba(0, 0, 0, 0.12),
      0 12px 60px 0 rgba(0, 0, 0, 0.16);
    overflow: hidden;
  }

  body[data-page="home"] .language-switch {
    left: calc(50% - 220px + 14px);
  }

  .floating-contact {
    right: calc(50% - 220px + 14px);
  }
}

@media (max-width: 360px) {
  :root {
    --side-padding: 12px;
  }

  .ticker-track {
    font-size: 12px;
  }

  .profile-copy h1 {
    font-size: 20px;
  }

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

  .action-row {
    gap: 4px;
    justify-content: flex-end;
  }

  .action-button,
  .action-link {
    min-height: 32px;
    padding: 0 8px;
    font-size: 10px;
  }

  body[data-page="home"] .language-switch {
    left: 12px;
    bottom: 84px;
  }

  .floating-contact {
    right: 12px;
    bottom: 84px;
  }
}
