* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.landing-mode .sidebar,
body.public-mode .sidebar {
  display: none;
}

body.dashboard-mode .sidebar {
  display: flex;
}

body.landing-mode .app,
body.public-mode .app {
  margin-left: 0;
  padding: 26px 34px;
}

body.dashboard-mode .app {
  margin-left: 250px;
}

body.dashboard-mode .landing-nav,
body.public-mode .landing-nav {
  display: none;
}

body.landing-mode .landing-nav {
  display: flex;
}

:root {
  --main-color: #8b5cf6;
  --second-color: #06b6d4;
  --third-color: #ec4899;
  --text-color: #ffffff;
  --icon-color: #ffffff;
  --card-opacity: 0.9;
  --card-blur: 12px;
}

body {
  min-height: 100vh;
  font-family: Arial, sans-serif;
  background: #2e001c;
  color: white;
  overflow-x: hidden;
}

/* SIDEBAR */
.landing-nav {
  max-width: 1450px;
  margin: 0 auto 60px;
  padding: 16px 24px;
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 900;
}

.landing-nav nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-link {
  border: 0;
  background: transparent;
  color: white;
  font-size: 15px;
  cursor: pointer;
  font-weight: 700;
}

.nav-link:hover {
  color: #d8b4fe;
}

.nav-btn {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(178, 92, 255, 0.35);
  color: white;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.nav-btn:hover {
  background: rgba(178, 92, 255, 0.5);
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 250px;
  padding: 14px;
  background: #070707;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  display: none;
  flex-direction: column;
  z-index: 50;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 18px;
}

.brand-icon {
  color: #b25cff;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 12px;
  background: #0e0e0e;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 20px;
}

.search-box input {
  width: 100%;
  border: 0;
  background: transparent;
  color: white;
  outline: none;
  font-size: 12px;
}

.search-box kbd {
  font-size: 10px;
  color: #999;
  white-space: nowrap;
}

.side-nav {
  display: grid;
  gap: 6px;
}

.side-nav p {
  color: #aaa;
  font-size: 12px;
  font-weight: 900;
  margin: 10px 0 5px;
}

.side-link,
.side-button {
  width: 100%;
  border: 0;
  color: white;
  background: transparent;
  text-align: left;
  padding: 10px 12px;
  border-radius: 13px;
  cursor: pointer;
  font-weight: 800;
}

.side-link i,
.side-button i {
  width: 20px;
  color: #d9d9d9;
}

.side-link:hover,
.side-link.active,
.side-button:hover {
  background: rgba(178, 92, 255, 0.27);
}

.sidebar-bottom {
  margin-top: auto;
  display: grid;
  gap: 9px;
}

.side-button {
  background: #111;
}

.side-button.purple {
  background: rgba(178, 92, 255, 0.4);
}

.mini-user {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border-radius: 16px;
  background: #101010;
}

.mini-avatar {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--main-color), #111);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.mini-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

#sideAvatarFallback {
  color: white;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-user strong {
  display: block;
  font-size: 13px;
}

.mini-user span {
  display: block;
  color: #aaa;
  font-size: 11px;
}

/* APP */

.app {
  margin-left: 250px;
  min-height: 100vh;
  padding: 26px 34px;
}

/* BUTTONS */

.btn {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: #181818;
  color: white;
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 900;
}

.btn:hover {
  background: #242424;
}

.btn.primary {
  border: 0;
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
}

.btn.full {
  width: 100%;
}

/* HOME */

.home-page {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.home-card,
.auth-card {
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  padding: 28px;
}

.home-card h1 {
  font-size: clamp(48px, 8vw, 88px);
  letter-spacing: -5px;
  line-height: 0.95;
  margin-bottom: 18px;
}

.home-card p,
.muted {
  color: #aaa;
  line-height: 1.6;
}

.home-actions {
  margin-top: 22px;
  display: flex;
  gap: 10px;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 6px;
  border-radius: 15px;
  background: #080808;
  margin-bottom: 16px;
}

.tab {
  border: 0;
  background: transparent;
  color: #999;
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 900;
}

.tab.active {
  background: #1d1d1d;
  color: white;
}

/* DASHBOARD */

.dashboard {
  display: none;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.dashboard-header h2 {
  font-size: 28px;
}

.dashboard-header p {
  color: #aaa;
  margin-top: 5px;
}

.profile-link-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #101010;
  border-radius: 999px;
  padding: 8px 8px 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.profile-link-pill span {
  color: #ddd;
  font-size: 13px;
}

.profile-link-pill button {
  border: 0;
  background: rgba(178, 92, 255, 0.4);
  color: white;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
  cursor: pointer;
}

/* PANELS */

.panel {
  background: #101010;
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.panel h3 {
  font-size: 18px;
  margin-bottom: 18px;
}

.panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-title-row h3 span {
  color: #aaa;
  font-size: 12px;
}

/* ASSETS */

.asset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.asset-card {
  background: #080808;
  border-radius: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.asset-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.asset-head label {
  color: white;
  font-size: 12px;
  font-weight: 900;
  text-transform: none;
}

.asset-head span {
  color: #aaa;
  font-size: 10px;
  font-weight: 900;
}

.asset-preview {
  height: 120px;
  border-radius: 10px;
  background: #030303;
  display: grid;
  place-items: center;
  margin-bottom: 9px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.asset-preview i {
  font-size: 30px;
  color: #ddd;
}

.asset-preview small {
  display: block;
  color: #777;
  font-size: 11px;
}

.asset-card input {
  width: 100%;
  margin-bottom: 9px;
}

.locked {
  opacity: 0.7;
}

.premium-strip {
  background: linear-gradient(90deg, rgba(178, 92, 255, 0.22), rgba(178, 92, 255, 0.35), rgba(178, 92, 255, 0.22));
  border-radius: 999px;
  padding: 16px;
  text-align: center;
  color: #e9d5ff;
  margin-bottom: 22px;
}

/* FORMS */

.settings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.settings-grid.colors {
  grid-template-columns: 1fr 1fr 1fr 2fr;
}

.field {
  margin-bottom: 12px;
}

.field.wide {
  grid-column: span 2;
}

label {
  display: block;
  color: #aaa;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 7px;
  text-transform: uppercase;
}

input,
textarea,
select {
  width: 100%;
  background: #080808;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 11px 12px;
  outline: none;
}

textarea {
  min-height: 90px;
  resize: vertical;
}

select option {
  background: #181818;
  color: white;
}

input[type="color"] {
  padding: 4px;
  height: 43px;
}

input[type="range"] {
  padding: 0;
}

.gradient-btn {
  border: 0;
  background: #4b0d14;
  color: white;
  border-radius: 12px;
  font-weight: 900;
  cursor: pointer;
}

/* SOCIALS */

.social-row {
  display: grid;
  grid-template-columns: 180px 1fr 48px;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
}

.remove {
  height: 43px;
  border-radius: 12px;
  border: 1px solid rgba(255, 80, 80, 0.3);
  background: rgba(255, 80, 80, 0.12);
  color: #ff7777;
  cursor: pointer;
  font-size: 20px;
}

/* TOGGLES */

.toggle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #080808;
  border-radius: 14px;
  padding: 14px;
  color: white;
  text-transform: none;
}




/* PUBLIC PAGE */

.public-page {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.public-bg {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #111827, #312e81, #0f172a);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: none;
  transform: none;
  z-index: -2;
}

.public-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
}

.public-card {
  width: min(88vw, 620px);
  min-height: 380px;
  height: auto;

  padding: 38px 34px;
  border-radius: 22px;
  text-align: center;

  background: var(--card-bg-color);
  backdrop-filter: blur(var(--card-blur));
  -webkit-backdrop-filter: blur(var(--card-blur));

  border: 1px solid var(--card-border-color);
  box-shadow: var(--card-shadow);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  position: relative;
  z-index: 2;
}

@media (max-width: 700px) {
  .public-card {
    width: min(92vw, 520px);
    min-height: 340px;
    padding: 30px 22px;
    border-radius: 20px;
  }
}

.public-avatar-wrap {
  width: 112px;
  height: 112px;
  margin: 0 auto 14px;
  border-radius: 999px;
  overflow: hidden;
}

.public-avatar,
.public-small-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-name {
  font-size: 42px;
  letter-spacing: -2px;
  color: var(--text-color);
}

.public-bio,
.public-location {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.9);
}

.public-location i {
  font-size: 14px;
  opacity: 0.9;
}

.public-mini-card {
  width: min(100%, 320px);
  margin: 22px auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(16px);
  text-align: left;
}

.public-small-avatar {
  width: 56px;
  height: 56px;
  border-radius: 16px;
}

.public-badges,
.public-socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.public-badges span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 800;
}

.public-socials a {
  color: white;
  font-size: 34px;
}

.public-views {
  position: fixed;
  left: 24px;
  bottom: 24px;
  font-weight: 800;
}

/* SAVE + TOAST */

/* ===============================
   CLEAN SAVE BAR
   =============================== */

.save-bar {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%, 130%);
  width: min(92vw, 620px);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  padding: 10px 12px 10px 18px;
  border-radius: 999px;

  background: rgba(18, 18, 18, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);

  opacity: 0;
  pointer-events: none;
  z-index: 5000;

  transition:
    transform 0.28s ease,
    opacity 0.28s ease;
}

.save-bar.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.save-bar strong {
  color: white;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.save-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.save-reset-btn,
.save-main-btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 900;
  cursor: pointer;
}

.save-reset-btn {
  background: transparent;
  color: #888;
}

.save-reset-btn:hover {
  color: white;
  background: rgba(255, 255, 255, 0.06);
}

.save-main-btn {
  color: white;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.save-main-btn:hover {
  filter: brightness(1.12);
}

@media (max-width: 600px) {
  .save-bar {
    width: calc(100vw - 24px);
    border-radius: 22px;
    align-items: stretch;
    flex-direction: column;
    padding: 14px;
  }

  .save-actions {
    width: 100%;
  }

  .save-reset-btn,
  .save-main-btn {
    flex: 1;
  }
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  padding: 12px 16px;
  border-radius: 999px;
  background: #181828;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 1000;
}

.toast.show {
  display: block;
}

#publicProfile {
  pointer-events: none;
}

#publicProfile[style*="grid"] {
  pointer-events: auto;
}

/* RESPONSIVE */

@media (max-width: 1050px) {
  .sidebar {
    position: static;
    width: auto;
  }

  .app {
    margin-left: 0;
    padding: 16px;
  }

  .asset-grid,
  .settings-grid,
  .settings-grid.colors,
  .toggle-grid,
  .home-page {
    grid-template-columns: 1fr;
  }

  .field.wide {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  .social-row {
    grid-template-columns: 1fr;
  }

  .dashboard-header,
  .profile-link-pill,
  .panel-title-row {
    flex-direction: column;
    align-items: stretch;
  }
}


body.public-mode .sidebar,
body.public-mode .topbar,
body.public-mode .landing-nav {
  display: none !important;
}

body.public-mode .app {
  margin-left: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
}

body.public-mode #home,
body.public-mode #dashboard {
  display: none !important;
}

body.public-mode #publicProfile {
  display: grid !important;
  pointer-events: auto;
}

