/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg: #f6f8fc;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --panel: #ffffff;
  --primary: #2563eb;
  --cyan: #52b6d8;
  --green: #22c55e;
  --amber: #f5b942;
  --danger: #ef4444;
  --nav: #111827;
  --shadow: 0 18px 44px rgba(25, 33, 58, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  min-height: -webkit-fill-available;
  margin: 0;
  background: #050814;
}

body {
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050814;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

img,
video {
  max-width: 100%;
  display: block;
}

/* Public landing */
.public-page {
  position: relative;
  isolation: isolate;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  overflow-x: hidden;
  color: #243044;
  background: #050814;
}

.public-page::before,
.public-page::after {
  position: fixed;
  right: 0;
  left: 0;
  z-index: 15;
  height: 0;
  pointer-events: none;
  background: #050814;
  content: "";
}

.public-page::before {
  top: 0;
  height: var(--safe-top);
}

.public-page::after {
  bottom: 0;
  height: var(--safe-bottom);
}

.public-background {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 0;
  width: min(676px, 100vw);
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
  pointer-events: none;
  background: #050814;
  transform: translateX(-50%);
}

.public-background.white {
  background: #ffffff;
}

.background-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.desktop-background-media {
  display: none;
}

.background-overlay {
  position: absolute;
  inset: 0;
}

.link-canvas {
  position: relative;
  z-index: 1;
  width: min(676px, calc(100% - 36px));
  margin: 34px auto 72px;
  padding: clamp(12px, 3vw, 24px);
  overflow: hidden;
  overflow: clip;
}

.profile-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  margin-bottom: 18px;
  padding: 0;
}

.profile-card .logo {
  width: 74px;
  height: 74px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
}

.hero-card {
  position: relative;
  padding: 22px;
  border-radius: 30px;
  background: rgba(4, 10, 24, 0.5);
  box-shadow:
    0 26px 64px rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
}

.hero-art {
  display: block;
  width: 100%;
  aspect-ratio: 390 / 250;
  padding: 0;
  border: 0;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, #f8c43b, #b62945 55%, #181232);
  box-shadow: 0 18px 40px rgba(19, 36, 68, 0.16);
  cursor: default;
}

.hero-art.clickable {
  cursor: pointer;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jackpot-art {
  position: relative;
  height: 100%;
  padding: 46px 38px;
}

.jackpot-art b {
  position: absolute;
  top: 18%;
  right: 40px;
  color: #ffe069;
  font-size: clamp(58px, 15vw, 92px);
  line-height: 1;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
}

.jackpot-art span {
  position: absolute;
  right: 34px;
  bottom: 24%;
  color: white;
  font-size: clamp(18px, 4.4vw, 27px);
  font-weight: 900;
}

.floating-actions {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: -34px 0 18px;
}

.floating-actions button {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 0;
  border-radius: 18px;
  color: white;
  background: linear-gradient(180deg, #78d7ee, #49aecf);
  box-shadow:
    0 14px 24px rgba(31, 96, 133, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.floating-actions svg,
.share-action svg,
.copy-row svg,
.modal-close svg {
  width: 21px;
  height: 21px;
}

.floating-actions .share-icon-svg {
  width: 16px;
  height: 16px;
  overflow: visible;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: -2px 0 18px;
}

.carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d7e3eb;
}

.carousel-dots button.active {
  width: 20px;
  background: #52b6d8;
}

.profile-title,
.profile-subtitle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 66px;
  padding: 0 18px;
  border: 1px solid rgba(255, 221, 137, 0.18);
  border-radius: 20px;
  overflow: hidden;
  color: white;
  cursor: default;
  font-weight: 900;
  isolation: isolate;
  pointer-events: none;
  text-align: center;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.profile-title::before,
.profile-subtitle::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.18) 18%, transparent 34%),
    radial-gradient(circle at 18% 18%, rgba(255, 223, 139, 0.22), transparent 34%);
  content: "";
  opacity: 0.82;
  transform: translateX(-120%);
  animation: titleSheen 5.2s ease-in-out infinite;
}

.profile-title::after,
.profile-subtitle::after {
  position: absolute;
  inset: 1px;
  z-index: -2;
  border-radius: inherit;
  content: "";
}

.profile-title {
  background:
    linear-gradient(135deg, rgba(14, 18, 28, 0.88), rgba(31, 34, 42, 0.72)),
    radial-gradient(circle at 74% 18%, rgba(251, 208, 92, 0.32), transparent 30%);
  box-shadow:
    0 16px 28px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 204, 92, 0.16);
  font-size: clamp(18px, 4.8vw, 25px);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  text-shadow:
    0 0 18px rgba(255, 214, 112, 0.28),
    0 2px 10px rgba(0, 0, 0, 0.32);
}

