/* EPIC CSS FOR NEXA DIGITAL HUB */

body {
    font-family: 'Cairo', sans-serif;
    background-color: #050505;
}

/* Hide scrollbar */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Background Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: floatOrb 20s infinite alternate ease-in-out;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #8b5cf6, transparent 60%);
}

.orb-2 {
    bottom: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, #0ea5e9, transparent 60%);
    animation-delay: -5s;
    animation-duration: 25s;
}

.orb-3 {
    top: 40%;
    left: 40%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #d946ef, transparent 60%);
    animation-delay: -10s;
    animation-duration: 15s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 150px) scale(1.2); }
}

/* Tech Grid Background */
.bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    z-index: 0;
}

/* Glass Panels */
.glass-nav {
    background: rgba(5, 5, 5, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Typography Animations */
.animate-gradient-x {
    background-size: 200% auto;
    animation: textShine 3s linear infinite;
}

@keyframes textShine {
    to { background-position: 200% center; }
}

.animate-bounce-slow {
    animation: bounceSlow 3s ease-in-out infinite;
}

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

.animate-pulse-fast {
    animation: pulseFast 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulseFast {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Cyber Cards */
.cyber-card {
    position: relative;
    border-radius: 24px;
    padding: 2px; /* border thickness */
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.01));
    overflow: hidden;
    transition: all 0.3s ease;
    display: block;
}

.cyber-card:hover {
    transform: translateY(-10px);
}

.cyber-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0;
    transition: opacity 0.3s ease;
    top: -50px;
    right: -50px;
    z-index: 0;
}

.cyber-card:hover .cyber-glow {
    opacity: 0.5;
}

.cyber-content {
    background: #0a0a0a;
    border-radius: 22px;
    padding: 32px;
    height: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 24px;
    border: 1px solid;
    transition: all 0.3s ease;
}

.cyber-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
}

.cta-text {
    margin-top: auto;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.cyber-card:hover .cta-text {
    opacity: 1;
    gap: 12px;
}
