:root {
  --gold:          #d4a827;
  --gold-light:    #f0c842;
  --gold-dim:      rgba(212,168,39,0.18);
  --green:         #4caf50;
  --green-bright:  #6abf30;
  --green-dim:     rgba(76,175,80,0.12);
  --red:           #e53935;
  --dark:          #080b14;
  --dark-card:     rgba(12,16,26,0.92);
  --dark-panel:    rgba(16,20,34,0.97);
  --border-gold:   rgba(212,168,39,0.22);
  --border-white:  rgba(255,255,255,0.07);
  --text-muted:    #7a8faa;
  --text-dim:      #4a5a70;
  --online:        #00e676;
  --shadow-gold:   0 0 40px rgba(212,168,39,0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Exo 2', sans-serif;
  background: #060a18;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.38) 60%, rgba(0,0,0,0.65) 100%),
    url('/img/bg.PNG') center center / cover no-repeat;
  z-index: -1;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #080b14; }
::-webkit-scrollbar-thumb { background: rgba(212,168,39,0.35); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(212,168,39,0.6); }

/* ══ NAVBAR ══ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center;
  padding: 0 36px; height: 66px;
  background: rgba(6,8,18,0.82);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border-gold);
  transition: background 0.3s;
}
nav.scrolled {
  background: rgba(4,6,14,0.96);
  box-shadow: 0 4px 30px rgba(0,0,0,0.6);
}

.logo {
  display: flex; align-items: center;
  gap: 10px; margin-right: 44px;
  text-decoration: none; flex-shrink: 0;
}
.logo-icon {
  width: 42px; height: 42px;
  background: radial-gradient(circle at 38% 32%, #5dbf4e, #1f6b18);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 22px rgba(77,191,78,0.5), inset 0 1px 0 rgba(255,255,255,0.2);
  border: 1px solid rgba(93,191,78,0.4);
  position: relative; overflow: hidden; transition: box-shadow 0.3s;
}
.logo-icon::before {
  content: ''; position: absolute; top: 4px; left: 6px;
  width: 12px; height: 8px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%; transform: rotate(-20deg);
}
.logo:hover .logo-icon { box-shadow: 0 0 34px rgba(77,191,78,0.7), inset 0 1px 0 rgba(255,255,255,0.2); }
.logo-text {
  font-family: 'Cinzel', serif; font-size: 20px; font-weight: 700;
  background: linear-gradient(135deg, #8ee87e, #4caf50);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  letter-spacing: 2.5px;
}

.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; list-style: none; }
.nav-links a {
  color: #b0c4e0; text-decoration: none;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase;
  padding: 8px 15px; border-radius: 6px;
  transition: all 0.2s; position: relative;
  display: flex; align-items: center; gap: 4px;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-links a.active { color: #fff; background: rgba(212,168,39,0.1); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 2px;
}

.dropdown { position: relative; }
.dropdown-arrow { font-size: 8px; opacity: 0.5; transition: transform 0.2s; }
.dropdown:hover .dropdown-arrow { transform: rotate(180deg); }

.dropdown-menu {
  display: none; position: absolute;
  top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: rgba(8,11,22,0.97);
  border: 1px solid var(--border-gold);
  border-radius: 10px; min-width: 160px;
  overflow: hidden; z-index: 300;
  box-shadow: 0 12px 36px rgba(0,0,0,0.7);
  backdrop-filter: blur(16px);
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block; padding: 11px 18px;
  font-size: 11px; letter-spacing: 1.5px;
  color: #b0c4e0; border-radius: 0; transition: all 0.15s;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: var(--gold-dim); color: var(--gold-light); padding-left: 22px; }

.nav-right { display: flex; align-items: center; gap: 12px; }
.social-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 13px; transition: all 0.2s;
  text-decoration: none; color: #8a9bb5;
}
.social-icon:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); color: #fff; transform: translateY(-1px); }

.btn-play {
  padding: 9px 22px;
  background: linear-gradient(135deg, var(--gold) 0%, #a87515 100%);
  border: none; border-radius: 7px;
  color: #1a0e00; font-family: 'Exo 2', sans-serif;
  font-size: 10.5px; font-weight: 900;
  letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; transition: all 0.22s;
  box-shadow: 0 3px 16px rgba(212,168,39,0.35);
  position: relative; overflow: hidden;
}
.btn-play::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.4s;
}
.btn-play:hover::before { left: 100%; }
.btn-play:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(212,168,39,0.5); }

.btn-cart {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 7px; color: #c8d8f0;
  font-family: 'Exo 2', sans-serif;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; transition: all 0.2s;
}
.btn-cart:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); }

.user-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 5px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px; cursor: pointer; transition: all 0.2s;
  font-size: 12px; font-weight: 600; color: #dde8ff; position: relative;
}
.user-chip:hover { background: rgba(255,255,255,0.1); }
.user-chip-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #e8a020, #7a3a00);
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.user-chip-arrow { font-size: 8px; opacity: 0.45; transition: transform 0.2s; }
.user-chip:hover .user-chip-arrow { transform: rotate(180deg); }

.user-dropdown {
  display: none; position: absolute;
  top: calc(100% + 10px); right: 0;
  background: rgba(8,11,22,0.97);
  border: 1px solid var(--border-gold);
  border-radius: 12px; min-width: 190px;
  overflow: hidden; z-index: 300;
  box-shadow: 0 12px 36px rgba(0,0,0,0.7);
  backdrop-filter: blur(16px);
}
.user-chip:hover .user-dropdown { display: flex; flex-direction: column; }
.user-dropdown a {
  padding: 12px 16px; font-size: 11px; font-weight: 600;
  color: #c8d8f0; text-decoration: none; letter-spacing: 0.5px;
  transition: all 0.15s; display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.user-dropdown a:last-child { border-bottom: none; }
.user-dropdown a:hover { background: rgba(255,255,255,0.06); padding-left: 20px; }
.logout-link { color: #ef9a9a !important; }

/* ══ HERO ══ */
.hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: stretch;
  padding-top: 66px; overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 28% 65%, rgba(30,80,160,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 72% 25%, rgba(100,180,255,0.06) 0%, transparent 60%),
    linear-gradient(180deg, rgba(4,8,20,0.25) 0%, rgba(8,18,38,0.15) 50%, rgba(16,36,18,0.35) 100%);
  pointer-events: none;
}
.cloud {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.55); filter: blur(4px);
  animation: drift linear infinite;
}
.cloud-1 { width: 220px; height: 70px; top: 24%; left: 2%; opacity: 0.28; animation-duration: 60s; }
.cloud-2 { width: 150px; height: 50px; top: 31%; left: 16%; opacity: 0.18; animation-duration: 75s; }
.cloud-3 { width: 190px; height: 65px; top: 18%; right: 22%; opacity: 0.22; animation-duration: 55s; animation-direction: reverse; }
.cloud-4 { width: 130px; height: 45px; top: 27%; right: 33%; opacity: 0.13; animation-duration: 80s; animation-direction: reverse; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(40px); } }

