/* vcreate-blog — vytaženo ze sections/vcreate-blog.php */
/* ==================== VARIABLES ==================== */
.vcreate-blog {
    --b-bg: #0a0a0f;
    --b-bg-secondary: #0e0e14;
    --b-accent: #ff3c3c;
    --b-accent-secondary: #ff6b35;
    --b-text: #f0f0f5;
    --b-text-muted: #7a7a8c;
    --b-text-dim: rgba(240, 240, 245, 0.35);
    --b-border: rgba(255, 255, 255, 0.06);
    --b-glass: rgba(255, 255, 255, 0.03);
    --b-glass-border: rgba(255, 255, 255, 0.08);
    --b-font-display: 'Syne', sans-serif;
    --b-font-body: 'Inter', sans-serif;
    --b-font-mono: 'Space Mono', monospace;
    --b-container: 1400px;

    font-family: var(--b-font-body);
    background: var(--b-bg);
    color: var(--b-text);
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow: hidden;
}

.vcreate-blog *,
.vcreate-blog *::before,
.vcreate-blog *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.vcreate-blog a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.vb-container {
    max-width: var(--b-container);
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;
    z-index: 3;
}

/* ==================== NOISE ==================== */
.vb-noise {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px;
    pointer-events: none;
    z-index: 2;
    opacity: 0.5;
}

/* ==================== CUSTOM CURSOR ==================== */
@media (min-width: 769px) {
    .vcreate-blog { cursor: none; }
}

.vcreate-blog .vb-cursor {
    width: 20px; height: 20px;
    border: 2px solid var(--b-accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease, background 0.15s ease;
    mix-blend-mode: difference;
}

.vcreate-blog .vb-cursor-dot {
    width: 6px; height: 6px;
    background: var(--b-accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

.vcreate-blog .vb-cursor.hover {
    transform: scale(2.5);
    background: var(--b-accent);
    mix-blend-mode: normal;
}

@media (max-width: 768px) {
    .vcreate-blog .vb-cursor,
    .vcreate-blog .vb-cursor-dot { display: none !important; }
    .vcreate-blog { cursor: auto !important; }
}

/* ==================== HERO ==================== */
.vb-hero {
    padding: 10rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.vb-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
}

.vb-hero-gradient {
    position: absolute;
    width: 800px; height: 800px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
}

.vb-hero-gradient-1 { top: -300px; right: -200px; background: var(--b-accent); }
.vb-hero-gradient-2 { bottom: -400px; left: -200px; background: var(--b-accent-secondary); }

.vb-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.vb-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--b-glass);
    border: 1px solid var(--b-glass-border);
    border-radius: 100px;
    padding: 0.5rem 1.25rem;
    font-family: var(--b-font-mono);
    font-size: 0.8rem;
    color: var(--b-accent);
    margin-bottom: 2rem;
}

.vb-hero-badge::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--b-accent);
    border-radius: 50%;
    animation: vbPulse 2s ease-in-out infinite;
}

@keyframes vbPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.vb-hero-title {
    font-family: var(--b-font-display);
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem !important;
    color: var(--b-text);
}

