﻿@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=EB+Garamond:ital,wght@0,500;1,500;1,600&display=swap');

.profile-top-button {
  position: absolute;
  right: 18px;
  top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  color: #f2ebd7 !important;
  background: rgba(15, 10, 7, 0.82);
  border: 1px solid rgba(179, 139, 91, 0.55);
  text-decoration: none;
  text-transform: uppercase;
  font-family: 'Playfair Display', serif;
  font-size: 11px;
}

.profile-icon,
.plan-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  color: #111;
  background: #d7b16f;
  font-weight: bold;
  border-radius: 50%;
}

.platform-hero,
.platform-section {
  margin-bottom: 18px;
}

.platform-home-panel {
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(20, 14, 10, .78), rgba(73, 33, 16, .45)),
    url('../imgs/game/3.jpg') center / cover;
  border: 1px solid rgba(179, 139, 91, 0.42);
}

.platform-tool-panel {
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(20, 14, 10, .88), rgba(78, 31, 14, .52)),
    url('../img/tools/devmetin2tools-fondo.png') center / cover;
  border: 1px solid rgba(179, 139, 91, 0.42);
}

.platform-guide-panel {
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(20, 14, 10, .9), rgba(69, 38, 17, .48)),
    url('../imgs/game/5.jpg') center / cover;
  border: 1px solid rgba(179, 139, 91, 0.42);
}

.platform-home-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #f7c56d;
  text-transform: uppercase;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 12px;
  font-weight: bold;
}

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

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.platform-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.platform-card {
  padding: 14px;
  background: rgba(8, 6, 5, 0.45);
  border: 1px solid rgba(179, 139, 91, 0.35);
  color: #d8d1c6;
}

.platform-download-card {
  margin-top: 14px;
}

.platform-card h2,
.platform-card h3 {
  margin-top: 0;
  color: #f2ebd7;
}

.tool-media {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border: 1px solid rgba(179, 139, 91, 0.35);
}

.market-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0;
}

.auth-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 16px;
}

.auth-form {
  display: grid;
  gap: 8px;
  max-width: 360px;
}

.auth-form label {
  color: #f2ebd7;
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: bold;
}

.auth-input {
  box-sizing: border-box;
  width: 100%;
}

.auth-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-check input {
  width: auto;
}

.auth-submit {
  width: max-content;
  min-width: 125px;
}

.market-tabs a,
.platform-action {
  display: inline-block;
  padding: 9px 16px;
  color: #f2ebd7 !important;
  background: rgba(8, 6, 5, .5);
  border: 1px solid rgba(255, 213, 121, .5);
  border-radius: 6px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: .5px;
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, color .2s ease, border-color .2s ease, filter .18s ease;
}

.market-tabs a:hover,
.platform-action:hover {
  color: #ffe1a1 !important;
  border-color: rgba(255, 225, 161, .85);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .4);
}

.platform-action.primary {
  border-color: #ffe1a1;
}

.platform-action.primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 10px 26px rgba(255, 168, 60, .45);
}

.platform-input,
.platform-select,
.platform-textarea {
  width: 100%;
  max-width: 320px;
  margin: 4px 0 10px;
  padding: 8px;
  color: #1f1b17;
  background: #c2b6a0;
  border: 1px solid #80694a;
}

.platform-textarea {
  min-height: 90px;
}

[data-role-only][hidden],
[data-premium-only][hidden],
[data-non-premium-only][hidden] {
  display: none !important;
}

body[data-require-login="true"]:not([data-access-ready="true"]) main,
body[data-require-premium="true"]:not([data-access-ready="true"]) main {
  visibility: hidden;
}

.supabase-error {
  color: #f1977d;
}

.supabase-success {
  color: #aee6a1;
}

@media (max-width: 900px) {
  .platform-grid,
  .platform-grid.two {
    grid-template-columns: 1fr;
  }

  .profile-top-button {
    position: static;
    margin: 8px 0 0 16px;
  }
}

.static-auth-page {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: Rajdhani, Arial, sans-serif;
  color: #f2ebd7;
  background:
    linear-gradient(180deg, rgba(10, 8, 6, .82), rgba(8, 6, 4, .92)),
    url('../img/background.jpg') center top / cover fixed,
    #15110d;
}

.static-site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(16px, 3vw, 38px);
  min-height: 104px;
  padding: 8px clamp(16px, 4vw, 48px);
  background: rgba(9, 6, 4, .82);
  border-bottom: 1px solid rgba(179, 139, 91, .34);
  backdrop-filter: blur(10px);
}

.static-site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffe1a1;
  text-decoration: none;
  text-transform: uppercase;
  font-family: 'Cinzel', 'Roboto Slab', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
}

.static-site-brand img {
  width: 124px;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .6));
}

/* Cifras de caja alta para que el "2" de Metin2 no se vea pequeno */
.static-site-brand,
.static-site-nav a,
.static-site-actions .site-btn,
.news-headline h1,
.static-home-hero h1,
.static-home-stat strong,
h1, h2, h3 {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

/* Enlaces de seccion (estilo texto, como la referencia) */
.static-site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
}

.static-site-nav a {
  position: relative;
  padding: 6px 2px;
  color: #e7dcc6;
  background: none;
  border: 0;
  box-shadow: none;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .6px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.static-site-nav a:hover {
  color: #ffe1a1;
  border-bottom-color: rgba(255, 213, 121, .5);
}

.static-site-nav a.is-active {
  color: #ffd479;
  border-bottom-color: #c88435;
}

/* Botones de accion a la derecha */
.static-site-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}

.static-site-actions .site-btn {
  padding: 9px 16px;
  border-radius: 6px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 12px;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, color .2s ease, border-color .2s ease;
}

.static-site-actions .site-btn-ghost {
  color: #f2ebd7;
  background: rgba(8, 6, 5, .4);
  border: 1px solid rgba(255, 213, 121, .5);
}

.static-site-actions .site-btn-ghost:hover {
  color: #ffe1a1;
  border-color: rgba(255, 225, 161, .85);
}

