/* ===== Daxium Tools — Global Styles ===== */

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0A0A0A; }
::-webkit-scrollbar-thumb { background: #1A1A1A; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #FFD700; }

/* Selection */
::selection { background: rgba(255, 215, 0, 0.3); color: #fff; }

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Glow text */
.text-glow {
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.3);
}

/* Neon border effect */
.neon-border {
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.1), inset 0 0 5px rgba(255, 215, 0, 0.05);
}
.neon-border:hover {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2), 0 0 30px rgba(255, 215, 0, 0.1), inset 0 0 5px rgba(255, 215, 0, 0.05);
}

/* Tool card hover */
.tool-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.tool-card:hover {
    transform: translateY(-2px);
}

/* Upload zone */
.upload-zone {
    border: 2px dashed #333;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.upload-zone::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.upload-zone:hover,
.upload-zone.drag-over {
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.02);
}
.upload-zone:hover::before,
.upload-zone.drag-over::before {
    opacity: 1;
}
.upload-zone.drag-over {
    transform: scale(1.01);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
}

/* Progress bar */
.progress-bar {
    height: 6px;
    border-radius: 3px;
    background: #1A1A1A;
    overflow: hidden;
}
.progress-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #FFD700, #FFE44D);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Loader spinner */
.loader {
    width: 40px;
    height: 40px;
    border: 3px solid #1A1A1A;
    border-top-color: #FFD700;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Pulse dot */
.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FFD700;
    animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

/* Fade in animation */
.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
}
@keyframes fadeIn {
    to { opacity: 1; }
}

/* Toast notifications */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    animation: toastIn 0.3s ease-out, toastOut 0.3s ease-in 3.7s forwards;
    max-width: 400px;
}
.toast-success {
    background: #111;
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}
.toast-error {
    background: #111;
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}
.toast-info {
    background: #111;
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #FFD700;
}

@keyframes toastIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes toastOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* File item in list */
.file-item {
    animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
    from { transform: translateX(-10px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Button glow */
.btn-glow {
    position: relative;
    overflow: hidden;
}
.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}
.btn-glow:hover::after {
    opacity: 1;
}

/* Result card */
.result-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(17, 17, 17, 1) 100%);
}

/* Dropdown menu */
.dropdown-menu {
    transform: translateY(5px);
    transition: all 0.2s ease;
}
.group:hover .dropdown-menu {
    transform: translateY(0);
}
