/* ===========================
   RESET & VARIABLES
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent:        #c9a84c;
  --accent2:       #7c3aed;
  --accent3:       #f0c060;
  --accent-glow:   rgba(201,168,76,.28);
  --bg:            #0d0a14;
  --bg2:           #150f22;
  --surface:       rgba(124,58,237,.07);
  --surface2:      rgba(124,58,237,.13);
  --border:        rgba(201,168,76,.13);
  --border2:       rgba(201,168,76,.24);
  --text:          #f5f0e8;
  --text2:         rgba(245,240,232,.58);
  --text3:         rgba(245,240,232,.32);
  --radius:        16px;
  --radius-sm:     10px;
  --t:             .22s cubic-bezier(.4,0,.2,1);
  --shadow:        0 8px 32px rgba(0,0,0,.55);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ===========================
   BACKGROUND BLOBS
=========================== */
.bg-wrap {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.bg-blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .55;
  animation: blob-drift 20s ease-in-out infinite alternate;
}
.blob1 { width: 600px; height: 600px; top: -200px; left: -200px; background: radial-gradient(circle, rgba(124,58,237,.22), transparent 70%); animation-duration: 22s; }
.blob2 { width: 500px; height: 500px; top: 40%; right: -150px; background: radial-gradient(circle, rgba(201,168,76,.18), transparent 70%); animation-duration: 18s; animation-delay: -6s; }
.blob3 { width: 400px; height: 400px; bottom: -100px; left: 30%; background: radial-gradient(circle, rgba(124,58,237,.15), transparent 70%); animation-duration: 25s; animation-delay: -12s; }

@keyframes blob-drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.08); }
}

/* ===========================
   PAGE WRAP
=========================== */
.page-wrap {
  position: relative; z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0 6rem;
}

/* ===========================
   EDIT FAB
=========================== */
.edit-fab {
  position: relative;
  display: flex; align-items: center; gap: .5rem;
  padding: .6rem 1.1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
  border-radius: 99px;
  font-size: .85rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(201,168,76,.35);
  transition: transform var(--t), box-shadow var(--t);
  white-space: nowrap;
}
.edit-fab svg { width: 16px; height: 16px; flex-shrink: 0; }
.edit-fab:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,168,76,.45); }

/* Edit-only elements hidden by default */
.edit-only { display: none !important; }
body.edit-mode .edit-only { display: flex !important; }
body.edit-mode [contenteditable] { outline: 2px dashed rgba(201,168,76,.4); border-radius: 4px; cursor: text; }
body.edit-mode [contenteditable]:focus { outline: 2px solid var(--accent); background: rgba(201,168,76,.07); }

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  margin-bottom: 3rem;
}

.hero-banner-wrap {
  position: relative;
  height: 320px;
  overflow: hidden;
}
.hero-banner {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.hero-banner-wrap:hover .hero-banner { transform: scale(1.02); }
.hero-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--bg) 100%);
}

.hero-banner-btn {
  position: absolute; bottom: 1rem; right: 1rem;
  align-items: center; gap: .4rem;
  padding: .5rem 1rem;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border2);
  border-radius: 99px;
  color: #fff;
  font-size: .8rem;
  font-weight: 500;
  z-index: 10;
}
.hero-banner-btn svg { width: 14px; height: 14px; }
.hero-banner-btn:hover { background: rgba(99,102,241,.5); }

.hero-profile {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  padding: 0 2rem;
  margin-top: -60px;
  position: relative;
}

.avatar-wrap { position: relative; flex-shrink: 0; }
.avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 4px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent), 0 0 32px rgba(201,168,76,.4);
  object-fit: cover;
  background: var(--bg2);
}
.avatar-edit-btn {
  position: absolute; bottom: 4px; right: 4px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  color: #fff;
  align-items: center; justify-content: center;
}
.avatar-edit-btn svg { width: 14px; height: 14px; }
.avatar-edit-btn:hover { background: var(--accent2); }

.hero-info {
  flex: 1;
  padding-bottom: .5rem;
}
.hero-name {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.03em;
  background: linear-gradient(135deg, #f5f0e8 20%, #c9a84c 55%, #7c3aed);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 80px;
}
.hero-handle {
  font-size: .95rem;
  color: var(--accent);
  font-weight: 500;
  margin: .2rem 0 .5rem;
  min-width: 60px;
}
.hero-bio {
  font-size: .9rem;
  color: var(--text2);
  line-height: 1.6;
  max-width: 520px;
  min-width: 80px;
}
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
  font-size: 1.2rem;
  font-weight: 700;
  min-width: 40px;
}
.stat-label { font-size: .75rem; color: var(--text3); text-transform: uppercase; letter-spacing: .06em; }