body.landing-mode .sidebar {
  display: none !important;
}

body.dashboard-mode .sidebar {
  display: flex !important;
}


/* ===============================
   FINAL CENTERED DASHBOARD FIX
   =============================== */

/* Default app layout */
.app {
  min-height: 100vh;
}

/* Landing and public pages: no sidebar spacing */
body.landing-mode .app,
body.public-mode .app {
  width: 100%;
  margin-left: 0 !important;
  padding: 26px 34px;
}

/* Dashboard page: account for left sidebar */
body.dashboard-mode .app {
  width: calc(100vw - 250px);
  margin-left: 250px !important;
  padding: 26px 34px;
}

/* Center the dashboard inside the available area */
body.dashboard-mode #dashboard {
  width: min(100%, 1250px);
  margin-left: auto !important;
  margin-right: auto !important;
  display: block;
}

/* Make sections follow the centered dashboard width */
body.dashboard-mode #dashboard > section {
  width: 100%;
}

/* Sidebar only in dashboard */
body.landing-mode .sidebar,
body.public-mode .sidebar {
  display: none !important;
}

body.dashboard-mode .sidebar {
  display: flex !important;
}

/* Landing nav only on landing page */
body.dashboard-mode .landing-nav,
body.public-mode .landing-nav {
  display: none !important;
}

body.landing-mode .landing-nav {
  display: flex !important;
}

/* Public profile only */
body.public-mode #home,
body.public-mode #dashboard {
  display: none !important;
}

body.public-mode #publicProfile {
  display: grid !important;
  pointer-events: auto;
}

/* Keep grid clean */
.asset-grid {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
}

.settings-grid {
  grid-template-columns: repeat(4, minmax(160px, 1fr));
}

.settings-grid.colors {
  grid-template-columns: repeat(4, minmax(160px, 1fr));
}

/* Responsive */
@media (max-width: 1300px) {
  body.dashboard-mode #dashboard {
    width: min(100%, 1050px);
  }

  .asset-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .settings-grid,
  .settings-grid.colors {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

@media (max-width: 800px) {
  .sidebar {
    position: static;
    width: 100%;
  }

  body.dashboard-mode .app,
  body.landing-mode .app,
  body.public-mode .app {
    width: 100%;
    margin-left: 0 !important;
    padding: 16px;
  }

  body.dashboard-mode #dashboard {
    width: 100%;
  }

  .asset-grid,
  .settings-grid,
  .settings-grid.colors,
  .toggle-grid {
    grid-template-columns: 1fr;
  }

  .social-row {
    grid-template-columns: 1fr;
  }
}


