/* ============================================================
   uLauncher — Modern Dark Theme with Gradients
   Steam / Discord / Game Dashboard Style
============================================================ */

/* -------------------------- BASE -------------------------- */
html {
    font-size: 15px;
}

body {
    background: #0f172a;
    color: #ddd;
    margin: 0;
    padding-top: 50px; /* пространство под фиксированный navbar */
    padding-bottom: 120px; /* пространство под footer */
    font-family: "Inter", "Segoe UI", sans-serif;
}

/* -------------------------- LINKS ------------------------- */
a {
    color: #facc15;
    text-decoration: none;
    transition: 0.2s;
}

    a:hover {
        color: #f97316;
    }

/* -------------------------- NAVBAR ------------------------ */
.navbar {
    background: #111827; /* тёмно-синий */
    border-bottom: 1px solid #1f2937;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

    .navbar .nav-link {
        color: #fff !important;
        transition: 0.2s;
    }

        .navbar .nav-link:hover {
            color: #facc15 !important;
        }

.navbar-brand {
    color: #facc15;
    font-weight: 700;
}

    .navbar-brand:hover {
        color: #f97316;
    }

/* -------------------------- FOOTER ------------------------ */
.ula-footer {
    background: #111827;
    color: #adb5bd;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    border-top: 1px solid #1f2937;
    z-index: 1000;
}

    .ula-footer a {
        color: #facc15;
    }

        .ula-footer a:hover {
            color: #f97316;
            text-decoration: none;
        }

/* -------------------------- HERO SECTION ------------------ */
.hero {
    background: linear-gradient(135deg, #4f46e5, #3b82f6, #10b981, #facc15, #f97316);
    background-size: 400% 400%;
    color: white;
    padding: 120px 0;
    text-align: center;
    animation: gradientMove 20s ease infinite;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

    .hero h1 {
        font-size: 4rem;
        font-weight: 700;
        animation: fadeInDown 1s ease-out forwards;
    }

    .hero p {
        font-size: 1.5rem;
        margin-top: 1rem;
        animation: fadeInUp 1s ease-out 0.3s forwards;
    }

.btn-steam {
    margin-top: 2rem;
    background: linear-gradient(90deg, #facc15, #f97316);
    border: none;
    font-weight: 600;
    padding: 0.75rem 2rem;
    font-size: 1.2rem;
    color: white;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .btn-steam:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 12px 30px rgba(0,0,0,0.35);
        color: white;
    }

    .btn-steam::before {
        content: '';
        position: absolute;
        top: 0;
        left: -75%;
        width: 50%;
        height: 100%;
        background: rgba(255,255,255,0.4);
        transform: skewX(-25deg);
        z-index: 2;
        transition: all 0.3s;
    }

    .btn-steam:hover::before {
        animation: shine 1s linear;
    }

/* -------------------------- CARDS ------------------------- */
.card {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    color: #ddd;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    }

.card-header {
    background: #1e293b;
    border-bottom: 1px solid #374151;
    font-weight: 600;
}

.card-body {
    padding: 1.3rem 1.4rem;
}

/* ----------------------- SERVER CARDS -------------------- */
.server-card {
    background: linear-gradient(145deg, rgba(59,130,246,0.15), rgba(16,185,129,0.08));
    border: 1px solid #222;
    padding: 18px;
    border-radius: 14px;
    transition: 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
}

    .server-card:hover {
        border-color: #3b82f6;
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(59,130,246,0.4);
    }

.server-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.server-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.server-info {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: #bbb;
}

.server-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

    .server-actions .btn {
        transition: 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    }

        .server-actions .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(59,130,246,0.4);
        }

/* ----------------------- BADGES ------------------------- */
.badge.bg-success {
    background: #2ecc71 !important;
    color: #fff !important;
    text-shadow: 0 0 2px rgba(0,0,0,0.5);
}

.badge.bg-warning {
    background: #f1c40f !important;
    color: #222 !important;
    font-weight: 600;
    text-shadow: 0 0 1px rgba(0,0,0,0.3);
}

.badge.bg-info {
    background: #3b82f6 !important;
}

.badge.bg-secondary {
    background: #555 !important;
}

/* -------------------------- FORMS ------------------------- */
.form-control {
    background: #1f2937;
    color: #eee;
    border: 1px solid #374151;
    transition: 0.2s ease;
}

    .form-control:focus {
        background: #111827;
        color: #fff;
        border-color: #3b82f6;
        box-shadow: 0 0 0 0.15rem rgba(59,130,246,0.25);
    }

/* -------------------------- MODALS ------------------------ */
.modal-content {
    background: linear-gradient(135deg, #1f2937, #111827);
    border-radius: 12px;
    border: 1px solid #374151;
    color: #eee;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.modal-header {
    border-bottom: 1px solid #374151;
}

.modal-footer {
    border-top: 1px solid #374151;
}

/* ------------------------- ANIMATIONS -------------------- */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shine {
    0% {
        left: -75%;
    }

    100% {
        left: 125%;
    }
}

/* ========== Hero ========== */
.hero {
    background: linear-gradient(135deg, #4f46e5, #3b82f6, #10b981, #facc15, #f97316);
    background-size: 400% 400%;
    color: #fff;
    padding: 50px 0;
    text-align: center;
    animation: gradientMove 20s ease infinite;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

    .hero h1 {
        font-size: 4rem;
        font-weight: 700;
        text-shadow: 0 2px 12px rgba(0,0,0,0.5);
    }

    .hero p {
        font-size: 1.5rem;
        margin-top: 1rem;
    }

.text-gradient {
    background: linear-gradient(90deg, #facc15, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* Hero particles */
.hero::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: floatParticles 20s linear infinite;
    pointer-events: none;
}

/* Product / Feature / Step Cards */
.bg-dark-section {
    background: #1e1e22;
}

.product-card {
    border-radius: 16px;
    border: 1px solid #29292d;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(59,130,246,0.5);
    }

.feature-card, .step-card {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
    justify-content: space-between; /* равномерно распределяем контент */
    height: 100%; /* заставляем карточку занимать всю высоту родителя */
    min-height: 50px; /* фиксированная минимальная высота */
}

    .feature-card:hover, .step-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 24px rgba(59,130,246,0.4);
    }

    .feature-card h5, .step-card p {
        color: #ddd;
    }

/* Animations */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes floatParticles {
    0% {
        transform: rotate(0deg) translateX(0) translateY(0);
    }

    100% {
        transform: rotate(360deg) translateX(50px) translateY(50px);
    }
}