.light-rays {
  position: absolute; top: 10%; left: 18%;
  width: 2px; height: 65%;
  background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, transparent 100%);
  transform: rotate(-18deg); filter: blur(1px);
}
.light-rays::after {
  content: ''; position: absolute; top: 0; left: 38px;
  width: 1px; height: 85%;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 100%);
}

.hero-content {
  position: relative; z-index: 10;
  display: flex; width: 100%;
  align-items: flex-start; padding: 36px 44px;
}

.server-log {
  width: 230px; flex-shrink: 0;
  background: rgba(4,6,16,0.6); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.07); border-radius: 12px;
  padding: 14px; font-size: 10.5px; color: var(--text-muted);
  line-height: 1.85; max-height: 300px; overflow: hidden; margin-top: 14px;
}
.log-line { display: flex; gap: 7px; align-items: baseline; }
.log-line .num { color: var(--gold); font-weight: 700; min-width: 22px; font-family: 'Cinzel', serif; font-size: 9px; }
.log-line .name { color: #d4a83a; font-weight: 600; }
.log-line .msg { color: #6a8aaa; }

.player-panel-wrap { margin-left: auto; width: 278px; }
.server-status {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(8,12,24,0.88); backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  border-radius: 12px 12px 0 0; padding: 10px 16px; border-bottom: none;
}
.status-left { display: flex; align-items: center; gap: 9px; }
.status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--online);
  box-shadow: 0 0 10px var(--online), 0 0 20px rgba(0,230,118,0.3);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.65; transform:scale(.82); } }
