  
    .wallet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.wallet-card {
  padding: 24px;
}

.wallet-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
}

.wallet-card strong {
  display: block;
  font-size: 32px;
  letter-spacing: -1px;
  color: var(--text);
}

.wallet-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 760px) {
  .wallet-grid {
    grid-template-columns: 1fr;
  }
}

    
    :root {
      --bg: #f7f7f8;
      --panel: #ffffff;
      --panel-soft: #fbfbfc;
      --text: #111217;
      --muted: #696f7a;
      --muted-2: #9ba1ad;
      --line: rgba(17, 18, 23, 0.08);

      --red: #ef1238;
      --red-2: #ff3b5c;
      --red-soft: rgba(239, 18, 56, 0.09);
      --red-glow: rgba(239, 18, 56, 0.22);

      --green: #16a765;
      --green-soft: rgba(22, 167, 101, 0.12);

      --yellow: #ffbf3f;
      --shadow: 0 18px 40px rgba(20, 20, 30, 0.08);

      --radius-xl: 28px;
      --radius-lg: 22px;
      --radius-md: 16px;
      --radius-sm: 12px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      min-height: 100vh;
      font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background:
        radial-gradient(circle at 8% 0%, rgba(239, 18, 56, 0.08), transparent 30%),
        radial-gradient(circle at 90% 12%, rgba(239, 18, 56, 0.05), transparent 24%),
        var(--bg);
      color: var(--text);
    }

    button,
    input,
    select {
      font-family: inherit;
    }

    button {
      cursor: pointer;
      border: none;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    .dashboard-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.main {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 20px;
}


    /* MAIN GRID */

    .main {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 20px;
}

    .top-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.4fr) repeat(4, minmax(150px, 1fr));
  gap: 16px;
}

    .card {
      background: rgba(255, 255, 255, 0.9);
      border: 1px solid var(--line);
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow);
    }

    .hero-card {
      position: relative;
      overflow: hidden;
      padding: 34px 32px;
      min-height: 260px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .hero-card::after {
      content: "";
      position: absolute;
      right: -70px;
      bottom: -80px;
      width: 360px;
      height: 260px;
      background:
        repeating-radial-gradient(ellipse at center, rgba(239,18,56,.18) 0 1px, transparent 1px 13px);
      border-radius: 50%;
      transform: rotate(-18deg);
    }

    .eyebrow {
      color: var(--red);
      font-weight: 900;
      font-size: 14px;
      margin-bottom: 22px;
    }

    .hero-title {
      position: relative;
      z-index: 1;
      font-size: 36px;
      line-height: 1.04;
      letter-spacing: -1.5px;
      max-width: 390px;
      margin-bottom: 20px;
    }

    .hero-copy {
      position: relative;
      z-index: 1;
      color: var(--muted);
      line-height: 1.7;
      max-width: 430px;
      margin-bottom: 24px;
    }

    .primary-btn {
      position: relative;
      z-index: 1;
      width: fit-content;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 14px 21px;
      border-radius: 10px;
      background: linear-gradient(135deg, var(--red), var(--red-2));
      color: #fff;
      font-weight: 950;
      box-shadow: 0 14px 30px var(--red-glow);
    }

    .primary-btn:hover {
      transform: translateY(-1px);
    }

    .metric-card {
      padding: 24px 20px;
      min-height: 260px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      overflow: hidden;
    }

    .metric-icon {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      color: #fff;
      background: linear-gradient(135deg, var(--red), #ff516e);
      box-shadow: 0 12px 24px var(--red-glow);
      font-weight: 950;
      font-size: 19px;
    }

    .metric-title {
      font-size: 15px;
      font-weight: 800;
      line-height: 1.35;
      margin-top: 16px;
    }

    .metric-value {
      font-size: 32px;
      font-weight: 950;
      letter-spacing: -1px;
      margin-top: 22px;
    }

    .metric-link {
      color: var(--text);
      font-weight: 750;
      font-size: 13px;
      margin-top: 14px;
    }

    .mini-chart {
      height: 54px;
      margin-top: 14px;
      background:
        linear-gradient(to top, rgba(239,18,56,0.08), transparent),
        url("data:image/svg+xml,%3Csvg width='190' height='52' viewBox='0 0 190 52' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 39C13 31 20 42 30 32C39 23 45 43 56 34C67 26 68 17 77 24C86 32 93 47 103 32C114 14 121 14 130 22C139 30 144 37 154 26C164 15 171 37 189 20' stroke='%23EF1238' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
    }

    .renovatar-card {
      padding: 22px;
      min-height: 300px;
      text-align: center;
    }

    .renovatar-card h3 {
      text-align: left;
      font-size: 16px;
      margin-bottom: 18px;
    }

    .renovatar-face {
      width: 132px;
      height: 132px;
      margin: 4px auto 12px;
      border-radius: 50%;
      background:
        radial-gradient(circle at 50% 32%, #ffd6cf 0 16%, transparent 17%),
        radial-gradient(circle at 42% 42%, #111 0 2%, transparent 3%),
        radial-gradient(circle at 58% 42%, #111 0 2%, transparent 3%),
        linear-gradient(145deg, #0f121a 0 45%, #ffecf0 46% 60%, #111 61%);
      border: 3px solid var(--red);
      box-shadow: 0 16px 30px var(--red-glow);
    }

    .level-title {
      font-size: 20px;
      font-weight: 950;
    }

    .level-text {
      color: var(--muted);
      font-size: 13px;
      margin: 8px 0 10px;
    }

    .progress {
      height: 8px;
      background: #e6e7eb;
      border-radius: 999px;
      overflow: hidden;
      margin: 0 auto 18px;
      width: 80%;
    }

    .progress span {
      display: block;
      height: 100%;
      width: 58%;
      background: var(--red);
      border-radius: 999px;
    }

    .outline-btn {
      padding: 10px 15px;
      border-radius: 10px;
      background: #fff;
      color: var(--text);
      border: 1px solid var(--line);
      font-weight: 850;
    }

    /* CONTENT */

    .content-grid {
      display: grid;
      grid-template-columns: 1.2fr 0.9fr 0.7fr;
      gap: 16px;
    }

    .section-card {
      padding: 24px;
    }

    .section-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 20px;
    }

    .section-head h2 {
      font-size: 20px;
      letter-spacing: -0.5px;
    }

    .soft-btn {
      padding: 9px 14px;
      border-radius: 999px;
      background: #fff;
      border: 1px solid var(--line);
      font-weight: 800;
      color: var(--text);
    }

    .activity-list {
      display: grid;
    }

    .activity-item {
      display: grid;
      grid-template-columns: 44px 1fr auto auto;
      align-items: center;
      gap: 16px;
      padding: 14px 0;
      border-bottom: 1px solid var(--line);
    }

    .activity-item:last-child {
      border-bottom: none;
    }

    .activity-icon {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: var(--red);
      color: #fff;
      font-weight: 950;
    }

    .activity-title {
      font-weight: 900;
      margin-bottom: 4px;
    }

    .activity-subtitle {
      color: var(--muted);
      font-size: 13px;
    }

    .activity-time {
      color: var(--muted);
      font-size: 13px;
      white-space: nowrap;
    }

    .pill {
      padding: 8px 12px;
      border-radius: 10px;
      font-size: 12px;
      font-weight: 900;
      background: var(--red-soft);
      color: var(--red);
      white-space: nowrap;
    }

    .pill.gray {
      background: #f1f2f4;
      color: #4f5662;
    }

    .pill.green {
      background: var(--green-soft);
      color: var(--green);
    }

    .project-list {
      display: grid;
      gap: 14px;
    }

    .project-row {
      display: grid;
      grid-template-columns: 122px 1fr auto;
      align-items: center;
      gap: 16px;
      padding-bottom: 14px;
      border-bottom: 1px solid var(--line);
    }

    .project-row:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }

    .project-thumb {
      height: 72px;
      border-radius: 12px;
      display: grid;
      place-items: center;
      color: #fff;
      font-weight: 950;
      text-transform: uppercase;
      text-align: center;
      background:
        radial-gradient(circle at 70% 40%, rgba(239,18,56,.9), transparent 38%),
        linear-gradient(135deg, #11131a, #2b0a12);
      overflow: hidden;
    }

    .project-info strong {
      display: block;
      font-size: 15px;
      margin-bottom: 6px;
    }

    .project-info span {
      display: block;
      color: var(--muted);
      font-size: 13px;
      margin-bottom: 8px;
    }

    .project-tags {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .tag {
      padding: 7px 9px;
      border-radius: 999px;
      background: #f4f5f7;
      color: #3f4651;
      font-size: 12px;
      font-weight: 850;
    }

    .save-btn {
      width: 34px;
      height: 42px;
      border: 2px solid var(--red);
      border-radius: 11px;
      background: #fff;
      color: var(--red);
      font-weight: 950;
    }

    .task-list {
      display: grid;
      gap: 8px;
    }

    .task-item {
      display: grid;
      grid-template-columns: 52px 1fr auto;
      align-items: center;
      gap: 14px;
      padding: 16px 0;
      border-bottom: 1px solid var(--line);
    }

    .task-item:last-child {
      border-bottom: none;
    }

    .task-icon {
      width: 44px;
      height: 44px;
      border-radius: 13px;
      background: var(--red-soft);
      color: var(--red);
      display: grid;
      place-items: center;
      font-weight: 950;
    }

    .task-title {
      font-weight: 900;
      margin-bottom: 4px;
    }

    .task-subtitle {
      font-size: 13px;
      color: var(--muted);
    }

    .task-date {
      text-align: right;
      font-size: 13px;
      color: var(--muted);
    }

    .task-date strong {
      display: block;
      color: var(--text);
      margin-bottom: 4px;
    }

    /* FILTERS */

    .filter-card {
      padding: 24px;
    }

    .filter-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin: 18px 0 20px;
    }

    .filter-btn {
      padding: 10px 14px;
      border-radius: 999px;
      background: #f2f3f5;
      color: #404753;
      font-weight: 900;
    }

    .filter-btn.active {
      background: var(--red);
      color: #fff;
      box-shadow: 0 10px 22px var(--red-glow);
    }

    .match-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
    }

    .match-box {
      padding: 18px;
      border-radius: 18px;
      background: var(--panel-soft);
      border: 1px solid var(--line);
    }

    .match-box small {
      display: block;
      color: var(--muted);
      font-weight: 800;
      margin-bottom: 8px;
    }

    .match-box strong {
      display: block;
      font-size: 24px;
      letter-spacing: -0.6px;
    }

    /* ACTIVE PROJECTS */

    .bottom-card {
      padding: 22px 24px;
    }

    .active-projects {
      display: grid;
      grid-template-columns: repeat(3, 1fr) 0.9fr;
      gap: 16px;
    }

    .active-project {
      display: grid;
      grid-template-columns: 150px 1fr;
      gap: 16px;
      align-items: center;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: #fff;
      overflow: hidden;
    }

    .active-project .project-thumb {
      height: 96px;
      border-radius: 0;
    }

    .active-project-content strong {
      font-size: 14px;
    }

    .active-project-content span {
      display: block;
      color: var(--muted);
      font-size: 12px;
      margin: 8px 0;
    }

    .mini-progress {
      width: 82%;
      height: 7px;
      border-radius: 999px;
      background: #e8e9ed;
      overflow: hidden;
    }

    .mini-progress span {
      display: block;
      height: 100%;
      background: var(--red);
      border-radius: 999px;
    }

    .new-project-box {
      min-height: 96px;
      border: 1px dashed rgba(239, 18, 56, 0.35);
      border-radius: 18px;
      display: grid;
      place-items: center;
      color: var(--red);
      font-weight: 950;
      background: rgba(255,255,255,.6);
    }

    .new-project-box span {
      display: inline-grid;
      place-items: center;
      width: 42px;
      height: 42px;
      border: 2px solid var(--red);
      border-radius: 50%;
      margin-right: 10px;
      font-size: 24px;
      vertical-align: middle;
    }

    .hidden {
      display: none !important;
    }

    @media (max-width: 1200px) {
  .topbar {
    flex-wrap: wrap;
    height: auto;
    padding: 14px 0;
    align-items: center;
  }

  .brand {
    flex: 0 0 auto;
  }

  .top-actions {
    margin-left: auto;
  }

  .nav {
    order: 3;
    width: 100%;
    flex: 0 0 100%;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    padding: 8px 0 2px;
  }

  .nav-btn {
    flex: 0 0 auto;
    font-size: 13px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--line);
  }

  .top-grid {
    grid-template-columns: 1fr 1fr;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .active-projects {
    grid-template-columns: 1fr 1fr;
  }
}

    @media (max-width: 760px) {
      .dashboard-shell {
        width: min(100% - 24px, 1500px);
      }

      .topbar {
        height: auto;
        padding: 14px 0;
        align-items: flex-start;
      }

      .top-actions {
      flex-direction: row;
      align-items: center;
      margin-left: 0;
      width: 100%;
      justify-content: space-between;
      }

      .top-grid,
      .match-grid,
      .active-projects {
        grid-template-columns: 1fr;
      }

      .activity-item,
      .project-row,
      .task-item {
        grid-template-columns: 1fr;
      }

      .active-project {
        grid-template-columns: 1fr;
      }

      .hero-title {
        font-size: 30px;
      }

      .topbar {
  backdrop-filter: none;
}

.card,
.metric-card,
.section-card,
.bottom-card {
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

    }
  
  .brand-mark {
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #f2f2f4;
  box-shadow: 0 0 0 3px rgba(239, 18, 56, 0.12);
}

.chevron {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fafafa;
  border: 1px solid var(--line);
  font-weight: 900;
  transition: transform 0.2s ease;
}

.profile-wrapper.open .chevron {
  transform: rotate(180deg);
}


.dropdown-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #f2f2f4;
  box-shadow: 0 0 0 3px rgba(239, 18, 56, 0.12);
}

.change-photo-btn {
  padding: 7px 9px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red);
  font-weight: 900;
  font-size: 11px;
  white-space: nowrap;
}

.dropdown-plus {
  color: var(--red);
  font-weight: 950;
}

.logout {
  color: #b42335;
}
  


/* LIGHT MODE */
[data-theme="light"] {
  --bg: #f7f7f8;
  --panel: #ffffff;
  --panel-soft: #fbfbfc;
  --text: #111217;
  --muted: #696f7a;
  --muted-2: #9ba1ad;
  --line: rgba(17, 18, 23, 0.08);

  --red: #ef1238;
  --red-2: #ff3b5c;
  --red-soft: rgba(239, 18, 56, 0.09);
  --red-glow: rgba(239, 18, 56, 0.22);

  --shadow: 0 18px 40px rgba(20, 20, 30, 0.08);
}

/* =========================================================
RENOVAHUB DASHBOARD — THEME SYSTEM
Claro por defecto + oscuro por data-theme
========================================================= */

html {
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;

  --bg: #07080c;
  --panel: #11131a;
  --panel-soft: #151822;
  --text: #f4f7fb;
  --muted: #aeb7c8;
  --muted-2: #7f8899;
  --line: rgba(255, 255, 255, 0.08);

  --red: #ff2146;
  --red-2: #d91334;
  --red-soft: rgba(255, 33, 70, 0.12);
  --red-glow: rgba(255, 33, 70, 0.24);

  --green: #1fdb83;
  --green-soft: rgba(31, 219, 131, 0.12);

  --yellow: #ffcc66;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 33, 70, 0.16), transparent 30%),
    radial-gradient(circle at 90% 12%, rgba(255, 33, 70, 0.08), transparent 25%),
    linear-gradient(180deg, #08090e 0%, #0b0d13 45%, #07080c 100%);
  color: var(--text);
}

html[data-theme="dark"] .topbar {
  background: rgba(8, 9, 14, 0.86);
  border-bottom: 1px solid var(--line);
}

html[data-theme="dark"] .card,
html[data-theme="dark"] .hero-card,
html[data-theme="dark"] .metric-card,
html[data-theme="dark"] .renovatar-card,
html[data-theme="dark"] .section-card,
html[data-theme="dark"] .filter-card,
html[data-theme="dark"] .bottom-card {
  background: rgba(17, 19, 26, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

html[data-theme="dark"] .profile-chip,
html[data-theme="dark"] .rcoins-chip,
html[data-theme="dark"] .outline-btn,
html[data-theme="dark"] .soft-btn,
html[data-theme="dark"] .dropdown-item {
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  border: 1px solid var(--line);
}

html[data-theme="dark"] .profile-dropdown {
  background: #11131a;
  border: 1px solid var(--line);
}

html[data-theme="dark"] .profile-dropdown-head {
  border-bottom: 1px solid var(--line);
}

html[data-theme="dark"] .chevron {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
}

html[data-theme="dark"] .metric-link,
html[data-theme="dark"] .project-info strong,
html[data-theme="dark"] .task-title,
html[data-theme="dark"] .activity-title,
html[data-theme="dark"] .section-head h2,
html[data-theme="dark"] .metric-title,
html[data-theme="dark"] .metric-value,
html[data-theme="dark"] .level-title {
  color: var(--text);
}

html[data-theme="dark"] .project-info span,
html[data-theme="dark"] .task-subtitle,
html[data-theme="dark"] .activity-subtitle,
html[data-theme="dark"] .activity-time,
html[data-theme="dark"] .task-date,
html[data-theme="dark"] .level-text,
html[data-theme="dark"] .hero-copy {
  color: var(--muted);
}

html[data-theme="dark"] .tag,
html[data-theme="dark"] .filter-btn {
  background: rgba(255,255,255,0.06);
  color: #d8deea;
}

html[data-theme="dark"] .filter-btn.active {
  background: var(--red);
  color: #fff;
}

html[data-theme="dark"] .match-box,
html[data-theme="dark"] .active-project {
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--line);
}

html[data-theme="dark"] .project-thumb {
  background:
    radial-gradient(circle at 70% 40%, rgba(255,33,70,.9), transparent 38%),
    linear-gradient(135deg, #171923, #310915);
}

html[data-theme="dark"] .progress,
html[data-theme="dark"] .mini-progress {
  background: rgba(255,255,255,0.10);
}

html[data-theme="dark"] .new-project-box {
  background: rgba(255,255,255,0.035);
  border: 1px dashed rgba(255,33,70,0.42);
}

html[data-theme="dark"] .save-btn {
  background: rgba(255,255,255,0.04);
  color: var(--red);
  border-color: var(--red);
}

html[data-theme="dark"] .pill.gray {
  background: rgba(255,255,255,0.07);
  color: #cfd6e4;
}

html[data-theme="dark"] .avatar-img,
html[data-theme="dark"] .dropdown-avatar-img {
  background: #191c26;
}

html[data-theme="dark"] .dropdown-item:hover {
  background: var(--red-soft);
  color: var(--red);
}

.upgrade-card {
  padding: 24px;
  overflow: hidden;
  position: relative;
}

.upgrade-card::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 33, 70, 0.18), transparent 65%);
  pointer-events: none;
}

.upgrade-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr 1.1fr;
  gap: 16px;
}

.plan-card {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  display: flex;
  flex-direction: column;
  min-height: 265px;
}

.plan-card h3 {
  font-size: 26px;
  margin: 12px 0 8px;
  letter-spacing: -0.8px;
}

.plan-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.plan-card ul {
  list-style: none;
  display: grid;
  gap: 9px;
  margin-bottom: 18px;
}

.plan-card li {
  color: var(--text);
  font-size: 13px;
  font-weight: 750;
}

.plan-card li::before {
  content: "✓";
  color: var(--red);
  font-weight: 950;
  margin-right: 8px;
}

.plan-badge {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.plan-badge.red {
  background: rgba(255, 33, 70, 0.14);
  color: var(--red);
}

.plan-badge.gold {
  background: rgba(255, 204, 102, 0.15);
  color: #ffcc66;
}

.plan-plus {
  border-color: rgba(255, 33, 70, 0.28);
  box-shadow: 0 0 30px rgba(255, 33, 70, 0.08);
}

.plan-founder {
  border-color: rgba(255, 204, 102, 0.35);
  box-shadow: 0 0 34px rgba(255, 204, 102, 0.08);
}

.plan-btn {
  margin-top: auto;
  min-height: 44px;
  border-radius: 13px;
  font-weight: 950;
  color: var(--text);
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--line);
}

.plan-btn.red {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-2));
  box-shadow: 0 14px 28px var(--red-glow);
}

.plan-btn.gold {
  color: #1d1300;
  background: linear-gradient(135deg, #ffd76b, #d99a19);
  box-shadow: 0 14px 28px rgba(255, 204, 102, 0.18);
}

.plan-btn.muted {
  color: var(--muted);
}

@media (max-width: 980px) {
  .upgrade-grid {
    grid-template-columns: 1fr;
  }
}

.card,
.metric-card,
.section-card,
.bottom-card,
.upgrade-card {
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.card:hover,
.metric-card:hover,
.section-card:hover,
.bottom-card:hover,
.upgrade-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 33, 70, 0.18);
  box-shadow:
    var(--shadow),
    0 0 34px rgba(255, 33, 70, 0.08);
}

.metric-icon,
.coin-icon,
.activity-icon,
.task-icon {
  animation: softPulse 2.8s ease-in-out infinite;
}

@keyframes softPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 12px 24px var(--red-glow);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 16px 32px var(--red-glow);
  }
}