.static-site-actions .site-btn-primary {
  color: #1d1209;
  background: linear-gradient(180deg, #ffe98a, #e0a23c);
  border: 1px solid #ffe1a1;
  box-shadow: 0 0 18px rgba(255, 196, 96, .45);
}

.static-site-actions .site-btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 6px 22px rgba(255, 196, 96, .65);
}

.static-auth-shell {
  flex: 1;
  min-height: calc(100vh - 104px);
  display: block;
  padding: clamp(18px, 4vw, 48px);
}

/* Mismo ancho exacto y separacion vertical en TODAS las paginas */
.static-home-shell,
.static-tool-shell,
.static-guide-shell,
.static-dashboard-shell,
.static-sales-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  padding: clamp(20px, 3.5vw, 46px);
  padding-bottom: clamp(48px, 6vw, 90px);
}

/* Cada panel/seccion directo ocupa el mismo ancho maximo y queda centrado */
.static-home-shell > *,
.static-tool-shell > *,
.static-guide-shell > *,
.static-dashboard-shell > *,
.static-sales-shell > * {
  width: 100% !important;
  max-width: 1240px !important;
  margin: 0 !important;
}

.static-auth-card {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px);
  background: linear-gradient(135deg, rgba(20, 14, 10, .92), rgba(20, 14, 10, .72));
  border: 1px solid rgba(179, 139, 91, .45);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
}

.static-auth-card h1 {
  margin: 0 0 12px;
  color: #ffe1a1;
  font-family: 'Cinzel', 'Roboto Slab', Georgia, serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.static-auth-card p {
  max-width: 760px;
  color: #d8c6aa;
  font-size: 18px;
  line-height: 1.55;
}

.static-home-hero {
  position: relative;
  overflow: hidden;
  width: min(1200px, 100%);
  min-height: 420px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 52px);
  display: grid;
  align-content: center;
  background:
    linear-gradient(90deg, rgba(8, 5, 3, .97) 0%, rgba(12, 8, 6, .93) 55%, rgba(10, 7, 5, .9) 100%),
    url('../images/0PpgCnLD9_A_big.jpg') center / cover;
  border: 1px solid rgba(255, 213, 121, .4);
  border-radius: 14px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
}

.static-home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffd479, #c88435, #ffd479, transparent);
  box-shadow: 0 0 18px rgba(255, 196, 96, .5);
  pointer-events: none;
}

.static-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 210, 116, .16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, .05), transparent 34%);
}

.static-home-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.static-home-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: #f7c56d;
  text-transform: uppercase;
  letter-spacing: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 13px;
  font-weight: 700;
}

.static-home-hero h1 {
  margin: 0 0 16px;
  color: #fff3c9;
  font-family: 'Cinzel', 'Roboto Slab', Georgia, serif;
  font-size: clamp(44px, 6vw, 78px);
  line-height: .98;
  text-shadow: 0 6px 22px rgba(0, 0, 0, .82);
}

.static-home-lead {
  max-width: 620px !important;
  margin-bottom: 26px !important;
  color: #f1dfbf !important;
  font-size: clamp(19px, 2.2vw, 25px) !important;
}

.static-home-actions,
.static-home-stats,
.static-home-grid {
  position: relative;
  z-index: 1;
}

.static-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.platform-action.primary {
  color: #1d1209 !important;
  background: linear-gradient(180deg, #ffe1a1, #c88435);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}

.platform-action.danger {
  background: linear-gradient(180deg, #8f2f21, #4f1510);
  border: 1px solid rgba(255, 170, 130, .45);
}

.static-home-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
}

.static-home-stat {
  padding: 12px 14px;
  background: rgba(8, 6, 5, .62);
  border: 1px solid rgba(255, 213, 121, .28);
  border-radius: 9px;
}

.static-home-stat strong {
  display: block;
  color: #ffe1a1;
  font-family: 'Cinzel', 'Roboto Slab', Georgia, serif;
  font-size: 22px;
}

.static-home-stat span {
  color: #d8c6aa;
  font-size: 14px;
  text-transform: uppercase;
}

.static-home-grid {
  width: min(1200px, 100%);
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.static-home-card {
  min-height: 160px;
  padding: 24px 22px;
  background: linear-gradient(180deg, rgba(22, 15, 10, .9), rgba(8, 6, 5, .8));
  border: 1px solid rgba(255, 213, 121, .28);
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .3);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.static-home-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 213, 121, .6);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .45), 0 0 24px rgba(255, 196, 96, .16);
}

.static-home-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  font-size: 22px;
  color: #1d1209;
  background: linear-gradient(180deg, #ffe1a1, #c88435);
  border-radius: 11px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
}

.static-home-card h2 {
  margin: 0 0 8px;
  color: #ffe1a1;
  font-family: 'Cinzel', 'Roboto Slab', Georgia, serif;
  font-size: 24px;
}

.static-home-card p {
  margin: 0 0 16px;
  color: #d8c6aa;
  font-size: 16px;
}

.static-tool-hero {
  width: min(1200px, 100%);
  margin: 0 auto;
  min-height: 420px;
  padding: clamp(24px, 4vw, 46px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
  gap: 28px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(15, 10, 7, .94), rgba(46, 21, 12, .78)),
    url('../imgs/game/bg.jpg') center / cover;
  border: 1px solid rgba(255, 225, 161, .36);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .5);
}

.static-tool-copy h1 {
  margin: 0 0 16px;
  color: #fff3c9;
  font-family: 'Cinzel', 'Roboto Slab', Georgia, serif;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
  text-shadow: 0 6px 22px rgba(0, 0, 0, .8);
}

.static-tool-copy p {
  max-width: 580px;
  margin: 0 0 24px;
  color: #f1dfbf;
  font-size: clamp(18px, 2vw, 23px);
}

.static-tool-preview {
  width: 100%;
  max-width: 340px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  background: rgba(8, 6, 5, .5);
  border: 1px solid rgba(255, 213, 121, .32);
  border-radius: 12px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .42);
}

.static-tool-grid {
  width: min(1200px, 100%);
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.static-tool-feature,
.static-tool-download {
  background: linear-gradient(180deg, rgba(20, 14, 10, .9), rgba(8, 6, 5, .78));
  border: 1px solid rgba(179, 139, 91, .35);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .28);
}

