/* ============================================
   Kino Sifatli — Theme: Liquid Glass 3.0
   ============================================ */

/* ============ MESH GRADIENT BACKGROUND ============ */
.bg-blobs {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: var(--bg-deep);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.07;
    will-change: transform;
    animation: liquidDrift 25s ease-in-out infinite alternate;
}

.blob-1 {
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    top: -20%;
    left: -10%;
}

.blob-2 {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
    top: 35%;
    right: -15%;
    animation-delay: -7s;
}

.blob-3 {
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, var(--accent-3) 0%, transparent 70%);
    bottom: -10%;
    left: 20%;
    animation-delay: -14s;
}

.blob-4 {
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, hsla(320, 80%, 55%, 1) 0%, transparent 70%);
    top: 60%;
    left: -5%;
    animation-delay: -3s;
    opacity: 0.04;
}

.blob-5 {
    width: 30vw;
    height: 30vw;
    background: radial-gradient(circle, hsla(200, 90%, 60%, 1) 0%, transparent 70%);
    top: 10%;
    right: 10%;
    animation-delay: -18s;
    opacity: 0.035;
}

@keyframes liquidDrift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(6%, 8%) scale(1.08);
    }

    66% {
        transform: translate(-4%, 5%) scale(0.94);
    }

    100% {
        transform: translate(3%, -3%) scale(1.02);
    }
}

/* Noise texture overlay */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: 0.012;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

/* ============ GLASS UTILITIES ============ */
.glass-surface {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-heavy)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--blur-heavy)) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all var(--t-smooth);
    position: relative;
    overflow: hidden;
}

.glass-surface::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, hsla(0, 0%, 100%, 0.12), transparent);
    pointer-events: none;
}

.glass-surface:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
}

.glass-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    background: hsla(0, 0%, 100%, 0.035);
    backdrop-filter: blur(var(--blur-light)) saturate(150%);
    -webkit-backdrop-filter: blur(var(--blur-light)) saturate(150%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.92rem;
    transition: all var(--t-fast);
    cursor: pointer;
    white-space: nowrap;
}

.glass-pill:hover {
    background: hsla(0, 0%, 100%, 0.07);
    border-color: var(--accent);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.glass-float {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-medium)) saturate(170%);
    -webkit-backdrop-filter: blur(var(--blur-medium)) saturate(170%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all var(--t-smooth);
}

.glass-float:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: var(--glass-border-hover);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

/* Glow effect behind CTAs */
.glow-accent {
    position: relative;
    overflow: visible;
}

.glow-accent::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    filter: blur(14px);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.glow-accent:hover::after {
    opacity: 0.35;
}