/* ============================================
   LANDING PAGE - MONKEY DFX
   Estilos específicos para index.html
   ============================================ */
/* Reset solo para landing */
.landing-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.landing-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0a1628 0%, #1a2942 100%);
    color: #e0e0e0;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ============================================
   ANIMACIONES DE FONDO
   ============================================ */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #ff9a3c;
    border-radius: 50%;
    animation: float 20s infinite;
    opacity: 0;
}

@keyframes float {
    0%, 100% { opacity: 0; }
    10%, 90% { opacity: 0.6; }
    50% { opacity: 1; }
}

.gradient-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    animation: moveOrb 30s infinite ease-in-out;
}

.orb1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #ff9a3c 0%, transparent 70%);
    top: -300px;
    left: -300px;
}

.orb2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #ff6b35 0%, transparent 70%);
    bottom: -200px;
    right: -200px;
    animation-delay: -10s;
}

.orb3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #1abc9c 0%, transparent 70%);
    top: 50%;
    right: 10%;
    animation-delay: -5s;
}

@keyframes moveOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(150px, -150px) scale(1.3); }
    66% { transform: translate(-150px, 150px) scale(0.8); }
}

/* ============================================
   NAVBAR LANDING
   ============================================ */
.landing-page .navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 12px 25px;
    display: flex;
    gap: 15px;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: slideDown 1s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateX(-50%) translateY(-50px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.landing-page .nav-logo {
    font-size: 22px;
    font-weight: 900;
    background: linear-gradient(135deg, #ff9a3c, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
    letter-spacing: -0.5px;
}

.landing-page .nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
    flex: 1;
}

.landing-page .nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.landing-page .nav-link:hover {
    background: rgba(255, 154, 60, 0.15);
    color: #ff9a3c;
}

.landing-page #guestNav {
    display: flex;
    gap: 10px;
    align-items: center;
}

.landing-page #userNav {
    display: none;
    gap: 12px;
    align-items: center;
}

.landing-page .welcome-text {
    color: #90a4ae;
    font-size: 13px;
    font-weight: 500;
}

.landing-page .welcome-text strong {
    color: #ff9a3c;
    font-weight: 700;
}

.landing-page .login-btn {
    background: linear-gradient(135deg, #ff9a3c, #ff6b35);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 154, 60, 0.3);
    font-size: 13px;
}

.landing-page .login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 154, 60, 0.5);
}

.landing-page .btn-nav {
    color: #e0e0e0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 18px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.landing-page .btn-nav:hover {
    background: rgba(255, 154, 60, 0.15);
    border-color: rgba(255, 154, 60, 0.3);
    color: #ff9a3c;
}