.static-tool-feature {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.static-tool-feature span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  color: #1d1209;
  background: linear-gradient(180deg, #ffe1a1, #c88435);
  border-radius: 8px;
  font-family: 'Cinzel', 'Roboto Slab', Georgia, serif;
  font-weight: 700;
}

.static-tool-feature h2,
.static-tool-download h2 {
  margin: 0 0 10px;
  color: #ffe1a1;
  font-family: 'Cinzel', 'Roboto Slab', Georgia, serif;
}

/* Titulos de funcion a la misma altura para alinear las descripciones */
.static-tool-feature h2 {
  min-height: 2.5em;
  display: flex;
  align-items: flex-start;
}

.static-tool-feature p,
.static-tool-download p {
  margin: 0;
  color: #d8c6aa;
  font-size: 16px;
}

.static-tool-download {
  width: min(1200px, 100%);
  margin: 18px auto 0;
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.static-tool-warning {
  grid-template-columns: 1fr;
}

.static-tool-warning p {
  margin: 10px 0 0 !important;
}

.static-tool-warning ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: #d8c6aa;
  font-size: 16px;
  line-height: 1.6;
}

.static-tool-warning ul li {
  margin-bottom: 6px;
}

.static-tool-warning a {
  color: #ffe1a1;
}

.platform-warning-card ul {
  margin: 10px 0;
  padding-left: 20px;
  color: #d8c6aa;
  font-size: 15px;
  line-height: 1.6;
}

.platform-warning-card ul li {
  margin-bottom: 6px;
}

.platform-warning-card p {
  margin: 10px 0 0;
  color: #d8c6aa;
  font-size: 15px;
}

.platform-warning-card a {
  color: #ffe1a1;
}

.static-guide-hero {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  background:
    linear-gradient(90deg, rgba(8, 5, 3, .96), rgba(14, 9, 6, .9) 55%, rgba(12, 8, 6, .82)),
    url('../imgs/game/2.jpg') center / cover;
  border: 1px solid rgba(255, 225, 161, .36);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .5);
}

.static-guide-hero h1 {
  margin: 0 0 14px;
  color: #fff3c9;
  font-family: 'Cinzel', 'Roboto Slab', Georgia, serif;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
  text-shadow: 0 6px 22px rgba(0, 0, 0, .8);
}

.static-guide-hero p {
  max-width: 640px;
  margin: 0 0 24px;
  color: #f1dfbf;
  font-size: clamp(18px, 2vw, 23px);
}

.static-guide-grid {
  width: min(1200px, 100%);
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.static-guide-card,
.static-guide-steps {
  background: linear-gradient(180deg, rgba(20, 14, 10, .9), rgba(8, 6, 5, .78));
  border: 1px solid rgba(179, 139, 91, .35);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .28);
}

.static-guide-card {
  padding: 18px;
}

.static-guide-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: #f7c56d;
  text-transform: uppercase;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 12px;
  font-weight: 700;
}

.static-guide-card h2,
.static-guide-steps h2 {
  margin: 0 0 10px;
  color: #ffe1a1;
  font-family: 'Cinzel', 'Roboto Slab', Georgia, serif;
}

.static-guide-card p {
  margin: 0;
  color: #d8c6aa;
  font-size: 16px;
}

.static-guide-steps {
  width: min(1200px, 100%);
  margin: 18px auto 0;
  padding: 22px;
}

.static-guide-steps ol {
  margin: 0;
  padding-left: 22px;
  color: #d8c6aa;
  font-size: 17px;
  line-height: 1.7;
}

.static-profile-hero,
.dashboard-panel,
.sales-section,
.static-sales-hero {
  width: min(1200px, 100%);
  margin: 0 auto;
}

.static-profile-hero {
  padding: clamp(24px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 28px;
  align-items: start;
  background: linear-gradient(135deg, rgba(20, 14, 10, .92), rgba(20, 14, 10, .72));
  border: 1px solid rgba(179, 139, 91, .45);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
}

.static-profile-hero h1,
.static-sales-hero h1 {
  margin: 0 0 12px;
  color: #ffe1a1;
  font-family: 'Cinzel', 'Roboto Slab', Georgia, serif;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
}

.static-profile-hero p,
.static-sales-hero p,
.sales-section-head p {
  color: #d8c6aa;
  font-size: 18px;
  line-height: 1.5;
}

.dashboard-panel {
  margin-top: 18px;
  padding: 20px;
  background: rgba(8, 6, 5, .5);
  border: 1px solid rgba(179, 139, 91, .35);
}

.dashboard-panel h2,
.sales-section h2 {
  margin: 0 0 16px;
  color: #ffe1a1;
  font-family: 'Cinzel', 'Roboto Slab', Georgia, serif;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.dashboard-card,
.sales-card {
  padding: 18px;
  background: linear-gradient(180deg, rgba(20, 14, 10, .9), rgba(8, 6, 5, .78));
  border: 1px solid rgba(179, 139, 91, .35);
}

.dashboard-card h3,
.sales-card h3 {
  margin: 0 0 12px;
  color: #ffe1a1;
  font-family: 'Cinzel', 'Roboto Slab', Georgia, serif;
}

.dashboard-card label {
  display: block;
  margin-top: 8px;
  color: #f2ebd7;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 13px;
  font-weight: 700;
}

.dashboard-hint {
  margin: 4px 0 8px;
  color: #c9b58f;
  font-size: 14px;
  line-height: 1.35;
}

.download-current {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  padding: 12px;
  background: rgba(8, 6, 5, .46);
  border: 1px solid rgba(179, 139, 91, .24);
}

.download-current span {
  color: #f7c56d;
  text-transform: uppercase;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 12px;
  font-weight: 700;
}

.download-current strong {
  overflow-wrap: anywhere;
  color: #d8c6aa;
}

.dashboard-table-wrap {
  overflow-x: auto;
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  color: #d8c6aa;
}

.dashboard-table th,
.dashboard-table td {
  padding: 10px;
  border-bottom: 1px solid rgba(179, 139, 91, .22);
  text-align: left;
  vertical-align: middle;
}

.dashboard-list {
  display: grid;
  gap: 10px;
  color: #d8c6aa;
}

.dashboard-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  background: rgba(8, 6, 5, .5);
  border: 1px solid rgba(179, 139, 91, .24);
}

.dashboard-list-item strong,
.dashboard-list-item span {
  display: block;
}

.dashboard-list-item span {
  margin-top: 4px;
  color: #c9b58f;
  font-size: 14px;
}

.dashboard-item-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.static-sales-hero {
  padding: clamp(28px, 5vw, 56px);
  background:
    linear-gradient(90deg, rgba(14, 8, 5, .94), rgba(42, 24, 13, .78), rgba(14, 8, 5, .42)),
    url('../imgs/game/4.jpg') center / cover;
  border: 1px solid rgba(255, 225, 161, .36);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .5);
}

