/* ============================================================
   ORCATEK — Custom Styles
   Extracted from inline <style> for optimal loading performance.
   ============================================================ */

/* Base */
body {
    font-family: 'Manrope', sans-serif;
    background-color: #0a082f;
    overflow-x: hidden;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ── Glass Card ── */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(24px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Animated Mesh Background ── */
.mesh-bg {
    position: relative;
    background:
        radial-gradient(at 0% 0%,   rgba(151, 169, 255, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(193, 128, 255, 0.15) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(105, 218, 255, 0.05) 0px, transparent 50%);
}

/* ── Floating Orbs ── */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    z-index: -1;
    animation: float-orb 20s infinite alternate ease-in-out;
}

@keyframes float-orb {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 100px) scale(1.2); }
}

/* ── Glow Button ── */
.glow-btn {
    position: relative;
    overflow: hidden;
    z-index: 0;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.glow-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 25%, #97a9ff 50%, #c180ff 75%, transparent 100%);
    animation: rotate 4s linear infinite;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.3s;
}

.glow-btn:hover::before { opacity: 1; }

.glow-btn::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ── Shimmer Text ── */
.shimmer-text {
    background: linear-gradient(90deg, #fff 0%, #718bff 25%, #fff 50%, #c180ff 75%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 8s linear infinite;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

/* ── Bento Cards ── */
.bento-card {
    animation: card-float 6s infinite ease-in-out;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bento-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(151, 169, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(151, 169, 255, 0.4);
}

@keyframes card-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

/* ── Parallax ── */
.parallax-section {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.parallax-layer {
    will-change: transform;
}

/* ── Tech Carousel ── */
.tech-carousel-track {
    animation: tech-scroll 30s linear infinite;
    padding: 1rem 0;
}

.tech-carousel-track > div { flex-shrink: 0; }

.tech-carousel-track:hover { animation-play-state: paused; }

@keyframes tech-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Mobile overrides ── */
@media (max-width: 767px) {
    .bento-card { animation: none; }
    .bento-card:hover { transform: none; box-shadow: none; }
    .parallax-layer { transform: none !important; }
}

/* ── Hamburger animation ── */
.ham-open #ham-top { transform: translateY(8px) rotate(45deg); }
.ham-open #ham-mid { opacity: 0; }
.ham-open #ham-bot { transform: translateY(-8px) rotate(-45deg); }