/* ===============================
   FINAL LANDING PAGE CENTER FIX
   =============================== */

body.landing-mode {
  background:
    radial-gradient(circle at top left, rgba(128, 54, 190, 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(128, 54, 190, 0.12), transparent 32%),
    #09070d;
}

/* Landing page should NOT behave like dashboard */
body.landing-mode .app {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  padding: 24px 24px 80px !important;
}

/* Center top navbar */
body.landing-mode .landing-nav {
  width: min(100%, 1180px) !important;
  margin: 0 auto 90px !important;
}

/* Center the home content */
body.landing-mode #home {
  width: min(100%, 1180px) !important;
  margin: 0 auto !important;
  min-height: auto !important;

  display: grid !important;
  grid-template-columns: minmax(0, 520px) minmax(0, 420px);
  justify-content: center !important;
  align-items: center !important;
  gap: 28px !important;
}

/* Make home cards look bigger and centered */
body.landing-mode .home-card,
body.landing-mode .auth-card {
  width: 100%;
}

/* Make the hero text feel like landing page */
body.landing-mode .home-card h1 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -4px;
}

/* Dashboard should still center inside sidebar area */
body.dashboard-mode .app {
  width: calc(100vw - 250px) !important;
  margin-left: 250px !important;
  padding: 26px 34px !important;
}

body.dashboard-mode #dashboard {
  width: min(100%, 1250px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Public profile should have no sidebar/top spacing */
body.public-mode .app {
  width: 100% !important;
  margin-left: 0 !important;
  padding: 0 !important;
}

body.public-mode .landing-nav,
body.public-mode .sidebar {
  display: none !important;
}

/* Mobile */
@media (max-width: 900px) {
  body.landing-mode #home {
    grid-template-columns: 1fr !important;
  }

  body.landing-mode .landing-nav {
    margin-bottom: 40px !important;
  }
}

/* ===============================
   FINAL LOGGED-IN DASHBOARD CENTER FIX
   =============================== */

body.dashboard-mode {
  background: #050505;
}

/* Sidebar fixed left */
body.dashboard-mode .sidebar {
  display: flex !important;
  position: fixed !important;
  left: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 250px !important;
}

/* App uses the space after sidebar */
body.dashboard-mode .app {
  width: calc(100vw - 250px) !important;
  margin-left: 250px !important;
  padding: 26px 34px !important;
  max-width: none !important;
}

/* Dashboard itself is centered inside app */
body.dashboard-mode #dashboard {
  display: block !important;
  width: min(100%, 1250px) !important;
  max-width: 1250px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* All dashboard sections obey centered width */
body.dashboard-mode #dashboard > section {
  width: 100% !important;
}

/* Hide landing/public when logged in dashboard */
body.dashboard-mode #home,
body.dashboard-mode #publicProfile,
body.dashboard-mode .landing-nav {
  display: none !important;
}

/* Nice grids inside centered dashboard */
body.dashboard-mode .asset-grid {
  grid-template-columns: repeat(4, minmax(180px, 1fr)) !important;
}

body.dashboard-mode .settings-grid {
  grid-template-columns: repeat(4, minmax(160px, 1fr)) !important;
}

body.dashboard-mode .settings-grid.colors {
  grid-template-columns: repeat(4, minmax(160px, 1fr)) !important;
}

.overview-page {
  display: none;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 18px 0 26px;
}

.overview-card {
  position: relative;
  padding: 22px;
  border-radius: 18px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.overview-card.purple {
  background: rgba(178, 92, 255, 0.18);
}

.overview-card span {
  display: block;
  color: #ddd;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
}

.overview-card strong {
  display: block;
  font-size: 26px;
  margin-bottom: 6px;
}

.overview-card small {
  color: #aaa;
}

.overview-card i {
  position: absolute;
  top: 22px;
  right: 22px;
  color: #ddd;
}

.overview-two {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
}

.overview-box {
  padding: 22px;
  border-radius: 18px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.progress-bar {
  height: 16px;
  border-radius: 999px;
  background: #222;
  overflow: hidden;
  margin: 16px 0 10px;
}

.progress-bar div {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #8b5cf6, #a855f7);
  border-radius: 999px;
}

.completion-list {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.completion-list span {
  padding: 12px 14px;
  border-radius: 999px;
  background: #181818;
  color: #ccc;
  font-weight: 800;
}

.completion-list span.done {
  color: white;
}

.completion-list span.done::before {
  content: "✓ ";
  color: #22c55e;
}

.account-action {
  width: 100%;
  border: 0;
  margin-top: 10px;
  padding: 13px 14px;
  border-radius: 12px;
  background: #2a2a2a;
  color: white;
  font-weight: 900;
  cursor: pointer;
  text-align: left;
}

.account-action:hover {
  background: #333;
}

@media (max-width: 1000px) {
  .overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .overview-two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .overview-grid,
  .completion-list {
    grid-template-columns: 1fr;
  }
}


.public-music-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  font-weight: 900;
  cursor: pointer;
}

.public-music-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}


/* Background Video */

.public-bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  background: #000;
}

.public-bg-video + .public-card,
.public-bg + .public-bg-video + .public-card {
  position: relative;
  z-index: 1;
}

body.public-mode .public-bg-video {
  pointer-events: none;
}

/* social links*/

.empty-social {
  padding: 16px;
  border-radius: 14px;
  background: #080808;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  color: #aaa;
  font-weight: 700;
}

.empty-social strong {
  color: white;
}

/* ===============================
   SOCIAL LINKS MANAGER
   =============================== */

.social-manager {
  padding: 24px;
}

.social-picker-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.social-picker-head h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 4px;
}

.social-picker-head p {
  color: #8f8f8f;
  font-size: 13px;
}

.social-icon-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(44px, 44px));
  gap: 14px;
  margin-bottom: 18px;
}

.social-icon-option {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #151515;
  color: white;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.16s ease;
}

.social-icon-option i {
  font-size: 22px;
}

.social-icon-option:hover {
  background: rgba(178, 92, 255, 0.28);
  transform: translateY(-2px);
}

.custom-url-card {
  width: min(100%, 360px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  border-radius: 15px;
  background: #111;
  cursor: pointer;
  margin-bottom: 26px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.custom-url-card:hover {
  background: #171717;
}

.custom-url-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #1f1f1f;
  color: white;
  font-size: 22px;
}

.custom-url-card strong {
  display: block;
  font-size: 14px;
}

.custom-url-card span {
  display: block;
  margin-top: 3px;
  color: #8c8c8c;
  font-size: 12px;
}

.social-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 14px;
}

.social-edit-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #111;
  border-radius: 15px;
  padding: 10px;
  min-height: 78px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-drag {
  color: #555;
  font-size: 18px;
  cursor: grab;
  user-select: none;
}