.sales-section {
  margin-top: 18px;
  padding: 20px;
  background: rgba(8, 6, 5, .42);
  border: 1px solid rgba(179, 139, 91, .3);
}

.sales-section-head {
  margin-bottom: 14px;
}

.sales-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sales-extra-grid {
  margin-top: 14px;
}

.sales-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 12px;
  border: 1px solid rgba(179, 139, 91, .3);
}

.sales-card p {
  color: #d8c6aa;
  font-size: 16px;
}

.sales-price {
  margin: 0 0 10px !important;
  color: #f7c56d !important;
  font-family: 'Cinzel', 'Roboto Slab', Georgia, serif;
  font-size: 24px !important;
}

.sales-meta {
  color: #c9b58f !important;
  font-size: 14px !important;
}

.static-logo {
  display: block;
  width: 120px;
  margin: 0 0 18px;
}

.static-logo img {
  width: 100%;
  display: block;
}

.static-auth-card .auth-form {
  max-width: 520px;
  margin-top: 18px;
  padding: 20px;
  background: rgba(8, 6, 5, .42);
  border: 1px solid rgba(179, 139, 91, .25);
}

.static-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 24px;
  align-items: start;
}

.static-info-card {
  padding: 18px;
  background: rgba(8, 6, 5, .42);
  border: 1px solid rgba(179, 139, 91, .25);
}

.static-site-footer {
  padding: 18px 16px 22px;
  color: #c9b58f;
  background: rgba(9, 6, 4, .84);
  border-top: 1px solid rgba(179, 139, 91, .28);
  text-align: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 13px;
}

@media (max-width: 760px) {
  .static-site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .static-site-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .static-site-actions {
    width: 100%;
    margin-left: 0;
  }

  .static-auth-shell {
    min-height: auto;
    padding: 14px;
  }

  .static-auth-card {
    padding: 20px;
  }

  .static-profile-grid {
    grid-template-columns: 1fr;
  }

  .static-home-hero {
    min-height: auto;
  }

  .static-home-stats,
  .static-home-grid,
  .static-tool-grid,
  .static-tool-hero,
  .static-tool-download,
  .static-guide-grid,
  .static-profile-hero,
  .dashboard-grid,
  .sales-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-list-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-item-actions {
    justify-content: flex-start;
  }

  .static-tool-preview {
    max-width: 280px;
  }

  .static-auth-card .auth-form {
    padding: 14px;
  }
}

/* ==========================================================================
   Home gamer-dark (scopeado a .platform-home â€” no afecta a otras paginas)
   ========================================================================== */
.platform-home {
  display: grid;
  gap: 18px;
}

/* --- Hero --- */
.platform-home .platform-home-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 40px);
  background:
    radial-gradient(120% 120% at 12% 8%, rgba(255, 196, 96, .14), transparent 42%),
    linear-gradient(135deg, rgba(12, 8, 5, .92) 0%, rgba(40, 19, 9, .72) 55%, rgba(12, 8, 6, .55) 100%),
    url('../imgs/game/3.jpg') center / cover;
  border: 1px solid rgba(255, 213, 121, .42);
  border-radius: 10px;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, .55),
    inset 0 1px rgba(255, 225, 161, .14);
  animation: platformHomeRise .6s ease both;
}

.platform-home .platform-home-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), transparent 30%);
}

.platform-home .platform-home-panel::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #ffe1a1, #c88435 60%, transparent);
  box-shadow: 0 0 18px rgba(255, 196, 96, .6);
}

.platform-home .platform-home-kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 12px;
  color: #ffe1a1;
  background: rgba(8, 6, 5, .55);
  border: 1px solid rgba(255, 213, 121, .4);
  border-radius: 40px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 11px;
  font-weight: 700;
}

.platform-home .platform-home-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6dff8f;
  box-shadow: 0 0 10px rgba(109, 255, 143, .9);
  animation: platformHomePulse 1.8s ease-in-out infinite;
}

.platform-home .platform-home-panel h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  background: linear-gradient(180deg, #fff3c9, #f1b85a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff3c9;
  font-family: 'Cinzel', 'Roboto Slab', Georgia, serif;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.02;
  text-shadow: 0 6px 22px rgba(0, 0, 0, .55);
}

.platform-home .platform-home-lead {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 0 22px;
  color: #f1dfbf;
  font-family: Rajdhani, Arial, sans-serif;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.5;
}

.platform-home .platform-home-actions {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

/* --- Botones (hover con elevacion y brillo) --- */
.platform-home .platform-action {
  position: relative;
  border-radius: 6px;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.platform-home .platform-action:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .45);
}

.platform-home .platform-action.primary:hover {
  box-shadow: 0 12px 30px rgba(255, 168, 60, .4);
}

/* --- Stats en vivo --- */
.platform-home .platform-home-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
}

.platform-home .platform-home-stat {
  padding: 12px 14px;
  background: rgba(8, 6, 5, .58);
  border: 1px solid rgba(255, 213, 121, .26);
  border-radius: 8px;
  backdrop-filter: blur(4px);
  transition: border-color .2s ease, transform .2s ease;
}

.platform-home .platform-home-stat:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 213, 121, .55);
}

.platform-home .platform-home-stat strong {
  display: block;
  color: #ffe1a1;
  font-family: 'Cinzel', 'Roboto Slab', Georgia, serif;
  font-size: 24px;
  line-height: 1.1;
}

