/*
Theme Name: GhostLab
Theme URI: https://ghostlab.es
Author: GhostLab
Version: 1.0
Description: Tema personalizado para la plataforma GhostLab.
*/

:root {
  --bg-color: #07060a;
  --accent-magenta: #c026d3;
  --accent-pink: #d946ef;
  --accent-purple: #8b5cf6;
  --discord-color: #5865F2;
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --card-bg: #0f0d15;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-family);
  min-height: 100vh;
  overflow-x: hidden;
}

.page-view { display: none; }
.page-view.active { display: flex; flex-direction: column; align-items: center; }

.landing-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: 
    radial-gradient(circle at 50% 15%, rgba(192, 38, 211, 0.15), transparent 45%),
    radial-gradient(circle at 20% 40%, rgba(168, 85, 247, 0.08), transparent 40%);
}

header {
  width: 100%; max-width: 1200px;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 40px;
}

.nav-left { display: flex; align-items: center; gap: 12px; }
.brand-logo { font-weight: 700; font-size: 1.1rem; color: #fff; text-decoration: none; }
.status-badge {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; color: #e2e8f0;
}
.dot-online { width: 6px; height: 6px; background-color: #22c55e; border-radius: 50%; box-shadow: 0 0 8px #22c55e; }

.nav-right { display: flex; align-items: center; gap: 25px; }
.nav-link { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; cursor: pointer; transition: color 0.2s; background: none; border: none; }
.nav-link:hover { color: #fff; }

.btn-dashboard {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #fff; padding: 8px 18px; border-radius: 8px;
  font-size: 0.85rem; cursor: pointer; font-family: inherit; transition: all 0.2s;
}
.btn-dashboard:hover { background: rgba(255, 255, 255, 0.1); }

.hero {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; margin-top: 50px; padding: 0 20px; max-width: 850px;
}
.pill-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-subtle);
  padding: 6px 16px; border-radius: 20px; font-size: 0.8rem; color: #e2e8f0; margin-bottom: 25px;
}
.pill-dot { width: 5px; height: 5px; background-color: #22c55e; border-radius: 50%; }

.hero-title {
  font-size: 4.5rem; font-weight: 900; letter-spacing: 2px; text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 30%, var(--accent-pink) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 15px; text-shadow: 0 0 30px rgba(192, 38, 211, 0.3);
}
.hero-subtitle { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; max-width: 650px; margin-bottom: 35px; }

.cta-group { display: flex; gap: 15px; margin-bottom: 45px; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent-magenta), var(--accent-pink));
  color: #fff; text-decoration: none; padding: 12px 28px; border-radius: 8px;
  font-weight: 600; font-size: 0.9rem; box-shadow: 0 0 20px rgba(192, 38, 211, 0.4); transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.9; }

.btn-secondary {
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-subtle);
  color: #fff; text-decoration: none; padding: 12px 24px; border-radius: 8px;
  font-weight: 600; font-size: 0.9rem; transition: background 0.2s;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.08); }

