/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
    --bg:           #07090f;
    --bg2:          #0a0f0f;
    --bg3:          #0f1515;
    --bg4:          #141c1c;
    --border:       rgba(255,255,255,.07);
    --border-h:     rgba(26,181,172,.45);
    --text:         #ddf0ee;
    --text-muted:   #4d6662;
    --text-soft:    #7aaaa5;
    --primary:      #0d6e6a;
    --primary-h:    #1ab5ac;
    --primary-glow: rgba(13,110,106,.4);
    --primary-soft: rgba(26,181,172,.12);
    --success:      #2ecc71;
    --danger:       #e74c3c;
    --warning:      #f39c12;
    --discord:      #5865f2;
    --radius:       10px;
    --radius-lg:    16px;
    --shadow:       0 8px 32px rgba(0,0,0,.6);
    --shadow-sm:    0 2px 12px rgba(0,0,0,.4);
    --shadow-primary: 0 8px 32px rgba(13,110,106,.35);
    --sidebar-w:    240px;
    --font:         'Segoe UI', system-ui, sans-serif;
    --transition:   all .22s cubic-bezier(.4,0,.2,1);
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }


body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}


a { color: var(--primary-h); text-decoration: none; transition: color .18s; }
a:hover { color: #7de8e2; }
img { max-width: 100%; }


code {
    background: var(--bg4);
    border: 1px solid var(--border);
    padding: 2px 7px;
    border-radius: 5px;
    font-size: .85em;
    color: #7de8e2;
}



/* ============================================================
   UTILITIES
   ============================================================ */
.container    { max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem; }
.text-center  { text-align: center; }
.text-muted   { color: var(--text-muted); font-size: .875rem; }
.mt-1 { margin-top:.5rem } .mt-2 { margin-top:1rem } .mt-3 { margin-top:2rem }
.mb-1 { margin-bottom:.5rem } .mb-2 { margin-bottom:1rem }



/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .6rem 1.4rem; border-radius: var(--radius);
    font-size: .875rem; font-weight: 600; cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    text-decoration: none !important;
    letter-spacing: .01em;
    position: relative; overflow: hidden;
}


.btn::after {
    content: '';
    position: absolute; inset: 0;
    background: rgba(255,255,255,0);
    transition: background .2s;
}
.btn:hover::after { background: rgba(255,255,255,.05); }