.platform-home .platform-home-stat span {
  color: #c9b58f;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* --- Tarjetas --- */
.platform-home .platform-home-grid {
  gap: 16px;
}

.platform-home .platform-home-card {
  position: relative;
  overflow: hidden;
  padding: 22px 20px;
  background: linear-gradient(180deg, rgba(22, 15, 10, .92), rgba(8, 6, 5, .82));
  border: 1px solid rgba(255, 213, 121, .28);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .32);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.platform-home .platform-home-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffd479, transparent);
  opacity: 0;
  transition: opacity .22s ease;
}

.platform-home .platform-home-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 213, 121, .6);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .45), 0 0 24px rgba(255, 196, 96, .18);
}

.platform-home .platform-home-card:hover::before {
  opacity: 1;
}

.platform-home .platform-home-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  font-size: 22px;
  color: #1d1209;
  background: linear-gradient(180deg, #ffe1a1, #c88435);
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
}

.platform-home .platform-home-card h3 {
  margin: 0 0 8px;
  color: #ffe1a1;
  font-family: 'Cinzel', 'Roboto Slab', Georgia, serif;
  font-size: 20px;
}

.platform-home .platform-home-card p {
  margin: 0 0 16px;
  color: #cdb99a;
  font-size: 14px;
  line-height: 1.5;
}

@keyframes platformHomeRise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes platformHomePulse {
  0%, 100% { transform: scale(1);   opacity: 1;   }
  50%      { transform: scale(1.4); opacity: .55; }
}

@media (max-width: 720px) {
  .platform-home .platform-home-stats {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Login / Auth card gamer-dark (scopeado a .auth-page)
   ========================================================================== */
.auth-page {
  display: flex;
  justify-content: center;
  padding: 14px 0 24px;
}

.auth-page .auth-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 430px;
  padding: clamp(22px, 4vw, 34px);
  background:
    radial-gradient(130% 90% at 50% -10%, rgba(255, 196, 96, .16), transparent 55%),
    linear-gradient(180deg, rgba(22, 15, 10, .96), rgba(8, 6, 5, .94));
  border: 1px solid rgba(255, 213, 121, .4);
  border-radius: 14px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, .6),
    inset 0 1px rgba(255, 225, 161, .14);
  text-align: center;
  animation: platformHomeRise .55s ease both;
}

.auth-page .auth-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffd479, #c88435, #ffd479, transparent);
  box-shadow: 0 0 18px rgba(255, 196, 96, .55);
}

.auth-page .auth-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 6px 14px;
  color: #ffe1a1;
  background: rgba(8, 6, 5, .55);
  border: 1px solid rgba(255, 213, 121, .4);
  border-radius: 40px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 10px;
  font-weight: 700;
}

.auth-page .auth-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6dff8f;
  box-shadow: 0 0 10px rgba(109, 255, 143, .9);
  animation: platformHomePulse 1.8s ease-in-out infinite;
}

.auth-page .auth-title {
  margin: 0 0 8px;
  background: linear-gradient(180deg, #fff3c9, #f1b85a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff3c9;
  font-family: 'Cinzel', 'Roboto Slab', Georgia, serif;
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1.05;
}

.auth-page .auth-sub {
  margin: 0 auto 18px;
  max-width: 320px;
  color: #cdb99a;
  font-family: Rajdhani, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

.auth-page .auth-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
  padding: 5px;
  background: rgba(8, 6, 5, .55);
  border: 1px solid rgba(255, 213, 121, .22);
  border-radius: 10px;
}

.auth-page .auth-tab {
  flex: 1;
  padding: 9px 10px;
  color: #cdb99a;
  border-radius: 7px;
  text-decoration: none;
  text-transform: uppercase;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 12px;
  font-weight: 700;
  transition: color .2s ease, background .2s ease;
}

.auth-page .auth-tab:hover {
  color: #ffe1a1;
}

.auth-page .auth-tab.is-active {
  color: #1d1209;
  background: linear-gradient(180deg, #ffe1a1, #c88435);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
}

.auth-page .auth-modern-form {
  display: grid;
  gap: 14px;
  text-align: left;
}

.auth-page .auth-field {
  display: grid;
  gap: 6px;
}

.auth-page .auth-field-label {
  color: #f2ebd7;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 11px;
  font-weight: 700;
}

.auth-page .auth-modern-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  color: #fbf4e4;
  background: rgba(8, 6, 5, .62);
  border: 1px solid rgba(255, 213, 121, .28);
  border-radius: 8px;
  font-family: Rajdhani, Arial, sans-serif;
  font-size: 16px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.auth-page .auth-modern-input::placeholder {
  color: #8a7a60;
}

.auth-page .auth-modern-input:focus {
  outline: none;
  background: rgba(8, 6, 5, .82);
  border-color: rgba(255, 213, 121, .7);
  box-shadow: 0 0 0 3px rgba(255, 196, 96, .16);
}

.auth-page .auth-remember {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #cdb99a;
  font-family: Rajdhani, Arial, sans-serif;
  font-size: 14px;
  cursor: pointer;
}

.auth-page .auth-remember input {
  width: 17px;
  height: 17px;
  accent-color: #c88435;
  cursor: pointer;
}

.auth-page .auth-btn {
  margin-top: 4px;
  padding: 13px 18px;
  color: #1d1209;
  background: linear-gradient(180deg, #ffe1a1, #c88435);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-family: 'Cinzel', 'Roboto Slab', Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.auth-page .auth-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 12px 30px rgba(255, 168, 60, .42);
}

.auth-page .auth-alert {
  margin: 0 0 14px;
  padding: 10px 12px;
  color: #ffd4c2;
  background: rgba(143, 47, 33, .35);
  border: 1px solid rgba(255, 130, 100, .42);
  border-radius: 8px;
  font-family: Rajdhani, Arial, sans-serif;
  font-size: 14px;
}

.auth-page .auth-message:not(:empty) {
  margin-bottom: 14px;
  font-family: Rajdhani, Arial, sans-serif;
  font-size: 14px;
}

.auth-page .auth-links {
  display: grid;
  gap: 6px;
  margin: 18px 0 14px;
}

.auth-page .auth-links a {
  color: #d8c6aa;
  text-decoration: none;
  font-family: Rajdhani, Arial, sans-serif;
  font-size: 14px;
  transition: color .2s ease;
}

.auth-page .auth-links a:hover {
  color: #ffe1a1;
}

.auth-page .auth-foot {
  margin: 0 0 18px;
  color: #cdb99a;
  font-family: Rajdhani, Arial, sans-serif;
  font-size: 14px;
}

.auth-page .auth-foot a {
  color: #ffe1a1;
  text-decoration: none;
  font-weight: 700;
}

.auth-page .auth-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 213, 121, .18);
}

.auth-page .auth-stat strong {
  display: block;
  color: #ffe1a1;
  font-family: 'Cinzel', 'Roboto Slab', Georgia, serif;
  font-size: 20px;
  line-height: 1.1;
}

.auth-page .auth-stat span {
  color: #a8967a;
  text-transform: uppercase;
  letter-spacing: .4px;
  font-size: 10px;
}

/* ==========================================================================
   Home tipo "Archivo de Noticias" (feed de noticias)
   ========================================================================== */
.news-headline {
  position: relative;
  overflow: hidden;
  width: min(1200px, 100%);
  margin: 22px auto 0;
  padding: clamp(26px, 4vw, 42px);
  text-align: center;
  background:
    radial-gradient(120% 140% at 50% -20%, rgba(255, 196, 96, .12), transparent 60%),
    linear-gradient(180deg, rgba(20, 14, 10, .92), rgba(8, 6, 5, .9));
  border: 1px solid rgba(255, 213, 121, .34);
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .5);
}

