html {
    scroll-behavior: smooth;
}

.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-dark {
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bg-tiktok-gradient {
    background: linear-gradient(90deg, #FF0050, #08FFF9);
    background-size: 200% 200%;
    animation: gradient 8s linear infinite;
}

.neon-text {
    text-shadow: 0 0 5px rgba(255, 0, 80, 0.7), 0 0 10px rgba(8, 255, 249, 0.5);
}

.neon-box {
    box-shadow: 0 0 10px rgba(255, 0, 80, 0.7), 0 0 20px rgba(8, 255, 249, 0.5);
}

.card-3d {
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}

.card-3d:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

#result-message {
    padding: 8px 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

#result-message.success {
    background: linear-gradient(90deg, #00FF00, #00CC00);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.7), 0 0 20px rgba(0, 204, 0, 0.5);
    color: white;
}

#result-message.error {
    background: linear-gradient(90deg, #FF0000, #CC0000);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.7), 0 0 20px rgba(204, 0, 0, 0.5);
    color: white;
}

#result-data {
    max-height: 200px;
    overflow-y: auto;
    color: #e0e0e0;
}

#result-data p {
    margin: 4px 0;
}

#result-data strong {
    color: #08FFF9;
}

.break-word {
    word-break: break-all;
}

/* Thêm style cho thanh kéo (scrollbar) */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #121212;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FF0050, #08FFF9);
    border-radius: 3px;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}