.primary-btn,
.plan-btn.red,
.plan-btn.gold {
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.primary-btn:hover,
.plan-btn.red:hover,
.plan-btn.gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}
/* =========================
VERIFICATION CARD FIX
========================= */

.verification-card {
  padding: 24px;
  border-color: rgba(255, 33, 70, 0.22);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 33, 70, 0.12), transparent 28%),
    var(--panel);
}

.verification-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.verification-kicker {
  display: inline-block;
  color: var(--red);
  font-size: 13px;
  font-weight: 950;
  margin-bottom: 8px;
}

.verification-head h2 {
  font-size: 25px;
  margin-bottom: 8px;
}

.verification-head p {
  color: var(--muted);
  line-height: 1.5;
}

.verification-status-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red);
  font-weight: 950;
  white-space: nowrap;
}

.verification-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.verification-step {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--line);
}

.verification-step strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

.verification-step span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 14px;
}

.verification-step.done {
  border-color: rgba(31, 219, 131, 0.25);
  background: rgba(31, 219, 131, 0.08);
}

.verification-step button {
  min-height: 38px;
  padding: 0 13px;
  margin-right: 8px;
  margin-top: 6px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red), var(--red-2));
  color: #fff;
  font-weight: 900;
}

.verification-step button.secondary {
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border: 1px solid var(--line);
}

