@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700;12..96,800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

:root {
    --color-bg: #F8F8F6;
    --color-dark: #0D0B1A;
    --color-pink: #FF1E95;
    --color-pink-dark: #CC1278;
    --color-purple: #6B13B1;
    --color-blue: #0391F3;
    --color-text: #111218;
    --color-muted: #64748B;
    --color-border: #E2E8F0;
    --color-surface: #FFFFFF;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.13);
    --gradient-logo: linear-gradient(135deg, #FF1E95 0%, #6B13B1 45%, #0391F3 100%);
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    font-size: 16px;
    position: relative;
    height: 100%;
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: "DM Sans", sans-serif;
    font-style: normal;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    padding-bottom: 0;
}

main {
    flex: 1;
}

.navbar {
    min-height: 68px;
    font-size: 1rem;
    background: rgba(13, 11, 26, 0.88) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: none !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 1.5rem;
    justify-content: unset;
}

    .navbar::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent 0%, rgba(255, 30, 149, 0.5) 25%, rgba(107, 19, 177, 0.6) 50%, rgba(3, 145, 243, 0.5) 75%, transparent 100%);
    }

.navbar-brand {
    display: flex;
    align-items: center;
    height: 5rem;
    padding: 0;

}

.navbar img {
    max-height: 5.3rem;
    margin: auto 0 auto 0;
}


.navbar-nav .nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92) !important;
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
    font-size: 0.93rem;
}

    .navbar-nav .nav-link:hover {
        background: rgba(255, 255, 255, 0.09);
        color: white !important;
    }

.navbar-toggler {
    border: 1px solid rgba(255,255,255,0.15);
    outline: none;
    box-shadow: none !important;
    filter: invert(1);
}

.nav-btn-login {
    color: rgba(255, 255, 255, 0.72) !important;
    font-weight: 500;
    font-size: 0.88rem !important;
    padding: 0.4rem 1.05rem !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 100px !important;
    transition: all var(--transition) !important;
    background: transparent !important;
    text-decoration: none;
}

    .nav-btn-login:hover {
        color: white !important;
        border-color: rgba(255, 255, 255, 0.42) !important;
        background: rgba(255, 255, 255, 0.07) !important;
    }

.nav-btn-register {
    background: var(--gradient-logo) !important;
    color: white !important;
    font-weight: 600;
    font-size: 0.88rem !important;
    padding: 0.4rem 1.1rem !important;
    border-radius: 100px !important;
    border: none !important;
    transition: all var(--transition) !important;
    text-decoration: none;
}

    .nav-btn-register:hover {
        filter: brightness(1.1);
        transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(255, 30, 149, 0.4);
        color: white !important;
    }

.nav-user-link {
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 0.88rem !important;
    font-weight: 500;
    transition: color var(--transition);
}

    .nav-user-link:hover {
        color: white !important;
    }

.footer {
    position: relative;
    width: 100%;
    background: #121212;
    color: rgba(255, 255, 255, 0.45);
    padding: 3rem 0 0;
    font-size: 0.88rem;
    line-height: 1.7;
    margin-top: auto;
    overflow: hidden;
}

    .footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--gradient-logo);
    }

    .footer::after {
        content: '';
        position: absolute;
        top: -120px;
        left: 50%;
        transform: translateX(-50%);
        width: 640px;
        height: 240px;
        background: radial-gradient(ellipse at center, rgba(107, 19, 177, 0.18) 0%, rgba(255, 30, 149, 0.08) 50%, transparent 70%);
        pointer-events: none;
    }

.footer-inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 2rem 3rem;
    padding-bottom: 1.2rem;
}

.footer-brand .footer-logo-text {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-logo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.84rem;
    max-width: 220px;
    margin-bottom: 1.25rem;
    line-height: 1.65;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-social li a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.14);
        color: rgba(255, 255, 255, 0.55);
        text-decoration: none;
        font-size: 0.85rem;
        transition: all var(--transition);
    }

        .footer-social li a:hover {
            border-color: var(--color-pink);
            color: var(--color-pink);
            background: rgba(255, 30, 149, 0.08);
            transform: translateY(-2px);
        }

.footer-col h5 {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .footer-col ul li a {
        color: rgba(255, 255, 255, 0.42);
        text-decoration: none;
        font-size: 0.86rem;
        transition: color var(--transition);
    }

        .footer-col ul li a:hover {
            color: rgba(255, 255, 255, 0.9);
        }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.28);
    flex-wrap: wrap;
    gap: 0.5rem;
}

    .footer-bottom a {
        color: rgba(255, 255, 255, 0.38);
        text-decoration: none;
        transition: color var(--transition);
    }

        .footer-bottom a:hover {
            color: white;
        }

.footer-bottom-links {
    display: flex;
    gap: 1.25rem;
}

@media (max-width: 991px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 575px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

.btn:focus, .btn:active:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 30, 149, 0.25);
}