.vb-hero-title .highlight {
    background: linear-gradient(135deg, var(--b-accent) 0%, var(--b-accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vb-hero-description {
    font-size: 1.2rem;
    color: var(--b-text-muted);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.vb-hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--b-glass-border);
}

.vb-hero-stat-value {
    font-family: var(--b-font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--b-accent) !important;
}

.vb-hero-stat-label {
    font-size: 0.85rem;
    color: var(--b-text-muted);
    margin-top: 0.25rem;
}

/* ==================== CATEGORY FILTERS ==================== */
.vb-filters {
    padding: 3rem 0 1rem;
    position: relative;
    z-index: 3;
}

.vb-filters-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.vb-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.25rem;
    background: var(--b-glass);
    border: 1px solid var(--b-glass-border);
    border-radius: 100px;
    font-family: var(--b-font-body);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--b-text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.vb-filter-btn:hover {
    border-color: rgba(255, 60, 60, 0.2);
    color: var(--b-text);
    background: rgba(255, 60, 60, 0.04);
}

.vb-filter-btn.active {
    background: rgba(255, 60, 60, 0.1);
    border-color: rgba(255, 60, 60, 0.25);
    color: var(--b-accent);
}

.vb-filter-count {
    font-family: var(--b-font-mono);
    font-size: 0.65rem;
    color: var(--b-text-dim);
    background: rgba(255, 255, 255, 0.04);
    padding: 2px 6px;
    border-radius: 4px;
}

.vb-filter-btn.active .vb-filter-count {
    color: var(--b-accent);
    background: rgba(255, 60, 60, 0.08);
}

/* ==================== BLOG GRID ==================== */
.vb-grid-section {
    padding: 2rem 0 6rem;
    position: relative;
    z-index: 3;
}

.vb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* ==================== POST CARD ==================== */
.vb-card {
    background: var(--b-glass);
    border: 1px solid var(--b-glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.vb-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255, 60, 60, 0.03) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.vb-card:hover {
    border-color: rgba(255, 60, 60, 0.15);
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.vb-card:hover::before {
    opacity: 1;
}

/* Featured card (first post) */
.vb-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    border-radius: 24px;
}

.vb-card--featured .vb-card-image {
    height: 100%;
    min-height: 380px;
}

.vb-card--featured .vb-card-body {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vb-card--featured .vb-card-title {
    font-size: 1.75rem;
}

.vb-card--featured .vb-card-excerpt {
    font-size: 1rem;
    -webkit-line-clamp: 4;
}

/* Image */
.vb-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.vb-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.vb-card:hover .vb-card-image img {
    transform: scale(1.06);
}

.vb-card-image-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--b-bg-secondary), transparent);
    pointer-events: none;
    z-index: 2;
}

/* No image placeholder */
.vb-card-image--empty {
    background: var(--b-bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vb-card-image--empty svg {
    width: 48px; height: 48px;
    color: var(--b-text-dim);
}

/* Category badge on image */
.vb-card-cat {
    position: absolute;
    top: 1rem; left: 1rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: rgba(10, 10, 15, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-family: var(--b-font-mono);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--b-accent);
}

/* Body */
.vb-card-body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.vb-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.75rem;
    color: var(--b-text-dim);
}

.vb-card-meta-sep {
    width: 3px; height: 3px;
    border-radius: 50%;
    background: var(--b-text-dim);
    flex-shrink: 0;
}

.vb-card-title {
    font-family: var(--b-font-display);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--b-text);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.vb-card:hover .vb-card-title {
    color: var(--b-accent);
}

.vb-card-excerpt {
    font-size: 0.88rem;
    color: var(--b-text-muted);
    line-height: 1.65;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

/* Card footer */
.vb-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--b-border);
    margin-top: auto;
}

.vb-card-read {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--b-accent);
    transition: gap 0.3s ease;
}

.vb-card:hover .vb-card-read {
    gap: 0.75rem;
}

.vb-card-read svg {
    width: 14px; height: 14px;
    transition: transform 0.3s ease;
}

.vb-card:hover .vb-card-read svg {
    transform: translateX(3px);
}

.vb-card-date {
    font-family: var(--b-font-mono);
    font-size: 0.65rem;
    color: var(--b-text-dim);
    letter-spacing: 0.05em;
}

/* ==================== EMPTY STATE ==================== */
.vb-empty {
    text-align: center;
    padding: 6rem 2rem;
}

