 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: #333;
            line-height: 1.6;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        
        .main-container {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 20px 15px;
        }
        
        .container {
            max-width: 800px;
            width: 100%;
            background: white;
            border-radius: 15px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.25);
            overflow: hidden;
            margin-bottom: 25px;
        }
        
        /* HEADER COMPACTO */
        header {
            background: linear-gradient(135deg, #2575fc 0%, #6a11cb 100%);
            color: white;
            padding: 25px 20px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        /* Eliminamos el efecto de fondo flotante para simplificar */
        /* header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
            background-size: 50px 50px;
            animation: float 20s linear infinite;
        } */
        
        .logo {
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .logo-icon {
            font-size: 2.2rem;
            margin-bottom: 12px;
            color: #fff;
            background: rgba(255, 255, 255, 0.15);
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        
        h1 {
            font-size: 2rem;
            margin-bottom: 8px;
            font-weight: 700;
            letter-spacing: -0.3px;
        }
        
        .tagline {
            font-size: 0.95rem;
            opacity: 0.9;
            max-width: 550px;
            margin: 0 auto;
            line-height: 1.5;
        }
        
        .tagline small {
            font-size: 0.85rem;
            opacity: 0.8;
        }
        
        .url-shortener {
            padding: 30px;
        }
        
        /* MENSAJE DE ERROR POR SEGURIDAD (ROJO INTENSO) */
        .security-error {
            background: linear-gradient(135deg, #f56565 0%, #c53030 100%);
            color: white;
            padding: 20px;
            border-radius: 12px;
            margin-bottom: 25px;
            border-left: 5px solid #9b2c2c;
            animation: slideDown 0.4s ease-out;
            box-shadow: 0 8px 20px rgba(245, 101, 101, 0.25);
        }
        
        .security-error-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 12px;
        }
        
        .security-error-header i {
            font-size: 1.6rem;
            color: #fed7d7;
        }
        
        .security-error-header h3 {
            font-size: 1.3rem;
            margin: 0;
            color: white;
        }
        
        .security-details {
            background: rgba(255, 255, 255, 0.15);
            padding: 12px;
            border-radius: 8px;
            margin: 12px 0;
            border: 2px solid rgba(255, 255, 255, 0.25);
            font-size: 0.9rem;
        }
        
        .security-details ul {
            list-style: none;
            padding-left: 0;
        }
        
        .security-details li {
            padding: 6px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.9rem;
        }
        
        .security-details li:last-child {
            border-bottom: none;
        }
        
        /* ESTADO DEL ALIAS EN TIEMPO REAL */
        .alias-status {
            margin-top: 8px;
            padding: 8px 12px;
            border-radius: 6px;
            font-size: 0.85rem;
            font-weight: 600;
            display: none;
            align-items: center;
            gap: 8px;
            transition: all 0.3s;
        }
        
        .alias-available {
            background: #c6f6d5;
            color: #22543d;
            border: 2px solid #9ae6b4;
            display: flex;
        }
        
        .alias-taken {
            background: #fed7d7;
            color: #742a2a;
            border: 2px solid #fc8181;
            display: flex;
        }
        
        .alias-loading {
            background: #e2e8f0;
            color: #4a5568;
            border: 2px solid #cbd5e0;
            display: flex;
        }
        
        /* MENSAJE DE ÉXITO (VERDE) */
        .success-message {
            background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
            color: white;
            padding: 20px;
            border-radius: 12px;
            margin-bottom: 25px;
            border-left: 5px solid #2f855a;
            animation: slideDown 0.4s ease-out;
            box-shadow: 0 8px 20px rgba(72, 187, 120, 0.25);
        }
        
        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-15px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .success-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 12px;
        }
        
        .success-header i {
            font-size: 1.6rem;
            color: #c6f6d5;
        }
        
        .success-header h3 {
            font-size: 1.3rem;
            margin: 0;
            color: white;
        }
        
        .success-url {
            background: rgba(255, 255, 255, 0.15);
            padding: 15px;
            border-radius: 8px;
            margin: 15px 0;
            border: 2px solid rgba(255, 255, 255, 0.25);
        }
        
        .url-display {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 12px;
        }
        
        .url-display a {
            color: white;
            font-weight: 700;
            font-size: 1.1rem;
            text-decoration: none;
            flex: 1;
            word-break: break-all;
            text-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }
        
        .url-display a:hover {
            text-decoration: underline;
            color: #c6f6d5;
        }
        
        .copy-btn-success {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            font-size: 0.9rem;
            white-space: nowrap;
        }
        
        .copy-btn-success:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-2px);
        }
        
        .original-url {
            color: #c6f6d5;
            font-size: 0.9rem;
            margin-top: 10px;
            padding-top: 10px;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .form-group {
            margin-bottom: 20px;
            position: relative;
        }
        
        label {
            display: block;
            margin-bottom: 10px;
            font-weight: 600;
            color: #2d3748;
            font-size: 1rem;
        }
        
        input {
            width: 100%;
            padding: 15px;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            font-size: 1rem;
            transition: all 0.3s;
            background: #f8fafc;
        }
        
        input:focus {
            outline: none;
            border-color: #4c51bf;
            background: white;
            box-shadow: 0 0 0 3px rgba(76, 81, 191, 0.1);
        }
        
        .btn {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            padding: 16px 30px;
            border-radius: 10px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            letter-spacing: 0.5px;
        }
        
        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
        }
        
        .btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }
        
        /* ESTADÍSTICAS SIMPLES */
        .stats-simple {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            padding: 20px;
            background: #f8fafc;
            border-top: 1px solid #e2e8f0;
        }
        
        .stat-box {
            text-align: center;
            padding: 20px 12px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
            transition: all 0.3s;
            position: relative;
        }
        
        .stat-box:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 18px rgba(0,0,0,0.08);
        }
        
        .stat-icon {
            width: 50px;
            height: 50px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 12px;
            font-size: 1.5rem;
        }
        
        .stat-number {
            font-size: 2rem;
            font-weight: 800;
            color: #2d3748;
            margin: 8px 0;
            line-height: 1;
        }
        
        .stat-label {
            color: #718096;
            font-size: 0.95rem;
            font-weight: 500;
        }
        
        .stat-subtitle {
            color: #a0aec0;
            font-size: 0.8rem;
            margin-top: 6px;
        }
        
        /* BADGE DE SEGURIDAD */
        .security-badge {
            position: absolute;
            top: -6px;
            right: -6px;
            background: #f56565;
            color: white;
            font-size: 0.65rem;
            padding: 2px 6px;
            border-radius: 8px;
            font-weight: 600;
        }
        
        /* FOOTER SIMPLE Y ELEGANTE */
        footer {
            background: #1a202c;
            color: white;
            padding: 30px 15px 15px;
            margin-top: auto;
            text-align: center;
        }
        
        .footer-bottom {
            max-width: 800px;
            margin: 0 auto;
            padding-top: 15px;
            border-top: 1px solid rgba(255,255,255,0.1);
        }
        
        .footer-bottom p {
            margin-bottom: 8px;
            color: #a0aec0;
            font-size: 0.9rem;
        }
        
        .made-with {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            margin: 12px 0;
            color: #cbd5e0;
            font-size: 0.95rem;
        }
        
        .heart {
            color: #fc8181;
            animation: heartbeat 1.5s infinite;
        }
        
        @keyframes heartbeat {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }
        
        .watermark {
            color: rgba(255,255,255,0.3);
            font-size: 0.8rem;
            margin-top: 15px;
            padding-top: 12px;
            border-top: 1px solid rgba(255,255,255,0.05);
        }
        
        @media (max-width: 768px) {
            .container {
                margin: 15px;
            }
            
            .stats-simple {
                grid-template-columns: 1fr;
                gap: 12px;
            }
            
            h1 {
                font-size: 1.7rem;
            }
            
            .footer-bottom {
                padding: 15px;
            }
            
            .url-display {
                flex-direction: column;
                align-items: stretch;
            }
            
            .copy-btn-success {
                width: 100%;
                justify-content: center;
            }
            
            header {
                padding: 20px 15px;
            }
            
            .url-shortener {
                padding: 25px;
            }
        }