/* --- REGLA34.xxx Elite Design System (Full Restore) --- */

:root {
    --accent-pink: #ff7eb3;
    --accent-blue: #7afcff;
    --glass-background: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --deep-bg: #0a0a0a;
}

/* EL CUERPO PRINCIPAL CON TU FONDO ÉPICO (Partículas Rosas activadas) */
body {
    background: radial-gradient(circle, #0a000a 0%, #000 100%);
    color: #fff;
    margin: 0;
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- TÍTULOS 3D NEÓN ÉPICOS --- */
.neon-title-3d { font-family: 'Outfit', sans-serif; font-size: 3.5rem; font-weight: 900; text-align: center; margin-bottom: 50px; color: #fff; text-transform: uppercase; letter-spacing: 2px; transform: perspective(600px) rotateX(15deg); text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #ff7eb3, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 10px 10px rgba(0,0,0,.2), 0 20px 20px rgba(255,126,179,.4), 0 0 40px rgba(255,126,179,.8); animation: neon3DFloat 3s ease-in-out infinite alternate; }
@keyframes neon3DFloat { from { transform: perspective(600px) rotateX(15deg) translateY(0px); text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #ff4d8d, 0 5px 0 #ff7eb3, 0 10px 20px rgba(255,126,179,.4), 0 0 30px rgba(255,126,179,.4); } to { transform: perspective(600px) rotateX(25deg) translateY(-8px) scale(1.03); text-shadow: 0 1px 0 #fff, 0 2px 0 #ffe0eb, 0 3px 0 #ffb3ce, 0 4px 0 #ff7eb3, 0 5px 0 #ff4d8d, 0 15px 30px rgba(255,126,179,.7), 0 0 60px rgba(255,126,179,1); color: #ffffff; } }

/* --- NAVEGACIÓN PRINCIPAL GLOBAL --- */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(10, 0, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(255, 126, 179, 0.3);
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo-small a { font-family: 'Fredoka', sans-serif; font-size: 1.6rem; font-weight: 900; }
.logo-small span { color: var(--accent-pink); text-shadow: 0 0 10px var(--accent-pink); }

.nav-links { display: flex; gap: 25px; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 700; font-size: 0.95rem; transition: 0.3s; display: flex; align-items: center; gap: 6px; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-pink); text-shadow: 0 0 8px rgba(255, 126, 179, 0.6); }

.account-btn { background: transparent; border: 1px solid var(--accent-blue); color: var(--accent-blue); padding: 8px 24px; border-radius: 50px; font-weight: 800; cursor: pointer; transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.account-btn:hover { background: var(--accent-blue); color: #000; transform: scale(1.05); box-shadow: 0 0 20px rgba(122, 252, 255, 0.5); }

/* Pantalla de Bienvenida (Splash Screen) */
#welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #2a002a 0%, #000000 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 1s ease-out, visibility 1s ease-out;
}

.welcome-content { text-align: center; }
.welcome-title { font-size: 3rem; font-weight: 900; margin-bottom: 10px; color: white; letter-spacing: -1px; }
.neon-text { color: var(--accent-pink); text-shadow: 0 0 20px var(--accent-pink); }
.welcome-subtitle { color: rgba(255, 255, 255, 0.5); font-size: 1.1rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 30px; }

.loader-bar { width: 300px; height: 6px; background: rgba(255, 255, 255, 0.05); border-radius: 50px; margin: 0 auto; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); }
.progress { width: 0%; height: 100%; background: linear-gradient(90deg, #ff4d8d, #ff7eb3); box-shadow: 0 0 15px #ff7eb3; animation: loading 2s cubic-bezier(0.4, 0, 0.2, 1) forwards; }

@keyframes loading { 0% { width: 0%; } 100% { width: 100%; } }
.hidden-welcome { opacity: 0; visibility: hidden; }

/* --- CONTADOR DE USUARIOS FIREBASE --- */
.counter-section { margin: 40px auto 60px; text-align: center; }
.serving-label { font-size: 1.1rem; letter-spacing: 5px; color: var(--accent-blue); font-weight: 900; text-transform: uppercase; margin-bottom: 15px; }
.counter-display { display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 20px; }
.digit { background: rgba(5, 5, 10, 0.8); border: 1px solid rgba(255, 126, 179, 0.5); padding: 12px 18px; font-size: 3.5rem; font-family: 'Outfit', sans-serif; font-weight: 900; color: white; border-radius: 12px; box-shadow: 0 0 25px rgba(255, 126, 179, 0.2), inset 0 0 10px rgba(255,255,255,0.05); text-shadow: 0 0 15px rgba(255, 126, 179, 0.8); line-height: 1; }
.comma { font-size: 3.5rem; color: var(--accent-pink); font-weight: 900; margin: 0 5px; text-shadow: 0 0 15px var(--accent-pink); }
.sub-counter { font-size: 0.95rem; color: rgba(255,255,255,0.6); letter-spacing: 1px; }
.sub-counter span { color: var(--accent-blue); font-weight: 800; text-shadow: 0 0 10px rgba(122, 252, 255, 0.5); }

/* --- SECCIÓN HERO GLOBAL (CENTRADOR) --- */
.hero { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 100vh; text-align: center; position: relative; z-index: 10; padding-top: 50px; }
.hero-content { display: flex; flex-direction: column; align-items: center; max-width: 1200px; width: 100%; padding: 0 20px; }

.feature-img-top { width: 100%; max-width: 600px; height: 350px; object-fit: cover; border-radius: 30px; margin-bottom: 30px; border: 2px solid rgba(255, 126, 179, 0.4); box-shadow: 0 0 50px rgba(255, 126, 179, 0.2); transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); cursor: crosshair; }
.feature-img-top:hover { transform: perspective(800px) rotateX(12deg) rotateY(-8deg) translateY(-15px) scale(1.05); box-shadow: -30px 30px 60px rgba(255, 126, 179, 0.7), 30px -30px 60px rgba(122, 252, 255, 0.7), 0 0 80px rgba(255, 255, 255, 0.5); border-color: #fff; }

.main-logo-text { font-family: 'Fredoka', sans-serif; font-size: 5rem; font-weight: 900; background: linear-gradient(135deg, #fff, var(--accent-pink)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 0 0 20px rgba(255,126,179,0.3); margin: 10px 0; letter-spacing: -2px; }
.subtitle { font-size: 1.2rem; color: rgba(255,255,255,0.7); max-width: 700px; margin: 0 auto 40px; line-height: 1.8; }

/* --- SECCIÓN HERO ÉPICA --- */
.hero-epic { padding: 100px 20px; text-align: center; position: relative; }
.epic-title { font-size: 4rem; font-weight: 900; margin-bottom: 20px; line-height: 1.1; }
.gradient-text { background: linear-gradient(90deg, #fff, var(--accent-pink), #fff); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shine 3s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }
.epic-subtitle { font-size: 1.4rem; color: rgba(255,255,255,0.7); max-width: 800px; margin: 0 auto 30px; }
.epic-badge { background: linear-gradient(45deg, #ff416c, #ff4b2b); color: white; display: inline-block; padding: 8px 20px; border-radius: 50px; font-weight: 800; font-size: 0.9rem; letter-spacing: 1px; }

/* --- NAVEGACIÓN Y BÚSQUEDA --- */
.search-section { display: flex; flex-direction: column; align-items: center; gap: 40px; margin-top: 20px; width: 100%; }
.search-container { display: flex; width: 100%; max-width: 750px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 126, 179, 0.3); border-radius: 60px; padding: 8px; backdrop-filter: blur(20px); transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); transform-style: preserve-3d; }
.search-container:focus-within, .search-container:hover { border-color: var(--accent-blue); box-shadow: 0 20px 50px rgba(122, 252, 255, 0.4), 0 -15px 40px rgba(255, 126, 179, 0.3); background: rgba(255, 255, 255, 0.08); transform: perspective(800px) rotateX(-5deg) translateY(-5px) scale(1.03); }
.main-search { flex: 1; background: transparent; border: none; padding: 15px 35px; color: white; font-size: 1.2rem; outline: none; }
.search-btn { background: linear-gradient(135deg, #ff416c, #ff4b2b); color: white; padding: 12px 45px; border-radius: 50px; font-weight: 900; cursor: pointer; border: none; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.search-btn:hover { transform: scale(1.08); box-shadow: 0 10px 30px rgba(255, 65, 108, 0.4); text-shadow: 0 0 10px #fff; }

.button-grid { display: flex; flex-direction: column; gap: 20px; align-items: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; transform-style: preserve-3d; }
.nav-btn { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--glass-border); padding: 14px 28px; border-radius: 18px; color: rgba(255,255,255,0.8); text-decoration: none; font-weight: 700; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: flex; align-items: center; gap: 10px; backdrop-filter: blur(10px); }
.nav-btn:hover { background: rgba(255, 126, 179, 0.15); border-color: var(--accent-pink); color: white; transform: perspective(400px) rotateX(15deg) translateY(-10px) scale(1.1); box-shadow: 0 25px 40px rgba(255, 126, 179, 0.6), 0 -5px 20px rgba(122, 252, 255, 0.4); text-shadow: 0 0 10px #fff; z-index: 100; }
.nav-btn.special { background: rgba(122, 252, 255, 0.05); border-color: rgba(122, 252, 255, 0.3); }
.nav-btn.special:hover { border-color: var(--accent-blue); box-shadow: 0 25px 40px rgba(122, 252, 255, 0.6), 0 -5px 20px rgba(255, 126, 179, 0.4); }

/* --- ESTACIÓN MULTIMEDIA (POST CARDS) --- */
.post-card { background: rgba(20, 20, 25, 0.4); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 20px; overflow: hidden; transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,0.5); transform-style: preserve-3d; }
.post-card:hover { transform: perspective(800px) translateY(-12px) rotateX(5deg) scale(1.03); border-color: var(--accent-blue); box-shadow: 0 25px 50px rgba(122, 252, 255, 0.3), 0 -5px 20px rgba(255, 126, 179, 0.2); z-index: 100; }

.post-info { padding: 40px 20px 20px; background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 40%, transparent 100%); position: absolute; bottom: 0; width: 100%; transition: 0.4s; z-index: 5; text-align: left; }
.post-author { font-weight: 900; font-size: 1.25rem; text-shadow: 0 0 15px rgba(0,0,0,1); letter-spacing: 0.5px; margin-bottom: 5px; color: white; }
.post-model { font-size: 0.85rem; color: rgba(255,255,255,0.85); font-weight: 700; display: inline-block; background: rgba(255, 255, 255, 0.1); padding: 5px 12px; border-radius: 50px; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.05); }

/* --- BADGE DE GLOW ÉPICO --- */
.like-badge { position: absolute; top: 15px; left: 15px; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(15px); border: 1px solid rgba(122, 252, 255, 0.3); padding: 6px 14px; border-radius: 50px; display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 0.95rem; color: white; box-shadow: 0 5px 20px rgba(0,0,0,0.5); z-index: 10; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.post-card:hover .like-badge { transform: scale(1.15) translateZ(20px); border-color: var(--accent-pink); background: rgba(255, 126, 179, 0.1); box-shadow: 0 0 20px rgba(255, 126, 179, 0.4); }
.heart-icon { font-size: 1.1rem; filter: drop-shadow(0 0 8px var(--accent-blue)); transition: 0.3s; }
.post-card:hover .heart-icon { filter: drop-shadow(0 0 10px var(--accent-pink)); }

/* --- FEATURES GRID (TARJETAS DE ICONOS INFO) --- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; width: 100%; max-width: 1200px; padding: 20px; }
.feature-card { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--glass-border); border-radius: 24px; padding: 40px 20px; text-align: center; backdrop-filter: blur(15px); transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); transform-style: preserve-3d; cursor: pointer; }
.feature-card:hover { transform: perspective(800px) rotateX(15deg) translateY(-15px) scale(1.05); border-color: var(--accent-pink); box-shadow: 0 25px 50px rgba(255, 126, 179, 0.4), 0 -10px 30px rgba(122, 252, 255, 0.2); }
.feature-card h3 { font-family: 'Fredoka', sans-serif; font-size: 1.5rem; margin: 15px 0 10px; color: white; }
.feature-card p { font-size: 0.95rem; color: rgba(255,255,255,0.7); }
.f-icon { margin-bottom: 20px; filter: drop-shadow(0 0 15px rgba(255,255,255,0.2)); transition: 0.4s; }
.feature-card:hover .f-icon { transform: scale(1.2) translateZ(30px); filter: drop-shadow(0 0 20px var(--accent-pink)); }

/* --- NIVELES DE USUARIO (GLOW) --- */
.name-master { color: var(--accent-pink) !important; text-shadow: 0 0 15px rgba(255, 126, 179, 0.9) !important; font-weight: 900 !important; }
.name-god { background: linear-gradient(90deg, #ff7eb3, #7afcff, #ff7eb3); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: 900 !important; animation: godPulse 2s infinite, shine 3s linear infinite; }
@keyframes godPulse { from { filter: drop-shadow(0 0 10px rgba(122, 252, 255, 0.5)); } to { filter: drop-shadow(0 0 25px rgba(122, 252, 255, 0.9)); } }

/* --- DESCARGA DE APP WINDOWS --- */
.app-container { padding: 100px 20px; text-align: center; }
.app-card { background: rgba(0,0,0,0.4); backdrop-filter: blur(30px); border: 1px solid var(--glass-border); border-radius: 40px; padding: 50px; display: inline-block; max-width: 600px; box-shadow: 0 40px 100px rgba(0,0,0,0.6); }
.app-badge { background: gold; color: black; display: inline-block; padding: 5px 15px; border-radius: 50px; font-weight: 900; margin-bottom: 20px; font-size: 0.8rem; }
.app-title { font-size: 3rem; font-weight: 800; margin-bottom: 15px; }
.app-features { list-style: none; padding: 0; margin: 30px 0; text-align: left; display: inline-block; }
.app-features li { margin-bottom: 10px; font-weight: 600; font-size: 1.1rem; color: rgba(255,255,255,0.8); }
.download-btn { background: white; color: black; padding: 18px 50px; border-radius: 60px; font-weight: 900; font-size: 1.2rem; text-decoration: none; display: inline-block; margin-top: 20px; transition: 0.4s; }
.download-btn:hover { background: var(--accent-pink); color: white; transform: scale(1.05); box-shadow: 0 15px 40px rgba(255,126,179,0.5); }

/* --- SECCIÓN TUTORIAL Y BOTONES TECNOLÓGICOS --- */
.neon-tech-btn { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.2); border-radius: 12px; padding: 15px 30px; color: white; font-family: 'Inter', sans-serif; font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; cursor: pointer; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); transform-style: preserve-3d; }
.neon-tech-btn:hover { transform: perspective(500px) translateY(-8px) rotateX(10deg) scale(1.05); border-color: var(--accent-pink); background: rgba(255, 126, 179, 0.1); box-shadow: 0 15px 30px rgba(255, 126, 179, 0.3); }
.neon-tech-btn.gold { border-color: rgba(255, 215, 0, 0.5); background: rgba(255, 215, 0, 0.05); color: #fff; }
.neon-tech-btn.gold:hover { border-color: gold; background: rgba(255, 215, 0, 0.15); box-shadow: 0 15px 30px rgba(255, 215, 0, 0.3); text-shadow: 0 0 10px gold; }
.neon-tech-btn.blue { border-color: rgba(122, 252, 255, 0.5); background: rgba(122, 252, 255, 0.05); }
.neon-tech-btn.blue:hover { border-color: var(--accent-blue); background: rgba(122, 252, 255, 0.15); box-shadow: 0 15px 30px rgba(122, 252, 255, 0.4); text-shadow: 0 0 10px var(--accent-blue); }

@keyframes floatArrow {
    0% { transform: translateY(0px) scale(1); filter: drop-shadow(0 0 15px var(--accent-pink)); }
    100% { transform: translateY(-15px) scale(1.1); filter: drop-shadow(0 0 30px var(--accent-pink)); }
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .epic-title { font-size: 2.5rem; }
    .search-container { max-width: 90%; }
    .app-title { font-size: 2rem; }
}