/* ===========================
   SOCIALS ROW
=========================== */
.socials-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: 1rem 2rem 0;
  flex-wrap: wrap;
}
.social-pill {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text2);
  transition: background var(--t), color var(--t), transform var(--t), box-shadow var(--t);
}
.social-pill svg { width: 15px; height: 15px; flex-shrink: 0; }
.social-pill:hover { background: var(--surface2); color: var(--accent3); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(201,168,76,.15); }

.edit-socials-btn {
  display: none;
  align-items: center; gap: .4rem;
  padding: .45rem .9rem;
  background: transparent;
  border: 1px dashed rgba(201,168,76,.4);
  border-radius: 99px;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 500;
  transition: background var(--t);
}
.edit-socials-btn:hover { background: rgba(201,168,76,.1); }
body.edit-mode .edit-socials-btn { display: inline-flex; }

/* ===========================
   SECTIONS
=========================== */
.main-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 0 2rem;
}

.section {}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.add-btn {
  align-items: center; gap: .3rem;
  padding: .4rem .9rem;
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.28);
  border-radius: 99px;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 600;
  transition: background var(--t);
}
.add-btn:hover { background: rgba(201,168,76,.22); }

/* ===========================
   LINKS GRID
=========================== */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.link-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  transition: background var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
  overflow: hidden;
  cursor: pointer;
}
.link-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.05) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform .5s ease;
}
.link-card:hover::before { transform: translateX(100%); }
.link-card:hover {
  background: var(--surface2);
  transform: translateY(-3px) scale(1.01);
  box-shadow: var(--shadow);
  border-color: rgba(201,168,76,.25);
}
.link-card--featured {
  border-color: rgba(201,168,76,.4);
  background: linear-gradient(135deg, rgba(201,168,76,.1), rgba(124,58,237,.1));
}
.link-card--featured:hover { border-color: rgba(201,168,76,.7); box-shadow: 0 8px 40px rgba(201,168,76,.2); }

.link-badge {
  position: absolute; top: 10px; right: 10px;
  font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 99px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0d0a14;
}
.link-icon-box {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  font-size: 1.4rem;
}
.link-text-box { flex: 1; min-width: 0; }
.link-text-box strong { display: block; font-size: .95rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.link-text-box small { font-size: .78rem; color: var(--text2); }
.link-arrow { color: var(--text3); font-size: 1rem; transition: transform var(--t), color var(--t); flex-shrink: 0; }
.link-card:hover .link-arrow { transform: translateX(4px); color: var(--accent); }

.card-edit-btn {
  position: absolute; top: 8px; right: 8px;
  display: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,.5);
  border: 1px solid var(--border2);
  color: #fff;
  align-items: center; justify-content: center;
  z-index: 2;
}
.card-edit-btn svg { width: 13px; height: 13px; }
.card-edit-btn:hover { background: var(--accent); }
body.edit-mode .card-edit-btn { display: flex; }

/* ===========================
   VIDEOS GRID
=========================== */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.video-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
  cursor: pointer;
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.video-thumb-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg2);
}
.video-thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.video-card:hover .video-thumb { transform: scale(1.05); }
.video-play-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.3);
  transition: background var(--t);
}
.video-card:hover .video-play-btn { background: rgba(0,0,0,.5); }
.video-play-btn svg {
  width: 52px; height: 52px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.5));
  transition: transform var(--t);
}
.video-card:hover .video-play-btn svg { transform: scale(1.1); }

.video-info { padding: .9rem 1rem; }
.video-title { font-size: .92rem; font-weight: 600; margin-bottom: .3rem; line-height: 1.4; }
.video-meta { display: flex; align-items: center; gap: .75rem; font-size: .75rem; color: var(--text2); }
.video-channel { font-weight: 500; }

/* ===========================
   SHOP GRID
=========================== */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.product-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.product-img-wrap {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--bg2);
}
.product-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-img { transform: scale(1.06); }

.product-sold-badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(239,68,68,.85);
  color: #fff;
  font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 99px;
}

