/* ==========================================================
   URBAN THEME - COLORES: Blanco, Negro (#0B0B0B), Azul (#0052FF), Rojo (#FF2A2A)
   ========================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    background-color: #0B0B0B;
    color: #FFFFFF;
    min-height: 100vh;
}

/* --- SPLASH SCREEN --- */
#splash-screen {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #0B0B0B;
    z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.4s ease-out;
}

.splash-content {
    display: flex; flex-direction: column; align-items: center;
}

.splash-logo {
    width: 120px; height: 120px; object-fit: contain; margin-bottom: 20px;
}

.pulse {
    animation: urbanPulse 1.2s infinite ease-in-out alternate;
}

@keyframes urbanPulse {
    0% { transform: scale(0.92); filter: drop-shadow(0 0 5px rgba(0, 82, 255, 0.4)); }
    100% { transform: scale(1.08); filter: drop-shadow(0 0 20px rgba(255, 42, 42, 0.8)); }
}

.splash-loader-bar {
    width: 140px; height: 4px; background: #1a1a1a; border-radius: 2px; overflow: hidden; position: relative;
}

.splash-loader-bar::after {
    content: ''; position: absolute; top: 0; left: -50%; width: 50%; height: 100%;
    background: linear-gradient(90deg, #0052FF, #FF2A2A);
    animation: barMove 1s infinite linear;
}

@keyframes barMove {
    0% { left: -50%; } 100% { left: 100%; }
}

/* --- PERFIL PÚBLICO --- */
.profile-wrapper {
    max-width: 500px; margin: 0 auto; min-height: 100vh;
    background-color: #121212; border-left: 1px solid #1f1f1f; border-right: 1px solid #1f1f1f;
    position: relative;
}

.profile-banner {
    height: 170px; background-size: cover; background-position: center;
    position: relative; border-bottom: 3px solid #0052FF;
}

.banner-overlay {
    position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 20%, #121212 100%);
}

.profile-content {
    padding: 0 20px 40px; margin-top: -55px; text-align: center; position: relative; z-index: 2;
}

.profile-avatar {
    width: 110px; height: 110px; border-radius: 50%; object-fit: cover;
    border: 3px solid #0052FF; outline: 3px solid #FF2A2A; background-color: #0B0B0B;
}

.profile-name {
    font-size: 1.5rem; font-weight: 800; text-transform: uppercase; color: #FFFFFF; margin: 12px 0 6px;
}

.profile-bio {
    font-size: 0.9rem; color: #AAAAAA; margin-bottom: 25px;
}

/* --- PESTAÑAS DE LINK CON WATERMARK --- */
.links-container {
    display: flex; flex-direction: column; gap: 15px;
}

.link-card {
    position: relative; background-color: #1A1A1A; border: 2px solid #282828;
    border-radius: 10px; padding: 15px 20px; display: flex; align-items: center;
    justify-content: space-between; text-decoration: none; color: #FFFFFF;
    overflow: hidden; transition: all 0.3s ease; z-index: 1;
}

/* MARCA DE AGUA EN PESTAÑA */
.link-card::before {
    content: ""; position: absolute; top: 50%; left: 50%; width: 130px; height: 130px;
    transform: translate(-50%, -50%); background-size: contain; background-repeat: no-repeat;
    background-position: center; opacity: 0.08; pointer-events: none; z-index: 0;
    filter: grayscale(100%) contrast(150%);
}

.link-card:hover::before {
    opacity: 0.16; transform: translate(-50%, -50%) scale(1.1);
}

.link-card:hover {
    border-color: #0052FF; transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 82, 255, 0.3), inset 0 0 8px rgba(255, 42, 42, 0.2);
}

.link-title {
    font-size: 1rem; font-weight: 700; text-transform: uppercase; z-index: 2; flex-grow: 1; text-align: center;
}

.link-arrow {
    font-size: 1.1rem; color: #FF2A2A; z-index: 2;
}

.custom-icon {
    width: 26px; height: 26px; object-fit: contain; border-radius: 4px;
}

.platform-dot {
    width: 10px; height: 10px; background-color: #0052FF; border-radius: 50%; display: inline-block;
}

/* --- DASHBOARD Y LOGIN --- */
.login-body { display: flex; justify-content: center; align-items: center; padding: 20px; }
.login-container { width: 100%; max-width: 380px; background: #121212; border: 2px solid #0052FF; border-radius: 12px; padding: 25px; }
.login-brand { text-align: center; margin-bottom: 20px; }
.login-logo { width: 70px; height: 70px; object-fit: contain; }

.form-group { margin-bottom: 15px; display: flex; flex-direction: column; gap: 5px; text-align: left; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: #CCC; text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea { background: #1A1A1A; border: 1px solid #333; padding: 10px; border-radius: 6px; color: #FFF; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: #0052FF; }

.btn { padding: 12px; border: none; border-radius: 6px; font-weight: 700; cursor: pointer; text-transform: uppercase; text-decoration: none; display: inline-block; text-align: center; }
.btn-primary { background: #0052FF; color: #FFF; }
.btn-success { background: #25D366; color: #FFF; }
.btn-danger { background: #FF2A2A; color: #FFF; }
.btn-block { width: 100%; }
.btn-sm { padding: 6px 10px; font-size: 0.75rem; }
.btn-outline { border: 1px solid #0052FF; color: #0052FF; background: transparent; }

.alert { padding: 10px; border-radius: 5px; margin-bottom: 15px; font-size: 0.85rem; }
.alert-error { background: rgba(255, 42, 42, 0.15); border: 1px solid #FF2A2A; color: #FF2A2A; }
.alert-success { background: rgba(37, 211, 102, 0.15); border: 1px solid #25D366; color: #25D366; }

.dash-header { background: #121212; border-bottom: 2px solid #0052FF; padding: 15px 25px; display: flex; justify-content: space-between; align-items: center; }
.dash-brand { display: flex; align-items: center; gap: 8px; font-weight: bold; }
.dash-logo-sm { width: 30px; height: 30px; object-fit: contain; }
.dash-user { display: flex; align-items: center; gap: 12px; }
.dash-container { max-width: 1000px; margin: 25px auto; padding: 0 15px; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin-bottom: 25px; }
.stat-card { background: #121212; border: 1px solid #222; border-top: 4px solid #FFF; border-radius: 8px; padding: 18px; display: flex; flex-direction: column; }
.stat-card-blue { border-top-color: #0052FF; }
.stat-card-red { border-top-color: #FF2A2A; }
.stat-number { font-size: 2rem; font-weight: bold; }
.stat-label { font-size: 0.8rem; color: #888; text-transform: uppercase; }

.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media(max-width: 768px) { .dash-grid { grid-template-columns: 1fr; } }

.card-box { background: #121212; border: 1px solid #222; border-radius: 10px; padding: 20px; }
.card-title { font-size: 1rem; text-transform: uppercase; color: #FFF; margin-bottom: 15px; border-left: 3px solid #FF2A2A; padding-left: 8px; }

.dash-link-item { background: #1A1A1A; border: 1px solid #2A2A2A; border-radius: 6px; padding: 10px; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; }
.dash-link-stats { display: flex; align-items: center; gap: 10px; }
.click-count { font-size: 0.8rem; color: #FF2A2A; font-weight: bold; }
.profile-footer { margin-top: 30px; }
.dash-access-link { color: #555; text-decoration: none; font-size: 0.8rem; }
.dash-access-link:hover { color: #0052FF; }
/* ==========================================================
   ESTILOS LANDING PAGE DE PRESENTACIÓN
   ========================================================== */
.landing-body {
    background-color: #0B0B0B;
    color: #FFFFFF;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.landing-nav {
    background: #121212;
    border-bottom: 2px solid #0052FF;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nav-actions {
    display: flex;
    gap: 10px;
}

/* HÉROE */
.hero-section {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

@media(max-width: 850px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.hero-badge {
    background: rgba(0, 82, 255, 0.15);
    border: 1px solid #0052FF;
    color: #0052FF;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.text-neon {
    color: #0052FF;
    text-shadow: 0 0 15px rgba(0, 82, 255, 0.6);
}

.text-red {
    color: #FF2A2A;
    text-shadow: 0 0 15px rgba(255, 42, 42, 0.6);
}

.hero-subtitle {
    color: #AAAAAA;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

@media(max-width: 850px) {
    .hero-buttons {
        justify-content: center;
    }
}

.btn-lg {
    padding: 15px 28px;
    font-size: 0.95rem;
}

.btn-secondary {
    background: #1A1A1A;
    border: 1px solid #333;
    color: #FFF;
}

.btn-secondary:hover {
    border-color: #FF2A2A;
    color: #FF2A2A;
}

/* PREVIEW MOCKUP */
.hero-preview {
    display: flex;
    justify-content: center;
}

.mockup-card {
    width: 280px;
    background: #121212;
    border: 2px solid #0052FF;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 82, 255, 0.25);
}

.mockup-header {
    display: flex;
    gap: 6px;
    margin-bottom: 15px;
}

.mockup-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #FF2A2A; }
.dot.yellow { background: #FFB800; }
.dot.green { background: #25D366; }

.mockup-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mockup-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #1A1A1A;
    border: 2px solid #FF2A2A;
}

.mockup-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #FFF;
    margin-bottom: 10px;
}

.mockup-link {
    width: 100%;
    background: #1A1A1A;
    border: 1px solid #282828;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    color: #CCC;
}

/* CARACTERÍSTICAS */
.features-section {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.feature-card {
    background: #121212;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 25px;
    text-align: left;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #0052FF;
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 82, 255, 0.2);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #FFF;
}

.feature-card p {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.5;
}

/* FOOTER */
.landing-footer {
    border-top: 1px solid #1f1f1f;
    padding: 30px 20px;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 15px;
}

.footer-links a {
    color: #0052FF;
    text-decoration: none;
}