:root {
    --zr-bg-dark: #050c16;
    --zr-bg-card: rgba(6, 12, 22, 0.75);
    --zr-border: rgba(46, 161, 255, 0.65);
    --zr-glow: rgba(46, 161, 255, 0.6);
    --zr-primary: #2da1ff;
    --zr-text-soft: rgba(255,255,255,0.75);
}

.discord-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-right .discord-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #2DA1FF;
    cursor: pointer;
    display: block;
}

.discord-username {
    color: white;
    font-weight: 500;
    font-size: 15px;
}

.logout-link {
    color: #2DA1FF;
    font-size: 14px;
        text-decoration: none;
}

.logout-link:hover {
    text-decoration: underline;
}

.nav-right img {
    width: 38px !important;
    height: 38px !important;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.discord-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: row; /* <- vigtigt */
}
.nav-right {
    display: flex;
    align-items: center;
}

.discord-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.discord-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #5865F2;
    cursor: pointer;
    display: block;
}

.discord-username {
    font-size: 15px;
    font-weight: 500;
    color: white;
}

.logout-link {
    color: #2DA1FF;
    font-size: 14px;
    text-decoration: none;
}

.logout-link:hover {
    text-decoration: underline;
}

.login-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.login-modal.active {
    display: flex;
}

.login-modal-content {
    width: 640px;
    padding: 55px 60px;

    background: #050c16;
    border-radius: 28px;

    border: 2px solid #0c1f5a;

    box-shadow:
        0 0 0 1px rgba(45,161,255,0.15);

    text-align: center;
}

.login-modal-content h2 {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 35px;
}

.login-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.12);
    margin: 0 auto 40px auto;
}

.modal-discord-btn {
    padding: 14px 42px;

    border-radius: 999px;
    border: 2px solid rgba(255,255,255,0.25);

    background: transparent;
    color: rgba(255,255,255,0.9);

    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 600;

    text-transform: uppercase;
    text-decoration: none;

    transition: all 0.2s ease;
}

.modal-discord-btn:hover {
    border-color: #ffffff;
    color: #ffffff;
}

body {
  padding-top: 72px; /* samme højde som .nav */
}

a {
    text-decoration: none;
    color: white; /* eller den farve du vil have */
}

a:visited {
    color: white; /* samme farve så den ikke bliver lilla */
}

.nav-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

body {
    background: radial-gradient(circle at right, #0a2a4f 0%, #000 60%);
    color: white;
}

.zr-btn {
    padding: 16px 36px;
    border-radius: 999px;
    border: 2px solid var(--zr-primary);
    background: transparent;
    color: white;
    font-weight: 700;
    letter-spacing: 1px;

    box-shadow:
        0 0 12px var(--zr-glow),
        0 0 40px rgba(46,161,255,0.4);

    transition: all 0.2s ease;
}

.zr-btn:hover {
    background: rgba(46,161,255,0.15);
    transform: translateY(-2px);
}

.profile-dropdown-wrapper {
    position: relative;
}

.profile-dropdown {
    position: absolute;
    top: 44px;
    right: 0;
    width: 200px;

    background: #1e1f22;
    border: 1px solid #2b2d31;
    border-radius: 6px;

    display: none;
    flex-direction: column;

    padding: 4px 0;

    box-shadow: 0 8px 24px rgba(0,0,0,0.6);

    z-index: 999999;
}

.profile-dropdown.active {
    display: flex;
}

.dropdown-user {
    padding: 8px 12px;
}

.dropdown-username {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

.dropdown-divider {
    height: 1px;
    background: #2b2d31;
    margin: 4px 0;
}

.dropdown-item {
    padding: 8px 12px;
    font-size: 14px;
    color: #dbdee1;
    text-decoration: none;
    transition: background 0.1s ease;
}

.dropdown-item:hover {
    background: #2b2d31;
}

.dropdown-item.logout {
    color: #dbdee1;
}

.dropdown-item.logout:hover {
    background: #2b2d31;
}

.page-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.profile-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