.social-card-content {
  flex: 1;
  min-width: 0;
}

.social-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.social-card-top strong {
  font-size: 13px;
}

.social-card-actions {
  display: flex;
  gap: 5px;
}

.social-card-actions button {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 8px;
  background: #222;
  color: #aaa;
  cursor: pointer;
}

.social-card-actions button:hover {
  color: white;
  background: #2d2d2d;
}

.social-card-actions button:last-child {
  color: #ef4444;
}

.social-url-box {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #080808;
  border-radius: 12px;
  padding: 8px 10px;
}

.social-url-box i {
  width: 22px;
  font-size: 20px;
  color: white;
}

.social-url-box input {
  border: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
  color: white;
  font-size: 13px;
}

.empty-social {
  grid-column: 1 / -1;
  padding: 16px;
  border-radius: 14px;
  background: #080808;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  color: #aaa;
  font-weight: 700;
}

.empty-social strong {
  color: white;
}

@media (max-width: 1200px) {
  .social-card-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 700px) {
  .social-card-grid {
    grid-template-columns: 1fr;
  }
}


/* ===============================
   AUDIO MANAGER
   =============================== */

.clickable {
  cursor: pointer;
}

.audio-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.68);
}

.audio-modal-card {
  width: min(100%, 520px);
  max-height: 88vh;
  overflow-y: auto;
  background: #101010;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.audio-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.audio-modal-head h3 {
  font-size: 16px;
}

.audio-modal-head button {
  border: 0;
  background: transparent;
  color: #aaa;
  font-size: 26px;
  cursor: pointer;
}

.audio-help {
  color: #ddd;
  line-height: 1.4;
  margin: 14px 0;
  font-size: 14px;
}

.audio-premium {
  padding: 13px;
  border-radius: 999px;
  text-align: center;
  color: #eadcff;
  background: rgba(178, 92, 255, 0.24);
  margin-bottom: 18px;
}

.audio-count {
  font-weight: 900;
  margin-bottom: 10px;
}

.audio-list {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.audio-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #151515;
  border-radius: 14px;
  padding: 10px;
  cursor: pointer;
}

.audio-item:hover {
  background: #1b1b1b;
}

.audio-item.active {
  border: 1px solid rgba(77, 255, 91, 0.35);
}

.audio-icon {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #222;
  font-size: 22px;
}

.audio-info {
  flex: 1;
  min-width: 0;
}

.audio-info strong,
.audio-info span {
  display: block;
}

.audio-info span {
  color: #aaa;
  font-size: 12px;
  margin-top: 3px;
}

.audio-active-badge {
  background: #15803d;
  color: white;
  border-radius: 999px;
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 900;
}

.audio-action {
  border: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #222;
  color: #aaa;
  cursor: pointer;
}

.audio-action.delete {
  color: #ef4444;
}

.audio-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  background: #131313;
  margin-bottom: 8px;
  text-transform: none;
}

.audio-toggle-row span {
  display: block;
  color: #aaa;
  font-size: 12px;
  margin-top: 4px;
}

.audio-toggle-row input {
  width: auto;
}

.audio-add-btn {
  width: 100%;
  margin-top: 8px;
  border: 0;
  border-radius: 14px;
  padding: 14px;
  background: #151515;
  color: white;
  font-weight: 900;
  cursor: pointer;
}

.audio-add-btn:hover {
  background: rgba(178, 92, 255, 0.22);
}

.audio-empty {
  padding: 14px;
  border-radius: 14px;
  color: #aaa;
  background: #151515;
}


/* ===============================
   CLEAN ASSET REMOVE BUTTON FIX
   =============================== */

.clean-asset {
  position: relative !important;
  overflow: hidden;
}

.clean-preview {
  height: 140px;
  cursor: pointer;
  transition: 0.16s ease;
  border-radius: 12px;
  background-size: cover !important;
  background-position: center !important;
}

.clean-preview:hover {
  background-color: #111;
  outline: 1px solid rgba(178, 92, 255, 0.35);
}

.asset-remove {
  position: absolute !important;
  top: 38px !important;
  right: 12px !important;

  width: 26px !important;
  height: 26px !important;

  display: grid;
  place-items: center;

  border: 0 !important;
  border-radius: 8px !important;

  background: rgba(20, 20, 20, 0.88) !important;
  color: #ff3b5f !important;

  font-size: 17px !important;
  line-height: 1 !important;
  font-weight: 900 !important;

  cursor: pointer;
  z-index: 20 !important;

  backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.asset-remove:hover {
  background: rgba(255, 59, 95, 0.18) !important;
  color: #ff5c7a !important;
  transform: scale(1.04);
}

.asset-head span {
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #cfcfcf;
  font-size: 10px;
  font-weight: 900;
}


/* ===============================
   CLEAN GENERAL CUSTOMIZATION
   =============================== */

.general-clean-panel {
  padding: 18px;
}

.general-clean-panel h3 {
  margin-bottom: 16px;
}

.general-clean-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 18px;
  align-items: end;
}

.clean-field label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #e8e8e8;
  font-size: 12px;
  font-weight: 900;
  text-transform: none;
  margin-bottom: 8px;
}

.clean-field label i {
  color: #bdbdbd;
  font-size: 11px;
}

.clean-input-icon {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #060606;
  border-radius: 10px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.035);
}

.clean-input-icon i {
  color: #777;
  font-size: 15px;
  flex-shrink: 0;
}

.clean-input-icon input,
.clean-input-icon select {
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  color: white;
  font-size: 13px;
}

.clean-input-icon input::placeholder {
  color: #777;
}

.clean-input-icon select {
  cursor: pointer;
}

.mini-setting-btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: #0c0c0c;
  color: white;
  cursor: pointer;
}

.mini-setting-btn:hover {
  background: #171717;
}

.clean-field input[type="range"] {
  width: 100%;
  accent-color: #8b5cf6;
}

.range-marks {
  display: flex;
  justify-content: space-around;
  color: #d6d6d6;
  font-size: 11px;
  margin-top: 5px;
}

.clean-wide-btn {
  width: 100%;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: #060606;
  color: white;
  font-weight: 900;
  cursor: pointer;
}

.clean-wide-btn:hover {
  background: #111;
}

.glow-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.glow-btn {
  height: 35px;
  border: 0;
  border-radius: 10px;
  background: #202020;
  color: white;
  font-weight: 900;
  cursor: pointer;
}

.glow-btn.active {
  grid-column: span 2;
  background: #064f13;
}

.glow-btn:hover {
  background: rgba(139, 92, 246, 0.28);
}

@media (max-width: 1200px) {
  .general-clean-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .general-clean-grid {
    grid-template-columns: 1fr;
  }
}


/* ===============================
   CUSTOM COLOR PICKER
   =============================== */

.color-clean-panel {
  position: relative;
}

.color-clean-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 18px;
  align-items: start;
}

