/* style.css - Carbon Yellow Dark Theme */

html { scroll-behavior: smooth; }

body {
    background-color: #0A0A0A;
    color: #FFFFFF;
}

/* Dark glassmorphism navbar */
.glass {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dropzone */
.drop-zone {
    border: 2px dashed #333333;
    background-color: #161616;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.drop-zone:hover {
    border-color: #FACC15;
    background-color: rgba(250, 204, 21, 0.03);
}
.drop-zone.dragover {
    border-color: #FACC15;
    background-color: rgba(250, 204, 21, 0.08);
    transform: scale(1.01);
}

/* Three.js Viewer */
#viewer-container canvas { 
    border-radius: 1.5rem; 
    outline: none; 
    cursor: grab;
    background: #111111;
}
#viewer-container canvas:active { cursor: grabbing; }

/* Yellow loader */
.loader {
    border: 3px solid rgba(250, 204, 21, 0.1);
    border-top: 3px solid #FACC15;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    animation: spin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Skeleton */
.skeleton { 
    background: #1C1C1E; 
    position: relative; 
    overflow: hidden; 
    border-radius: 0.5rem;
}
.skeleton::after {
    content: "";
    position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, rgba(255,255,255,0) 0, rgba(255,255,255,0.03) 20%, rgba(255,255,255,0.06) 60%, rgba(255,255,255,0));
    animation: shimmer 2s infinite;
}
@keyframes shimmer { 100% { transform: translateX(100%); } }

/* Custom Scrollbar for Dark Mode */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0A0A0A;
}
::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #444444;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Specific UI Elements Overrides */
.primary-gradient-text {
    background: linear-gradient(135deg, #FACC15 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wallet-card-new {
    background: linear-gradient(135deg, #1C1C1E 0%, #111111 100%);
    border: 1px solid rgba(250, 204, 21, 0.2);
}