.btn-primary {
    background: linear-gradient(135deg, var(--primary-h) 0%, var(--primary) 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(13,110,106,.45), inset 0 1px 0 rgba(255,255,255,.15);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(13,110,106,.55), inset 0 1px 0 rgba(255,255,255,.15);
    filter: brightness(1.1);
}


.btn-outline {
    background: rgba(255,255,255,.03);
    border-color: rgba(255,255,255,.12);
    color: var(--text-soft);
    backdrop-filter: blur(8px);
}
.btn-outline:hover {
    border-color: var(--border-h);
    color: var(--text);
    background: rgba(26,181,172,.08);
    transform: translateY(-2px);
}


.btn-success { background: var(--success); color: #fff; border-color: transparent; box-shadow: 0 4px 16px rgba(46,204,113,.3); }
.btn-danger  { background: var(--danger);  color: #fff; border-color: transparent; box-shadow: 0 4px 16px rgba(231,76,60,.3); }
.btn-discord { background: var(--discord); color: #fff; border-color: transparent; box-shadow: 0 4px 16px rgba(88,101,242,.3); }


.btn-sm  { padding: .32rem .75rem; font-size: .78rem; }
.btn-lg  { padding: .8rem 2rem; font-size: .95rem; }
.btn-block { width: 100%; justify-content: center; }



/* ============================================================
   ALERTS
   ============================================================ */
.alert {
    padding: .9rem 1.2rem; border-radius: var(--radius);
    margin: 1rem 0; font-weight: 500; font-size: .875rem;
    display: flex; align-items: flex-start; gap: .6rem;
}
.alert-success { background: rgba(46,204,113,.07);  border: 1px solid rgba(46,204,113,.25);  color: #4ade80; }
.alert-error   { background: rgba(231,76,60,.07);   border: 1px solid rgba(231,76,60,.25);   color: #f87171; }
.alert-info    { background: rgba(13,110,106,.1);   border: 1px solid rgba(26,181,172,.3);   color: #7de8e2; }



/* ============================================================
   BADGES
   ============================================================ */
.badge {
    display: inline-flex; align-items: center;
    padding: .18rem .6rem; border-radius: 6px;
    font-size: .72rem; font-weight: 700; letter-spacing: .03em;
    text-transform: uppercase;
}
.badge-success, .badge-approved { background: rgba(46,204,113,.12); color: #4ade80; border: 1px solid rgba(46,204,113,.2); }
.badge-danger,  .badge-rejected  { background: rgba(231,76,60,.12);  color: #f87171; border: 1px solid rgba(231,76,60,.2); }
.badge-pending  { background: rgba(243,156,18,.12); color: #fbbf24; border: 1px solid rgba(243,156,18,.2); }



/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    display: flex; align-items: center; gap: 1.5rem;
    padding: 0 2rem; height: 62px;
    background: rgba(7,9,15,.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,.06);
    position: sticky; top: 0; z-index: 100;
}


.nav-brand {
    font-size: 1.1rem; font-weight: 800;
    color: var(--text); letter-spacing: -.3px;
    background: linear-gradient(135deg, #fff 40%, #1ab5ac 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.nav-links { display: flex; list-style: none; gap: 0; margin-left: .5rem; }
.nav-links a {
    display: block; padding: .45rem .85rem;
    color: var(--text-muted);
    font-size: .85rem; font-weight: 500;
    border-radius: 7px; transition: var(--transition);
}
.nav-links a:hover {
    color: var(--text);
    background: rgba(255,255,255,.05);
    text-decoration: none;
}


.nav-auth { margin-left: auto; display: flex; align-items: center; gap: .7rem; }
.nav-username { font-size: .875rem; font-weight: 600; color: var(--text-soft); }
.avatar { width: 32px; height: 32px; border-radius: 50%; border: 2px solid rgba(26,181,172,.5); }
.avatar-xs { width: 24px; height: 24px; border-radius: 50%; vertical-align: middle; margin-right: 4px; }



/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    text-align: center; padding: 2rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    font-size: .82rem;
}



/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header { margin-bottom: 2.5rem; }
.page-header h1 { font-size: 1.9rem; font-weight: 800; letter-spacing: -.4px; }
.page-header p  { color: var(--text-muted); margin-top: .35rem; font-size: .9rem; }



/* ============================================================
   HOME HERO
   ============================================================ */
.hero {
    width: 100vw;
    margin-top: -2rem;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
        radial-gradient(ellipse 90% 60% at 50% -5%, rgba(26,181,172,.18) 0%, transparent 65%),
        radial-gradient(ellipse 50% 50% at 15% 70%, rgba(13,110,106,.10) 0%, transparent 55%),
        radial-gradient(ellipse 40% 40% at 85% 30%, rgba(26,110,168,.08) 0%, transparent 55%),
        var(--bg);
    background-size: 48px 48px, 48px 48px, auto, auto, auto, auto;
}


.hero h1 {
    font-size: 3.2rem; font-weight: 900;
    letter-spacing: -1.5px; margin-bottom: 1.2rem;
    line-height: 1.1;
    background: linear-gradient(160deg, #ffffff 0%, #cff5f3 60%, #1ab5ac 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0;
}


.hero-subtitle {
    font-size: 1.05rem; color: var(--text-muted);
    max-width: 520px; margin: 0 auto 2.5rem;
    line-height: 1.7;
}


.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }


  .how-to-section {
    padding: 60px 20px;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
  }


  .how-to-section h1 {
    font-size: 2.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 50px;
  }


  .how-to-section h1 .purple { color: #1ab5ac; }
  .how-to-section h1 .white  { color: #ffffff; }


  .features {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
  }


  .feature-card {
    background-color: #0d1616;
    border-radius: 14px;
    padding: 30px 28px 28px;
    flex: 1;
    min-width: 240px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }


  .step-number {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    background: transparent;
  }


  .step-number.purple-glow {
    border: 2px solid #1ab5ac;
    box-shadow: 0 0 14px rgba(26,181,172,0.7), inset 0 0 8px rgba(26,181,172,0.2);
  }


  .step-number.white-glow {
    border: 2px solid #ffffff;
    box-shadow: 0 0 14px rgba(255,255,255,0.5), inset 0 0 8px rgba(255,255,255,0.1);
  }


  .feature-card h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 12px;
  }


  .feature-card p {
    color: #7aaaa5;
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0;
  }


/* ============================================================
    CONNECT
   ============================================================ */
.connect-section {
  padding: 60px 20px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  box-sizing: border-box;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    transparent              0%,
    rgba(10, 20, 20, 0.6)   25%,
    rgba(10, 20, 20, 0.8)   50%,
    rgba(10, 20, 20, 0.6)   75%,
    transparent             100%
  );
}


  .connect-section h1 {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 10px;
  }


  .connect-section h1 .purple { color: #1ab5ac; }
  .connect-section h1 .white  { color: #ffffff; }


  .connect-section .subtitle {
    color: #7aaaa5;
    font-size: 0.95rem;
    margin-bottom: 40px;
  }


  /* ── IP Card ── */
  .ip-card {
    display: inline-block;
    background-color: #0a1414;
    border: 1px solid #0e9490;
    box-shadow: 0 0 30px rgba(26,181,172,0.25);
    border-radius: 18px;
    padding: 36px 48px;
    min-width: 520px;
    margin-bottom: 50px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 2rem;
    transition: var(--transition);
    backdrop-filter: blur(12px);
  }


.ip-card:hover {
    transform: translateY(-5px);
    border-color: rgba(26,181,172,.4);
    box-shadow: 0 20px 40px rgba(0,0,0,.4), 0 0 30px rgba(13,110,106,.15);
}
.ip-card:hover::before { opacity: 1; }


  .ip-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: #1ab5ac;
    text-transform: uppercase;
    margin-bottom: 16px;
  }


  .ip-display {
    background-color: #060f0f;
    border: 1px solid #1a2e2e;
    border-radius: 10px;
    padding: 16px 28px;
    font-size: 1.15rem;
    font-family: 'Courier New', monospace;
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 22px;
  }


  .btn-copy {
    background: linear-gradient(135deg, #1ab5ac, #0d8a85);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 13px 32px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: opacity 0.2s;
  }


  .btn-copy:hover { opacity: 0.85; }


  .btn-copy svg {
    width: 16px;
    height: 16px;
    fill: #ffffff;
  }


  /* ── Steps Row ── */
  .connect-steps {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
  }


  .connect-step {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: #0a1414;
    border: 1px solid #141e1e;
    border-radius: 14px;
    padding: 18px 24px;
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    text-align: left;
    transition: border-color 0.2s;
  }


  .connect-step.active {
    border-color: #0d8a85;
    box-shadow: 0 0 16px rgba(13,138,133,0.4);
  }


  .step-circle {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    background: transparent;
  }


  .step-circle.purple-glow {
    border: 2px solid #1ab5ac;
    box-shadow: 0 0 12px rgba(26,181,172,0.6);
  }


  .step-circle.white-glow {
    border: 2px solid #ffffff;
    box-shadow: 0 0 12px rgba(255,255,255,0.35);
  }


  .step-info h4 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 4px;
  }


  .step-info span {
    color: #7aaaa5;
    font-size: 0.78rem;
  }


  .connect-step {
    background: rgba(10,20,20,.7);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 2rem;
    transition: var(--transition);
    position: relative; overflow: hidden;
    backdrop-filter: blur(12px);
}


.connect-step::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(26,181,172,.08) 0%, transparent 60%);
    opacity: 0; transition: opacity .3s;
}


.connect-step:hover {
    transform: translateY(-5px);
    border-color: rgba(26,181,172,.4);
    box-shadow: 0 20px 40px rgba(0,0,0,.4), 0 0 30px rgba(13,110,106,.15);
}
.connect-step:hover::before { opacity: 1; }


/* ============================================================
   DISCORD
   ============================================================ */
  .discord-section {
    padding: 60px 20px;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
  }


  .discord-section h1 {
    font-size: 2.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 40px;
  }


  .discord-section h1 .purple { color: #1ab5ac; }
  .discord-section h1 .white  { color: #ffffff; }


  /* ── Card central ── */
  .discord-card {
    display: inline-block;
    background-color: #0a1414;
    border: 1px solid #0e9490;
    box-shadow: 0 0 30px rgba(26,181,172,0.2);
    border-radius: 18px;
    padding: 40px 48px;
    min-width: 520px;
    margin-bottom: 40px;
    transition: var(--transition);
    position: relative; overflow: hidden;
    backdrop-filter: blur(12px);
  }


  .discord-card:hover {
    transform: translateY(-5px);
    border-color: rgba(26,181,172,.4);
    box-shadow: 0 20px 40px rgba(0,0,0,.4), 0 0 30px rgba(13,110,106,.15);
}
.discord-card:hover::before { opacity: 1; }


  .discord-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
  }


  .discord-logo svg {
    width: 38px;
    height: 38px;
    fill: #ffffff;
  }


  .discord-card h2 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 10px;
    font-family: 'Courier New', monospace;
  }


  .discord-card p {
    color: #7aaaa5;
    font-size: 0.9rem;
    margin: 0 0 28px;
  }


  .btn-discord {
    background: linear-gradient(135deg, #5865f2, #4752c4);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 14px 36px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.2s;
  }


  .btn-discord:hover { opacity: 0.85; }


  /* ── Grid de features ── */
  .discord-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 800px;
    margin: 0 auto;
  }


  .discord-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: #0a1414;
    border: 1px solid #141e1e;
    border-radius: 14px;
    padding: 18px 20px;
    text-align: left;
    transition: var(--transition);
    position: relative; overflow: hidden;
    backdrop-filter: blur(12px);
  }


  .discord-feature:hover {
    transform: translateY(-5px);
    border-color: rgba(26,181,172,.4);
    box-shadow: 0 20px 40px rgba(0,0,0,.4), 0 0 30px rgba(13,110,106,.15);
}
.discord-feature:hover::before { opacity: 1; }


  .discord-feature-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    background-color: #0a2e2c;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }


  .discord-feature-icon svg {
    width: 22px;
    height: 22px;
    fill: #1ab5ac;
  }


  .discord-feature h4 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 4px;
  }


  .discord-feature span {
    color: #7aaaa5;
    font-size: 0.78rem;
  }


/* ============================================================
   FEATURE CARDS
   ============================================================ */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem; margin: 3.5rem 0;
}


.feature-card {
    background: rgba(10,20,20,.7);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 2rem;
    transition: var(--transition);
    position: relative; overflow: hidden;
    backdrop-filter: blur(12px);
}


.feature-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(26,181,172,.08) 0%, transparent 60%);
    opacity: 0; transition: opacity .3s;
}


.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(26,181,172,.4);
    box-shadow: 0 20px 40px rgba(0,0,0,.4), 0 0 30px rgba(13,110,106,.15);
}
.feature-card:hover::before { opacity: 1; }


.feature-icon { font-size: 2rem; display: block; margin-bottom: 1rem; }
.feature-card h3 { margin-bottom: .5rem; font-size: 1rem; font-weight: 700; }
.feature-card p { color: var(--text-muted); font-size: .875rem; line-height: 1.65; }



/* ============================================================
   NORMATIVAS
   ============================================================ */
.normativa-section { margin-bottom: 2.5rem; }
.normativa-category { font-size: 1.3rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--primary); }
.normativa-item { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: .6rem; overflow: hidden; }
.normativa-item summary { padding: 1rem 1.2rem; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.normativa-item summary::after { content: '▼'; font-size: .8rem; color: var(--text-muted); }
.normativa-item[open] summary::after { content: '▲'; }
.normativa-content { padding: 1rem 1.2rem; color: var(--text-muted); border-top: 1px solid var(--border); white-space: pre-wrap; }
.gitbook-next-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 16px 24px;
    border: 1px solid var(--text-main);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    background-color: #0a141401;
    --text-main: #1e3535;
    --text-muted: #4d6662;
    --brand-color: var(--primary-h);
}


.gitbook-next-btn:hover {
    border-color: var(--brand-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transform: translateY(-1px);
}


.gitbook-next-btn .label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}


.gitbook-next-btn .title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--brand-color);
}


