/* --- BENDRI FONAI IR GLOW EFEKTAI --- */
body {
    background-color: #030305;
    background-image: radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08), transparent 25%),
                      radial-gradient(circle at 85% 30%, rgba(236, 72, 153, 0.08), transparent 25%);
}

/* Kibernetinis tinklelis fonui suteikti gylio */
.bg-grid-pattern {
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

/* Dešinės pusės grafikos sklandymas */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Patobulintas tekstas (švytintis) */
.text-glow {
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
}

/* Sklandantys fono debesys (Orbs) */
.glowing-orb {
    position: absolute;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.5;
    border-radius: 50%;
    pointer-events: none;
    animation: blob 15s infinite alternate ease-in-out;
}
.orb-blue { background: rgba(59, 130, 246, 0.3); }
.orb-purple { background: rgba(168, 85, 247, 0.3); }
.orb-pink { background: rgba(236, 72, 153, 0.3); }

/* --- TIKRAS STIKLAS (GLASSMORPHISM) --- */
.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.005) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(236, 72, 153, 0.3); /* Rožinis rėmelis užvedus */
    box-shadow: 0 15px 45px -10px rgba(236, 72, 153, 0.2);
}

/* --- PELĖS ŠVIESOS EFEKTAS (Spotlight) --- */
.glass-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(
        800px circle at var(--mouse-x) var(--mouse-y), 
        rgba(236, 72, 153, 0.1), /* Švelni rožinė šviesa iš po pelės */
        transparent 40%
    );
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.glass-card:hover::before {
    opacity: 1;
}

/* Užtikrinam, kad kortelės tekstas būtų virš šviesos efekto */
.glass-card > * {
    position: relative;
    z-index: 1;
}

/* --- ANIMUOTAS TEKSTO GRADIENTAS --- */
.text-gradient-animated {
    background: linear-gradient(to right, #60A5FA, #A855F7, #EC4899, #60A5FA);
    background-size: 300% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to { background-position: 300% center; }
}

/* Pagrindinis mygtukas (Glow pulse) */
.btn-glow {
    background: linear-gradient(90deg, #3B82F6, #EC4899);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    border: none;
}
.btn-glow::before {
    content: "";
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(90deg, #3B82F6, #EC4899, #A855F7, #3B82F6);
    background-size: 300%;
    z-index: -1;
    border-radius: inherit;
    filter: blur(12px);
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: shine 4s linear infinite;
}
.btn-glow:hover::before {
    opacity: 0.8;
}
.btn-glow:hover {
    transform: scale(1.05);
}

/* Scrollbar dizainas tamsiai temai */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #030305; 
}
::-webkit-scrollbar-thumb {
    background: #1f2937; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3B82F6; 
}