@media (max-width: 900px) {
  .verification-head,
  .verification-steps {
    grid-template-columns: 1fr;
  }

  .verification-head {
    flex-direction: column;
  }
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.success {
  border-left: 4px solid #1fdb83;
}

.toast.error {
  border-left: 4px solid #ff2146;
}

.toast.info {
  border-left: 4px solid #50d1ff;
}

/* =========================================
PREMIUM FLOATING UI
========================================= */

.card,
.metric-card,
.section-card,
.wallet-card,
.plan-card,
.renovatar-card,
.hero-card,
.bottom-card {
  position: relative;
  overflow: hidden;

  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease,
    background .22s ease;
}

/* Glow interno premium */

.card::before,
.metric-card::before,
.section-card::before,
.wallet-card::before,
.plan-card::before,
.renovatar-card::before,
.hero-card::before,
.bottom-card::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at top left,
      rgba(255,255,255,.06),
      transparent 34%
    );

  opacity: 0;

  transition: opacity .22s ease;

  pointer-events: none;
}

/* Hover */

.card:hover,
.metric-card:hover,
.section-card:hover,
.wallet-card:hover,
.plan-card:hover,
.renovatar-card:hover,
.hero-card:hover,
.bottom-card:hover {

  transform: translateY(-6px);

  border-color: rgba(255,255,255,.14);

  box-shadow:
    0 24px 60px rgba(0,0,0,.22),
    0 0 30px rgba(255,77,87,.08);
}