.status-name { font-family: 'Cinzel', serif; font-size: 10px; font-weight: 700; letter-spacing: 2px; color: #d8e4ff; }
.status-right { font-size: 10.5px; font-weight: 600; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.status-right .count { color: var(--gold-light); font-weight: 800; }

.player-panel {
  background: var(--dark-panel); border: 1px solid var(--border-gold);
  border-top: none; border-radius: 0 0 14px 14px;
  padding: 26px 22px 22px;
  display: flex; flex-direction: column; align-items: center;
  position: relative; overflow: hidden;
}
.player-panel::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.panel-title { font-family: 'Cinzel', serif; font-size: 12px; font-weight: 700; letter-spacing: 3.5px; color: #b8c8e0; margin-bottom: 6px; }
.panel-divider { width: 44px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin-bottom: 22px; border-radius: 2px; }

.avatar-wrap { position: relative; width: 80px; height: 80px; margin-bottom: 16px; }
.avatar-ring { position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid rgba(212,168,39,0.5); animation: spin 10s linear infinite; }
.avatar-ring::before { content: ''; position: absolute; top: -3px; left: 50%; transform: translateX(-50%); width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }
.avatar { width: 80px; height: 80px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #8b6e3a, #3a2008); display: flex; align-items: center; justify-content: center; font-size: 38px; border: 2px solid rgba(212,168,39,0.4); overflow: hidden; position: relative; }

.player-name { font-family: 'Cinzel', serif; font-size: 14px; font-weight: 700; color: #e8a020; letter-spacing: 1px; margin-bottom: 4px; text-align: center; }
.player-role { font-size: 9.5px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(212,168,39,0.6); margin-bottom: 20px; text-align: center; }

.stats-row { display: flex; gap: 30px; margin-bottom: 22px; width: 100%; justify-content: center; }
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-value { display: flex; align-items: center; gap: 5px; font-size: 18px; font-weight: 800; color: #fff; }
.stat-icon { font-size: 14px; }
.stat-label { font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-dim); font-weight: 700; }

.panel-btn { width: 100%; padding: 12px; border: none; border-radius: 8px; font-family: 'Exo 2', sans-serif; font-size: 10.5px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s; margin-bottom: 8px; }
.btn-admin { background: linear-gradient(135deg, #e53935, #8b0000); color: #fff; box-shadow: 0 4px 18px rgba(229,57,53,0.3); }
.btn-admin:hover { transform: translateY(-2px); box-shadow: 0 6px 26px rgba(229,57,53,0.5); }
.btn-account { background: linear-gradient(135deg, #43a047, #1b5e20); color: #fff; box-shadow: 0 4px 18px rgba(67,160,71,0.3); margin-bottom: 0; }
.btn-account:hover { transform: translateY(-2px); box-shadow: 0 6px 26px rgba(67,160,71,0.5); }

.hero-tagline { position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%); text-align: center; z-index: 10; animation: fadeUp 1.2s ease both; }
@keyframes fadeUp { from { opacity:0; transform:translateX(-50%) translateY(20px); } to { opacity:1; transform:translateX(-50%) translateY(0); } }
.hero-tagline h1 { font-family: 'Cinzel', serif; font-size: 56px; font-weight: 900; letter-spacing: 8px; text-transform: uppercase; background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.5) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 10px; filter: drop-shadow(0 0 40px rgba(255,255,255,0.15)); }
.hero-tagline p { font-size: 11px; letter-spacing: 5px; color: rgba(255,255,255,0.4); text-transform: uppercase; }

.hero-cta { position: absolute; bottom: 145px; left: 50%; transform: translateX(-50%); display: flex; gap: 16px; z-index: 10; animation: fadeUp 1.4s ease 0.2s both; }
.hero-btn-primary { padding: 13px 32px; background: linear-gradient(135deg, var(--gold), #a87515); border: none; border-radius: 8px; color: #1a0e00; font-family: 'Cinzel', serif; font-size: 12px; font-weight: 700; letter-spacing: 2px; cursor: pointer; transition: all 0.22s; box-shadow: 0 4px 24px rgba(212,168,39,0.4); text-decoration: none; display: inline-block; }
.hero-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(212,168,39,0.6); }
.hero-btn-secondary { padding: 13px 32px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18); border-radius: 8px; color: #fff; font-family: 'Cinzel', serif; font-size: 12px; font-weight: 700; letter-spacing: 2px; cursor: pointer; transition: all 0.22s; text-decoration: none; display: inline-block; }
.hero-btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.35); transform: translateY(-3px); }

.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 6px; opacity: 0.4; animation: fadeUp 2s ease 1s both; }
.scroll-hint span { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: #fff; }
.scroll-hint-arrow { width: 18px; height: 18px; border-right: 2px solid rgba(255,255,255,0.5); border-bottom: 2px solid rgba(255,255,255,0.5); transform: rotate(45deg); animation: bounce 1.5s ease-in-out infinite; }
@keyframes bounce { 0%,100% { transform:rotate(45deg) translateY(0); } 50% { transform:rotate(45deg) translateY(4px); } }

/* ══ REGISTRO ══ */
.registro-page { min-height: 100vh; padding-top: 66px; }
.registro-hero { position: relative; padding: 56px 64px 36px; overflow: hidden; }
.registro-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.registro-label { font-size: 10px; font-weight: 800; letter-spacing: 4px; color: var(--green-bright); margin-bottom: 10px; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.registro-label::before { content: ''; width: 20px; height: 1px; background: var(--green-bright); }
.registro-titulo { font-family: 'Cinzel', serif; font-size: 44px; font-weight: 900; color: #fff; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; line-height: 1.1; }
.registro-sub { font-size: 13.5px; color: #7a9a6a; max-width: 580px; line-height: 1.7; }

.registro-alert { background: rgba(229,57,53,0.12); border: 1px solid rgba(229,57,53,0.35); border-left: 3px solid var(--red); border-radius: 8px; padding: 14px 20px; color: #ef9a9a; font-size: 13px; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.registro-alert::before { content: '⚠'; font-size: 16px; }
.registro-exito { background: rgba(76,175,80,0.12); border: 1px solid rgba(76,175,80,0.35); border-left: 3px solid var(--green); border-radius: 8px; padding: 14px 20px; color: #a5d6a7; font-size: 13px; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }

.registro-form-wrap { padding: 0 64px 72px; }
.registro-form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.registro-card { background: rgba(6,9,20,0.55); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,0.07); border-radius: 16px; padding: 30px; display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden; transition: border-color 0.3s; }
.registro-card:hover { border-color: rgba(106,191,48,0.2); }
.registro-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(106,191,48,0.4), transparent); }
.registro-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2px; }
.card-title { font-family: 'Cinzel', serif; font-size: 12px; font-weight: 700; letter-spacing: 2.5px; color: #d0daf0; }
.card-hint { font-size: 9px; font-weight: 700; letter-spacing: 1.5px; color: #3a5030; text-transform: uppercase; }

.campo-label { font-size: 9.5px; font-weight: 800; letter-spacing: 2px; color: #6a9a60; text-transform: uppercase; margin-bottom: 3px; display: block; }
.campo-wrap { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); border-radius: 9px; padding: 13px 16px; transition: all 0.22s; }
.campo-wrap.full { width: 100%; }
.campo-wrap:focus-within { border-color: rgba(106,191,48,0.5); background: rgba(106,191,48,0.06); box-shadow: 0 0 0 3px rgba(106,191,48,0.08); }
.campo-icon { font-size: 14px; opacity: 0.55; flex-shrink: 0; }
.campo-wrap input, .campo-wrap select { background: transparent; border: none; outline: none; color: #fff; font-family: 'Exo 2', sans-serif; font-size: 13px; width: 100%; }
.campo-wrap select option { background: #0d1120; color: #fff; }
.campo-wrap input::placeholder { color: rgba(255,255,255,0.2); }
.campo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.campo-group { display: flex; flex-direction: column; gap: 6px; }

.captcha-row { display: flex; gap: 12px; align-items: stretch; }
.captcha-img { border-radius: 9px; overflow: hidden; cursor: pointer; border: 1px solid rgba(255,255,255,0.09); flex-shrink: 0; transition: border-color 0.2s; }
.captcha-img:hover { border-color: rgba(106,191,48,0.4); }
#captcha-canvas { display: block; }
.captcha-refresh { flex: 1; padding: 0 16px; background: linear-gradient(135deg, var(--green), #1b6e20); border: none; border-radius: 9px; color: #fff; font-family: 'Exo 2', sans-serif; font-size: 11px; font-weight: 800; letter-spacing: 2px; cursor: pointer; transition: all 0.22s; white-space: nowrap; }
.captcha-refresh:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(76,175,80,0.45); }
.captcha-hint { font-size: 10.5px; color: #4a6040; line-height: 1.65; }

.terminos-wrap { display: flex; align-items: flex-start; gap: 10px; font-size: 11.5px; color: #7a9a70; line-height: 1.65; cursor: pointer; }
.terminos-wrap input[type="checkbox"] { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; accent-color: var(--green-bright); cursor: pointer; }
.link-verde { color: var(--green-bright); text-decoration: underline; text-underline-offset: 2px; }

.btn-registro { width: 100%; padding: 16px; background: linear-gradient(135deg, var(--green-bright), #2e6e10); border: none; border-radius: 10px; color: #fff; font-family: 'Cinzel', serif; font-size: 13px; font-weight: 700; letter-spacing: 2.5px; cursor: pointer; transition: all 0.22s; box-shadow: 0 4px 22px rgba(106,191,48,0.3); position: relative; overflow: hidden; }
.btn-registro::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent); transition: left 0.4s; }
.btn-registro:hover::before { left: 100%; }
.btn-registro:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(106,191,48,0.5); }

/* ══ TIENDA ══ */
.shop-page { padding-top: 66px; min-height: 100vh; }
.shop-header { padding: 48px 44px 32px; border-bottom: 1px solid rgba(255,255,255,0.05); position: relative; }
.shop-header::before { content: ''; position: absolute; bottom: 0; left: 44px; right: 44px; height: 1px; background: linear-gradient(90deg, transparent, var(--green), transparent); }
.shop-header-label { font-size: 10px; font-weight: 800; letter-spacing: 4px; color: var(--green); margin-bottom: 8px; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.shop-header-label::before { content: ''; width: 20px; height: 1px; background: var(--green); }
.shop-header-title { font-family: 'Cinzel', serif; font-size: 38px; font-weight: 900; color: #fff; letter-spacing: 3px; margin-bottom: 6px; }
.shop-header-sub { font-size: 13px; color: var(--text-muted); }

.shop-search-wrap { padding: 20px 44px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.shop-search-inner { position: relative; max-width: 520px; margin: 0 auto; }
.shop-search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 14px; opacity: 0.4; pointer-events: none; }
.shop-search { width: 100%; padding: 13px 20px 13px 44px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09); border-radius: 10px; color: #fff; font-family: 'Exo 2', sans-serif; font-size: 12px; letter-spacing: 1px; outline: none; transition: all 0.22s; }
.shop-search::placeholder { color: rgba(255,255,255,0.2); letter-spacing: 2px; }
.shop-search:focus { border-color: rgba(76,175,80,0.5); background: rgba(76,175,80,0.06); box-shadow: 0 0 0 3px rgba(76,175,80,0.08); }

.shop-layout { display: flex; padding: 32px 44px 72px; }
.shop-sidebar { width: 190px; flex-shrink: 0; margin-right: 36px; }
.sidebar-title { font-family: 'Cinzel', serif; font-size: 11px; font-weight: 700; letter-spacing: 2.5px; color: #8a9bb5; margin-bottom: 16px; text-transform: uppercase; }
.sidebar-cats { list-style: none; display: flex; flex-direction: column; gap: 3px; }
.sidebar-cat { padding: 11px 16px; border-radius: 8px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: #5a8060; cursor: pointer; transition: all 0.2s; text-transform: uppercase; border: 1px solid transparent; display: flex; align-items: center; gap: 10px; }
.sidebar-cat:hover { color: var(--green); background: rgba(76,175,80,0.07); }
.sidebar-cat.active { background: rgba(76,175,80,0.1); border-color: rgba(76,175,80,0.25); color: #a5e080; }
.sidebar-cat .cat-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.6; flex-shrink: 0; }
.shop-main { flex: 1; min-width: 0; }
.shop-section-header { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.shop-section-title { font-family: 'Cinzel', serif; font-size: 22px; font-weight: 900; color: #fff; letter-spacing: 3px; }
.shop-section-count { font-size: 10px; font-weight: 700; color: var(--green); letter-spacing: 2px; text-transform: uppercase; background: rgba(76,175,80,0.1); border: 1px solid rgba(76,175,80,0.2); padding: 3px 10px; border-radius: 20px; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(195px, 1fr)); gap: 16px; }

.shop-card { background: rgba(10,14,26,0.85); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; overflow: hidden; cursor: pointer; transition: all 0.25s; position: relative; }
.shop-card::before { content: ''; position: absolute; inset: 0; border-radius: 14px; background: linear-gradient(135deg, rgba(76,175,80,0.05), transparent); opacity: 0; transition: opacity 0.25s; }
.shop-card:hover { border-color: rgba(76,175,80,0.4); transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(76,175,80,0.1); }
.shop-card:hover::before { opacity: 1; }
.shop-card-img { height: 175px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.shop-card-img img { max-height: 135px; object-fit: contain; filter: drop-shadow(0 4px 20px rgba(0,200,255,0.25)); transition: transform 0.3s; }
.shop-card:hover .shop-card-img img { transform: scale(1.05); }
.shop-card-badge { position: absolute; top: 10px; right: 10px; padding: 3px 8px; border-radius: 5px; font-size: 8.5px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; }
.badge-new { background: #43a047; color: #fff; }
.badge-hot { background: #f4511e; color: #fff; }
.badge-limited { background: #7b1fa2; color: #fff; }
.shop-card-info { padding: 14px 16px 16px; border-top: 1px solid rgba(255,255,255,0.05); }
.shop-card-name { font-family: 'Cinzel', serif; font-size: 11.5px; font-weight: 700; color: #d0daf0; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.shop-card-price { font-size: 10.5px; font-weight: 700; color: #4caf50; }

/* ══ RANKING ══ */
.ranking-page { min-height: 100vh; padding-top: 66px; }
.ranking-hero { padding: 56px 64px 40px; position: relative; }
.ranking-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.ranking-hero-label { font-size: 10px; font-weight: 800; letter-spacing: 4px; color: var(--gold); margin-bottom: 10px; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.ranking-hero-label::before { content: ''; width: 20px; height: 1px; background: var(--gold); }
.ranking-hero-title { font-family: 'Cinzel', serif; font-size: 44px; font-weight: 900; color: #fff; letter-spacing: 3px; margin-bottom: 12px; }
.ranking-tabs { display: flex; gap: 4px; padding: 0 64px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.ranking-tab { padding: 12px 24px; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; transition: all 0.2s; position: relative; top: 1px; }
.ranking-tab:hover { color: #fff; }
.ranking-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.ranking-content { padding: 40px 64px 72px; }
.ranking-table-wrap { background: rgba(6,9,20,0.6); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.07); border-radius: 16px; overflow: hidden; }
.ranking-table { width: 100%; border-collapse: collapse; }
.ranking-table th { padding: 16px 20px; font-size: 9.5px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-dim); border-bottom: 1px solid rgba(255,255,255,0.06); text-align: left; }
.ranking-table td { padding: 14px 20px; font-size: 13px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.04); transition: background 0.15s; }
.ranking-table tr:last-child td { border-bottom: none; }
.ranking-table tr:hover td { background: rgba(255,255,255,0.03); }
.rank-pos { font-family: 'Cinzel', serif; font-weight: 900; }
.rank-1 .rank-pos { color: #ffd54f; font-size: 16px; }
.rank-2 .rank-pos { color: #e0e0e0; font-size: 15px; }
.rank-3 .rank-pos { color: #ffb74d; font-size: 15px; }
.rank-1 td { background: rgba(255,213,79,0.04); }
.rank-2 td { background: rgba(224,224,224,0.02); }
.rank-3 td { background: rgba(255,183,77,0.03); }
.rank-player { display: flex; align-items: center; gap: 12px; }
.rank-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #8b6e3a, #3a2008); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; border: 1.5px solid rgba(212,168,39,0.25); }
.rank-name { font-weight: 700; color: #d8e4ff; font-size: 13px; }
.rank-guild { font-size: 10px; color: var(--text-dim); }
.rank-score { font-weight: 800; color: var(--gold-light); }
.rank-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 20px; font-size: 9.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.rank-badge-pvp { background: rgba(229,57,53,0.15); color: #ef9a9a; border: 1px solid rgba(229,57,53,0.3); }
.rank-badge-pvm { background: rgba(76,175,80,0.15); color: #a5d6a7; border: 1px solid rgba(76,175,80,0.3); }
.rank-badge-gold { background: rgba(212,168,39,0.15); color: #f0c842; border: 1px solid rgba(212,168,39,0.3); }

/* ══ MODAL TIENDA ══ */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 999; align-items: center; justify-content: center; backdrop-filter: blur(8px); }
.modal-overlay.open { display: flex; }
.modal-box { background: rgba(8,12,22,0.99); border: 1px solid rgba(76,175,80,0.2); border-radius: 18px; width: 90%; max-width: 700px; display: flex; overflow: hidden; position: relative; animation: modalIn .3s cubic-bezier(.34,1.56,.64,1); box-shadow: 0 0 80px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.04); }
@keyframes modalIn { from { opacity:0; transform:translateY(28px) scale(.96); } to { opacity:1; transform:translateY(0) scale(1); } }
.modal-close { position: absolute; top: 14px; right: 16px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: #5a7060; font-size: 14px; cursor: pointer; z-index: 10; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.modal-close:hover { color: #e0e8ff; background: rgba(255,255,255,0.12); }
.modal-left { flex: 1; display: flex; align-items: center; justify-content: center; padding: 44px; position: relative; min-height: 260px; }
.modal-left::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 55%, rgba(76,175,80,0.1), transparent 65%); pointer-events: none; }
.modal-emoji { font-size: 5.8rem; filter: drop-shadow(0 0 24px rgba(255,160,40,.4)); z-index: 1; transition: transform .35s ease; }
.modal-emoji:hover { transform: scale(1.1) rotate(-3deg); }
.modal-badge { position: absolute; bottom: 22px; right: 22px; background: linear-gradient(135deg, #c0306a, #8b0040); border-radius: 8px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 800; color: #fff; box-shadow: 0 4px 14px rgba(192,48,106,.5); z-index: 2; }
.modal-right { flex: 1.1; padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; border-left: 1px solid rgba(255,255,255,0.05); }
.modal-title { font-family: 'Cinzel', serif; font-size: 1.25rem; font-weight: 700; letter-spacing: .12em; color: #e0e8ff; margin-top: 16px; }
.modal-qty-row { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.modal-qty-label { font-size: .6rem; color: var(--text-muted); letter-spacing: .15em; }
.modal-qty-btn { width: 28px; height: 28px; background: rgba(255,255,255,0.05); border: 1px solid rgba(76,175,80,0.2); border-radius: 6px; color: #e0e8ff; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .15s; }
.modal-qty-btn:hover { background: rgba(76,175,80,0.15); border-color: var(--green); }
.modal-qty-val { font-size: 1rem; font-weight: 800; min-width: 24px; text-align: center; color: #e0e8ff; }
.modal-prices { display: flex; align-items: center; gap: 8px; }
.modal-price-opt { flex: 1; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; padding: 12px 14px; cursor: pointer; transition: all .2s; }
.modal-price-opt.active { border-color: var(--green); background: rgba(76,175,80,0.08); }
.modal-price-cur { font-size: .58rem; letter-spacing: .12em; font-weight: 800; color: var(--text-muted); text-transform: uppercase; margin-bottom: 4px; }
.modal-price-cur.usd { color: var(--green); }
.modal-price-opt.active .modal-price-cur { color: var(--green); }
.modal-price-val { font-size: 1.05rem; font-weight: 800; color: #e0e8ff; }
.modal-price-sep { color: rgba(255,255,255,0.08); font-size: 1.4rem; }
.modal-btns { display: flex; flex-direction: column; gap: 8px; }
.modal-btn-shop { width: 100%; padding: 14px; border-radius: 10px; border: none; font-family: 'Exo 2', sans-serif; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: all .2s; }
.modal-btn-shop.dark { background: rgba(255,255,255,0.05); color: #e0e8ff; border: 1px solid rgba(76,175,80,0.2); }
.modal-btn-shop.dark:hover { background: rgba(76,175,80,0.12); border-color: var(--green); }
.modal-btn-shop.light { background: linear-gradient(135deg, #e0e8ff, #c0d0f0); color: #060c1a; font-weight: 900; }
.modal-btn-shop.light:hover { background: #fff; transform: translateY(-1px); }

/* ══ FOOTER ══ */
footer { border-top: 1px solid rgba(255,255,255,0.05); padding: 48px 64px; background: rgba(4,6,14,0.6); backdrop-filter: blur(12px); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 12px; color: var(--text-dim); line-height: 1.8; margin-top: 12px; max-width: 240px; }
.footer-col h4 { font-family: 'Cinzel', serif; font-size: 11px; font-weight: 700; letter-spacing: 2.5px; color: #8a9bb5; margin-bottom: 16px; text-transform: uppercase; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 12px; color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.05); font-size: 11px; color: var(--text-dim); }
.footer-socials { display: flex; gap: 10px; }
.footer-social { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 14px; text-decoration: none; transition: all 0.2s; }
.footer-social:hover { background: rgba(212,168,39,0.1); border-color: var(--border-gold); color: var(--gold); transform: translateY(-2px); }

/* ══ RESPONSIVE ══ */
@media (max-width: 900px) {
  .registro-form { grid-template-columns: 1fr; }
  .registro-hero, .registro-form-wrap { padding-left: 24px; padding-right: 24px; }
  .campo-row { grid-template-columns: 1fr; }
  .ranking-hero, .ranking-tabs, .ranking-content { padding-left: 24px; padding-right: 24px; }
  footer { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  nav { padding: 0 16px; }
  .hero-content { padding: 16px; flex-direction: column; }
  .server-log { display: none; }
  .player-panel-wrap { margin: 0 auto; }
  .hero-tagline h1 { font-size: 36px; }
  .hero-cta { flex-direction: column; width: 90%; }
  .shop-layout { padding: 20px 16px 40px; flex-direction: column; }
  .shop-sidebar { width: 100%; margin-right: 0; margin-bottom: 20px; }
  .sidebar-cats { flex-direction: row; flex-wrap: wrap; }
  .shop-search-wrap { padding: 14px 16px; }
  .shop-header { padding: 32px 16px 24px; }
  .modal-box { flex-direction: column; }
  .modal-left { min-height: 180px; padding: 28px; }
  .modal-right { padding: 20px; border-left: none; border-top: 1px solid rgba(255,255,255,0.05); }
  footer { padding: 28px 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}