:root {
    --bs-dark: #1b1b1b;
    --bs-dark-rgb: 27, 27, 27;
    --heading-size: 4rem; /* großer Titel */
    --navbar-height: 60px; /* leicht vergrößert */
}

/* Basislayout */
html, body {
    height: 100%;
    margin: 0;
    background: #1b1b1b;
    color: #fff;
    padding-top: var(--navbar-height); /* schiebt alles unter die Navbar */
}

/* Hintergrundbild */
body {
    background: url('/images/background.jpg') no-repeat center 15%;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    z-index: 0;
}

/* Navbar fixiert */
.navbar {
    background: rgba(20, 20, 20, 0.95) !important;
    backdrop-filter: blur(6px);
    font-weight: 500;
    font-size: 1rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    height: var(--navbar-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-brand img {
    max-height: 46px; /* passt sich der neuen Höhe an */
}

.navbar .nav-link {
    color: #fff !important;
    text-transform: uppercase;
    margin: 0 0.5rem;
    font-size: 1rem;
}
.navbar .nav-link:hover {
    color: #ffb84d !important;
}

/* Hero-Bereich */
.home-background {
    height: 65vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center 40%;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.5);
    text-align: center;
    z-index: 1;
}

.home-background h1,
.home-background .h1 {
    font-size: var(--heading-size);
    font-weight: 800;
    color: white;
    text-shadow: 0 4px 14px rgba(0,0,0,0.85);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.home-background p {
    font-size: 1.4rem;
    color: #ddd;
}

/* Content */
.content,
.container,
main {
    background: transparent !important;
    margin-top: 1rem;
    max-width: 1200px;
    padding: 1.5rem 1rem;
    position: relative;
    z-index: 2;
}

/* Karten */
.card {
    background: rgba(30,30,30,0.85) !important;
    border: none;
    box-shadow: 0 3px 10px rgba(0,0,0,0.4);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.card-body {
    color: #fff;
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: rgba(17, 17, 17, 0.85);
    color: #aaa;
    padding: 0.25rem 0;
    margin-top: auto;
    font-size: 0.7rem;
    line-height: 1.2;
    text-align: center;
    position: relative;
    z-index: 2;
}

footer p {
    margin: 0;
}

footer a {
    color: #ffb84d;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ------------------------ */
/* Discord Login Button CSS */
/* ------------------------ */
.auth-providers,
.provider-discord {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

a[href*="discord-auth"],
.provider-discord .btn {
    display: inline-block;
    background-color: #5865F2; /* Discord-Blau */
    color: white !important;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.7rem 1.6rem;
    border-radius: 50px; /* macht den Button pillenförmig */
    font-size: 1.05rem;
    box-shadow: 0 6px 16px rgba(88, 101, 242, 0.35);
    transition: all 0.25s ease-in-out;
    text-align: center;
}

a[href*="discord-auth"]:hover,
.provider-discord .btn:hover {
    background-color: #4752C4;
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.45);
    transform: translateY(-2px);
}

.btn-discord {
    background-color: #5865F2;
    color: #fff !important;
    font-weight: 600;
    border-radius: 6px;
    transition: 0.2s;
}
.btn-discord:hover {
    background-color: #404EED;
    transform: translateY(-2px);
}