.stats-container { display: flex; gap: 60px; margin-bottom: 80px; }
.stat-box h3 { font-size: 1.5rem; font-weight: 700; color: #fff; }
.stat-box p { color: var(--text-muted); font-size: 0.8rem; margin-top: 4px; }

.steps-section { width: 100%; max-width: 1000px; text-align: center; margin-bottom: 80px; padding: 0 20px; }
.steps-pill {
  display: inline-block; border: 1px solid rgba(192, 38, 211, 0.4);
  background: rgba(192, 38, 211, 0.1); color: var(--accent-pink);
  padding: 6px 16px; border-radius: 20px; font-size: 0.7rem; font-weight: bold;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 15px;
}
.steps-title { font-size: 2.2rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.steps-subtitle { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 40px; }

.steps-grid { display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; }
.step-card {
  background: var(--card-bg); border: 1px solid var(--border-subtle);
  border-radius: 12px; padding: 30px 20px; width: 240px; display: flex;
  flex-direction: column; align-items: center; transition: border-color 0.2s; cursor: pointer;
}
.step-card:hover { border-color: rgba(192, 38, 211, 0.4); }
.step-icon {
  width: 45px; height: 45px; background: rgba(192, 38, 211, 0.15);
  color: var(--accent-pink); border-radius: 10px; display: flex;
  align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 15px;
}
.step-card h4 { color: #fff; font-size: 1rem; margin-bottom: 8px; }
.step-card p { color: var(--text-muted); font-size: 0.8rem; line-height: 1.4; }
.arrow { color: var(--text-muted); font-size: 1.2rem; }

.modal-overlay {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px);
  justify-content: center; align-items: center; z-index: 1000;
}
.modal-box {
  background: #0d0b12; border: 1px solid var(--border-subtle);
  border-radius: 12px; padding: 35px; width: 380px; display: flex;
  flex-direction: column; gap: 15px; box-shadow: 0 0 30px rgba(0, 0, 0, 0.8); position: relative;
}
.modal-box h3 { color: #fff; font-size: 1.3rem; text-align: center; }
.btn-discord-login {
  background: var(--discord-color); color: #fff; text-decoration: none;
  padding: 12px; border-radius: 8px; font-weight: 600; font-size: 0.85rem; text-align: center;
}
.divider { text-align: center; color: var(--text-muted); font-size: 0.75rem; margin: 5px 0; }
.input-field {
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-subtle);
  padding: 12px; border-radius: 8px; color: #fff; font-family: inherit; font-size: 0.85rem; outline: none;
}
.close-btn { position: absolute; top: 15px; right: 15px; background: none; border: none; color: var(--text-muted); font-size: 1.2rem; cursor: pointer; }

.forum-wrapper { width: 100%; }
.forum-top-bar { display: flex; flex-direction: column; align-items: center; background: #0d0b14; border-bottom: 1px solid var(--border-subtle); padding-top: 15px; }
.forum-logo { font-size: 1.8rem; font-weight: 900; letter-spacing: 3px; color: #fff; margin-bottom: 15px; text-transform: uppercase; }
.forum-nav { display: flex; gap: 5px; background: #151221; padding: 6px 12px; border-radius: 8px 8px 0 0; width: 100%; max-width: 1200px; }
.forum-nav button, .forum-nav a { background: transparent; border: none; color: var(--text-muted); padding: 8px 16px; font-size: 0.85rem; font-weight: 600; border-radius: 6px; cursor: pointer; text-decoration: none; }
.forum-nav button.active, .forum-nav button:hover { background: #12101b; color: #fff; }

.forum-subnav { background: #12101b; width: 100%; border-bottom: 1px solid var(--border-subtle); display: flex; justify-content: center; }
.forum-subnav-inner { max-width: 1200px; width: 100%; padding: 10px 20px; display: flex; gap: 20px; font-size: 0.8rem; color: var(--text-muted); }
.forum-subnav-inner a { color: var(--text-muted); text-decoration: none; }

.forum-layout { max-width: 1200px; margin: 25px auto; padding: 0 20px; display: grid; grid-template-columns: 1fr 300px; gap: 25px; }
.alert-banner { grid-column: 1 / -1; background: rgba(234, 179, 8, 0.05); border: 1px dashed rgba(234, 179, 8, 0.3); border-radius: 8px; padding: 15px 20px; font-size: 0.85rem; color: #fef08a; }

.shoutbox { background: #12101b; border: 1px solid var(--border-subtle); border-radius: 8px; padding: 20px; margin-bottom: 25px; }
.shoutbox-input { width: 100%; background: #181524; border: 1px solid var(--border-subtle); padding: 12px; border-radius: 6px; color: #fff; margin: 10px 0; outline: none; }

.categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; margin-bottom: 25px; }
.category-card { background: #12101b; border: 1px solid var(--border-subtle); border-radius: 8px; padding: 20px; text-align: center; }

.widget-block { background: #12101b; border: 1px solid var(--border-subtle); border-radius: 8px; padding: 20px; margin-bottom: 20px; }
.avatars-flex { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.avatar-pill { width: 26px; height: 26px; background: var(--accent-purple); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: bold; }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.stat-card { background: var(--accent-purple); padding: 12px; border-radius: 6px; text-align: center; }

.sidebar-block { background: #12101b; border: 1px solid var(--border-subtle); border-radius: 8px; padding: 20px; margin-bottom: 20px; }
.post-tag { background: #3b82f6; color: #fff; font-size: 0.65rem; padding: 2px 5px; border-radius: 3px; font-weight: 600; }

.footer {
  width: 100%; text-align: center; padding: 30px 20px; color: var(--text-muted);
  font-size: 0.8rem; border-top: 1px solid var(--border-subtle); margin-top: auto;
  background-color: var(--bg-color);
}