.product-info { padding: .9rem 1rem 1rem; }
.product-name { font-size: .92rem; font-weight: 600; margin-bottom: .25rem; }
.product-desc { font-size: .78rem; color: var(--text2); margin-bottom: .75rem; line-height: 1.4; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-size: 1.05rem; font-weight: 700; color: var(--accent3); }
.product-buy-btn {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .4rem .85rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 600;
  transition: opacity var(--t), transform var(--t);
}
.product-buy-btn:hover { opacity: .85; transform: scale(1.04); }
.product-buy-btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }

/* ===========================
   GALLERY GRID
=========================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .75rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg2);
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: .5rem .75rem;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
  font-size: .75rem;
  color: #fff;
  transform: translateY(100%);
  transition: transform var(--t);
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* ===========================
   FOOTER
=========================== */
.site-footer {
  text-align: center;
  padding: 3rem 2rem 1rem;
  font-size: .8rem;
  color: var(--text3);
}
.site-footer span { color: #f87171; }

/* ===========================
   MODALS
=========================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center; justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; animation: modal-in .2s ease; }

@keyframes modal-in {
  from { opacity: 0; transform: scale(.96); }
  to   { opacity: 1; transform: scale(1); }
}

.modal {
  background: #110d1c;
  border: 1px solid var(--border2);
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  box-shadow: 0 24px 64px rgba(0,0,0,.7);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal--sm { max-width: 380px; }

.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.modal-header h3 { font-size: 1rem; font-weight: 700; }
.modal-close {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--surface2);
  border: none;
  color: var(--text2);
  font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t), color var(--t);
  flex-shrink: 0;
}
.modal-close:hover { background: rgba(239,68,68,.2); color: #f87171; }

.modal-body {
  padding: 1.25rem 1.5rem;
  display: flex; flex-direction: column; gap: .9rem;
  overflow-y: auto;
  flex: 1;
}
.modal-body label {
  display: flex; flex-direction: column; gap: .4rem;
  font-size: .82rem; font-weight: 500; color: var(--text2);
}
.modal-body input[type="text"],
.modal-body input[type="url"],
.modal-body input[type="password"],
.modal-body input[type="color"] {
  padding: .6rem .85rem;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .88rem;
  font-family: inherit;
  transition: border-color var(--t);
  width: 100%;
}
.modal-body input:focus { outline: none; border-color: var(--accent); }

.color-label { }
.color-row { display: flex; align-items: center; gap: .75rem; }
.modal-body input[type="color"] {
  width: 44px; height: 36px; padding: 2px 4px;
  border-radius: 8px; cursor: pointer;
}
#linkColorVal { font-size: .82rem; color: var(--text2); }

.toggle-label {
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between;
  cursor: pointer;
}
.toggle-label input[type="checkbox"] { display: none; }
.toggle-slider {
  width: 42px; height: 24px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 99px;
  position: relative;
  transition: background var(--t);
  flex-shrink: 0;
}
.toggle-slider::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--text3);
  transition: transform var(--t), background var(--t);
}
.toggle-label input:checked + .toggle-slider { background: var(--accent); border-color: var(--accent); }
.toggle-label input:checked + .toggle-slider::after { transform: translateX(18px); background: #fff; }

.modal-footer {
  display: flex; align-items: center; justify-content: flex-end; gap: .75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

/* Image picker inside modals */
.img-picker {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.img-picker-preview {
  width: 100%; height: 120px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg2);
  border: 1px solid var(--border2);
  display: none;
}
.img-picker-preview.visible { display: block; }
.img-picker-row {
  display: flex; gap: .5rem;
}
.img-picker-row input[type="url"] { flex: 1; }
.btn-upload {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .55rem .9rem;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  color: var(--text2);
  font-size: .82rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background var(--t), color var(--t);
  cursor: pointer;
  flex-shrink: 0;
}
.btn-upload svg { width: 14px; height: 14px; }
.btn-upload:hover { background: rgba(201,168,76,.15); color: var(--accent); border-color: rgba(201,168,76,.4); }
.btn-primary {
  padding: .55rem 1.25rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0d0a14; border: none; border-radius: 99px;
  font-size: .85rem; font-weight: 700;
  transition: opacity var(--t), transform var(--t);
}
.btn-primary:hover { opacity: .85; transform: scale(1.03); }
.btn-danger {
  padding: .55rem 1.25rem;
  background: rgba(239,68,68,.15);
  color: #f87171; border: 1px solid rgba(239,68,68,.25); border-radius: 99px;
  font-size: .85rem; font-weight: 600;
  transition: background var(--t);
}
.btn-danger:hover { background: rgba(239,68,68,.25); }

/* Social modal inputs */
.social-edit-row {
  display: flex; align-items: center; gap: .75rem;
}
.social-edit-row svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--text2); }
.social-edit-row input { flex: 1; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .hero-banner-wrap { height: 200px; }
  .hero-profile { flex-direction: column; align-items: flex-start; padding: 0 1rem; margin-top: -40px; }
  .avatar { width: 88px; height: 88px; }
  .hero-name { font-size: 1.5rem; }
  .hero-stats { gap: 1.25rem; }
  .socials-row { padding: 1rem 1rem 0; }
  .main-content { padding: 0 1rem; }
  .links-grid { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .edit-fab span { display: none; }
  .edit-fab { padding: .65rem; }
  .edit-fab-group { gap: .4rem; }
}

@media (max-width: 480px) {
  .shop-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim { animation: fade-up .5s ease both; }

/* ===========================
   REDUCED MOTION
=========================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ===========================
   FAB GROUP & SECONDARY FAB
=========================== */
.edit-fab-group {
  position: fixed;
  top: 1.25rem; right: 1.25rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: .6rem;
  /* ensure it never overlaps the banner edit button which is inside the page flow */
  pointer-events: auto;
}

.edit-fab--secondary {
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.25);
  box-shadow: none;
  color: var(--accent);
  font-size: .82rem;
}
.edit-fab--secondary:hover {
  background: rgba(201,168,76,.2);
  color: var(--accent3);
  box-shadow: none;
  transform: translateY(-2px);
}

/* Ghost button */
.btn-ghost {
  padding: .55rem 1.25rem;
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border2);
  border-radius: 99px;
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--t), color var(--t);
}
.btn-ghost:hover { background: var(--surface2); color: var(--text); }