/* ============================================================
   INFORMACIONES
   ============================================================ */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.2rem; }
.info-card {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 1.5rem;
}
.info-card h3 { margin-bottom: .8rem; font-size: .95rem; font-weight: 700; }
.info-card ul, .info-card ol { padding-left: 1.2rem; color: var(--text-muted); }
.info-card li { margin: .35rem 0; font-size: .875rem; }



/* ============================================================
   STAFF
   ============================================================ */
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(180px,1fr)); gap: 1.2rem; }
.staff-card {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 1.5rem; text-align: center;
    transition: var(--transition);
}
.staff-card:hover {
    border-color: rgba(26,181,172,.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,.35);
}


.staff-avatar, .staff-avatar-placeholder {
    width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1rem;
    border: 2px solid rgba(26,181,172,.5); display: block;
}
.staff-avatar-placeholder {
    background: var(--bg3); display: flex; align-items: center;
    justify-content: center; font-size: 1.8rem; font-weight: 800;
    color: var(--primary-h);
}
.staff-card h3 { margin-bottom: .4rem; font-size: .9rem; font-weight: 700; }
.staff-badge {
    background: rgba(13,110,106,.15); color: #7de8e2;
    padding: .18rem .6rem; border-radius: 6px;
    font-size: .72rem; font-weight: 700;
    border: 1px solid rgba(26,181,172,.25);
    text-transform: uppercase; letter-spacing: .03em;
}
.staff-discord { color: var(--text-muted); font-size: .8rem; margin-top: .6rem; }



