@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;900&display=swap');



/* Základní nastavení */

body {

    background-color: #0B1120;

    color: #ffffff;

    font-family: 'Inter', sans-serif;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;

}



/* --- ANIMACE POZADÍ (Blobs) --- */

.blob-cont {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100vh;

    overflow: hidden;

    z-index: -1;

    pointer-events: none;

}



.blob {

    position: absolute;

    border-radius: 50%;

    filter: blur(80px);

    opacity: 0.4;

    animation: moveBlob 20s infinite alternate;

}



.blob-1 {

    top: 10%;

    left: 20%;

    width: 400px;

    height: 400px;

    background: #2563eb;

    animation-delay: 0s;

}



.blob-2 {

    bottom: 20%;

    right: 10%;

    width: 300px;

    height: 300px;

    background: #06b6d4;

    animation-delay: -5s;

}



.blob-3 {

    top: 40%;

    left: 60%;

    width: 250px;

    height: 250px;

    background: #7c3aed; /* Fialová pro kontrast */

    animation-delay: -10s;

}



@keyframes moveBlob {

    0% { transform: translate(0, 0) scale(1); }

    33% { transform: translate(30px, -50px) scale(1.1); }

    66% { transform: translate(-20px, 20px) scale(0.9); }

    100% { transform: translate(0, 0) scale(1); }

}



/* --- GLASSMORPHISM & KARTY --- */

.glass {

    background: rgba(15, 23, 42, 0.6);

    backdrop-filter: blur(16px);

    -webkit-backdrop-filter: blur(16px);

    border: 1px solid rgba(255, 255, 255, 0.05);

}



.glass-card {

    background: rgba(30, 41, 59, 0.4);

    backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.05);

    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

}



.glass-card:hover {

    transform: translateY(-5px) scale(1.02);

    background: rgba(30, 41, 59, 0.7);

    border-color: rgba(6, 182, 212, 0.5);

    box-shadow: 0 0 40px -10px rgba(6, 182, 212, 0.3);

}



/* --- SHIMMER EFEKT PRO TLAČÍTKA --- */

.btn-shimmer {

    position: relative;

    overflow: hidden;

}



.btn-shimmer::after {

    content: '';

    position: absolute;

    top: 0;

    left: -100%;

    width: 50%;

    height: 100%;

    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);

    transform: skewX(-25deg);

    animation: shimmer 3s infinite;

}



@keyframes shimmer {

    0% { left: -100%; }

    20% { left: 200%; }

    100% { left: 200%; }

}



/* --- SCROLLBAR --- */

::-webkit-scrollbar { width: 8px; }

::-webkit-scrollbar-track { background: #0B1120; }

::-webkit-scrollbar-thumb { background: #3b82f6; border-radius: 4px; }

::-webkit-scrollbar-thumb:hover { background: #00d2ff; }



/* --- TYPOGRAFIE & BAREVNÉ PŘECHODY --- */

.text-gradient {

    background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 50%, #8b5cf6 100%);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    background-clip: text;

}



.bg-gradient-gamyx {

    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);

}



/* --- REVEAL ANIMACE --- */

.reveal {

    opacity: 0;

    transform: translateY(40px);

    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);

}



.reveal.active {

    opacity: 1;

    transform: translateY(0);

}

/* --- PLYNULÝ PŘECHOD MEZI STRÁNKAMI --- */
.page-fade-in {
    animation: pageFadeIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes pageFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(15px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* --- EFEKT KLIKNUTÍ NA TLAČÍTKA --- */
/* Každé klikací tlačítko se mírně zhoupne */
button:active, a.bg-blue-600:active, .glass-card:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* --- VYLEPŠENÁ REVEAL ANIMACE --- */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98); /* Přidáno jemné zmenšení */
    transition: all 0.8s cubic-bezier(0.3, 0.7, 0.1, 1); /* Hladší křivka */
}



/* Stagger delay pro grid (aby se karty načítaly postupně) */

.delay-100 { transition-delay: 100ms; }

.delay-200 { transition-delay: 200ms; }

.delay-300 { transition-delay: 300ms; }

.delay-400 { transition-delay: 400ms; }

.delay-500 { transition-delay: 500ms; }