.vb-empty-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.vb-empty h3 {
    font-family: var(--b-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.vb-empty p {
    color: var(--b-text-muted);
    font-size: 1rem;
}

/* ==================== PAGINATION ==================== */
.vb-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 0 6rem;
    position: relative;
    z-index: 3;
}

.vb-pagination a,
.vb-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px; height: 44px;
    padding: 0 0.75rem;
    background: var(--b-glass);
    border: 1px solid var(--b-glass-border);
    border-radius: 10px;
    font-family: var(--b-font-mono);
    font-size: 0.8rem;
    color: var(--b-text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.vb-pagination a:hover {
    border-color: rgba(255, 60, 60, 0.2);
    color: var(--b-text);
    background: rgba(255, 60, 60, 0.04);
}

.vb-pagination .current {
    background: rgba(255, 60, 60, 0.1);
    border-color: rgba(255, 60, 60, 0.25);
    color: var(--b-accent);
}

.vb-pagination .dots {
    background: transparent;
    border: none;
    color: var(--b-text-dim);
}

.vb-pagination .prev,
.vb-pagination .next {
    font-family: var(--b-font-body);
    font-weight: 600;
    gap: 0.4rem;
}

.vb-pagination .prev svg,
.vb-pagination .next svg {
    width: 14px; height: 14px;
}

/* ==================== CTA SECTION ==================== */
.vb-cta {
    padding: 0 0 6rem;
    position: relative;
    z-index: 3;
}

.vb-cta-card {
    background: linear-gradient(135deg, var(--b-accent) 0%, var(--b-accent-secondary) 100%);
    border-radius: 24px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.vb-cta-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 0v2M10 18v2M0 10h2M18 10h2' stroke='white' stroke-opacity='0.05'/%3E%3C/svg%3E");
    background-size: 20px 20px;
    pointer-events: none;
}

.vb-cta-content {
    position: relative;
    z-index: 1;
}

.vb-cta-title {
    font-family: var(--b-font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.vb-cta-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.vb-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #fff;
    color: var(--b-accent) !important;
    font-family: var(--b-font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.vb-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    color: var(--b-accent) !important;
}

.vb-cta-btn svg {
    width: 16px; height: 16px;
    transition: transform 0.3s ease;
}

.vb-cta-btn:hover svg {
    transform: translateX(3px);
}

.vb-cta-contact {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    padding: 2rem;
}

.vb-cta-contact-title {
    font-family: var(--b-font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.25rem;
}

.vb-cta-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.vb-cta-contact-item:hover {
    color: #fff;
}

/* ==================== REVEAL ==================== */
.vb-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.vb-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.vb-reveal-delay-1 { transition-delay: 0.1s; }
.vb-reveal-delay-2 { transition-delay: 0.2s; }
.vb-reveal-delay-3 { transition-delay: 0.3s; }

/* Card stagger */
.vb-card {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.vb-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .vb-container { padding: 0 2rem; }

    .vb-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vb-card--featured {
        grid-template-columns: 1fr;
    }

    .vb-card--featured .vb-card-image {
        min-height: 260px;
    }

    .vb-cta-card {
        grid-template-columns: 1fr;
        padding: 3rem;
    }

    .vb-hero {
        padding: 8rem 0 4rem;
    }

    .vb-hero-stats {
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .vb-container { padding: 0 1.5rem; }

    .vb-grid {
        grid-template-columns: 1fr;
    }

    .vb-hero {
        padding: 7rem 0 3rem;
    }

    .vb-hero-stats {
        gap: 2rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .vb-hero-stat-value {
        font-size: 2rem;
    }

    .vb-card--featured .vb-card-image {
        min-height: 200px;
    }

    .vb-card--featured .vb-card-body {
        padding: 1.75rem;
    }

    .vb-card--featured .vb-card-title {
        font-size: 1.3rem;
    }

    .vb-filters-inner {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    .vb-cta-card {
        padding: 2.5rem;
    }

    .vb-pagination {
        gap: 0.35rem;
    }
}

@media (max-width: 480px) {
    .vb-hero-title {
        font-size: 2rem !important;
    }
}