.color-field {
  position: relative;
  --field-color: #8b5cf6;
}

.color-field label {
  color: white;
  font-size: 13px;
  font-weight: 900;
  text-transform: none;
  margin-bottom: 8px;
  display: block;
}

.color-input-box {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 12px;
  border-radius: 14px;
  background: #070707;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 -2px 0 var(--field-color);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.color-field.open .color-input-box {
  border-color: var(--main-color);
  box-shadow:
    inset 0 -2px 0 var(--field-color),
    0 0 0 1px var(--main-color);
}

.color-input-box input {
  border: 0;
  background: transparent;
  padding: 0;
  color: white;
  font-size: 13px;
  font-weight: 700;
  width: 100%;
  cursor: pointer;
}

.color-input-box button {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #aaa;
  cursor: pointer;
  flex-shrink: 0;
}

.color-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--field-color);
  display: inline-block;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.custom-color-popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 5000;
  width: 250px;
  padding: 14px;
  border-radius: 18px;
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
}

.color-popover-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 12px;
}

.color-square {
  position: relative;
  height: 120px;
  border-radius: 12px;
  cursor: crosshair;
  overflow: hidden;
  margin-bottom: 12px;
}

.color-square-cursor {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  border: 2px solid white;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 1px black;
}

.hue-slider {
  width: 100%;
  margin-bottom: 12px;
  appearance: none;
  height: 12px;
  border-radius: 999px;
  outline: none;
  background: linear-gradient(
    90deg,
    #ff0000 0%,
    #ffff00 17%,
    #00ff00 33%,
    #00ffff 50%,
    #0000ff 67%,
    #ff00ff 83%,
    #ff0000 100%
  );
}

.hue-slider::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: white;
  border: 2px solid #111;
  cursor: pointer;
}

.hue-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: white;
  border: 2px solid #111;
  cursor: pointer;
}

.hex-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  background: #070707;
  padding: 8px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hex-row input {
  border: 0;
  background: transparent;
  padding: 0;
  color: white;
  font-size: 13px;
  font-weight: 800;
  outline: none;
}

.hex-row button,
.apply-color-btn {
  border: 0;
  border-radius: 10px;
  background: rgba(178, 92, 255, 0.4);
  color: white;
  padding: 8px 10px;
  font-weight: 900;
  cursor: pointer;
}

.apply-color-btn {
  width: 100%;
}

@media (max-width: 900px) {
  .color-clean-grid {
    grid-template-columns: 1fr;
  }

  .custom-color-popover {
    width: min(92vw, 260px);
  }
}


/* Dot color drag smooth*/

.color-square {
  touch-action: none;
  user-select: none;
}

.color-square-cursor {
  pointer-events: none;
}



/* ===============================
   AUDIO MANAGER POPUP ANIMATION
   =============================== */

.audio-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  place-items: center;
  padding: 18px;

  background: rgba(0, 0, 0, 0);
  opacity: 0;
  pointer-events: none;

  transition:
    opacity 0.22s ease,
    background 0.22s ease;
}

.audio-modal.show {
  opacity: 1;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.68);
}

.audio-modal-card {
  width: min(100%, 520px);
  max-height: 88vh;
  overflow-y: auto;

  background: #101010;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);

  transform: translateY(22px) scale(0.96);
  opacity: 0;

  transition:
    transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.22s ease;
}

.audio-modal.show .audio-modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* ===============================
   ACCOUNT SETTINGS MODAL
   =============================== */

.account-modal {
  position: fixed;
  inset: 0;
  z-index: 6000;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.68);
}

.account-modal-card {
  width: min(100%, 420px);
  background: #101010;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.65);

  transform: translateY(20px) scale(0.96);
  opacity: 0;
  animation: accountModalIn 0.22s ease forwards;
}

@keyframes accountModalIn {
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.account-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.account-modal-head h3 {
  margin: 0;
  font-size: 16px;
}

.account-modal-head button {
  border: 0;
  background: transparent;
  color: #aaa;
  font-size: 22px;
  cursor: pointer;
}

.account-setting-field {
  margin-bottom: 16px;
}

.account-setting-field label {
  color: white;
  text-transform: none;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
}

.account-setting-field small {
  display: block;
  color: #888;
  margin-top: 7px;
  font-size: 12px;
}

.account-input {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #070707;
  border-radius: 13px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.account-input i {
  color: #888;
}

.account-input input {
  border: 0;
  background: transparent;
  padding: 12px 0;
}

.account-save-btn {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 12px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: white;
  font-weight: 900;
  cursor: pointer;
}

.account-save-btn:hover {
  filter: brightness(1.12);
}

/* ===============================
   CLEAN OVERVIEW PAGE
   =============================== */

.overview-page {
  display: none;
}

.overview-page h3 {
  font-size: 18px;
  margin-bottom: 14px;
}

.overview-clean-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: stretch;
}

.overview-clean-card {
  background: #101010;
  border-radius: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.055);
}

.completion-card {
  min-height: 390px;
}

.manage-card {
  min-height: 390px;
}

.completion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.completion-head h3,
.manage-card h3,
.connections-box h3 {
  margin: 0;
  font-size: 16px;
}

.completion-head p,
.manage-card p,
.connections-box p {
  color: #aaa;
  font-size: 13px;
  margin-top: 5px;
}

#profileCompletionPercent {
  color: #d7d7d7;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.clean-progress {
  height: 17px;
  border-radius: 999px;
  background: #151515;
  overflow: hidden;
  margin-bottom: 18px;
}

.clean-progress div {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #6b217a, #8f3ca5);
  width: 0%;
  transition: width 0.25s ease;
}

.completion-message {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #191919;
  border-radius: 13px;
  padding: 14px;
  margin-bottom: 16px;
}

.completion-message strong {
  display: block;
  font-size: 15px;
  color: white;
  margin-bottom: 4px;
}

.completion-message p {
  color: #bdbdbd;
  font-size: 13px;
}

.check-dot {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #35b942;
  color: #071607;
  font-size: 11px;
  flex-shrink: 0;
}

.clean-completion-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 10px;
}

.clean-completion-list span {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  padding: 0 14px;
  background: #1a1a1a;
  color: white;
  font-weight: 900;
  font-size: 13px;
}

.clean-completion-list span i {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #35b942;
  color: #071607;
  font-size: 10px;
}

.clean-completion-list span.incomplete i {
  background: #333;
  color: #999;
}

.clean-completion-list span.incomplete {
  color: #999;
}

.manage-card > p {
  margin-bottom: 14px;
}

.account-action {
  width: 100%;
  min-height: 38px;
  border: 0;
  border-radius: 12px;
  margin-bottom: 9px;
  padding: 0 13px;

  display: flex;
  align-items: center;
  gap: 9px;

  color: white;
  background: #333;
  font-weight: 900;
  cursor: pointer;
  text-align: left;
}