/* ============================================================
   TIENDA
   ============================================================ */
.shop-category {
    font-size: 1.1rem; font-weight: 700; margin: 2.5rem 0 1rem;
    color: var(--primary-h);
}
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(230px,1fr)); gap: 1.2rem; }
.product-card {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    display: flex; flex-direction: column;
    transition: var(--transition);
}
.product-card:hover {
    border-color: rgba(26,181,172,.35);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,.4);
}
.product-img { width: 100%; height: 150px; object-fit: cover; }
.product-img-placeholder {
    height: 150px; background: var(--bg3);
    display: flex; align-items: center; justify-content: center; font-size: 2.5rem;
}
.product-body { padding: 1.2rem; flex: 1; display: flex; flex-direction: column; gap: .4rem; }
.product-body h3 { font-size: .9rem; font-weight: 700; }
.product-body p { color: var(--text-muted); font-size: .825rem; flex: 1; line-height: 1.6; }
.product-footer { display: flex; justify-content: space-between; align-items: center; margin-top: .8rem; }
.product-price { font-size: 1.15rem; font-weight: 800; color: #4ade80; }



/* ============================================================
   MAPA
   ============================================================ */
.map-container {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 1.5rem;
}
.map-wrapper { display: flex; gap: 2rem; flex-wrap: wrap; }
.map-img { max-width: 800px; border-radius: var(--radius); flex: 1; }
.map-legend h3 { margin-bottom: 1rem; font-size: .9rem; font-weight: 700; }
.map-legend ul { list-style: none; }
.map-legend li { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; color: var(--text-muted); font-size: .875rem; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }



/* ============================================================
   WHITELIST FORM
   ============================================================ */
.whitelist-form-container { max-width: 700px; margin: 0 auto; }
.form { display: flex; flex-direction: column; gap: 1rem; }


.form-section {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 1.5rem;
}
.form-section h2 {
    margin-bottom: 1.2rem; font-size: .95rem; font-weight: 700;
    color: var(--primary-h); display: flex; align-items: center; gap: .5rem;
    padding-bottom: .75rem; border-bottom: 1px solid var(--border);
}


.form-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.form-group { display: flex; flex-direction: column; gap: .3rem; flex: 1; min-width: 180px; }
.form-group label { font-size: .8rem; font-weight: 600; color: var(--text-muted); letter-spacing: .02em; }


.form-control {
    background: var(--bg3); border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius); color: var(--text);
    padding: .6rem .9rem; font-size: .875rem; width: 100%;
    transition: var(--transition); font-family: var(--font);
}
.form-control:focus {
    outline: none;
    border-color: rgba(26,181,172,.6);
    background: var(--bg4);
    box-shadow: 0 0 0 3px rgba(13,110,106,.15);
}
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 80px; }
select.form-control { appearance: none; }