.profile-subtitle {
  margin-top: 16px;
  background:
    linear-gradient(135deg, rgba(7, 10, 24, 0.9), rgba(21, 24, 40, 0.82)),
    radial-gradient(circle at 28% 10%, rgba(145, 97, 255, 0.24), transparent 36%);
  box-shadow:
    0 14px 26px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(255, 221, 137, 0.1);
  font-size: clamp(14px, 3.2vw, 18px);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  text-shadow: 0 0 14px rgba(255, 244, 204, 0.2);
}

@keyframes titleSheen {
  0%,
  42% {
    transform: translateX(-120%);
  }
  62%,
  100% {
    transform: translateX(120%);
  }
}

.content-stream {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 28px;
}

.desktop-divider,
.desktop-card-list {
  display: none;
}

.trust-button {
  position: relative;
  display: block;
  width: 100%;
  min-height: 78px;
  padding: 14px 42px;
  border: 0;
  border-radius: 50px;
  overflow: hidden;
  color: white;
  background: transparent;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
  font-size: clamp(18px, 4vw, 25px);
  font-weight: bold;
  cursor: default;
  transition: transform 0.2s ease;
}

.trust-button.clickable {
  cursor: pointer;
}

.trust-button span {
  position: relative;
  z-index: 15;
  color: #c9ffd8;
  text-shadow: 0 0 18px rgba(126, 242, 191, 0.28);
}

.trust-button:active {
  transform: scale(0.96);
}

.trust-button::before {
  position: absolute;
  top: 2px;
  left: 2px;
  z-index: 12;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border-radius: inherit;
  background: rgb(0 0 0);
  content: "";
  opacity: 1;
  transform: scale(1);
  transition: all 0.5s ease;
}

.trust-button:hover::before {
  opacity: 1;
  transform: scale(1);
}

.bubble-layer {
  position: absolute;
  z-index: 0;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  filter: blur(10px);
}

.bubble-1 {
  top: -20%;
  left: -10%;
  background: #ff007f;
  animation: moveUpRight 6s ease-in-out infinite;
}

.bubble-2 {
  top: 0%;
  left: 10%;
  background: #ff6a00;
  animation: moveDownLeft 5s ease-in-out infinite;
  animation-delay: 1s;
}

.bubble-3 {
  top: 20%;
  left: 50%;
  background: #ffcc00;
  animation: moveRight 4s ease-in-out infinite;
  animation-delay: 2s;
}

.bubble-4 {
  top: -20%;
  left: 70%;
  background: #00fff0;
  animation: moveUpLeft 7s ease-in-out infinite;
  animation-delay: 3s;
}

.bubble-5 {
  top: 30%;
  left: -10%;
  background: #9d00ff;
  animation: moveDownRight 3s ease-in-out infinite;
  animation-delay: 4s;
}

.bubble-6 {
  top: -10%;
  left: 30%;
  background: #ff007f;
  animation: moveLeft 8s ease-in-out infinite;
  animation-delay: 0.5s;
}

.bubble-7 {
  top: 40%;
  left: 60%;
  background: #ff6a00;
  animation: moveUp 6s ease-in-out infinite;
  animation-delay: 1.5s;
}

.promo-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.promo-card {
  --promo-content-lines: 1;
  --promo-expanded-height: max(322px, calc(220px + (var(--promo-content-lines) * 20px)));
  position: relative;
  width: 100%;
  min-height: 322px;
  padding: 3px;
  overflow: hidden;
  border-radius: 32px;
  background:
    linear-gradient(145deg, #050505 0%, #19130a 46%, #080808 100%);
  box-shadow:
    0 34px 46px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 219, 124, 0.36),
    inset 0 0 28px rgba(255, 188, 72, 0.08);
  isolation: isolate;
  transition:
    border-radius 0.5s ease-in-out,
    min-height 0.45s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.promo-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 218, 128, 0.32), transparent 26%),
    radial-gradient(circle at 88% 86%, rgba(173, 108, 26, 0.24), transparent 30%),
    linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.08) 48%, transparent 66%);
  content: "";
  opacity: 0.72;
  pointer-events: none;
}

.promo-card:hover,
.promo-card.is-active {
  min-height: var(--promo-expanded-height);
  border-top-left-radius: 55px;
  transform: translateY(-2px);
  box-shadow:
    0 42px 58px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 220, 126, 0.22),
    inset 0 0 0 1px rgba(255, 232, 159, 0.5),
    inset 0 0 40px rgba(255, 177, 50, 0.12);
}

.promo-profile-pic {
  position: absolute;
  z-index: 1;
  top: 3px;
  left: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  overflow: hidden;
  border: 0 solid #d8aa47;
  border-radius: 29px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 219, 122, 0.22), transparent 34%),
    linear-gradient(145deg, #060606, #19140c 58%, #050505);
  box-shadow:
    inset 0 0 0 1px rgba(255, 223, 133, 0.16),
    inset 0 0 42px rgba(255, 180, 60, 0.08);
  transition:
    width 0.5s ease-in-out,
    height 0.5s ease-in-out,
    top 0.5s ease-in-out,
    left 0.5s ease-in-out,
    border 0.5s ease-in-out,
    border-radius 0.5s ease-in-out,
    box-shadow 0.5s ease-in-out,
    z-index 0.5s ease-in-out 0.1s;
}

