/* Base Styling & Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #030712;
    color: #e2e8f0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.pb-safe {
    padding-bottom: env(safe-area-inset-bottom);
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.glass-panel:hover {
    border-color: rgba(0, 242, 254, 0.2);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 8px 32px 0 rgba(0, 242, 254, 0.08);
}

.clay-btn {
    border-radius: 1rem;
    font-weight: 600;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.clay-blue {
    background-color: #2563eb;
    color: #ffffff;
    box-shadow:
        inset 3px 3px 8px rgba(255, 255, 255, 0.3),
        inset -3px -3px 8px rgba(0, 0, 0, 0.25),
        0 8px 15px rgba(37, 99, 235, 0.4),
        0 0 12px rgba(0, 242, 254, 0.15);
}

.clay-blue:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 4px 4px 10px rgba(255, 255, 255, 0.4),
        inset -4px -4px 10px rgba(0, 0, 0, 0.3),
        0 12px 20px rgba(37, 99, 235, 0.5),
        0 0 20px rgba(0, 242, 254, 0.3);
}

.clay-blue:active {
    transform: translateY(1px) scale(0.98);
    box-shadow:
        inset 4px 4px 10px rgba(0, 0, 0, 0.3),
        inset -2px -2px 6px rgba(255, 255, 255, 0.15),
        0 4px 8px rgba(37, 99, 235, 0.3);
}

.clay-white {
    background-color: #f8fafc;
    color: #0f172a;
    box-shadow:
        inset 3px 3px 8px #ffffff,
        inset -3px -3px 10px rgba(148, 163, 184, 0.5),
        0 8px 20px -5px rgba(0, 0, 0, 0.5);
}

.clay-white:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 4px 4px 10px #ffffff,
        inset -4px -4px 12px rgba(148, 163, 184, 0.6),
        0 12px 25px -5px rgba(0, 0, 0, 0.6);
}

.clay-white:active {
    transform: translateY(1px) scale(0.98);
    box-shadow:
        inset 4px 4px 12px rgba(148, 163, 184, 0.5),
        inset -2px -2px 6px #ffffff,
        0 4px 8px -2px rgba(0, 0, 0, 0.4);
}

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 7s ease-in-out infinite 2s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 30px) scale(0.95); }
    100% { transform: translate(0, 0) scale(1); }
}

.animate-drift-1 {
    animation: drift 20s infinite alternate ease-in-out;
}

.animate-drift-2 {
    animation: drift 25s infinite alternate-reverse ease-in-out;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
        filter: drop-shadow(0 0 5px #00f2fe);
    }
    50% {
        opacity: 0.3;
        filter: none;
    }
}

.led-blink {
    animation: blink 2s infinite;
}

.led-blink-fast {
    animation: blink 0.8s infinite;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.perspective-container {
    perspective: 1000px;
}

.transform-3d {
    transform-style: preserve-3d;
}