/* — 1. Layout & Grid — */
.sci-panel-container {
padding: 20px;
background: #050b14; /* Dark Background */
border-radius: 10px;
}
.neon-header {
color: #00f3ff;
font-family: sans-serif;
border-bottom: 1px solid rgba(255,255,255,0.1);
padding-bottom: 10px;
margin-bottom: 20px;
text-transform: uppercase;
}
.app-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 25px;
}
/* — 2. Card Styling — */
.app-card {
background: #000;
border-radius: 12px;
height: 180px;
position: relative;
overflow: hidden;
border: 1px solid #333;
box-shadow: 0 4px 15px rgba(0,0,0,0.5);
transition: transform 0.3s ease, border-color 0.3s ease;
}
/* Hover Effect: Card lifts up and gets blue border */
.app-card:hover {
transform: translateY(-5px);
border-color: #00f3ff;
box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}
.card-link {
display: block;
width: 100%;
height: 100%;
text-decoration: none;
}
/* — 3. Image Styling — */
.image-wrapper {
width: 100%;
height: 100%;
position: relative;
}
.image-wrapper img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
/* — 4. Animation Logic (The “Scrolling” Effect) — */
/* We stack the images. The top one fades in and out. */
.anim-fade img {
position: absolute;
top: 0;
left: 0;
}
.anim-fade .top-img {
animation: fadeCycle 6s infinite; /* Loop every 6 seconds */
}
/* This defines the fading sequence */
@keyframes fadeCycle {
0% { opacity: 0; }
45% { opacity: 0; } /* Stay hidden for first half */
50% { opacity: 1; } /* Fade in */
95% { opacity: 1; } /* Stay visible for second half */
100% { opacity: 0; } /* Fade out */
}
/* — 5. Text Label — */
.card-label {
position: absolute;
bottom: 0;
width: 100%;
background: linear-gradient(to top, rgba(0,0,0,0.9) 20%, transparent);
color: #fff;
padding: 15px 10px 8px;
font-weight: 700;
font-size: 1.1em;
z-index: 2;
}
.card-label span {
border-bottom: 2px solid #ff9e00; /* Orange accent underline */
}