/* opensource.bid - Y2K Open-Source Marketplace */
/* Colors: #F0A088, #2A2018, #2ABFBF, #7A6E5A, #F0E8DC, #B0A0D0 */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito Sans', sans-serif;
    color: #2A2018; background: #F0E8DC; overflow-x: hidden;
}

.shimmer-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(42,191,191,0.04) 0%, rgba(240,160,136,0.04) 33%, rgba(176,160,208,0.04) 66%, rgba(42,191,191,0.04) 100%);
    background-size: 400% 400%;
    animation: shimmer 8s ease-in-out infinite;
    pointer-events: none; z-index: -1;
}

.blob {
    position: fixed; border-radius: 50% 40% 60% 45%; pointer-events: none; z-index: 0;
    animation: blobDrift 6s ease-in-out infinite;
}
.blob-1 { width: 200px; height: 180px; background: #2ABFBF; opacity: 0.06; top: 10%; left: -40px; animation-delay: 0s; }
.blob-2 { width: 160px; height: 170px; background: #F0A088; opacity: 0.07; top: 30%; right: -30px; animation-delay: 1s; }
.blob-3 { width: 180px; height: 160px; background: #B0A0D0; opacity: 0.05; top: 55%; left: 10%; animation-delay: 2s; }
.blob-4 { width: 140px; height: 150px; background: #2ABFBF; opacity: 0.06; bottom: 20%; right: 15%; animation-delay: 3s; }
.blob-5 { width: 170px; height: 160px; background: #F0A088; opacity: 0.05; bottom: 5%; left: -20px; animation-delay: 1.5s; }

.content-stream {
    position: relative; z-index: 1; max-width: 680px; margin: 0 auto; padding: 0 24px;
}

.hero { text-align: center; padding: 100px 0 60px; }

.hero-title {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700; color: #2A2018;
    opacity: 0; animation: bubblePop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
}

.hero-sub {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1rem; color: #7A6E5A; margin-top: 8px;
    opacity: 0; animation: fadeIn 0.6s ease 0.8s forwards;
}

.bubble-block {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border-radius: 24px; padding: 32px; margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 16px rgba(42, 32, 24, 0.04);
    transition: border-radius 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, transform 0.3s ease;
    opacity: 0; transform: scale(0.95);
}

.bubble-block.visible {
    opacity: 1; transform: scale(1);
    animation: bubblePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.bubble-block:hover {
    border-radius: 28px;
    box-shadow: 0 8px 24px rgba(42, 32, 24, 0.08);
    background: rgba(255, 255, 255, 0.9);
}

.bid-label {
    font-family: 'Fira Code', monospace;
    font-size: 12px; font-weight: 500; color: #2ABFBF;
    letter-spacing: 0.08em; display: block; margin-bottom: 8px;
}

.block-title {
    font-family: 'Nunito', sans-serif;
    font-size: 1.4rem; font-weight: 700; color: #2A2018; margin-bottom: 8px;
}

.block-body {
    font-size: 0.95rem; line-height: 1.8; color: #7A6E5A; margin-bottom: 12px;
}

.bid-info {
    padding-top: 8px; border-top: 1px solid rgba(42, 191, 191, 0.1);
}

.bid-code {
    font-family: 'Fira Code', monospace;
    font-size: 13px; color: #B0A0D0;
}

.pill-nav {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 100;
    background: rgba(255,255,255,0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border-radius: 40px; padding: 8px 12px;
    border: 1px solid rgba(255,255,255,0.5);
    opacity: 0; animation: fadeIn 0.6s ease 1.2s forwards;
}

.pill-item {
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem; font-weight: 600; color: #7A6E5A;
    padding: 6px 16px; border-radius: 20px; cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.pill-item:hover { background: #2ABFBF; color: #FFFFFF; }

@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes blobDrift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(10px, -15px) scale(1.05); } }
@keyframes bubblePop { 0% { opacity: 0; transform: scale(0.9); } 60% { transform: scale(1.02); } 100% { opacity: 1; transform: scale(1); } }
@keyframes fadeIn { to { opacity: 1; } }

@media (max-width: 768px) {
    .content-stream { padding: 0 16px; }
    .bubble-block { padding: 24px; border-radius: 20px; }
    .pill-nav { bottom: 12px; }
}
