:root { --primary-color: #2563eb; --primary-dark: #1d4ed8; --whatsapp-color: #25d366; --telegram-color: #0088cc; --instagram-color: #e4405f; --facebook-color: #3b5998; --youtube-color: #ff0000; --tiktok-color: #010101; --website-color: #333333; --email-color: #4a4a4a; --personal-color: linear-gradient(135deg, #ff416c, #ff4b2b); --text-color: #2d3748; --text-light: #718096; --bg-color: #f8fafc; --card-bg: rgba(255, 255, 255, 0.95); --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); --whatsapp-channel-color: #128C7E; --telegram-channel-color: #5D6BC7; --whatsapp-channel-gradient: linear-gradient(135deg, #128C7E, #075E54); --telegram-channel-gradient: linear-gradient(135deg, #5D6BC7, #3F51B5); } body { font-family: 'Poppins', sans-serif; color: var(--text-color); margin: 0; padding: 0; box-sizing: border-box; background: var(--bg-color); position: relative; overflow-x: hidden; line-height: 1.6; } .background-animation { position: fixed; bottom: 0; left: 0; width: 100%; height: 150px; overflow: hidden; z-index: -1; } .waves { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; } @keyframes move-forever { 0% { transform: translate3d(-90px, 0, 0); } 100% { transform: translate3d(85px, 0, 0); } } .parallax > use { animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite; } .parallax > use:nth-child(1) { fill: rgba(37, 99, 235, 0.7); animation-delay: -2s; animation-duration: 7s; } .parallax > use:nth-child(2) { fill: rgba(37, 99, 235, 0.5); animation-delay: -3s; animation-duration: 10s; } .parallax > use:nth-child(3) { fill: rgba(37, 99, 235, 0.3); animation-delay: -4s; animation-duration: 13s; } .parallax > use:nth-child(4) { fill: var(--primary-color); animation-delay: -5s; animation-duration: 20s; } .wrapper { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 100vh; position: relative; padding: 20px; box-sizing: border-box; } .container { background: var(--card-bg); border-radius: 16px; box-shadow: var(--shadow); padding: 30px; text-align: center; max-width: 450px; width: 100%; position: relative; overflow-y: auto; max-height: 90vh; box-sizing: border-box; backdrop-filter: blur(5px); border: 1px solid rgba(255, 255, 255, 0.2); animation: fadeIn 0.5s ease-out; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @media (max-width: 768px) { .container { max-height: 90vh; padding: 20px; } .button-row .link { max-width: 100%; margin: 5px 0; } .icon-row .icon { width: 40px; height: 40px; font-size: 18px; } } .logo img { max-width: 160px; margin-bottom: 20px; animation: slideIn 1s ease-in-out; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)); } @keyframes slideIn { from { transform: translateY(-20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } .binary-animation-inside { position: absolute; top: 60px; left: 0; width: 100%; height: 100px; overflow: hidden; z-index: -1; } .binary-animation-inside span { position: absolute; font-size: 40px; color: var(--primary-color); animation: fall linear infinite; opacity: 0.1; font-family: monospace; } @keyframes fall { 0% { top: -10%; opacity: 0.8; } 100% { top: 110%; opacity: 0; } } .welcome-message { font-size: 16px; margin-bottom: 25px; color: var(--text-light); font-weight: 400; } .icon-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-bottom: 25px; } .icon { width: 44px; height: 44px; color: #fff; border-radius: 12px; font-size: 20px; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; box-shadow: var(--shadow); } .icon.facebook { background-color: var(--facebook-color); } .icon.whatsapp { background-color: var(--whatsapp-color); } .icon.instagram { background-color: var(--instagram-color); } .icon:hover { transform: translateY(-3px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); } .button-row { display: flex; flex-direction: column; gap: 12px; align-items: center; margin-bottom: 20px; } .link { color: #fff; text-decoration: none; padding: 14px; border-radius: 12px; display: flex; align-items: center; justify-content: flex-start; transition: all 0.3s ease; width: 100%; max-width: 350px; margin: 0 auto; box-shadow: var(--shadow); position: relative; overflow: hidden; } .link::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); transition: all 0.5s ease; } .link:hover::after { left: 100%; } .link i { font-size: 20px; margin-right: 12px; width: 24px; text-align: center; } .link span { font-size: 14px; font-weight: 500; flex-grow: 1; text-align: left; } .link:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); } .link.telegram { background-color: var(--telegram-color); } .link.whatsapp-channel { background-color: var(--whatsapp-color); } .link.telegram-channel { background: linear-gradient(135deg, var(--telegram-color), #34b7f1); } .link.website { background-color: var(--website-color); } .link.tiktok { background-color: var(--tiktok-color); } .link.youtube { background-color: var(--youtube-color); } .link.email { background-color: var(--email-color); } .link.personal-website { background: var(--personal-color); color: #fff; border: none; } .link.personal-website:hover { background: linear-gradient(135deg, #ff4b2b, #ff416c); } .footer { font-size: 12px; margin-top: 25px; color: var(--text-light); font-weight: 300; } /* Animaciones para los elementos */ .animate { animation: fadeInUp 0.5s ease-out forwards; } @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .buttons-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 25px 0; } .grid-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 15px 10px; border-radius: 12px; color: white; text-decoration: none; transition: all 0.3s ease; height: 80%; min-height: 80px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); position: relative; overflow: hidden; } .grid-btn i { font-size: 24px; margin-bottom: 8px; } .grid-btn span { font-size: 13px; font-weight: 500; text-align: center; } .grid-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); } .grid-btn::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); transition: all 0.5s ease; } .grid-btn:hover::after { left: 100%; } /* Colores específicos para cada botón */ .grid-btn.telegram { background-color: var(--telegram-color); } .grid-btn.whatsapp { background-color: var(--whatsapp-color); } .grid-btn.whatsapp-channel { background: var(--whatsapp-channel-gradient); } .grid-btn.telegram-channel { background: var(--telegram-channel-gradient); } .grid-btn.personal { background: var(--personal-color); } .grid-btn.website { background-color: var(--website-color); } .grid-btn.tiktok { background-color: var(--tiktok-color); } .grid-btn.youtube { background-color: var(--youtube-color); } .grid-btn.email { background-color: var(--email-color); } .grid-btn.instagram { background-color: var(--instagram-color); } .grid-btn.facebook { background-color: var(--facebook-color); } /* Para móviles: una sola columna */ @media (max-width: 480px) { .buttons-grid { grid-template-columns: 1fr; } } /* Añade iconos ligeramente diferentes para canales */ .grid-btn.whatsapp-channel i::before { content: "\f1ac"; /* Icono de grupo de WhatsApp */ } .grid-btn.telegram-channel i::before { content: "\f086"; /* Icono de canal/broadcast */ }