.card:hover::before,
.metric-card:hover::before,
.section-card:hover::before,
.wallet-card:hover::before,
.plan-card:hover::before,
.renovatar-card:hover::before,
.hero-card:hover::before,
.bottom-card:hover::before {
  opacity: 1;
}

/* Glow premium founder */

.plan-founder:hover {
  box-shadow:
    0 24px 60px rgba(0,0,0,.28),
    0 0 44px rgba(255,215,107,.22);
}

/* Glow premium plus */

.plan-plus:hover {
  box-shadow:
    0 24px 60px rgba(0,0,0,.28),
    0 0 44px rgba(70,217,255,.18);
}

/* Botones más vivos */

.primary-btn,
.plan-btn,
.soft-btn,
.nav-btn {
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    opacity .18s ease;
}

.primary-btn:hover,
.plan-btn:hover,
.soft-btn:hover,
.nav-btn:hover {
  transform: translateY(-2px);
}

/* Renovatar breathing */

.renovatar-face {
  animation: renovatarFloat 3.5s ease-in-out infinite;
}

@keyframes renovatarFloat {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-6px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* =========================================
SKELETON LOADERS
========================================= */

.skeleton {
  position: relative;
  overflow: hidden;

  background: rgba(255,255,255,.04);

  border-radius: 14px;
}

.skeleton::before {
  content: "";

  position: absolute;
  inset: 0;

  transform: translateX(-100%);

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,.08),
      transparent
    );

  animation: skeletonMove 1.3s infinite;
}