.form-check { flex-direction: row; align-items: center; }
.form-check input { width: auto; margin-right: .5rem; accent-color: var(--primary-h); }
.hint { color: var(--text-muted); font-size: .76rem; font-weight: 400; }
.word-counter { font-size: .78rem; color: var(--text-muted); text-align: right; }



/* ============================================================
   STATUS CARDS
   ============================================================ */
.status-card { border-radius: var(--radius-lg); padding: 2.5rem; text-align: center; border: 1px solid; }
.status-pending  { border-color: rgba(243,156,18,.3);  background: rgba(243,156,18,.06); }
.status-approved { border-color: rgba(46,204,113,.3);  background: rgba(46,204,113,.06); }
.status-rejected { border-color: rgba(231,76,60,.3);   background: rgba(231,76,60,.06); }
.status-icon { font-size: 2.5rem; display: block; margin-bottom: 1rem; }
.status-date { color: var(--text-muted); font-size: .82rem; margin-top: 1rem; }
.whitelist-status { max-width: 580px; margin: 2rem auto; }



/* ============================================================
   ERROR PAGE
   ============================================================ */
.error-page { text-align: center; padding: 8rem 2rem; }
.error-page h1 {
    font-size: 7rem; font-weight: 900; line-height: 1;
    background: linear-gradient(135deg, var(--primary-h), var(--primary));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.error-page p { font-size: 1.2rem; color: var(--text-muted); margin: 1rem 0 2rem; }



/* ============================================================
   ADMIN LAYOUT
   ============================================================ */
.admin-body { background: var(--bg); }
.admin-wrapper { display: flex; min-height: 100vh; }


.sidebar {
    width: var(--sidebar-w);
    background: rgba(10,20,20,.95);
    border-right: 1px solid var(--border);
    flex-shrink: 0; position: sticky; top: 0; height: 100vh;
    overflow-y: auto; display: flex; flex-direction: column;
}
.sidebar-brand {
    padding: 1.2rem 1.2rem .6rem; font-size: 1rem; font-weight: 800;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, #fff 40%, #1ab5ac 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.sidebar-brand a { color: inherit; text-decoration: none; }
.sidebar-user {
    display: flex; align-items: center; gap: .6rem;
    padding: .8rem 1.2rem; border-bottom: 1px solid var(--border);
}
.sidebar-user img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(26,181,172,.4); }
.sidebar-user span { font-size: .82rem; font-weight: 600; color: var(--text-soft); }


.sidebar-nav { display: flex; flex-direction: column; padding: .6rem 0; flex: 1; }
.sidebar-section {
    padding: .6rem 1.2rem .2rem; font-size: .65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-muted);
}
.sidebar-link {
    padding: .5rem 1.2rem; color: var(--text-muted); font-size: .845rem;
    border-radius: 0; transition: var(--transition);
    border-left: 2px solid transparent;
}
.sidebar-link:hover {
    background: rgba(255,255,255,.04); color: var(--text);
    text-decoration: none; border-left-color: rgba(26,181,172,.5);
}
.sidebar-link.active {
    background: rgba(13,110,106,.12); color: #7de8e2;
    border-left-color: var(--primary-h);
}
.sidebar-logout { margin-top: auto; color: rgba(231,76,60,.7) !important; }
.sidebar-logout:hover { color: var(--danger) !important; }