.account-action:hover {
  background: rgba(178, 92, 255, 0.35);
}

.account-action i {
  width: 18px;
  color: #eee;
}

.connections-box {
  margin-top: 20px;
}

.connection-row {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 8px;
  margin-top: 12px;
}

.connection-row button,
.google-connect {
  min-height: 38px;
  border: 0;
  border-radius: 11px;
  background: #171717;
  color: white;
  font-weight: 900;
  cursor: pointer;
}

.connection-row button:first-child,
.google-connect {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.connection-row button:hover,
.google-connect:hover {
  background: rgba(178, 92, 255, 0.25);
}

.connection-gear {
  display: grid;
  place-items: center;
}

.google-connect {
  width: 100%;
  margin-top: 8px;
}

.google-connect i {
  color: #4285f4;
}

@media (max-width: 1050px) {
  .overview-clean-layout {
    grid-template-columns: 1fr;
  }

  .clean-completion-list {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
}

@media (max-width: 620px) {
  .clean-completion-list {
    grid-template-columns: 1fr;
  }
}



/* ===============================
   OVERVIEW TOP CARDS
   =============================== */

.overview-title {
  font-size: 18px;
  margin: 0 0 14px;
}

.overview-top-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}

.overview-top-card {
  min-height: 104px;
  border-radius: 14px;
  padding: 18px;
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.055);

  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.overview-top-card.purple,
.overview-top-card {
  background: #25152c;
}

.overview-top-card span {
  display: block;
  color: white;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 12px;
}

.overview-top-card strong {
  display: block;
  color: white;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.overview-top-card small {
  display: block;
  color: #aaa;
  font-size: 12px;
}

.overview-top-card > i {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

@media (max-width: 1150px) {
  .overview-top-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

@media (max-width: 620px) {
  .overview-top-grid {
    grid-template-columns: 1fr;
  }
}


/* ===============================
   AUDIO EDIT DETAILS PANEL
   =============================== */

.audio-edit-panel {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.audio-edit-panel label {
  display: block;
  color: #ddd;
  font-size: 12px;
  font-weight: 900;
  text-transform: none;
  margin-bottom: 8px;
}

.audio-title-input {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 13px;
  background: #070707;
  border: 1px solid rgba(255, 255, 255, 0.055);
  margin-bottom: 12px;
}

.audio-title-input i {
  color: #777;
  font-size: 15px;
}

.audio-title-input input {
  border: 0;
  background: transparent;
  color: white;
  padding: 0;
  font-size: 13px;
  width: 100%;
}

.audio-edit-save-btn {
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  background: #171717;
  color: white;
  font-weight: 900;
  cursor: pointer;
}

.audio-edit-save-btn:hover {
  background: rgba(178, 92, 255, 0.32);
}


/* ===============================
   APP LOADING SCREEN
   =============================== */

.app-loading {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: grid;
  place-items: center;

  background:
    radial-gradient(circle at top left, rgba(139, 92, 246, 0.18), transparent 35%),
    radial-gradient(circle at bottom right, rgba(6, 182, 212, 0.12), transparent 35%),
    #050505;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.app-loading.show {
  opacity: 1;
  pointer-events: auto;
}

.loading-card {
  width: min(90vw, 340px);
  padding: 28px;
  border-radius: 24px;
  text-align: center;

  background: rgba(18, 18, 18, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);

  animation: loadingPop 0.35s ease forwards;
}

.loading-logo {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;

  display: grid;
  place-items: center;

  border-radius: 18px;
  background: linear-gradient(135deg, #8b5cf6, #ab37ee);
  font-size: 24px;
  font-weight: 900;
}

.loading-card h2 {
  margin: 0;
  font-size: 24px;
}

.loading-card p {
  margin: 8px 0 18px;
  color: #aaa;
  font-size: 14px;
}

.loading-spinner {
  width: 34px;
  height: 34px;
  margin: 0 auto;

  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: #8b5cf6;

  animation: spinLoading 0.8s linear infinite;
}

@keyframes spinLoading {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loadingPop {
  from {
    transform: translateY(18px) scale(0.96);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* ===============================
   PUBLIC TEXT COLOR CUSTOMIZE
   =============================== */

.public-card,
.public-card h1,
.public-card p,
.public-card span,
.public-card strong {
  color: var(--text-color) !important;
}

.public-bio {
  color: var(--text-color) !important;
}

.public-location {
  color: var(--text-color) !important;
}

.public-mini-card strong,
.public-mini-card p {
  color: var(--text-color) !important;
}


/* Bigger public social media icons */
.public-socials {
  gap: 18px;
  margin-top: 8px;
}

.public-socials a,
.public-socials a i {
  color: var(--icon-color) !important;
  font-size: 42px !important;
  line-height: 1;
}

.public-socials a {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  transition: transform 0.18s ease, color 0.18s ease;
}

.public-socials a:hover {
  transform: translateY(-2px) scale(1.08);
  color: var(--main-color) !important;
}


/* ===============================
   PUBLIC BACKGROUND EFFECTS
   =============================== */

.public-bg-effect {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

/* Blur background */
.bg-blurred-effect {
  filter: blur(8px) brightness(0.85);
  transform: scale(1.04);
}

/* Aurora */
.public-bg-effect.effect-aurora {
  background:
    radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.35), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.28), transparent 30%),
    radial-gradient(circle at 45% 80%, rgba(236, 72, 153, 0.22), transparent 32%);
  animation: auroraMove 8s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

@keyframes auroraMove {
  from {
    transform: translate3d(-2%, -2%, 0) scale(1);
    opacity: 0.55;
  }

  to {
    transform: translate3d(2%, 3%, 0) scale(1.08);
    opacity: 0.9;
  }
}

/* Snowflakes */
.public-bg-effect.effect-snowflakes span {
  position: absolute;
  top: -10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  animation-name: snowFall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes snowFall {
  from {
    transform: translateY(-20px) translateX(0);
  }

  to {
    transform: translateY(110vh) translateX(45px);
  }
}

/* Rain */
.public-bg-effect.effect-rain span {
  position: absolute;
  top: -60px;
  width: 1.5px;
  height: 58px;
  border-radius: 999px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.55));
  animation-name: rainFall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes rainFall {
  from {
    transform: translateY(-80px) translateX(0);
  }

  to {
    transform: translateY(115vh) translateX(-80px);
  }
}

/* Night Time */
.public-bg-effect.effect-night {
  background:
    linear-gradient(to bottom, rgba(2, 6, 23, 0.45), rgba(0, 0, 0, 0.55));
}

.public-bg-effect.effect-night span {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 999px;
  background: white;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
  animation: starTwinkle 2.4s ease-in-out infinite alternate;
}

@keyframes starTwinkle {
  from {
    opacity: 0.25;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1.35);
  }
}

/* Old TV */
.public-bg-effect.effect-oldtv {
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.045) 0px,
      rgba(255, 255, 255, 0.045) 1px,
      transparent 1px,
      transparent 4px
    );
  animation: oldTvFlicker 0.16s infinite;
}

.public-bg-effect.effect-oldtv::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, transparent 45%, rgba(0, 0, 0, 0.45) 100%);
}

@keyframes oldTvFlicker {
  0%, 100% {
    opacity: 0.32;
  }

  50% {
    opacity: 0.55;
  }
}


/* ===============================
   ANIMATED BACKGROUND EFFECT DROPDOWN
   =============================== */

.effect-dropdown {
  position: relative;
  width: 100%;
  z-index: 30;
}

.effect-dropdown-btn {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 13px;
  padding: 0 13px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: #060606;
  color: white;
  cursor: pointer;
  font-weight: 800;
}

.effect-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.effect-left i {
  color: #777;
}

.effect-arrow {
  color: #888;
  font-size: 12px;
  transition: transform 0.2s ease;
}

.effect-dropdown.open .effect-arrow {
  transform: rotate(180deg);
}

.effect-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;

  padding: 8px;
  border-radius: 14px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.07);

  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55);

  opacity: 0;
  transform: translateY(-8px) scale(0.96);
  transform-origin: top center;
  pointer-events: none;

  transition:
    opacity 0.18s ease,
    transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);

  max-height: 260px;
  overflow-y: auto;
}