.news-headline-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
}

.news-headline-sep span {
  width: clamp(40px, 12vw, 150px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 213, 121, .7));
}

.news-headline-sep span:last-child {
  background: linear-gradient(90deg, rgba(255, 213, 121, .7), transparent);
}

.news-headline-sep i {
  color: #ffd479;
  font-style: normal;
  font-size: 18px;
  text-shadow: 0 0 12px rgba(255, 196, 96, .7);
}

.news-headline h1 {
  margin: 0 0 8px;
  background: linear-gradient(180deg, #fff3c9, #e0a23c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff3c9;
  text-transform: uppercase;
  letter-spacing: clamp(2px, 1vw, 8px);
  font-family: 'Cinzel', 'Roboto Slab', Georgia, serif;
  font-size: clamp(28px, 5vw, 50px);
  line-height: 1.05;
}

.news-headline p {
  margin: 0;
  color: #cdb99a;
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: clamp(16px, 2vw, 22px);
}

.news-feed {
  width: min(1200px, 100%);
  margin: 18px auto 0;
  display: grid;
  gap: 16px;
}

.news-item {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(22, 15, 10, .9), rgba(8, 6, 5, .84));
  border: 1px solid rgba(255, 213, 121, .26);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .3);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.news-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 213, 121, .55);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .45), 0 0 24px rgba(255, 196, 96, .16);
}

.news-thumb {
  position: relative;
  display: block;
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.news-item:hover .news-thumb img {
  transform: scale(1.05);
}

.news-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(16px, 2.5vw, 26px);
}

.news-date {
  margin-bottom: 8px;
  color: #f7c56d;
  text-transform: uppercase;
  letter-spacing: .6px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 12px;
  font-weight: 700;
}

.news-body h2 {
  margin: 0 0 10px;
  color: #ffe1a1;
  font-family: 'Cinzel', 'Roboto Slab', Georgia, serif;
  font-size: clamp(19px, 2.3vw, 26px);
  line-height: 1.15;
}

.news-body p {
  margin: 0 0 14px;
  color: #cdb99a;
  font-family: Rajdhani, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

.news-more {
  color: #ffd479;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  transition: color .2s ease, transform .2s ease;
}

.news-more:hover {
  color: #fff3c9;
  transform: translateX(3px);
}

.news-loadmore {
  width: min(1200px, 100%);
  margin: 20px auto 0;
  text-align: center;
}

@media (max-width: 720px) {
  .news-item {
    grid-template-columns: 1fr;
  }

  .news-thumb img {
    min-height: 200px;
    max-height: 240px;
  }
}

/* ==========================================================================
   Unificacion: estilo de panel dorado en TODAS las paginas
   (ventas, herramientas, guias, perfil) — mismo look que la home
   ========================================================================== */

/* Paneles grandes (heros) con borde dorado, esquinas y linea superior */
.static-tool-hero,
.static-guide-hero,
.static-sales-hero,
.static-profile-hero,
.static-auth-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 213, 121, .4) !important;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}

.static-tool-hero::after,
.static-guide-hero::after,
.static-sales-hero::after,
.static-profile-hero::after,
.static-auth-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffd479, #c88435, #ffd479, transparent);
  box-shadow: 0 0 18px rgba(255, 196, 96, .5);
  pointer-events: none;
}

/* Secciones y tarjetas con borde dorado y esquinas redondeadas */
.sales-section,
.dashboard-panel,
.static-tool-feature,
.static-tool-download,
.static-guide-card,
.static-guide-steps,
.sales-card,
.static-info-card,
.dashboard-card {
  border: 1px solid rgba(255, 213, 121, .26) !important;
  border-radius: 12px;
}

/* Tarjetas con hover de elevacion y brillo */
.static-tool-feature,
.static-guide-card,
.sales-card,
.static-info-card,
.dashboard-card {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.static-tool-feature:hover,
.static-guide-card:hover,
.sales-card:hover,
.static-info-card:hover,
.dashboard-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 213, 121, .6) !important;
  box-shadow: 0 24px 56px rgba(0, 0, 0, .45), 0 0 24px rgba(255, 196, 96, .16);
}

/* Divisor dorado con diamante reutilizable (cabecera tipo panel) */
.panel-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 14px;
}

.panel-sep span {
  width: clamp(40px, 12vw, 150px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 213, 121, .7));
}

.panel-sep span:last-child {
  background: linear-gradient(90deg, rgba(255, 213, 121, .7), transparent);
}

.panel-sep i {
  color: #ffd479;
  font-style: normal;
  font-size: 18px;
  text-shadow: 0 0 12px rgba(255, 196, 96, .7);
}