.landing-page .btn-logout {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    padding: 6px 14px;
    border-radius: 18px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.landing-page .btn-logout:hover {
    background: rgba(231, 76, 60, 0.2);
    border-color: #e74c3c;
}

/* ============================================
   MOBILE MENU
   ============================================ */
.landing-page .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: rgba(255, 154, 60, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.landing-page .hamburger:hover {
    background: rgba(255, 154, 60, 0.2);
}

.landing-page .hamburger span {
    width: 24px;
    height: 3px;
    background: #ff9a3c;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.landing-page .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

.landing-page .hamburger.active span:nth-child(2) {
    opacity: 0;
}

.landing-page .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background: linear-gradient(145deg, #1a1a2e 0%, #2a2a3e 100%);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 2001;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.mobile-menu.active {
    display: block;
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-logo {
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(135deg, #ff9a3c, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mobile-menu-close {
    font-size: 32px;
    color: #aaa;
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

.mobile-menu-close:hover {
    color: #ff9a3c;
    transform: rotate(90deg);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.mobile-menu-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu-link:hover {
    background: rgba(255, 154, 60, 0.15);
    color: #ff9a3c;
}

.mobile-menu-user {
    padding: 20px;
    background: rgba(255, 154, 60, 0.1);
    border-radius: 10px;
    margin-bottom: 20px;
}

.mobile-user-name {
    font-size: 18px;
    font-weight: 700;
    color: #ff9a3c;
}

.mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-action-btn {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.mobile-action-btn.primary {
    background: linear-gradient(135deg, #ff9a3c, #ff6b35);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 154, 60, 0.3);
}

.mobile-action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 154, 60, 0.5);
}

.mobile-action-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-action-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-action-btn.logout {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.mobile-action-btn.logout:hover {
    background: rgba(231, 76, 60, 0.2);
}

/* ============================================
   CONTENIDO
   ============================================ */
.landing-page .content {
    position: relative;
    z-index: 1;
    padding-top: 120px;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ============================================
   HERO
   ============================================ */
.landing-page .hero {
    text-align: center;
    margin-bottom: 100px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.landing-page .logo-3d {
    width: 160px;
    height: 160px;
    margin: 0 auto 30px;
    position: relative;
    animation: float3d 6s ease-in-out infinite;
}

@keyframes float3d {
    0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
    25% { transform: translateY(-15px) rotateX(3deg) rotateY(3deg); }
    50% { transform: translateY(0) rotateX(0deg) rotateY(8deg); }
    75% { transform: translateY(-8px) rotateX(-3deg) rotateY(3deg); }
}

.landing-page .logo-circle {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 3px solid #ff9a3c;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(255, 154, 60, 0.4), inset 0 0 20px rgba(255, 154, 60, 0.1);
    position: relative;
    overflow: hidden;
}

.landing-page .logo-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.landing-page .logo-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 6px 25px rgba(255, 193, 7, 0.6); }
}

.landing-page .hero-title {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #ff9a3c 50%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}

.landing-page .hero-subtitle {
    font-size: 22px;
    color: #90a4ae;
    margin-bottom: 10px;
    font-weight: 500;
}

.landing-page .hero-tagline {
    font-size: 17px;
    color: #ff9a3c;
    font-style: italic;
    margin-bottom: 50px;
}

/* ============================================
   SECCIONES
   ============================================ */
.landing-page .section {
    margin: 120px 0;
    position: relative;
    z-index: 1;
}

.landing-page .section-title {
    text-align: center;
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, #ff9a3c, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.landing-page .section-subtitle {
    text-align: center;
    color: #90a4ae;
    font-size: 18px;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ============================================
   CARDS
   ============================================ */
.landing-page .cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    perspective: 1000px;
}

.landing-page .card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 35px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.landing-page .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 154, 60, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.landing-page .card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 154, 60, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 154, 60, 0.2);
}

.landing-page .card:hover::before {
    opacity: 1;
}

.landing-page .card-icon {
    font-size: 50px;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 154, 60, 0.3));
}

.landing-page .card-title {
    font-size: 22px;
    font-weight: 700;
    color: #ff9a3c;
    margin-bottom: 12px;
}

.landing-page .card-text {
    font-size: 15px;
    color: #b0bec5;
    line-height: 1.7;
}

/* Layouts específicos */
.landing-page .values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.landing-page .community-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 50px auto;
}

.landing-page .quick-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.landing-page .stat-item {
    text-align: center;
}

.landing-page .stat-number {
    font-size: 36px;
    font-weight: 900;
    background: linear-gradient(135deg, #ff9a3c, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.landing-page .stat-label {
    font-size: 13px;
    color: #90a4ae;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   ABOUT
   ============================================ */
.landing-page .about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.landing-page .about-text {
    font-size: 17px;
    color: #b0bec5;
    line-height: 1.8;
    margin-bottom: 20px;
}

.landing-page .social-links {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.landing-page .social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff9a3c;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    background: rgba(255, 154, 60, 0.1);
    padding: 12px 24px;
    border-radius: 25px;
    border: 1px solid rgba(255, 154, 60, 0.2);
    transition: all 0.3s ease;
}

.landing-page .social-link:hover {
    background: rgba(255, 154, 60, 0.2);
    border-color: rgba(255, 154, 60, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 154, 60, 0.2);
}

/* ============================================
   CTA
   ============================================ */
.landing-page .cta-section {
    text-align: center;
    margin: 100px 0;
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.landing-page .cta-title {
    font-size: 42px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
}

.landing-page .cta-text {
    font-size: 18px;
    color: #90a4ae;
    margin-bottom: 40px;
}

.landing-page .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.landing-page .cta-btn {
    padding: 16px 40px;
    font-size: 17px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.landing-page .cta-primary {
    background: linear-gradient(135deg, #ff9a3c, #ff6b35);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 154, 60, 0.4);
}

.landing-page .cta-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 154, 60, 0.6);
}

/* ============================================
   MODAL (Glass / Soft blur)
   ============================================ */
.landing-page .modal {
    display: none;
    position: fixed;
    z-index: 2000;
        inset: 0;
        /* Slightly darker backdrop so the glass card stands out */
        background: rgba(4, 8, 14, 0.72);
        backdrop-filter: blur(8px) saturate(115%);
        -webkit-backdrop-filter: blur(8px) saturate(115%);
        /* center the modal card both vertically and horizontally */
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px; /* breathing room on small screens */
}

.landing-page .modal-content {
    position: relative;
    /* Glassy card: more opaque (less transparency) */
    background: linear-gradient(135deg, rgba(10,22,40,0.88), rgba(26,41,66,0.88));
        margin: 0;
        padding: 18px 20px; /* reduce padding so card is shorter */
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 12px; /* rounded but compact */
        width: 380px; /* slightly narrower to look more compact */
        height: auto;
        max-height: calc(100vh - 64px);
        max-width: calc(100% - 40px);
        color: #e6eef8;
        box-shadow: 0 10px 30px rgba(2, 6, 23, 0.6), inset 0 1px 0 rgba(255,255,255,0.02);
        overflow: visible; /* no internal scroll */
        display: flex;
        flex-direction: column;
        gap: 10px;
}

@media (max-width: 480px) {
    .landing-page .modal-content {
        width: calc(100% - 48px);
        height: auto;
        max-height: calc(100vh - 80px);
    }
}

.landing-page .close {
    position: absolute;
    right: 18px;
    top: 18px;
    font-size: 28px;
    color: rgba(230,238,248,0.7);
    cursor: pointer;
    transition: transform 0.25s ease, color 0.25s ease;
}

.landing-page .close:hover {
    color: #ff9a3c;
    transform: rotate(90deg) scale(1.02);
}

.landing-page .modal-title {
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 4px;
    /* gradient text accent */
    background: linear-gradient(90deg, #ff9a3c, #ff6b35);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.landing-page .modal-subtitle {
    text-align: center;
    color: rgba(200,210,220,0.7);
    margin-bottom: 10px;
    font-size: 12px;
}

.landing-page .auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.landing-page .auth-tab {
    flex: 1;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 10px;
    color: rgba(200,210,220,0.8);
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.landing-page .auth-tab:active { transform: translateY(1px); }
.landing-page .auth-tab.active {
    /* Less aggressive active tab: subtle translucent tint to avoid clashing with the primary button */
    background: rgba(255,154,60,0.10);
    color: rgba(230,238,248,0.95);
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    border: 1px solid rgba(255,154,60,0.10);
}

.landing-page .auth-form {
    display: none;
}

.landing-page .auth-form.active {
    display: block;
}

.landing-page .form-group {
    margin-bottom: 12px;
}

.landing-page .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #e0e0e0;
    font-weight: 600;
}

.landing-page .form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    background: rgba(255,255,255,0.02);
    color: #e6eef8;
    font-size: 15px;
    transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

/* ensure password fields leave space for the eye button inside */
.landing-page .password-field input {
    padding-right: 46px;
}

.landing-page .form-group input:focus {
    outline: none;
    border-color: rgba(255,154,60,0.9);
    box-shadow: 0 6px 20px rgba(255,154,60,0.12);
    transform: translateY(-1px);
}

.landing-page .submit-btn {
    width: 100%;
    padding: 12px 14px;
    background: linear-gradient(135deg, #ff9a3c, #ff6b35);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    align-self: stretch;
}

.landing-page .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(255, 154, 60, 0.18);
}

/* Password toggle inside fields */
.landing-page .password-field { position: relative; }
.landing-page .password-field input { padding-right: 46px; }
.landing-page .password-toggle {
    position: absolute;
    right: 10px;
    top: 65%; /* inside the input */
    transform: translateY(-50%);
    background: transparent; /* no separate pastilla */
    border: none;
    color: rgba(230,238,248,0.85);
    padding: 0;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    z-index: 3;
}
.landing-page .password-toggle:hover {
    color: #ff9a3c;
}

.landing-page .info-box {
    background: rgba(26, 188, 156, 0.1);
    border: 1px solid rgba(26, 188, 156, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
    font-size: 13px;
    color: #1abc9c;
}

/* ============================================
   FOOTER
   ============================================ */
.landing-page .footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #90a4ae;
    font-size: 14px;
}

.landing-page .footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.landing-page .footer-link {
    color: #90a4ae;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.landing-page .footer-link:hover {
    color: #ff9a3c;
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.landing-page .cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(145deg, #2a2a3e, #1a1a2e);
    border-top: 2px solid #ff9a3c;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    animation: slideUpCookie 0.5s ease-out;
}

@keyframes slideUpCookie {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.landing-page .cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.landing-page .cookie-text {
    flex: 1;
    min-width: 300px;
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.6;
}

.landing-page .cookie-text a {
    color: #ff9a3c;
    text-decoration: none;
    font-weight: 600;
}

.landing-page .cookie-text a:hover {
    text-decoration: underline;
}

.landing-page .cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.landing-page .cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.landing-page .cookie-accept {
    background: linear-gradient(135deg, #ff9a3c, #ff6b35);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 154, 60, 0.3);
}

.landing-page .cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 154, 60, 0.5);
}

.landing-page .cookie-reject {
    background: rgba(255, 255, 255, 0.05);
    color: #90a4ae;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-page .cookie-reject:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

/* ============================================
   UTILIDADES
   ============================================ */
.landing-page .hidden {
    display: none !important;
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 1024px) {
    .landing-page .values-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .landing-page .community-features {
        grid-template-columns: 1fr;
    }

    .landing-page .quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   RESPONSIVE - MÓVIL
   ============================================ */
@media (max-width: 768px) {
    /* Ocultar elementos desktop */
    .landing-page .nav-links,
    .landing-page #guestNav,
    .landing-page #userNav {
        display: none !important;
    }

    /* Mostrar hamburger */
    .landing-page .hamburger {
        display: flex;
    }

    .landing-page .navbar {
        padding: 10px 20px;
        width: 95%;
        justify-content: space-between;
    }

    .landing-page .content {
        padding-top: 100px;
    }

    .landing-page .hero-title { 
        font-size: 42px; 
    }

    .landing-page .hero-subtitle {
        font-size: 18px;
    }

    .landing-page .hero-tagline {
        font-size: 15px;
    }

    .landing-page .section-title { 
        font-size: 36px; 
    }

    .landing-page .section-subtitle {
        font-size: 16px;
    }

    .landing-page .cards-container { 
        grid-template-columns: 1fr; 
    }

    .landing-page .quick-stats {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }

    .landing-page .social-links {
        flex-direction: column;
        align-items: center;
    }

    .landing-page .cta-section {
        padding: 60px 20px;
    }

    .landing-page .cta-title {
        font-size: 32px;
    }

    .landing-page .cta-text {
        font-size: 16px;
    }

    .landing-page .modal-content {
        padding: 30px 20px;
        margin: 10% auto;
    }

    .landing-page .modal-title {
        font-size: 26px;
    }

    .landing-page .cookie-content {
        flex-direction: column;
    }

    .landing-page .cookie-text {
        min-width: auto;
        text-align: center;
    }

    .landing-page .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .landing-page .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
}

/* ============================================
   RESPONSIVE - MÓVIL PEQUEÑO
   ============================================ */
@media (max-width: 480px) {
    .mobile-menu {
        width: 90vw;
    }

    .landing-page .hero-title {
        font-size: 32px;
    }

    .landing-page .section-title {
        font-size: 28px;
    }

    .landing-page .logo-3d {
        width: 120px;
        height: 120px;
    }

    .landing-page .card {
        padding: 25px;
    }

    .landing-page .card-icon {
        font-size: 40px;
    }

    .landing-page .card-title {
        font-size: 18px;
    }

    .landing-page .card-text {
        font-size: 14px;
    }

    .landing-page .stat-number {
        font-size: 28px;
    }

    .landing-page .stat-label {
        font-size: 11px;
    }

    .landing-page .cta-title {
        font-size: 26px;
    }

    .landing-page .cta-btn {
        padding: 14px 30px;
        font-size: 15px;
    }
}

/* Auth modal: keep header stable and center submit button */
.landing-page #authModal .modal-content {
    /* prevent header/content jump when switching tabs */
    min-height: 380px;
}

/* Center the auth form actions so the Entrar/Crear button appears in the middle */
.landing-page .auth-form .form-actions {
    justify-content: center;
}

/* Make the auth submit buttons match the modal title gradient */
.landing-page .auth-form .btn-primary,
.landing-page .auth-form .submit-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 8px 28px rgba(255,154,60,0.16);
    min-width: 220px;
    padding: 12px 26px;
    border-radius: 12px;
    font-weight: 800;
}

/* Ensure password toggle and input spacing align inside auth forms */
.landing-page .auth-form .password-field { position: relative; }
.landing-page .auth-form .password-field input { padding-right: 52px; }
.landing-page .auth-form .password-toggle {
    position: absolute;
    right: 10px;
    top: 65%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    /* ensure the eye is visible on dark backgrounds */
    color: rgba(230,238,248,0.95);
    padding: 0;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    z-index: 12; /* above inputs */
}

/* Prevent auth inputs from turning light/white on focus so the eye remains visible */
.landing-page .auth-form .form-group input:focus,
.landing-page .auth-form .form-group input:active {
    background: rgba(255,255,255,0.04) !important;
    color: var(--text) !important;
}