@keyframes skeletonMove {
  100% {
    transform: translateX(100%);
  }
}

/* Hero */

.hero-skeleton {
  height: 220px;
}

/* Metric cards */

.metric-skeleton {
  height: 170px;
}

/* Lists */

.list-skeleton {
  height: 82px;
  border-radius: 20px;
}

/* Wallet */

.wallet-skeleton {
  height: 140px;
}

/* Active projects */

.project-skeleton {
  height: 110px;
  border-radius: 22px;
}

/* =========================================
RENOVAHUB PREMIUM TOASTS
========================================= */

.toast-container {
  position: fixed;

  top: 24px;
  right: 24px;

  display: flex;
  flex-direction: column;
  gap: 14px;

  z-index: 999999;
}

.toast {
  min-width: 300px;
  max-width: 420px;

  padding: 16px 18px;

  border-radius: 18px;

  backdrop-filter: blur(16px);

  border: 1px solid rgba(255,255,255,.08);

  background:
    linear-gradient(
      180deg,
      rgba(22,24,32,.96),
      rgba(14,16,22,.98)
    );

  color: white;

  box-shadow:
    0 18px 44px rgba(0,0,0,.32);

  display: flex;
  align-items: flex-start;
  gap: 14px;

  animation:
    toastIn .22s ease;
}

.toast.success {
  border-color: rgba(53,208,127,.22);

  box-shadow:
    0 18px 44px rgba(0,0,0,.32),
    0 0 24px rgba(53,208,127,.10);
}

.toast.error {
  border-color: rgba(255,77,87,.22);

  box-shadow:
    0 18px 44px rgba(0,0,0,.32),
    0 0 24px rgba(255,77,87,.12);
}

.toast.info {
  border-color: rgba(70,217,255,.22);

  box-shadow:
    0 18px 44px rgba(0,0,0,.32),
    0 0 24px rgba(70,217,255,.10);
}

.toast-icon {
  font-size: 22px;
  line-height: 1;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 800;
  margin-bottom: 4px;
}

.toast-message {
  color: rgba(255,255,255,.74);
  line-height: 1.5;
  font-size: 14px;
}

.toast-close {
  background: transparent;
  border: none;
  color: rgba(255,255,255,.5);

  cursor: pointer;

  font-size: 18px;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform:
      translateY(-10px)
      translateX(10px);
  }

  to {
    opacity: 1;
    transform:
      translateY(0)
      translateX(0);
  }
}
