@import url("/static/css/01-foundation.css?v=20260425a");
@import url("/static/css/02-ui.css?v=20260601a");
@import url("/static/css/03-slots.css?v=20260609a");
@import url("/static/css/04-modals-admin.css?v=20260601a");
@import url("/static/css/05-home-responsive.css?v=20260506d");
@import url("/static/css/06-admin-dashboard.css?v=20260309c");

/* Stage 15: Collection gamification + basket actions */
.collection-counter-chip {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.staking-card-badges {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.staking-card-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.staking-rank-badge {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
  padding: 0;
  border-radius: 50%;
  border: 1px solid transparent;
  flex: 0 0 24px;
}

.staking-rank-gold .staking-rank-badge,
.staking-rank-badge.staking-rank-gold {
  background: linear-gradient(135deg, #fff2b3, #f5c84a);
  color: #3f2800;
  border-color: #bf8a00;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 8px rgba(245, 200, 74, 0.6);
}

.staking-rank-silver .staking-rank-badge,
.staking-rank-badge.staking-rank-silver {
  background: linear-gradient(135deg, #f1f4ff, #c3d1e4);
  color: #1f2b3d;
  border-color: #8e9aaa;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 0 8px rgba(195, 209, 228, 0.5);
}

.staking-rank-bronze .staking-rank-badge,
.staking-rank-badge.staking-rank-bronze {
  background: linear-gradient(135deg, #ffe0c7, #c98c54);
  color: #3f1e00;
  border-color: #8f4f27;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 0 8px rgba(201, 140, 84, 0.5);
}

.staking-card.staking-rank-gold {
  border-color: rgba(255, 226, 125, 0.92);
  box-shadow: 0 0 30px rgba(255, 216, 107, 0.28);
}

.staking-card.staking-rank-silver {
  border-color: rgba(211, 225, 245, 0.86);
  box-shadow: 0 0 26px rgba(195, 212, 235, 0.24);
}

.staking-card.staking-rank-bronze {
  border-color: rgba(220, 154, 95, 0.86);
  box-shadow: 0 0 22px rgba(201, 140, 84, 0.24);
}

.safe-unsub-close.unsubscribe-step {
  border-color: rgba(112, 198, 255, 0.56);
  background: linear-gradient(45deg, rgba(68, 129, 255, 0.86), rgba(74, 197, 255, 0.86));
}

.safe-unsub-close.confirm-step {
  border-color: rgba(117, 248, 173, 0.62);
  background: linear-gradient(45deg, rgba(44, 185, 120, 0.9), rgba(54, 224, 150, 0.88));
  box-shadow: 0 0 16px rgba(62, 214, 145, 0.34);
}

/* Stage 30: staking modal extend + badges + stable counters */
.slot-stats-summary {
  text-align: left;
  display: grid;
  gap: 4px;
}

.slot-stats-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.slot-stats-extend-panel {
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, rgba(42, 29, 58, 0.72), rgba(22, 26, 43, 0.72));
  display: none;
  gap: 10px;
}

.slot-stats-extend-panel.is-open {
  display: grid;
}

.slot-stats-extend-panel .shows-picker {
  display: flex;
  align-items: center;
  gap: 10px;
}

.slot-stats-extend-panel .shows-picker input[type="range"] {
  flex: 1 1 auto;
}

.slot-stats-extend-panel .shows-picker-input-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(12, 14, 23, 0.66);
}

.slot-stats-extend-panel .shows-picker-input-wrap input {
  width: 52px;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  text-align: right;
  font-size: 0.9rem;
}

.slot-stats-extend-panel .shows-picker-suffix {
  font-size: 0.78rem;
  color: rgba(217, 226, 255, 0.85);
}

.slot-stats-extend-calc {
  font-size: 0.82rem;
  color: #ffe7f8;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.staking-cycle-widget {
  margin-top: 8px;
  padding: 9px 10px;
  border-radius: 11px;
  background: rgba(9, 14, 26, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.staking-cycle-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: #dfe7ff;
}

.staking-cycle-meta,
.staking-cycle-foot {
  font-size: 0.74rem;
  color: rgba(208, 218, 246, 0.85);
  font-variant-numeric: tabular-nums;
}

.staking-cycle-meta {
  margin-top: 2px;
}

.staking-cycle-bar {
  margin-top: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  overflow: hidden;
}

.staking-cycle-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #59d8ff, #ff74ca);
  box-shadow: 0 0 12px rgba(89, 216, 255, 0.45);
  transition: width 0.45s ease;
}

.staking-cycle-foot {
  margin-top: 5px;
}

.collection-subtitle {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.staking-summary-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.staking-summary-label {
  color: rgba(213, 220, 255, 0.78);
}

.staking-summary-dot {
  opacity: 0.7;
}

.staking-summary-main {
  display: grid;
  gap: 2px;
  width: 100%;
}

.staking-summary-divider {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(196, 209, 255, 0.45);
}

.staking-summary-value {
  color: #ffffff;
}

.staking-summary-unit {
  color: rgba(213, 220, 255, 0.78);
}

.staking-card-reward-pending {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.staking-summary-claim-row {
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.staking-summary-claim-actions {
  order: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.staking-summary-claim-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  width: 160px;
  padding: 6px 11px;
  border-radius: 10px;
  border: 1px solid rgba(125, 255, 202, 0.55);
  background: linear-gradient(45deg, rgba(29, 205, 163, 0.9), rgba(67, 245, 199, 0.86));
  color: #053329;
  font-weight: 800;
  font-size: 0.78rem;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.staking-summary-history-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  width: 160px;
  padding: 6px 11px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.78rem;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.staking-summary-history-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.staking-summary-history-btn.disabled,
.staking-summary-history-btn:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
}

.staking-summary-claim-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.staking-summary-claim-btn.disabled,
.staking-summary-claim-btn:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
}

.staking-summary-claim-hint {
  order: 1;
  font-size: 0.74rem;
  color: #cfe8ff;
  opacity: 0.86;
}

.staking-fixed-number {
  display: inline-block;
  min-width: 11ch;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.staking-summary-rate-value {
  min-width: 13ch;
}

@media (max-width: 520px) {
  .staking-summary-claim-row {
    flex-wrap: wrap;
  }

  .staking-summary-claim-actions {
    order: 1;
    width: 100%;
    justify-content: space-between;
  }

  .staking-summary-claim-btn,
  .staking-summary-history-btn {
    flex: 1;
    width: auto;
  }

  .staking-summary-claim-hint {
    order: 2;
    width: 100%;
  }
}

.slot-badge-row {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.slot-badge.stk {
  background: linear-gradient(45deg, #7dffca, #1dcda3);
  color: #06372e;
  box-shadow: 0 0 12px rgba(125, 255, 202, 0.4);
}

.slot-badge.vip {
  background: linear-gradient(45deg, #ffd700, #ff9f2f);
  color: #1d1200;
}

.slot-card-badge-stack {
  position: absolute;
  top: 6px;
  right: 8px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 70%;
  z-index: 6;
}

.ad-slot-badge {
  position: static;
}

.ad-slot-badge.stk {
  background: linear-gradient(45deg, #7dffca, #1dcda3);
  color: #06372e;
}

.ad-slot-badge.vip {
  background: var(--vip-border, #ffd700);
  color: #111;
  text-shadow: none;
}

.staking-slot-badge {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 7px;
  border-radius: 999px;
  border: none;
}

.staking-card .staking-slot-badge {
  border: 0;
}

.staking-slot-badge-stk {
  background: linear-gradient(45deg, #7dffca, #1dcda3);
  color: #06372e;
}

.staking-slot-badge-vip {
  background: linear-gradient(45deg, #ffd700, #ff9f2f);
  color: #1d1200;
}

.staking-slot-badge-ad {
  background: linear-gradient(45deg, #ff4fd8, #9b4dff);
  color: #fff;
  border-color: rgba(216, 136, 255, 0.8);
}

/* Stage 31: UI/UX polish for stats modal and slot cards */
.slot-stats-modal-content {
  position: relative;
}

.slot-stats-modal-content .close-modal {
  position: absolute;
  top: 10px;
  right: 12px;
  color: #fff;
  font-size: 1.9rem;
  line-height: 1;
  opacity: 0.86;
  transition: transform 0.18s ease, opacity 0.18s ease;
  user-select: none;
}

.slot-stats-modal-content .close-modal:hover,
.slot-stats-modal-content .close-modal:focus-visible {
  opacity: 1;
  transform: scale(1.08);
}

.slot-stats-modal-content #advertiserSlotStatsTitle {
  padding-right: 34px;
}

.slot-stats-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 10px;
  min-height: 38px;
  padding: 9px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.slot-stats-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.slot-stats-btn-primary {
  background: linear-gradient(45deg, rgba(255, 79, 216, 0.96), rgba(146, 99, 255, 0.94));
  border-color: rgba(255, 146, 232, 0.72);
  box-shadow: 0 0 14px rgba(255, 87, 210, 0.34);
}

.slot-stats-btn-secondary {
  background: linear-gradient(45deg, rgba(58, 141, 255, 0.92), rgba(70, 192, 255, 0.9));
  border-color: rgba(134, 210, 255, 0.72);
  box-shadow: 0 0 14px rgba(66, 172, 255, 0.3);
}

.slot-stats-btn-danger {
  background: linear-gradient(45deg, rgba(255, 68, 68, 0.92), rgba(255, 102, 102, 0.9));
  border-color: rgba(255, 153, 153, 0.72);
  box-shadow: 0 0 14px rgba(255, 68, 68, 0.3);
}

.slot-stats-extend-buttons {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
}

.slot-stats-extend-buttons .slot-stats-btn {
  flex: 1;
  min-height: 38px;
}

.slot-stats-btn-crypto {
  background: linear-gradient(135deg, #16a34a, #22d3ee);
  border-color: rgba(34, 211, 238, 0.72);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.3);
}

.staking-cycle-widget {
  padding: 8px 10px;
}

.staking-cycle-title {
  font-size: 0.79rem;
  font-weight: 700;
  color: #e7eeff;
  font-variant-numeric: tabular-nums;
}

.staking-cycle-bar {
  margin-top: 6px;
}

#home #adSlotsContainer .purchased-slot.clickable {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

#home #adSlotsContainer .purchased-slot.clickable:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 117, 224, 0.74);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
}

#home #adSlotsContainer .slot-card-main {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

#home #adSlotsContainer .slot-card-left {
  flex: 1 1 auto;
  min-width: 0;
}

#home #adSlotsContainer .slot-channel-link {
  appearance: none;
  background: transparent;
  border: none;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: left;
  color: #ff4fd8;
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1.4px;
  text-underline-offset: 2px;
  line-height: 1.22;
  white-space: normal;
  word-break: break-word;
}

#home #adSlotsContainer .slot-channel-link.removed {
  opacity: 0.62;
  text-decoration: line-through underline;
}

#home #adSlotsContainer .slot-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex: 0 0 auto;
}

#home #adSlotsContainer .slot-remaining {
  margin: 0;
  text-align: right;
}

#home #adSlotsContainer .slot-badge-row {
  justify-content: flex-end;
  max-width: 160px;
}

/* ============================================= */
/* Stage 34: STK Tier Visual Hierarchy (1 – 5)   */
/* ============================================= */

/* ---- Keyframes ---- */
@keyframes stkBreathing {

  0%,
  100% {
    box-shadow: inset 0 0 10px rgba(6, 182, 212, 0.16), var(--stk-outer-glow, 0 0 4px rgba(6, 182, 212, 0.08));
  }

  50% {
    box-shadow: inset 0 0 14px rgba(6, 182, 212, 0.28), var(--stk-outer-glow, 0 0 8px rgba(6, 182, 212, 0.16));
  }
}

@keyframes stkShimmer {
  0% {
    transform: translateX(-100%) rotate(25deg);
  }

  100% {
    transform: translateX(100%) rotate(25deg);
  }
}

@keyframes stkHoloShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes stkLevitate {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.95;
  }

  50% {
    transform: translateY(-2px);
    opacity: 1;
  }
}

/* ---- STK Badge base (inside cards) ---- */
.ad-slot-badge.stk-tier-1,
.slot-badge.stk-tier-1,
.staking-slot-badge.stk-tier-1 {
  background: linear-gradient(135deg, #ffffff, #ffffff);
  color: #111;
  text-shadow: none;
}

.ad-slot-badge.stk-tier-2,
.slot-badge.stk-tier-2,
.staking-slot-badge.stk-tier-2 {
  background: linear-gradient(135deg, #10b981, #10b981);
  color: #fff;
}

.ad-slot-badge.stk-tier-3,
.slot-badge.stk-tier-3,
.staking-slot-badge.stk-tier-3 {
  background: linear-gradient(135deg, #3b82f6, #3b82f6);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.ad-slot-badge.stk-tier-4,
.slot-badge.stk-tier-4,
.staking-slot-badge.stk-tier-4 {
  background: linear-gradient(135deg, #ff4d4d, #ff4d4d);
  color: #111;
  text-shadow: none;
}

.ad-slot-badge.stk-tier-5,
.slot-badge.stk-tier-5,
.staking-slot-badge.stk-tier-5 {
  background: linear-gradient(135deg, #fbbf24, #fbbf24);
  color: #111;
  font-weight: 900;
  text-shadow: none;
}

.ad-slot-badge.stk-tier-4,
.slot-badge.stk-tier-4,
.staking-slot-badge.stk-tier-4,
.ad-slot-badge.stk-tier-5,
.slot-badge.stk-tier-5,
.staking-slot-badge.stk-tier-5 {
  animation: stkLevitate 3.4s ease-in-out infinite;
}

.ad-slot-badge.stk-tier-4,
.slot-badge.stk-tier-4,
.staking-slot-badge.stk-tier-4 {
  box-shadow: 0 0 8px #ff4d4d;
}

.ad-slot-badge.stk-tier-5,
.slot-badge.stk-tier-5,
.staking-slot-badge.stk-tier-5 {
  box-shadow: 0 0 8px #fbbf24;
}

/* ---- Card effects – Tier 1 (subtle outer glow + border) ---- */
.slot-card.stk-tier-1,
.staking-card.stk-tier-1 {
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 6px rgba(226, 232, 240, 0.16);
}

/* ---- Card effects – Tier 2 (green outer glow) ---- */
.slot-card.stk-tier-2,
.staking-card.stk-tier-2 {
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: 0 0 7px rgba(16, 185, 129, 0.24);
}

/* ---- Card effects – Tier 3 (blue outer glow) ---- */
.slot-card.stk-tier-3,
.staking-card.stk-tier-3 {
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.24);
}

/* ---- Card effects – Tier 4 (red outer glow) ---- */
.slot-card.stk-tier-4,
.staking-card.stk-tier-4 {
  border-color: rgba(255, 77, 77, 0.7);
  box-shadow: var(--stk-outer-glow, 0 0 9px rgba(255, 77, 77, 0.34));
}

/* ---- Card effects – Tier 5 (gold outer glow) ---- */
.slot-card.stk-tier-5,
.staking-card.stk-tier-5 {
  border-color: rgba(251, 191, 36, 0.74);
  box-shadow: var(--stk-outer-glow, 0 0 10px rgba(251, 191, 36, 0.4));
}

/* ============================================= */
/* Staking Button Preview (Buy Page)             */
/* ============================================= */
.staking-mode-option .stk-btn-preview {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  transition: all 0.35s ease;
  overflow: hidden;
  cursor: pointer;
  padding: 10px 14px;
}

.stk-btn-preview .stk-btn-label {
  flex: 1;
  text-align: center;
}

.stk-btn-preview .stk-btn-badge {
  position: absolute;
  right: 10px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Button tier colors */
.stk-btn-preview.stk-tier-1 {
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 14px rgba(255, 255, 255, 0.18), 0 0 10px rgba(226, 232, 240, 0.16);
}

.stk-btn-preview.stk-tier-1 .stk-btn-badge {
  background: #ffffff;
  color: #111;
}

.stk-btn-preview.stk-tier-2 {
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: inset 0 0 14px rgba(16, 185, 129, 0.25), 0 0 10px rgba(16, 185, 129, 0.2);
  animation: stkBreathing 3s ease-in-out infinite;
}

.stk-btn-preview.stk-tier-2 .stk-btn-badge {
  background: linear-gradient(135deg, #10b981, #10b981);
  color: #fff;
}

.stk-btn-preview.stk-tier-3 {
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: inset 0 0 14px rgba(59, 130, 246, 0.25), 0 0 10px rgba(59, 130, 246, 0.2);
}

.stk-btn-preview.stk-tier-3::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(25deg,
      transparent 40%,
      rgba(255, 255, 255, 0.10) 45%,
      rgba(255, 255, 255, 0.18) 50%,
      rgba(255, 255, 255, 0.10) 55%,
      transparent 60%);
  animation: stkShimmer 3s linear infinite;
  pointer-events: none;
}

.stk-btn-preview.stk-tier-3 .stk-btn-badge {
  background: linear-gradient(135deg, #3b82f6, #3b82f6);
  color: #fff;
}

.stk-btn-preview.stk-tier-4 {
  border-color: rgba(255, 77, 77, 0.68);
  background-image: linear-gradient(135deg, rgba(255, 77, 77, 0.14), rgba(255, 77, 77, 0.08), rgba(255, 77, 77, 0.14));
  background-size: 300% 300%;
  animation: stkHoloShift 6s ease infinite;
  box-shadow: inset 0 0 18px rgba(255, 77, 77, 0.3), 0 0 12px rgba(255, 77, 77, 0.22);
}

.stk-btn-preview.stk-tier-4::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(25deg,
      transparent 40%,
      rgba(255, 77, 77, 0.12) 45%,
      rgba(255, 255, 255, 0.18) 50%,
      rgba(255, 77, 77, 0.12) 55%,
      transparent 60%);
  animation: stkShimmer 2.6s linear infinite;
  pointer-events: none;
}

.stk-btn-preview.stk-tier-4 .stk-btn-badge {
  background: linear-gradient(135deg, #ff4d4d, #ff4d4d);
  color: #fff;
}

.stk-btn-preview.stk-tier-5 {
  border-color: rgba(251, 191, 36, 0.7);
  background-image: linear-gradient(135deg, rgba(251, 191, 36, 0.14), rgba(251, 191, 36, 0.08), rgba(255, 255, 255, 0.06), rgba(251, 191, 36, 0.14));
  background-size: 400% 400%;
  animation: stkHoloShift 5s ease infinite;
  box-shadow: inset 0 0 22px rgba(251, 191, 36, 0.35), 0 0 16px rgba(251, 191, 36, 0.3);
}

.stk-btn-preview.stk-tier-5::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(25deg,
      transparent 38%,
      rgba(255, 215, 0, 0.14) 43%,
      rgba(255, 255, 255, 0.24) 50%,
      rgba(255, 215, 0, 0.14) 57%,
      transparent 62%);
  animation: stkShimmer 2s linear infinite;
  pointer-events: none;
}

.stk-btn-preview.stk-tier-5 .stk-btn-badge {
  background: linear-gradient(135deg, #fbbf24, #fbbf24);
  color: #1a1a2e;
  font-weight: 900;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
  animation: stkLevitate 2.4s ease-in-out infinite;
}

#scrollToTopBtn {
  position: fixed;
  bottom: calc(52px + 20px + var(--app-safe-bottom, 0px));
  right: 16px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent, #ff2af5), var(--neon, #00f0ff));
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s;
  box-shadow: 0 4px 12px rgba(255, 42, 245, 0.3);
}

#scrollToTopBtn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

#scrollToTopBtn:active {
  transform: scale(0.92);
}

#scrollToTopBtn svg {
  display: block;
  width: 28px;
  height: 28px;
  transition: transform 0.2s ease;
}

#scrollToTopBtn:hover svg {
  transform: translateY(-2px);
}

@media (max-width: 430px) {
  #scrollToTopBtn {
    bottom: calc(50px + 15px + var(--app-safe-bottom, 0px));
    right: 12px;
    width: 60px;
    height: 60px;
  }
}

.slot-card {
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.22s ease;
}

@keyframes slotFlashGlow {
  0% { box-shadow: 0 0 0px rgba(34, 211, 238, 0); }
  50% { box-shadow: 0 0 15px rgba(34, 211, 238, 0.6); }
  100% { box-shadow: 0 0 0px rgba(34, 211, 238, 0); }
}

.slot-card-flash-update {
  animation: slotFlashGlow 0.8s ease-out;
}

/* ==========================================================================
   Философия Stakama & STK-слоты (Карточка в Коллекциях)
   ========================================================================== */
.brand-philosophy-card {
  background: rgba(18, 12, 38, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 42, 245, 0.22);
  border-radius: 16px;
  padding: 14px 16px;
  margin: 14px 0 20px 0;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4), inset 0 0 12px rgba(255, 42, 245, 0.08);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.brand-philosophy-card:hover {
  border-color: rgba(255, 42, 245, 0.45);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 42, 245, 0.18), inset 0 0 12px rgba(255, 42, 245, 0.12);
  transform: translateY(-1px);
}

.philosophy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.philosophy-title-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.philosophy-icon {
  font-size: 1.15rem;
  filter: drop-shadow(0 0 6px rgba(6, 182, 212, 0.6));
}

.philosophy-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.philosophy-toggle-arrow {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.philosophy-body {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.philosophy-body.hidden {
  display: none;
}

.philosophy-paragraph {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(226, 232, 240, 0.82);
  margin: 0 0 10px 0;
}

.philosophy-paragraph:last-of-type {
  margin-bottom: 0;
}

.philosophy-paragraph strong {
  color: var(--neon);
  font-weight: 700;
}

.philosophy-paragraph em {
  font-style: italic;
  color: var(--accent);
}

.philosophy-avatar-link-wrapper {
  text-align: center;
  margin-top: 15px;
}

.philosophy-avatar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(255, 42, 245, 0.15) 100%);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: 10px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 14px;
  transition: all 0.22s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.philosophy-avatar-link:hover {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.3) 0%, rgba(255, 42, 245, 0.3) 100%);
  border-color: rgba(255, 42, 245, 0.6);
  box-shadow: 0 0 12px rgba(255, 42, 245, 0.35);
  transform: scale(1.02);
}

.philosophy-avatar-link:active {
  transform: scale(0.98);
}

.download-icon {
  font-size: 0.95rem;
}