.promo-profile-pic .logo {
  width: 100%;
  height: 100%;
  padding: 0;
  border-radius: 0;
  background: transparent;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease-in-out;
}

.promo-profile-pic .logo.fallback {
  padding: 0;
  color: #ffd96e;
  background:
    radial-gradient(circle at 38% 30%, rgba(255, 244, 190, 0.28), transparent 28%),
    linear-gradient(145deg, #0a0a0a, #123a24 68%, #050505);
  font-size: 44px;
  border-radius: 0;
}

.promo-bottom {
  position: absolute;
  z-index: 2;
  right: 3px;
  bottom: 3px;
  left: 3px;
  top: 78%;
  overflow: hidden;
  border-radius: 29px;
  background:
    linear-gradient(145deg, rgba(48, 35, 13, 0.98), rgba(10, 10, 10, 0.98) 52%, rgba(93, 61, 15, 0.96));
  box-shadow:
    rgba(255, 204, 92, 0.18) 0 8px 16px 0 inset,
    inset 0 1px 0 rgba(255, 237, 180, 0.24),
    inset 0 -1px 0 rgba(255, 176, 40, 0.16);
  transition:
    top 0.5s cubic-bezier(0.645, 0.045, 0.355, 1),
    border-radius 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.promo-content {
  position: absolute;
  right: 1.45rem;
  bottom: 4.35rem;
  left: 1.45rem;
  color: white;
}

.promo-name {
  display: block;
  padding-right: 8px;
  color: #fff3c4;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.08;
  text-shadow:
    0 0 16px rgba(255, 207, 88, 0.32),
    0 2px 12px rgba(0, 0, 0, 0.46);
}

.promo-about {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  max-height: 82px;
  margin-top: 14px;
  overflow: hidden;
}

.promo-about p {
  margin: 0;
  color: #fff9e8;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.42);
}

.promo-bottom-bottom {
  position: absolute;
  right: 1.2rem;
  bottom: 1rem;
  left: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.promo-collapsed-title {
  min-width: 0;
  overflow: hidden;
  color: #fff1b8;
  font-size: 15px;
  font-weight: 950;
  text-overflow: ellipsis;
  text-shadow:
    0 0 14px rgba(255, 212, 102, 0.26),
    0 2px 12px rgba(0, 0, 0, 0.34);
  white-space: nowrap;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.promo-action {
  flex: 0 0 auto;
  min-width: 98px;
  min-height: 39px;
  padding: 0.46rem 0.95rem;
  border: 0;
  border-radius: 999px;
  color: #201406;
  background:
    linear-gradient(180deg, #fff1b8, #d79b2d 55%, #9c6718);
  box-shadow:
    0 10px 18px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(74, 43, 5, 0.28);
  font-size: 13px;
  font-weight: 950;
  transition:
    transform 0.2s ease,
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.promo-action:hover {
  color: #fff3c4;
  background:
    linear-gradient(180deg, #2f210c, #0b0b0b);
  box-shadow:
    0 13px 22px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 210, 96, 0.42);
  transform: translateY(-1px);
}

.promo-card:hover .promo-bottom,
.promo-card.is-active .promo-bottom {
  top: 22%;
  border-radius: 76px 29px 29px 29px;
  transition-delay: 0.12s;
}

.promo-card:hover .promo-content,
.promo-card.is-active .promo-content {
  top: 54px;
  bottom: 3.85rem;
}

.promo-card:hover .promo-about,
.promo-card.is-active .promo-about {
  max-height: none;
  overflow: visible;
}

.promo-card:hover .promo-collapsed-title,
.promo-card.is-active .promo-collapsed-title {
  opacity: 0;
  transform: translateY(8px);
}

.promo-card:hover .promo-profile-pic,
.promo-card.is-active .promo-profile-pic {
  z-index: 3;
  top: 12px;
  left: 12px;
  width: 94px;
  height: 94px;
  border: 7px solid #d2a243;
  border-radius: 50%;
  box-shadow:
    rgba(0, 0, 0, 0.28) 0 10px 20px 0,
    0 0 0 1px rgba(255, 235, 164, 0.34);
}

.promo-card:hover .promo-profile-pic .logo,
.promo-card.is-active .promo-profile-pic .logo {
  padding: 0;
  transform: scale(1.08);
}

.promo-card:hover .promo-profile-pic .logo.fallback,
.promo-card.is-active .promo-profile-pic .logo.fallback {
  padding: 0;
  font-size: 24px;
}

.vip-card {
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(155deg, rgba(42, 16, 84, 0.88), rgba(18, 9, 44, 0.84) 56%, rgba(74, 28, 124, 0.78));
  box-shadow:
    0 22px 48px rgba(22, 8, 48, 0.36),
    inset 0 0 0 1px rgba(224, 190, 255, 0.22),
    inset 0 0 28px rgba(170, 94, 255, 0.12);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
}

.vip-header {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 68px;
  padding: 12px 22px;
  border: 0;
  color: white;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.22), transparent 26%),
    linear-gradient(135deg, #9b5cff, #6f35de 48%, #3c167e);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(62, 21, 131, 0.48);
}

.vip-header strong {
  flex: 1 1;
  text-align: left;
  font-weight: 900;
  text-shadow: 0 2px 14px rgba(25, 6, 52, 0.38);
}

.vip-chevron {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 15px;
  color: white;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.1)),
    linear-gradient(135deg, rgba(206, 158, 255, 0.45), rgba(97, 43, 205, 0.6));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 10px 18px rgba(25, 7, 52, 0.22);
  transition: transform 0.22s ease, background 0.22s ease;
}

.vip-card.open .vip-chevron {
  transform: rotate(180deg);
}

.vip-chevron svg {
  width: 20px;
  height: 20px;
}

.vip-body {
  padding: 22px 26px 26px;
  background:
    radial-gradient(circle at 80% 0%, rgba(183, 112, 255, 0.18), transparent 34%),
    rgba(13, 7, 31, 0.36);
}

.vip-body p {
  margin: 0 0 20px;
  color: #ffffff;
  font-weight: 650;
  line-height: 1.55;
}

.vip-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 14px;
  gap: 14px;
}

.vip-buttons button {
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, #9b5cff, #5f2fd0);
  font-size: 13px;
  font-weight: 900;
  box-shadow:
    0 10px 18px rgba(84, 39, 178, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.public-footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.public-footer button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 58px;
  border: 0;
  border-radius: 18px;
  color: white;
  background: linear-gradient(135deg, #315dff, #2241c9);
  font-weight: 850;
  box-shadow: 0 14px 28px rgba(49, 93, 255, 0.2);
}

.public-footer button:not(.facebook-button) {
  justify-content: flex-start;
  min-height: 68px;
  padding: 12px 22px;
  border-radius: 24px;
  color: #221404;
  background:
    linear-gradient(135deg, #fff0ad 0%, #e0a836 38%, #b57919 68%, #f7d978 100%);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.54),
    inset 0 -1px 0 rgba(87, 50, 4, 0.22);
  font-size: 17px;
  font-weight: 950;
  text-align: left;
  text-shadow: 0 1px 0 rgba(255, 246, 200, 0.38);
}

.public-footer button > img {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow:
    0 8px 16px rgba(71, 42, 4, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.public-footer button.facebook-button {
  width: 100%;
  height: auto;
  min-height: 58px;
  padding: 0.8em 1.2em;
  border: none;
  border-radius: 25px;
  color: white;
  background: linear-gradient(to bottom, #0d36b3 0%, #0063ad 100%);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  font-size: 18px;
  transition: all 0.3s;
}

.public-footer button.fancy-whatsapp {
  background: linear-gradient(to bottom, #26d96b 0%, #0b8f5a 100%);
}

.public-footer button.fancy-telegram {
  background: linear-gradient(to bottom, #38bdf8 0%, #1d6fd1 100%);
}

.public-footer button.fancy-whatsapp .svg-wrapper {
  background-color: rgba(255, 255, 255, 0.22);
}

.public-footer button.fancy-telegram .svg-wrapper {
  background-color: rgba(255, 255, 255, 0.2);
}

.public-footer button.facebook-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.public-footer button.facebook-button:active {
  transform: scale(0.95);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.public-footer button.facebook-button span {
  display: block;
  margin-left: 0.4em;
  transition: all 0.3s;
}

.public-footer button.facebook-button svg,
.public-footer button.facebook-button .footer-fancy-img {
  width: 18px;
  height: 18px;
  fill: white;
  object-fit: cover;
  border-radius: 4px;
  transition: all 0.3s;
}

.public-footer button.facebook-button .svg-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-right: 0.5em;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
}

.public-footer button.facebook-button:hover svg,
.public-footer button.facebook-button:hover .footer-fancy-img {
  transform: rotate(90deg);
}

.logo {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 50%;
}

.logo.square {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.logo.large {
  width: 132px;
  height: 132px;
}

.logo.fallback {
  display: grid;
  place-items: center;
  color: #f8d95c;
  background: linear-gradient(135deg, #0d8a49, #0b5b3a);
  font-size: 14px;
  font-weight: 1000;
}

.profile-card .logo.fallback {
  font-size: 20px;
}

.logo.fallback.large {
  font-size: 38px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  padding: 28px;
  background:
    radial-gradient(circle at 20% 12%, rgba(120, 122, 188, 0.72), transparent 34%),
    radial-gradient(circle at 82% 72%, rgba(59, 130, 246, 0.42), transparent 32%),
    rgba(17, 24, 64, 0.78);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
}

.share-backdrop {
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.qr-backdrop {
  align-items: center;
  justify-content: center;
}

.share-modal,
.qr-modal {
  position: relative;
  width: min(720px, 100%);
  padding: clamp(24px, 4vw, 42px);
  border-radius: 30px;
  color: #263349;
  background: white;
  box-shadow:
    0 36px 90px rgba(8, 13, 45, 0.34),
    inset 0 0 0 1px rgba(226, 232, 240, 0.72);
}

.share-modal {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 28px 28px 88px;
  border-radius: 16px 16px 0 0;
  animation: sheetIn 0.22s ease-out;
}

.share-modal h2,
.qr-modal h2 {
  margin: 0 0 18px;
  color: #1e293b;
}

.share-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.share-header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 950;
}

.copy-row,
.share-action,
.download-qr {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 58px;
  margin-top: 12px;
  border: 1px solid #dfe5eb;
  border-radius: 15px;
  color: #263349;
  background: #ffffff;
  font-weight: 850;
}

.copy-row {
  gap: 16px;
  padding: 0 10px 0 22px;
  background: #ffffff;
}

.copy-row span {
  flex: 1 1;
  overflow: hidden;
  color: #263349;
  font-size: clamp(17px, 3vw, 23px);
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-row button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 0;
  border-radius: 13px;
  color: #263349;
  background: #eef4f8;
}

.share-action {
  justify-content: flex-start;
  gap: 16px;
  min-height: 62px;
  padding: 0 18px;
  text-align: left;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.share-action:hover {
  transform: translateY(-1px);
  border-color: #cdd8e3;
  box-shadow: 0 14px 26px rgba(21, 34, 55, 0.08);
}

.share-action strong {
  flex: 1 1;
  font-size: clamp(16px, 2.8vw, 21px);
}

.share-action > svg {
  color: #91a2b7;
}

.share-action-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: white;
}

.share-action-icon.qr {
  color: #334155;
  background: #eef4f8;
}

.share-action-icon.facebook {
  background: #1877f2;
}

.share-action-icon.telegram {
  background: #2aabee;
}

.share-action-icon.x {
  background: #111827;
}

.share-action-icon.linkedin {
  background: #0a66c2;
}

.share-action-icon.email {
  background: #64748b;
}

.modal-close {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: white;
  background: #5aa8da;
}

.qr-modal .modal-close {
  position: absolute;
  top: 22px;
  left: auto;
  right: 22px;
  color: #263349;
  background: #eef4f8;
}

.qr-modal img {
  width: 260px;
  height: 260px;
  margin: 28px auto;
}

@media (min-width: 901px) {
  .public-background {
    left: 0;
    width: 100vw;
    transform: none;
  }

  .mobile-background-media {
    display: none;
  }

  .desktop-background-media {
    display: block;
  }

  .link-canvas {
    display: grid;
    grid-template-columns: minmax(430px, 690px) minmax(430px, 620px);
    align-items: start;
    width: min(1460px, calc(100vw - 72px));
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 auto;
    padding: clamp(58px, 8vh, 116px) 0 80px;
    grid-column-gap: clamp(42px, 5vw, 88px);
    column-gap: clamp(42px, 5vw, 88px);
    overflow: visible;
  }

  .profile-card {
    display: none;
    grid-column: 1;
    min-height: 0;
    margin: 0;
  }

  .hero-card {
    grid-column: 1;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
  }

  .hero-art {
    border-radius: 14px;
    box-shadow:
      0 34px 80px rgba(0, 0, 0, 0.34),
      inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  }

  .floating-actions {
    gap: 22px;
    margin: -56px 0 26px;
  }

  .floating-actions button {
    width: 66px;
    height: 66px;
    border-radius: 16px;
  }

  .carousel-dots {
    margin-top: -10px;
  }

  .profile-title,
  .profile-subtitle {
    min-height: 58px;
    border-radius: 12px;
  }

  .profile-title {
    font-size: 24px;
  }

  .profile-subtitle {
    margin-top: 14px;
    font-size: 18px;
  }

  .content-stream {
    grid-row: 1 / span 2;
    grid-column: 2;
    width: 100%;
    max-width: 620px;
    margin-top: 48px;
    gap: 22px;
  }

  .desktop-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    grid-gap: 18px;
    gap: 18px;
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.86);
  }

  .desktop-divider span {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.76), transparent);
  }

  .desktop-divider svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.28));
  }

  .trust-button {
    min-height: 72px;
    font-size: 22px;
  }

  .desktop-card-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  .mobile-promo-list {
    display: none;
  }

  .desktop-link-card {
    overflow: hidden;
    border-radius: 14px;
    background:
      linear-gradient(135deg, rgba(9, 20, 44, 0.82), rgba(14, 26, 55, 0.72)),
      radial-gradient(circle at 88% 84%, rgba(99, 185, 222, 0.2), transparent 30%);
    box-shadow:
      0 24px 48px rgba(0, 0, 0, 0.24),
      inset 0 0 0 1px rgba(139, 220, 255, 0.14);
    -webkit-backdrop-filter: blur(14px);
            backdrop-filter: blur(14px);
  }

  .desktop-card-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    grid-gap: 16px;
    gap: 16px;
    width: 100%;
    min-height: 82px;
    padding: 14px 18px;
    border: 0;
    color: white;
    background:
      linear-gradient(135deg, rgba(91, 184, 218, 0.96), rgba(56, 141, 177, 0.92)),
      radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.2), transparent 28%);
    font-size: 21px;
    font-weight: 900;
    text-align: left;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
  }

  .desktop-card-head .logo {
    width: 58px;
    height: 58px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
  }

  .desktop-card-head .logo.fallback {
    font-size: 16px;
  }

  .desktop-card-action {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: white;
  }

  .desktop-card-action svg {
    width: 24px;
    height: 24px;
  }

  .desktop-card-action .share-icon-svg {
    width: 24px;
    height: 24px;
  }

  .desktop-card-body {
    display: grid;
    grid-gap: 12px;
    gap: 12px;
    min-height: 118px;
    padding: 30px 28px 32px;
    color: white;
    background:
      linear-gradient(105deg, rgba(7, 13, 30, 0.94), rgba(22, 36, 68, 0.82)),
      radial-gradient(circle at 88% 78%, rgba(255, 255, 255, 0.12), transparent 28%);
  }

  .desktop-card-body p {
    margin: 0;
    font-size: 18px;
    font-weight: 850;
    line-height: 1.42;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
  }
}

@media (max-width: 720px) {
  .link-canvas {
    width: min(100% - 20px, 640px);
    margin-top: 18px;
    padding: 8px;
  }

  .profile-card {
    min-height: 68px;
    margin-bottom: 16px;
  }

  .hero-card {
    padding: 14px;
    border-radius: 26px;
  }

  .hero-art {
    border-radius: 24px;
  }

  .floating-actions button {
    width: 54px;
    height: 54px;
  }

  .trust-button {
    min-height: 68px;
  }

  .share-modal,
  .qr-modal {
    width: 100%;
    max-height: calc(100vh - 36px);
    overflow: auto;
  }

  .share-modal {
    max-height: 82vh;
    border-radius: 14px 14px 0 0;
    padding: 24px 24px 78px;
  }

  .qr-modal {
    border-radius: 26px;
  }
}

@keyframes sheetIn {
  from {
    transform: translateY(32px);
    opacity: 0.5;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes moveUpRight {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(100%, -100%);
  }
  50% {
    transform: translate(-50%, 50%);
  }
  75% {
    transform: translate(50%, -50%);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes moveDownLeft {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-100%, 100%);
  }
  50% {
    transform: translate(50%, -50%);
  }
  75% {
    transform: translate(-50%, 50%);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes moveRight {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(100%, 0);
  }
  50% {
    transform: translate(-100%, 50%);
  }
  75% {
    transform: translate(50%, -50%);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes moveUpLeft {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-100%, -100%);
  }
  50% {
    transform: translate(50%, 50%);
  }
  75% {
    transform: translate(-50%, -50%);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes moveDownRight {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(100%, 100%);
  }
  50% {
    transform: translate(-50%, -50%);
  }
  75% {
    transform: translate(50%, 50%);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes moveLeft {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-100%, 0);
  }
  50% {
    transform: translate(100%, -50%);
  }
  75% {
    transform: translate(-50%, 50%);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes moveUp {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(0, -100%);
  }
  50% {
    transform: translate(50%, 50%);
  }
  75% {
    transform: translate(-50%, -50%);
  }
  100% {
    transform: translate(0, 0);
  }
}

/* Admin */
.login-page,
.admin-loading,
.runtime-error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 15% 15%, rgba(37, 99, 235, 0.24), transparent 30%),
    linear-gradient(135deg, #111827, #0f172a 50%, #172554);
}

.runtime-error-page section {
  width: min(520px, 100%);
  padding: 36px;
  border-radius: 28px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
}

.runtime-error-page h1 {
  margin: 22px 0 12px;
  font-size: 30px;
}

.runtime-error-page p {
  color: #cbd5e1;
  line-height: 1.8;
}

.runtime-error-page code {
  display: block;
  margin: 18px 0;
  color: #f8d95c;
}

.runtime-error-page button,
.runtime-error-page a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-right: 10px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  color: white;
  background: var(--primary);
  font-weight: 900;
}

.runtime-error-page a {
  background: rgba(255, 255, 255, 0.14);
}

.login-card {
  width: min(430px, 100%);
  padding: 36px;
  border-radius: 28px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
}

.login-card h1 {
  margin: 0 0 28px;
  font-size: 30px;
}

.login-card p {
  margin: 0 0 26px;
  color: #cbd5e1;
  line-height: 1.6;
}

.login-card form,
.password-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.login-card label,
.password-form label,
.field,
.visual-form label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #475569;
  font-size: 13px;
  font-weight: 850;
}

.login-card label {
  color: #e2e8f0;
}

.login-card input,
.field input,
.field textarea,
.field select,
.password-form input,
.visual-form input,
.visual-form textarea,
.visual-form select,
.search-input {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 12px;
  outline: none;
  background: #f8fafc;
  color: #0f172a;
  font-size: 14px;
  font-weight: 650;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.login-card input {
  height: 48px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.field input,
.field select,
.password-form input,
.visual-form input,
.visual-form select,
.search-input {
  height: 44px;
  padding: 0 14px;
}

.field textarea,
.visual-form textarea {
  min-height: 96px;
  padding: 12px 14px;
  resize: vertical;
}

.login-card input:focus,
.field input:focus,
.field textarea:focus,
.password-form input:focus,
.visual-form input:focus,
.visual-form textarea:focus,
.search-input:focus {
  border-color: rgba(37, 99, 235, 0.7);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.primary,
.save-button {
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  color: white;
  background: var(--primary);
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.24);
}

.admin-app {
  display: grid;
  grid-template-columns: 264px 1fr;
  min-height: 100vh;
  background: var(--bg);
}

.admin-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px 18px;
  color: white;
  background: var(--nav);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 42px;
}

.admin-brand strong,
.admin-brand span {
  display: block;
}

.admin-brand strong {
  font-size: 18px;
}

.admin-brand span {
  margin-top: 3px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
}

.admin-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 850;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.admin-sidebar nav a.active,
.admin-sidebar nav a.pending {
  color: white;
  background: var(--primary);
}

.admin-sidebar nav a.pending {
  transform: translateX(3px);
}

.admin-main {
  min-width: 0;
}

.admin-app.navigating .admin-content {
  cursor: progress;
}

.admin-topbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
  padding: 0 40px;
  background: white;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.admin-topbar h1 {
  margin: 0;
  font-size: 28px;
}

.admin-topbar span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-user button {
  height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  color: #334155;
  background: #f1f5f9;
  font-weight: 850;
}

.admin-content {
  padding: 40px;
}

.admin-content-pending {
  min-height: calc(100vh - 86px);
}

.admin-route-loading {
  display: grid;
  min-height: 360px;
  place-items: center;
}

.admin-spinner {
  display: inline-block;
  width: 38px;
  height: 38px;
  border: 4px solid rgba(37, 99, 235, 0.16);
  border-top-color: var(--primary);
  border-radius: 999px;
  animation: adminSpin 0.72s linear infinite;
}

.admin-spinner.small {
  width: 24px;
  height: 24px;
  border-width: 3px;
}

@keyframes adminSpin {
  to {
    transform: rotate(360deg);
  }
}

.panel {
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.panel-heading h2 {
  margin: 0;
  font-size: 22px;
}

.panel-heading p {
  max-width: 620px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.6;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 344px;
  grid-gap: 28px;
  gap: 28px;
}

.stat-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 24px;
  gap: 24px;
}

.stat-card {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  min-height: 136px;
  padding: 20px;
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow);
}

.stat-card span {
  color: var(--primary);
}

.stat-card.cyan span {
  color: #06b6d4;
}

.stat-card.amber span {
  color: #f59e0b;
}

.stat-card.green span {
  color: #22c55e;
}

.stat-card small {
  color: var(--muted);
  font-weight: 800;
}

.stat-card strong {
  font-size: 30px;
}

.stat-card em {
  color: #16a34a;
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
}

.chart-panel,
.recent-panel,
.quick-panel,
.system-panel {
  padding: 28px;
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  height: 230px;
  padding: 20px 28px 0;
  border-bottom: 1px solid var(--line);
}

.bar-chart span {
  width: 42px;
  border-radius: 12px 12px 0 0;
  background: #cfe2ff;
}

.bar-chart span.active {
  background: var(--primary);
}

.quick-panel {
  color: white;
  background: #111827;
}

.quick-panel .panel-heading h2,
.quick-panel .panel-heading p {
  color: white;
}

.quick-panel a {
  display: flex;
  align-items: center;
  height: 48px;
  margin-top: 14px;
  padding: 0 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-weight: 850;
}

.recent-panel {
  grid-column: 1 / -1;
}

.recent-list {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.recent-list div {
  display: grid;
  grid-template-columns: 220px 1fr 88px;
  align-items: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 14px;
  background: #f8fafc;
}

.recent-list span {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-list em,
.resource-rows em {
  justify-self: end;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eaf7ff;
  color: #334155;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.resource-layout {
  display: grid;
  grid-template-columns: minmax(540px, 1fr) 390px;
  grid-gap: 28px;
  gap: 28px;
}

.resource-list,
.resource-editor {
  min-height: 754px;
  padding: 28px;
}

.search-input {
  margin-bottom: 22px;
}

.resource-rows {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.resource-status {
  display: grid;
  min-height: 74px;
  place-items: center;
  border-radius: 16px;
  color: #64748b;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 850;
}

.resource-rows button {
  display: grid;
  grid-template-columns: 44px 1fr 78px;
  grid-gap: 16px;
  gap: 16px;
  align-items: center;
  min-height: 74px;
  padding: 14px 18px;
  text-align: left;
  border: 0;
  border-radius: 16px;
  background: white;
}

.resource-rows button.selected {
  background: #eff6ff;
}

.resource-rows strong,
.resource-rows small {
  display: block;
}

.resource-rows small {
  overflow: hidden;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-thumb {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 12px;
  background: #e2e8f0;
}

.row-thumb.fallback {
  display: grid;
  place-items: center;
  color: white;
  background: var(--primary);
  font-weight: 900;
}

.resource-rows em.off {
  background: #f1f5f9;
  color: #64748b;
}

.danger {
  border: 0;
  border-radius: 12px;
  color: white;
  background: var(--danger);
  font-weight: 900;
}

.editor-fields {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
  max-height: 650px;
  overflow: auto;
  padding-right: 4px;
}

.resource-editor .save-button,
.settings-layout .save-button,
.system-panel .save-button {
  width: 100%;
  margin-top: 24px;
}

.switch {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 14px;
  color: #64748b;
  background: #f1f5f9;
  font-size: 13px;
  font-weight: 900;
}

.switch i {
  position: relative;
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: #cbd5e1;
}

.switch i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
  transition: transform 0.2s;
}

.switch.on {
  color: #155e75;
  background: #eaf7ff;
}

.switch.on i {
  background: var(--primary);
}

.switch.on i::after {
  transform: translateX(14px);
}

.fancy-style-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
}

.fancy-choice {
  min-height: 42px;
  padding: 0 10px;
  border: 0;
  border-radius: 14px;
  color: #64748b;
  background: #f1f5f9;
  font-size: 13px;
  font-weight: 900;
}

.fancy-choice.active {
  color: white;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.upload-control {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.upload-control input[type="file"] {
  display: none;
}

.upload-control img,
.upload-control video,
.upload-placeholder {
  width: 100%;
  height: 144px;
  object-fit: cover;
  border-radius: 18px;
  background: #f8fafc;
}

.upload-control.icon {
  grid-template-columns: 74px 1fr;
  align-items: center;
}

.upload-control.icon img,
.upload-control.icon video,
.upload-control.icon .upload-placeholder {
  width: 74px;
  height: 74px;
  border-radius: 16px;
}

.upload-control.icon button,
.upload-control.icon .upload-hint,
.upload-control.icon code {
  grid-column: 2;
}

.upload-placeholder {
  display: grid;
  place-items: center;
  color: #94a3b8;
  font-size: 46px;
}

.upload-control button {
  min-height: 40px;
  border: 0;
  border-radius: 12px;
  color: white;
  background: var(--primary);
  font-weight: 900;
}

.upload-control .ghost,
.button-editor .ghost {
  color: #334155;
  background: #f1f5f9;
}

.upload-hint {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.upload-control code,
.media-card code {
  overflow: hidden;
  color: #64748b;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.button-editor {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.button-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 60px 42px;
  grid-gap: 8px;
  gap: 8px;
}

.button-row button,
.button-editor .ghost {
  min-height: 38px;
  border: 0;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 900;
}

.settings-layout {
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(420px, 0.72fr);
  grid-gap: 28px;
  gap: 28px;
}

.settings-form,
.visual-form {
  padding: 28px;
}

.settings-form,
.visual-form,
.password-form {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-gap: 18px;
  gap: 18px;
}

.background-options,
.switch-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 14px;
  gap: 14px;
}

.media-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  grid-gap: 28px;
  gap: 28px;
}

.media-layout > .panel {
  padding: 28px;
}

.media-grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

.media-card {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
}

.media-card img,
.media-card video {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 14px;
  background: #f1f5f9;
}

.media-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-card button {
  min-height: 36px;
  border: 0;
  border-radius: 10px;
  color: #334155;
  background: #f1f5f9;
  font-weight: 900;
}

.media-card button.icon-copy {
  display: grid;
  place-items: center;
}

.media-card button.danger {
  color: white;
  background: var(--danger);
}

.empty-state {
  display: grid;
  min-height: 460px;
  place-items: center;
  text-align: center;
}

.empty-state p {
  color: var(--muted);
}

@media (max-width: 1100px) {
  .admin-app {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: relative;
    height: auto;
  }

  .dashboard-grid,
  .resource-layout,
  .settings-layout,
  .media-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .jackpot-art b {
    top: 36px;
    right: 28px;
    font-size: 58px;
  }

  .logo.large {
    width: 92px;
    height: 92px;
  }

  .vip-buttons {
    grid-template-columns: 1fr;
  }

  .modal-backdrop {
    padding: 14px;
  }

  .admin-content,
  .admin-topbar {
    padding-left: 18px;
    padding-right: 18px;
  }

  .admin-topbar {
    height: auto;
    min-height: 86px;
    gap: 14px;
  }

  .stat-grid,
  .media-grid,
  .background-options,
  .switch-row {
    grid-template-columns: 1fr;
  }

  .recent-list div,
  .resource-rows button,
  .button-row {
    grid-template-columns: 1fr;
  }
}

