body {
    background-color: #0e1010;
    color: #e1e3e3;
    overflow-x: hidden;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 10px 30px -10px rgba(0, 229, 255, 0.2);
}

.glass-panel-active {
    background: rgba(0, 229, 255, 0.08);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(0, 229, 255, 0.3);
}

.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.group:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #00e5ff;
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 1px solid #00e5ff;
    border-radius: 50%;
    animation: pulse-ring 2s infinite cubic-bezier(0.45, 0, 0.55, 1);
}

@keyframes pulse-ring {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

.cyan-glow:hover {
    box-shadow: 0px 0px 20px rgba(0, 229, 255, 0.4);
}

.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease-out, height 0.6s ease-out;
}

.btn-ripple:hover::after {
    width: 300%;
    height: 300%;
}

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

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

@keyframes fade-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal-up {
    animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-up-delayed {
    animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0f0e0d;
}

::-webkit-scrollbar-thumb {
    background: #3b3937;
    border-radius: 10px;
}

#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobile-menu.open {
    max-height: 80vh;
    overflow-y: auto;
}

.prose-lockedjar {
    color: #bfc8ca;
}

.prose-lockedjar h1,
.prose-lockedjar h2,
.prose-lockedjar h3 {
    color: #e1e3e3;
    font-family: Geist, sans-serif;
    font-weight: 500;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prose-lockedjar h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

.prose-lockedjar h2 {
    font-size: 1.75rem;
    line-height: 1.25;
}

.prose-lockedjar h3 {
    font-size: 1.25rem;
    line-height: 1.3;
    color: #00e5ff;
}

.prose-lockedjar p,
.prose-lockedjar li {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.prose-lockedjar ul,
.prose-lockedjar ol {
    margin-left: 1.25rem;
    margin-bottom: 1rem;
}

.prose-lockedjar ul {
    list-style: disc;
}

.prose-lockedjar ol {
    list-style: decimal;
}

.prose-lockedjar a {
    color: #00e5ff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.prose-lockedjar a:hover {
    opacity: 0.85;
}

.prose-lockedjar iframe {
    border-radius: 0.5rem;
    background: #191c1c;
}

.prose-lockedjar-center {
    text-align: center;
}

.prose-lockedjar-center > :first-child {
    margin-top: 0;
}

.prose-lockedjar-center ul,
.prose-lockedjar-center ol {
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    list-style-position: inside;
    display: inline-block;
    text-align: center;
}

#mobile-menu:not(.open) a {
    visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }

    .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }
}