/* Acentos dorados en los kickers de cada pagina */
.static-home-kicker,
.static-guide-card span {
  color: #f7c56d;
}

/* ==========================================================================
   Landing raiz (index.html) — panel central tipo home
   ========================================================================== */
.landing-shell {
  display: grid;
  place-items: center;
}

.landing-hero {
  position: relative;
  overflow: hidden;
  width: min(1200px, 100%);
  min-height: min(72vh, 620px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) clamp(36px, 8vw, 90px);
  text-align: center;
  background:
    radial-gradient(120% 130% at 50% -15%, rgba(255, 196, 96, .15), transparent 58%),
    linear-gradient(180deg, rgba(20, 14, 10, .92), rgba(8, 6, 5, .9));
  border: 1px solid rgba(255, 213, 121, .4);
  border-radius: 16px;
  box-shadow: 0 32px 84px rgba(0, 0, 0, .6);
  animation: platformHomeRise .55s ease both;
}

.landing-hero::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffd479, #c88435, #ffd479, transparent);
  box-shadow: 0 0 18px rgba(255, 196, 96, .55);
  pointer-events: none;
}

.landing-hero .static-home-kicker {
  display: inline-block;
  margin-bottom: 12px;
}

.landing-hero h1 {
  margin: 0 0 16px;
  background: linear-gradient(180deg, #fff3c9, #e0a23c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff3c9;
  text-transform: uppercase;
  letter-spacing: clamp(1px, .5vw, 4px);
  font-family: 'Cinzel', 'Roboto Slab', Georgia, serif;
  font-size: clamp(38px, 6.5vw, 68px);
  line-height: 1.06;
}

.landing-hero p {
  max-width: 52ch;
  margin: 0 auto 26px;
  color: #e1cfae;
  font-family: Rajdhani, Arial, sans-serif;
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.5;
}

.landing-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   Modal "Quiero ser proveedor"
   ========================================================================== */
.provider-cta {
  text-align: center;
}

.provider-cta .sales-section-head {
  margin-bottom: 16px;
}

.provider-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.provider-modal:not([hidden]) {
  display: flex;
}

.provider-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 2, .72);
  backdrop-filter: blur(4px);
}

.provider-modal-card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  padding: clamp(22px, 4vw, 34px);
  text-align: center;
  background:
    radial-gradient(130% 90% at 50% -10%, rgba(255, 196, 96, .16), transparent 55%),
    linear-gradient(180deg, rgba(22, 15, 10, .98), rgba(8, 6, 5, .98));
  border: 1px solid rgba(255, 213, 121, .42);
  border-radius: 16px;
  box-shadow: 0 32px 84px rgba(0, 0, 0, .7);
  animation: platformHomeRise .4s ease both;
}

.provider-modal-x {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  color: #e7dcc6;
  background: rgba(8, 6, 5, .6);
  border: 1px solid rgba(255, 213, 121, .3);
  border-radius: 8px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}

.provider-modal-x:hover {
  color: #ffe1a1;
  border-color: rgba(255, 225, 161, .8);
}

.provider-modal-card h2 {
  margin: 0 0 8px;
  color: #ffe1a1;
  font-family: 'Cinzel', 'Roboto Slab', Georgia, serif;
  font-size: clamp(22px, 4vw, 30px);
}

.provider-modal-lead {
  margin: 0 auto 16px;
  max-width: 420px;
  color: #cdb99a;
  font-family: Rajdhani, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

.provider-modal-card .auth-modern-form {
  text-align: left;
}

.provider-guest-note {
  padding: 14px;
  background: rgba(8, 6, 5, .5);
  border: 1px solid rgba(255, 213, 121, .26);
  border-radius: 10px;
}

.provider-guest-note p {
  margin: 0 0 12px;
  color: #e1cfae;
  font-family: Rajdhani, Arial, sans-serif;
}

.provider-modal-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* ==========================================================================
   Orden y consistencia: tarjetas a misma altura y botones alineados
   ========================================================================== */
.static-home-grid,
.static-tool-grid,
.static-guide-grid,
.sales-grid {
  align-items: stretch;
}

.static-home-card,
.static-tool-feature,
.static-guide-card,
.sales-card {
  display: flex;
  flex-direction: column;
}

/* El boton de cada tarjeta queda siempre abajo y alineado entre tarjetas */
.static-home-card .platform-action,
.sales-card .platform-action {
  margin-top: auto;
  align-self: flex-start;
}

/* La imagen de las tarjetas de venta siempre igual (cuadrada/uniforme) */
.sales-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Titulos de tarjeta con altura minima para que las lineas no descuadren */
.static-home-card h2,
.static-guide-card h2,
.sales-card h3 {
  min-height: 1.3em;
}

/* Botones de sesion segun login (deterministico, sin parpadeo) */
body:not([data-logged-in]) .static-site-actions [data-auth-guest],
body:not([data-logged-in]) .static-site-actions [data-auth-user] {
  display: none !important;
}

body[data-logged-in="true"] .static-site-actions [data-auth-guest] {
  display: none !important;
}

body[data-logged-in="false"] .static-site-actions [data-auth-user] {
  display: none !important;
}

/* Sombras mas contenidas para que no se desborden sobre el panel de abajo */
.static-home-card,
.static-tool-feature,
.static-tool-download,
.static-guide-card,
.static-guide-steps,
.sales-card,
.sales-section,
.dashboard-card,
.static-info-card {
  box-shadow: 0 10px 26px rgba(0, 0, 0, .32);
}

/* ==========================================================================
   Contador de visitas + Carrito de compras (header y drawer)
   ========================================================================== */
.header-visits {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  color: #e7dcc6;
  background: rgba(8, 6, 5, .45);
  border: 1px solid rgba(255, 213, 121, .4);
  border-radius: 6px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
}

.header-visits-ico { opacity: .85; }
.header-visits strong { color: #ffd479; }

.header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 40px;
  color: #f2ebd7;
  background: rgba(8, 6, 5, .45);
  border: 1px solid rgba(255, 213, 121, .5);
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  transition: transform .18s ease, border-color .2s ease, box-shadow .18s ease;
}

.header-cart:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 225, 161, .85);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .4);
}

