:root {
    --bg: #0a0805;
    --gold: #c9a84c;
    --gold-dim: #7a6230;
    --text: #d4c9a8;
    --text-dim: #6b6050;
    --border: rgba(201,168,76,0.15);
}

/* --- Blanik Wrapper --- */
.blanik-wrap {
    background: rgba(10, 8, 5, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    min-height: 420px;
    width: 60%;
    margin: -7rem auto 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    position: relative;
    border-radius: 60px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8), 0 0 60px rgba(201, 168, 76, 0.1);
    z-index: 10;
    overflow: hidden;
    border: 1px solid rgba(201, 168, 76, 0.242);
}

.blanik-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 60px;
    background: radial-gradient(ellipse at center top, rgba(201, 168, 76, 0.08) 0%, transparent 80%);
    filter: blur(5px);
    pointer-events: none;
    z-index: 1;
}

/* --- Scroll Container --- */
.scroll-container {
    width: 100%;
    max-width: 480px;
    position: relative;
    text-align: center;
}

.scroll-window {
    height: 300px;
    overflow: hidden;
    position: relative;
    cursor: ns-resize;
    mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
}

.slides-track {
    display: flex;
    flex-direction: column;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Slide / Blur --- */
.slide {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    transition: all 0.8s ease;
    filter: blur(10px);
    opacity: 0.1;
    transform: scale(0.9);
}

.slide.active {
    opacity: 1;
    filter: blur(0px);
    transform: scale(1);
}

.slide.near {
    opacity: 0.4;
    filter: blur(4px);
    transform: scale(0.95);
}

.slide-num {
    font-family: 'Cinzel', serif;
    font-size: 9px;
    letter-spacing: 0.3em;
    color: var(--gold-dim);
    margin-bottom: 0.6rem;
    display: block;
}

.slide-text {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--text);
    font-family: 'Cormorant Garamond', serif;
}

.slide-text em {
    font-style: italic;
    color: var(--gold);
}

/* --- Tečky --- */
.dots {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
}

.dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold-dim);
    transition: all 0.4s ease;
}

.dot.active {
    background: var(--gold);
    transform: scale(1.5);
}

.scroll-hint {
    margin-top: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-dim);
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    font-style: italic;
}

.scroll-hint svg {
    opacity: 0.5;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

.grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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)'/%3E%3C/svg%3E");
    z-index: 5;
}

/* Základní styly pro tlačítka (skrytá) */
.blanik-btn {
    display: none; 
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid var(--border);
    color: var(--gold);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    z-index: 30;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.blanik-btn.prev { left: -50px; }
.blanik-btn.next { right: -50px; }

.blanik-btn:active { background: var(--gold); color: var(--bg); }


/* --- Mobilní úpravy --- */
@media (max-width: 1024px) {
    .blanik-btn { display: flex; } /* Zobrazíme tlačítka */
    
    .scroll-window {
        touch-action: pan-y; /* Povolí klasické scrollování stránky, ne tracku */
        cursor: default;
        mask-image: none; /* Na mobilu může být maska matoucí */
        -webkit-mask-image: none;
    }

    .blanik-wrap {
        width: 85%; /* Trochu roztáhneme na mobilu */
        padding: 2rem 1rem;
    }

    /* Posuneme tlačítka blíž, pokud není místo */
    .blanik-btn.prev { left: -10px; }
    .blanik-btn.next { right: -10px; };
}