/* Lock overlay on edit-fab when logged out */
.edit-fab--locked {
  background: rgba(255,255,255,.07) !important;
  box-shadow: none !important;
  color: var(--text2) !important;
}
.edit-fab--locked:hover {
  background: rgba(255,255,255,.12) !important;
  transform: translateY(-2px) !important;
}

@media (max-width: 768px) {
  .edit-fab--secondary span { display: none; }
  .edit-fab--secondary { padding: .65rem; }
}

/* Shake animation for wrong password */
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-8px); }
  40%      { transform: translateX(8px); }
  60%      { transform: translateX(-6px); }
  80%      { transform: translateX(6px); }
}

/* Page load fade-in */
@keyframes page-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ===========================
   SHOP CTA BUTTON
=========================== */
.shop-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  padding: .9rem 1.5rem;
  margin: .75rem 0;
  background: linear-gradient(135deg, rgba(201,168,76,.15), rgba(124,58,237,.15));
  border: 1px solid rgba(201,168,76,.35);
  border-radius: var(--radius);
  color: var(--accent3);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  transition: background var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
  position: relative;
  overflow: hidden;
}
.shop-cta-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.06) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform .5s ease;
}
.shop-cta-btn:hover::before { transform: translateX(100%); }
.shop-cta-btn:hover {
  background: linear-gradient(135deg, rgba(201,168,76,.25), rgba(124,58,237,.22));
  border-color: rgba(201,168,76,.6);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201,168,76,.2);
}
.shop-cta-btn svg {
  width: 18px; height: 18px; flex-shrink: 0;
}

/* Plattform-spezifische Pill-Farben */
.social-pill--colored:hover,
.social-pill--colored:focus-visible {
  color: var(--pill-color) !important;
  border-color: var(--pill-color) !important;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--pill-color) 30%, transparent) !important;
}

/* ===========================
   SKELETON LOADER
=========================== */
.skel-line {
  display: inline-block;
  height: 1em;
  border-radius: 6px;
  background: linear-gradient(90deg, #1a1228 25%, #2a1e3a 50%, #1a1228 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s infinite;
  vertical-align: middle;
}

.skel-card {
  border-radius: var(--radius);
  background: linear-gradient(90deg, #1a1228 25%, #2a1e3a 50%, #1a1228 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s infinite;
  min-height: 80px;
}

/* Match grid card heights */
#videosGrid   .skel-card { aspect-ratio: 16/9; min-height: unset; }
#shopGrid     .skel-card { aspect-ratio: 3/4;  min-height: unset; }
#galleryGrid  .skel-card { aspect-ratio: 1/1;  min-height: unset; }

@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