.effect-dropdown.open .effect-dropdown-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.effect-dropdown-menu button {
  width: 100%;
  min-height: 34px;
  border: 0;
  border-radius: 10px;
  padding: 0 10px;

  background: transparent;
  color: white;
  text-align: left;
  cursor: pointer;
  font-weight: 700;
}

.effect-dropdown-menu button:hover,
.effect-dropdown-menu button.active {
  background: #2a2a2a;
}

/* ===============================
   USERNAME EFFECT MODAL
   =============================== */

.username-effect-open {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 13px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #060606;
  color: white;
  font-weight: 900;
  cursor: pointer;
}

.username-effect-open i {
  color: #777;
}

.username-effect-modal {
  position: fixed;
  inset: 0;
  z-index: 7000;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.68);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.username-effect-modal.show {
  opacity: 1;
}

.username-effect-card {
  width: min(94vw, 540px);
  border-radius: 18px;
  padding: 16px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.65);
  transform: translateY(22px) scale(0.95);
  opacity: 0;
  transition:
    transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.22s ease;
}

.username-effect-modal.show .username-effect-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.username-effect-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.username-effect-head h3 {
  margin: 0;
  font-size: 15px;
}

.username-effect-head button {
  border: 0;
  background: transparent;
  color: #aaa;
  font-size: 20px;
  cursor: pointer;
}

.username-effect-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
}

.username-effect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.username-effect-option {
  height: 76px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #191919;
  color: white;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.username-effect-option:hover,
.username-effect-option.active {
  border-color: rgba(178, 92, 255, 0.9);
  background: #202020;
}

.effect-preview-text {
  font-weight: 900;
  font-size: 15px;
}

.effect-rainbow {
  background: linear-gradient(90deg, #ff4d4d, #ffd93d, #45ff87, #45caff, #b25cff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: rainbowMove 2s linear infinite;
}

@keyframes rainbowMove {
  from {
    filter: hue-rotate(0deg);
  }

  to {
    filter: hue-rotate(360deg);
  }
}

.effect-typewriter {
  border-right: 2px solid white;
  animation: typeBlink 0.8s steps(1) infinite;
}

@keyframes typeBlink {
  50% {
    border-color: transparent;
  }
}

.effect-glitch {
  text-shadow:
    2px 0 #ff004c,
    -2px 0 #00e5ff;
  animation: glitchMove 0.35s infinite;
}

@keyframes glitchMove {
  0%, 100% {
    transform: translate(0);
  }

  40% {
    transform: translate(1px, -1px);
  }

  70% {
    transform: translate(-1px, 1px);
  }
}

.effect-shuffle {
  animation: shuffleShake 0.4s infinite;
}

@keyframes shuffleShake {
  0%, 100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(2px);
  }
}

.sparkles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, currentColor 1px, transparent 2px),
    radial-gradient(circle, currentColor 1px, transparent 2px),
    radial-gradient(circle, currentColor 1px, transparent 2px);
  background-size: 20px 20px, 26px 26px, 34px 34px;
  background-position: 0 0, 8px 12px, 16px 4px;
  animation: sparkleMove 2.5s linear infinite;
}

.sparkles.black {
  color: #111;
}

.sparkles.blue {
  color: #3b82f6;
}

.sparkles.green {
  color: #a3e635;
}

.sparkles.pink {
  color: #ec4899;
}

.sparkles.red {
  color: #ef4444;
}

.sparkles.white {
  color: #ffffff;
}

.sparkles.yellow {
  color: #facc15;
}

@keyframes sparkleMove {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-20px);
  }
}


.username-effect-preview {
  display: grid;
  gap: 12px;
}

.username-preview-box {
  min-height: 145px;
  border-radius: 12px;
  background: #090909;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.username-effect-preview-text {
  position: relative;
  font-size: 23px;
  font-weight: 900;
}

.username-effect-info {
  padding: 14px;
  border-radius: 12px;
  background: #181818;
}

.username-effect-info strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.username-effect-info p {
  color: #aaa;
  font-size: 12px;
}

.username-effect-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.username-effect-actions button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: #1a1a1a;
  color: white;
  font-weight: 900;
  cursor: pointer;
}

.username-effect-actions button.save {
  background: rgba(178, 92, 255, 0.55);
}

@media (max-width: 680px) {
  .username-effect-body {
    grid-template-columns: 1fr;
  }
}




/*Username effect*/
/* ===============================
   CLEAN USERNAME EFFECTS
   =============================== */

.username-style-none {
  animation: none;
}

/* Soft Glow */
.username-style-glow {
  text-shadow:
    0 0 8px currentColor,
    0 0 18px currentColor;
}

/* Smooth Rainbow */
.username-style-rainbow {
  background: linear-gradient(
    90deg,
    #ff4d4d,
    #ffd93d,
    #45ff87,
    #45caff,
    #b25cff,
    #ff4d4d
  );
  background-size: 300% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  animation: usernameRainbow 4s linear infinite;
}

@keyframes usernameRainbow {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 300% 50%;
  }
}

/* Shine Sweep */
/* Premium Shine - works with custom text color */
/* Smooth premium shine - contrast-aware */
.username-style-shine {
  background-image: linear-gradient(
    105deg,
    var(--text-color) 0%,
    var(--text-color) 38%,
    var(--shine-color) 48%,
    var(--shine-color) 52%,
    var(--text-color) 62%,
    var(--text-color) 100%
  );

  background-size: 320% 100%;
  background-position: 140% 50%;

  background-clip: text;
  -webkit-background-clip: text;

  color: transparent !important;
  -webkit-text-fill-color: transparent;

  animation: usernameSmoothShine 4.5s linear infinite;
  will-change: background-position;
}