.admin-content { flex: 1; padding: 2rem; max-width: calc(100vw - var(--sidebar-w)); }
.admin-page-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 1.8rem; flex-wrap: wrap; gap: .8rem;
    padding-bottom: 1.2rem; border-bottom: 1px solid var(--border);
}
.admin-page-header h1 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.3px; }
.admin-form { max-width: 700px; display: flex; flex-direction: column; gap: 1rem; }



/* ============================================================
   ADMIN TABLE
   ============================================================ */
.table-wrapper {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
}
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
    background: var(--bg3); padding: .75rem 1rem;
    text-align: left; font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}
.admin-table td {
    padding: .8rem 1rem; border-bottom: 1px solid rgba(255,255,255,.04);
    font-size: .855rem; vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(26,181,172,.04); }



/* ============================================================
   STATUS TABS
   ============================================================ */
.status-tabs { display: flex; gap: .4rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.tab {
    padding: .45rem 1rem; border-radius: 8px;
    border: 1px solid var(--border); color: var(--text-muted);
    font-size: .825rem; font-weight: 600; transition: var(--transition);
    background: transparent;
}
.tab:hover { border-color: rgba(26,181,172,.4); color: var(--text-soft); text-decoration: none; }
.tab.active {
    background: rgba(13,110,106,.2); border-color: rgba(26,181,172,.5);
    color: #7de8e2;
}
.tab-count {
    background: rgba(255,255,255,.1); padding: .1rem .45rem;
    border-radius: 20px; font-size: .7rem; margin-left: .3rem;
}



/* ============================================================
   WHITELIST DETAIL
   ============================================================ */
.wl-detail { max-width: 800px; }
.wl-user-card {
    display: flex; align-items: center; gap: 1.5rem;
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.2rem;
}
.wl-avatar { width: 72px; height: 72px; border-radius: 50%; border: 2px solid rgba(26,181,172,.5); }
.wl-fields {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.2rem;
}
.wl-full { grid-column: 1/-1; }
.wl-field label {
    font-size: .7rem; text-transform: uppercase; letter-spacing: .06em;
    color: var(--text-muted); font-weight: 700; margin-bottom: .3rem; display: block;
}
.wl-backstory {
    background: var(--bg3); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1rem;
    white-space: pre-wrap; color: var(--text-soft);
    font-size: .855rem; line-height: 1.75;
}
.wl-actions {
    display: flex; flex-direction: column; gap: 1rem;
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 1.5rem;
}



/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .navbar { padding: 0 1rem; gap: .8rem; }
    .nav-links { display: none; }
    .hero { padding: 5rem 1.5rem 4rem; }
    .hero h1 { font-size: 2.2rem; }
    .sidebar { display: none; }
    .admin-content { max-width: 100vw; padding: 1rem; }
    .wl-fields { grid-template-columns: 1fr; }
}