.cart-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1d1209;
  background: linear-gradient(180deg, #ffe98a, #e0a23c);
  border: 1px solid #ffe1a1;
  border-radius: 999px;
  font-family: Rajdhani, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
}

/* Drawer del carrito */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.cart-drawer[hidden] { display: none; }

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 2, .66);
  backdrop-filter: blur(3px);
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(380px, 100%);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(22, 15, 10, .98), rgba(8, 6, 5, .98));
  border-left: 1px solid rgba(255, 213, 121, .42);
  box-shadow: -20px 0 60px rgba(0, 0, 0, .6);
  animation: cartSlideIn .28s ease both;
}

@keyframes cartSlideIn {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 213, 121, .22);
}

.cart-head h3 {
  margin: 0;
  color: #ffe1a1;
  font-family: 'Cinzel', 'Roboto Slab', Georgia, serif;
  font-size: 20px;
}

.cart-x {
  width: 32px;
  height: 32px;
  color: #e7dcc6;
  background: rgba(8, 6, 5, .6);
  border: 1px solid rgba(255, 213, 121, .3);
  border-radius: 7px;
  font-size: 18px;
  cursor: pointer;
}

.cart-x:hover { color: #ffe1a1; border-color: rgba(255, 225, 161, .8); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-empty {
  margin: 24px 0;
  color: #a8967a;
  text-align: center;
  font-family: Rajdhani, Arial, sans-serif;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(8, 6, 5, .5);
  border: 1px solid rgba(255, 213, 121, .22);
  border-radius: 9px;
}

.cart-item-info strong {
  display: block;
  color: #f2ebd7;
  font-family: Rajdhani, Arial, sans-serif;
  font-size: 15px;
}

.cart-item-info span {
  color: #f7c56d;
  font-size: 13px;
}

.cart-item-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-item-qty button {
  width: 24px;
  height: 24px;
  color: #ffe1a1;
  background: rgba(8, 6, 5, .7);
  border: 1px solid rgba(255, 213, 121, .4);
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

.cart-item-qty span {
  min-width: 16px;
  text-align: center;
  color: #f2ebd7;
}

.cart-item-remove {
  width: 26px;
  height: 26px;
  color: #f1977d;
  background: transparent;
  border: 1px solid rgba(255, 130, 100, .4);
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

.cart-item-remove:hover { color: #ffd4c2; border-color: rgba(255, 130, 100, .8); }

.cart-foot {
  padding: 16px 18px 20px;
  border-top: 1px solid rgba(255, 213, 121, .22);
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: #e7dcc6;
  font-family: 'Cinzel', 'Roboto Slab', Georgia, serif;
}

.cart-total-row strong {
  color: #ffd479;
  font-size: 20px;
}

.cart-foot-actions {
  display: flex;
  gap: 8px;
}

.cart-foot-actions .platform-action { flex: 1; text-align: center; }

.cart-note {
  margin: 10px 0 0;
  color: #a8967a;
  font-size: 12px;
  line-height: 1.4;
}

/* Botones de las tarjetas de venta (Agregar + Comprar) */
.sales-card-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 760px) {
  .cart-panel { width: 100%; }
  .header-visits { display: none; }
}

/* Panel del contador de descargas */
.tool-stats h2 {
  font-size: clamp(26px, 4vw, 40px);
}

.tool-stats h2 [data-download-count] {
  color: #ffd479;
}

.tool-stat-badge {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-stat-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  font-size: 30px;
  color: #1d1209;
  background: linear-gradient(180deg, #ffe1a1, #c88435);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .4);
}

/* Mismo tamano (alto) para todos los elementos del header de acciones */
.static-site-actions .site-btn,
.header-visits,
.header-cart {
  height: 40px;
  box-sizing: border-box;
}

.static-site-actions .site-btn {
  display: inline-flex;
  align-items: center;
}

.header-cart {
  width: 46px;
}

/* Vistas del carrito (lista vs confirmar pago) */
.cart-view {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.cart-view[hidden] { display: none; }

.cart-checkout-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-step {
  margin: 0;
  color: #d8c6aa;
  font-family: Rajdhani, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

.cart-step strong { color: #ffd479; }

.cart-field {
  display: grid;
  gap: 6px;
}

.cart-field span {
  color: #f2ebd7;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 11px;
  font-weight: 700;
}

/* ==========================================================================
   Panel de administracion (pestanas, KPIs, filtros)
   ========================================================================== */
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 213, 121, .22);
}

.admin-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: #cdb99a;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  transition: color .2s ease, border-color .2s ease;
}

.admin-tab:hover { color: #ffe1a1; }

.admin-tab.is-active {
  color: #ffd479;
  border-bottom-color: #c88435;
}

.tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  color: #1d1209;
  background: linear-gradient(180deg, #ffd27a, #d8762c);
  border-radius: 999px;
  font-family: Rajdhani, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.admin-tabpanel[hidden] { display: none; }

/* KPIs */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}

.kpi-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(22, 15, 10, .9), rgba(8, 6, 5, .82));
  border: 1px solid rgba(255, 213, 121, .26);
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .3);
}

.kpi-card.kpi-alert {
  border-color: rgba(255, 196, 96, .5);
}

.kpi-ico {
  font-size: 20px;
  opacity: .9;
}

.kpi-card strong {
  color: #ffd479;
  font-family: 'Cinzel', 'Roboto Slab', Georgia, serif;
  font-size: 30px;
  line-height: 1.05;
}

.kpi-card span:last-child {
  color: #cdb99a;
  text-transform: uppercase;
  letter-spacing: .4px;
  font-size: 12px;
}

/* Filtro de estado */
.admin-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.admin-filter label {
  color: #f2ebd7;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 12px;
  font-weight: 700;
}

.admin-filter .platform-select {
  max-width: 220px;
  margin: 0;
}

/* Panel "que es / que no es" Metin2Tools */
.tool-about {
  grid-template-columns: 1fr;
}

.tool-about p {
  margin: 0 0 10px !important;
  color: #d8c6aa;
  font-size: 16px;
  line-height: 1.6;
}

.tool-about p:last-child { margin-bottom: 0 !important; }

.tool-about strong { color: #ffe1a1; }