@keyframes usernameSmoothShine {
  0% {
    background-position: 130% 50%;
  }

  100% {
    background-position: -130% 50%;
  }
}



/* Gentle Pulse */
.username-style-pulse {
  animation: usernamePulse 1.8s ease-in-out infinite;
}

@keyframes usernamePulse {
  0%, 100% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }

  50% {
    transform: scale(1.035);
    text-shadow: 0 0 16px currentColor;
  }
}

/* Neon */
.username-style-neon {
  color: #fff !important;
  text-shadow:
    0 0 6px var(--main-color),
    0 0 14px var(--main-color),
    0 0 28px var(--main-color);
}

/* Better Glitch */
.username-style-glitch {
  position: relative;
  text-shadow:
    1px 0 #ff004c,
    -1px 0 #00e5ff;
  animation: usernameGlitch 1.4s infinite;
}

@keyframes usernameGlitch {
  0%, 92%, 100% {
    transform: translate(0);
    text-shadow:
      1px 0 #ff004c,
      -1px 0 #00e5ff;
  }

  94% {
    transform: translate(1px, -1px);
    text-shadow:
      2px 0 #ff004c,
      -2px 0 #00e5ff;
  }

  96% {
    transform: translate(-1px, 1px);
  }
}

/* Clean Sparkle */
.username-style-sparkle {
  position: relative;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.55);
}

.username-style-sparkle::after {
  content: "✦";
  position: absolute;
  right: -18px;
  top: -8px;
  font-size: 14px;
  color: #ffffff;
  animation: usernameSparkle 1.6s ease-in-out infinite;
}

@keyframes usernameSparkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0.5) rotate(0deg);
  }

  50% {
    opacity: 1;
    transform: scale(1) rotate(20deg);
  }
}

/*asset loading*/
.asset-preview.asset-uploading {
  pointer-events: none;
  opacity: 0.72;
  cursor: wait !important;
}

.asset-preview.asset-uploading i {
  font-size: 26px;
}

.asset-preview.asset-uploading small {
  color: #ddd;
  font-weight: 900;
}

/*block open file when reach limit*/
.audio-add-btn.disabled,
.audio-add-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: auto;
}

.audio-add-btn.disabled:hover,
.audio-add-btn:disabled:hover {
  filter: none;
  transform: none;
}

.audio-add-btn.disabled,
.audio-add-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.audio-add-btn.disabled:hover,
.audio-add-btn:disabled:hover {
  filter: none;
  transform: none;
}



/* ===============================
   DASHBOARD PAGE TRANSITION
   =============================== */

.dashboard-page-transition {
  animation: dashboardPageIn 0.22s ease both;
}

@keyframes dashboardPageIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
    filter: blur(3px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}



/* ===============================
   PREMIUM POPUP MODAL
   =============================== */

.premium-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: none;
  place-items: center;
  padding: 18px;

  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);

  opacity: 0;
  pointer-events: none;

  transition:
    opacity 0.22s ease,
    background 0.22s ease,
    backdrop-filter 0.22s ease;
}

.premium-modal.show {
  opacity: 1;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.premium-modal-card {
  width: min(94vw, 620px);
  border-radius: 22px;
  padding: 18px;

  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.22), transparent 36%),
    #101010;

  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.72);

  transform: translateY(24px) scale(0.94);
  opacity: 0;

  transition:
    transform 0.24s cubic-bezier(0.2, 0.9, 0.2, 1),
    opacity 0.22s ease;
}

.premium-modal.show .premium-modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.premium-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.premium-modal-head h3 {
  font-size: 24px;
  margin-bottom: 4px;
}

.premium-modal-head p {
  color: #aaa;
  font-size: 13px;
  line-height: 1.45;
}

.premium-modal-head button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #1c1c1c;
  color: #aaa;
  cursor: pointer;
  flex-shrink: 0;
}

.premium-modal-head button:hover {
  color: white;
  background: #262626;
}

.premium-pro-only {
  display: grid;
  grid-template-columns: 1fr;
}

.premium-mini-card {
  position: relative;
  min-height: 430px;
  padding: 20px;
  border-radius: 18px;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.premium-mini-card.pro {
  background:
    radial-gradient(circle at top, rgba(168, 85, 247, 0.34), transparent 42%),
    linear-gradient(145deg, rgba(35, 18, 52, 0.92), #101010 52%);
  border-color: rgba(168, 85, 247, 0.65);
  box-shadow: 0 18px 70px rgba(168, 85, 247, 0.18);
}

.premium-mini-card.pro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 42%,
    transparent 70%
  );
  transform: translateX(-120%);
  animation: premiumPopupShine 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes premiumPopupShine {
  0%, 45% {
    transform: translateX(-120%);
  }

  70%, 100% {
    transform: translateX(120%);
  }
}

.premium-popular {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.42);
  color: white;
  font-size: 10px;
  font-weight: 900;
  z-index: 2;
}

.premium-plan-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  padding-right: 110px;
}

.premium-plan-top h4 {
  font-size: 26px;
  letter-spacing: -1px;
}

.premium-modal-subtitle {
  color: #aaa;
  font-size: 13px;
  margin-top: 6px;
  max-width: 360px;
  line-height: 1.45;
}

.premium-modal-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
}

.premium-modal-price strong {
  font-size: 26px;
  font-weight: 1000;
  letter-spacing: -1px;
}

.premium-modal-price small {
  color: #bbb;
  font-size: 11px;
  font-weight: 900;
}

.premium-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 20px;
}

.premium-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.16);
  border: 1px solid rgba(168, 85, 247, 0.22);
  color: #d8b4fe;
  font-size: 11px;
  font-weight: 900;
}

.premium-mini-card ul {
  list-style: none;
  display: grid;
  gap: 11px;
  margin-bottom: 70px;
}

.premium-mini-card li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #eee;
  font-size: 13px;
  font-weight: 850;
}

.premium-mini-card li i {
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #86efac);
  color: #031406;
  font-size: 10px;
  flex-shrink: 0;
}

.premium-upgrade-btn {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;

  min-height: 46px;
  border: 0;
  border-radius: 999px;

  background: linear-gradient(135deg, #7c3aed, #c084fc);
  color: white;
  font-weight: 900;
  cursor: pointer;

  box-shadow: 0 12px 34px rgba(168, 85, 247, 0.35);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.premium-upgrade-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

@media (max-width: 650px) {
  .premium-modal-card {
    width: min(94vw, 520px);
  }

  .premium-plan-top {
    flex-direction: column;
    padding-right: 0;
  }

  .premium-popular {
    position: static;
    width: fit-content;
    margin-bottom: 12px;
  }

  .premium-mini-card {
    min-height: 470px;
  }
}