/* GSM DRIVE - Custom Styles */

body {
    background-color: #0A0A0A;
    color: #F5F5F5;
    overflow-x: hidden;
}

.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
    position: relative;
    background: #0A0A0A;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    transform: perspective(1000px);
    z-index: 1;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, #f97316, transparent, #fca5a5, transparent);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -2;
}

.glass-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(20, 20, 20, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-radius: inherit;
    z-index: -1;
}

.glass-card:hover {
    transform: perspective(1000px) translateY(-10px) rotateX(3deg) rotateY(3deg);
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.15);
}

.glass-card:hover::before {
    opacity: 1;
}

/* Icon Pop Animation on Hover */
.glass-card:hover [data-lucide="check"] {
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes popIn {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}


.text-gradient {
    background: linear-gradient(to right, #FFFFFF, #A3A3A3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-accent-gradient {
    background: linear-gradient(to right, #f97316, #fca5a5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.orange-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, rgba(249, 115, 22, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(50px);
}

.sidebar-link.active {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
    border-right: 2px solid #f97316;
}

/* Nav Link Underline Effect */
.nav-link {
    position: relative;
    padding-bottom: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #f97316;
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Flush Button (Shimmer Effect) */
.btn-flush {
    position: relative;
    overflow: hidden;
}

.btn-flush::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2.5s infinite;
}
.bg-white\/5 {
    background-color: #101111;
}

select,
select.bg-white\/5 {
    background-color: #101111 !important;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}
