/* ========== Base ========== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-main: #05070b;
    --bg-card: #0e121b;
    --accent: #0083ff;
    --accent-soft: #00a2ff;
    --text-main: #f5f7fb;
    --text-muted: #9ca3b5;
    --border-soft: rgba(255, 255, 255, 0.05);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.6);
    --radius-lg: 16px;
    --radius-md: 10px;
    --transition-fast: 0.2s ease-in-out;
    --max-width: 1600px;
    --nav-height: 70px;
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
}

html,
body {
    height: 100%;
}

body {
    font-family: var(--font-main);
    background: radial-gradient(circle at top, #151a28 0, #05070b 55%, #05070b 100%);
    color: var(--text-main);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Wrapper for layout centering */
body > header,
body > main,
body > footer {
    width: 100%;
}

/* ========== Topbar / Navigation ========== */
header {
    border-bottom: 1px solid var(--border-soft);
    backdrop-filter: blur(12px);
    background: linear-gradient(
        to bottom,
        rgba(5, 7, 11, 0.97),
        rgba(5, 7, 11, 0.9),
        transparent
    );
    position: sticky;
    top: 0;
    z-index: 50;
}

.topbar {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand (logo + navn) */
.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text-main);
}

.logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.brand-name {
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* Nav toggle til mobil */
.nav-toggle {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.6rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Navigation (mobile-first) */
.nav {
    position: absolute;
    inset: var(--nav-height) 0 auto 0;
    background: rgba(5, 7, 11, 0.98);
    border-bottom: 1px solid var(--border-soft);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition-fast), opacity var(--transition-fast),
        visibility var(--transition-fast);
}

.nav-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 0.75rem 1.25rem 1rem;
    gap: 0.4rem;
}

.nav a {
    display: block;
    padding: 0.55rem 0.4rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    border-radius: 999px;
    transition: background-color var(--transition-fast),
        color var(--transition-fast), transform var(--transition-fast);
}

.nav a:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    transform: translateY(-1px);
}

.nav a.active {
    background: var(--accent);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 0 0 1px rgba(0, 131, 255, 0.45);
}

/* ========== Main / Hero ========== */
main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.5rem 1.25rem 2.5rem;
    width: 100%;
    flex: 1 0 auto;
}

.hero {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    background: radial-gradient(circle at top left, #18263a 0, #05070b 55%);
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.8rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -50%;
    background:
        radial-gradient(circle at top left, rgba(0, 131, 255, 0.18), transparent 55%),
        radial-gradient(circle at bottom right, rgba(120, 144, 156, 0.14), transparent 60%);
    opacity: 0.9;
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 480px;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2rem, 4vw + 1rem, 2.7rem);
    margin-bottom: 1rem;
    letter-spacing: 0.04em;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
}

/* Join-knap */
.join-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), var(--accent-soft));
    box-shadow: 0 8px 20px rgba(0, 131, 255, 0.45);
    border: none;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast),
        filter var(--transition-fast);
}

.join-btn:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 12px 26px rgba(0, 131, 255, 0.65);
    filter: brightness(1.03);
}

/* ========== Cards (forside) ========== */
.cards {
    display: grid;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.3rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 131, 255, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 150px;
}

.card h2 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.9rem;
}

.card-btn {
    align-self: flex-start;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    font-size: 0.9rem;
    text-decoration: none;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 131, 255, 0.4);
    transition: background-color var(--transition-fast),
        border-color var(--transition-fast), transform var(--transition-fast);
}

.card-btn:hover {
    background: var(--accent);
    border-color: var(--accent-soft);
    transform: translateY(-1px);
}

/* ========== Regelside ========== */
.bestlife-regler {
    max-width: 900px;
    margin: 1.8rem auto 2.5rem;
    padding: 1.8rem 1.4rem 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

.bestlife-regler h1 {
    font-size: clamp(1.8rem, 3vw + 1rem, 2.3rem);
    margin-bottom: 1.4rem;
    text-align: center;
    letter-spacing: 0.04em;
}

.bestlife-regler section {
    margin-bottom: 1.4rem;
    padding-top: 0.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bestlife-regler section:first-of-type {
    border-top: none;
    padding-top: 0;
}

.bestlife-regler h2 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.bestlife-regler ul {
    list-style: disc;
    padding-left: 1.3rem;
}

.bestlife-regler li {
    margin-bottom: 0.35rem;
    font-size: 0.97rem;
    color: var(--text-muted);
}

/* ========== Footer ========== */
footer {
    border-top: 1px solid var(--border-soft);
    background: rgba(5, 7, 11, 0.97);
    margin-top: auto;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.9rem 1.25rem 1.2rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========== Breakpoints (tablet & desktop) ========== */

/* Tablet */
@media (min-width: 600px) {
    .nav {
        inset: var(--nav-height) auto auto auto;
        margin: 0 auto;
        max-width: var(--max-width);
        border-left: 1px solid var(--border-soft);
        border-right: 1px solid var(--border-soft);
    }

    .nav ul {
        padding-inline: 1.25rem;
    }

    .hero {
        padding: 2.5rem 2.2rem;
    }

    .bestlife-regler {
        padding: 2.1rem 1.8rem 2.4rem;
    }
}

/* Desktop */
@media (min-width: 900px) {
    .topbar {
        padding-inline: 1.5rem;
    }

    .nav-toggle {
        display: none;
    }

    .nav {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
    }

    .nav ul {
        flex-direction: row;
        gap: 0.3rem;
        padding: 0;
    }

    .nav a {
        font-size: 0.95rem;
        padding-inline: 0.9rem;
    }

    main {
        padding-inline: 1.5rem;
        padding-bottom: 3rem;
    }

    .hero {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 2.8rem 2.4rem;
    }

    .hero-content {
        max-width: 520px;
    }

    .cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.15rem;
    }

    .bestlife-regler {
        padding: 2.2rem 2.1rem 2.5rem;
    }
}
/* ========== Discord-side ========== */
.discord-page {
    max-width: 700px;
    margin: 1.8rem auto 2.5rem;
    padding: 1.8rem 1.4rem 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.discord-page h1 {
    font-size: clamp(1.9rem, 3vw + 1rem, 2.4rem);
    margin-bottom: 1.1rem;
    letter-spacing: 0.04em;
}

.discord-page p {
    color: var(--text-muted);
    font-size: 0.98rem;
    margin-bottom: 0.7rem;
}

.discord-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 1.1rem 0 1.6rem;
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), var(--accent-soft));
    box-shadow: 0 8px 20px rgba(0, 131, 255, 0.45);
    transition: transform var(--transition-fast),
        box-shadow var(--transition-fast), filter var(--transition-fast);
}

.discord-cta:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 12px 26px rgba(0, 131, 255, 0.65);
    filter: brightness(1.03);
}

.discord-widget {
    margin: 0 auto;
    margin-bottom: 1.2rem;
    max-width: 420px;
}

/* responsivt iframe */
.discord-widget iframe {
    width: 100%;
    height: 70px;
    border-radius: 10px;
}

.discord-note {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* lidt ekstra padding på større skærme */
@media (min-width: 900px) {
    .discord-page {
        padding: 2.2rem 2.1rem 2.5rem;
    }
}

/* ========== Donation-side ========== */
.donation-page {
    max-width: 700px;
    margin: 1.8rem auto 2.5rem;
    padding: 1.8rem 1.4rem 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.donation-page h1 {
    font-size: clamp(1.9rem, 3vw + 1rem, 2.4rem);
    margin-bottom: 1.1rem;
    letter-spacing: 0.04em;
}

.donation-page p {
    color: var(--text-muted);
    font-size: 0.98rem;
    margin-bottom: 0.7rem;
}

.donation-qr {
    margin: 1.4rem auto 1.6rem;
    display: flex;
    flex-direction: column;        /* QR øverst, nummer under */
    align-items: center;
    gap: 0.9rem;
}

.qr-img {
    max-width: 230px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 131, 255, 0.3);
    background: #ffffff;
}

.qr-instructions {
    text-align: center;            /* centrer tekst under QR */
}

.qr-instructions p {
    margin-bottom: 0.3rem;
}

.mpay-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(0, 131, 255, 0.12);
    border: 1px solid rgba(0, 131, 255, 0.5);
    color: #e5f1ff;
    font-weight: 600;
    letter-spacing: 0.08em;
    font-size: 0.95rem;
}

.donation-note {
    margin-top: 1.4rem;
    color: #bfcfe6;
    font-size: 0.95rem;
}

/* evt. kun ekstra padding på større skærme */
@media (min-width: 768px) {
    .donation-page {
        padding: 2.2rem 2.1rem 2.5rem;
    }
}
/* ========== Bilkatalog-side ========== */

.catalog-header {
    max-width: 900px;
    margin: 1.8rem auto 1.2rem;
    text-align: center;
}

.catalog-header h1 {
    font-size: clamp(1.9rem, 3vw + 1rem, 2.4rem);
    margin-bottom: 0.6rem;
    letter-spacing: 0.04em;
}

.catalog-header p {
    color: var(--text-muted);
    font-size: 0.96rem;
}

.filter-container {
    max-width: var(--max-width);
    margin: 0 auto 1.4rem;
    padding: 0.8rem 0.9rem;
    border-radius: var(--radius-md);
    background: rgba(5, 7, 11, 0.9);
    border: 1px solid var(--border-soft);
}

.buttons-group {
    display: flex;
    flex-wrap: wrap;        /* vigtig: flere linjer */
    gap: 0.4rem;
    padding: 0;
    overflow-x: visible;    /* fjern vandret scroll */
    scrollbar-width: none;
}

.buttons-group::-webkit-scrollbar {
    display: none;
}


.filter-btn {
    flex: 0 0 auto;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 131, 255, 0.35);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color var(--transition-fast),
        color var(--transition-fast), border-color var(--transition-fast),
        transform var(--transition-fast);
}

.filter-btn:hover {
    background: rgba(0, 131, 255, 0.2);
    color: #ffffff;
    transform: translateY(-1px);
}

.filter-btn.active {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent-soft);
}

/* Grid med biler */
.car-catalog {
    max-width: var(--max-width);
    margin: 0 auto 1.8rem;
    display: grid;
    grid-template-columns: 1fr;          /* mobil: 1 pr. række */
    gap: 1rem;
}

/* tablet: 2 pr. række */
@media (min-width: 600px) {
    .car-catalog {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* desktop: 3 pr. række */
@media (min-width: 900px) {
    .car-catalog {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


.car {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 0.7rem 0.7rem 0.9rem;
    border: 1px solid rgba(0, 131, 255, 0.25);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.car img {
    display: block;
    width: 100%;        /* fylder hele kortets bredde */
    height: auto;       /* højde følger proportionerne */
    object-fit: contain;/* ingen crop, bare skaler ned hvis nødvendigt */
    border-radius: 10px;
    margin-bottom: 0.5rem;
    background: #020308;
}





.car h3 {
    font-size: 0.95rem;
    color: var(--text-main);
}

/* Load-more-knap */
.load-more-btn {
    display: block;
    margin: 0 auto 2.4rem;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    border: none;
    background: rgba(0, 131, 255, 0.16);
    color: #e5f1ff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-fast),
        transform var(--transition-fast), box-shadow var(--transition-fast);
}

.load-more-btn:hover {
    background: var(--accent);
    box-shadow: 0 10px 24px rgba(0, 131, 255, 0.6);
    transform: translateY(-1px);
}

/* lidt mere luft på større skærme */
@media (min-width: 900px) {
    .filter-container {
        padding-inline: 0.8rem;
    }

    .car img {
        height: 250px;
    }
}
/* ========== Bilkatalog-side ========== */

.catalog-header {
    max-width: 900px;
    margin: 1.8rem auto 1.2rem;
    text-align: center;
}

.catalog-header h1 {
    font-size: clamp(1.9rem, 3vw + 1rem, 2.4rem);
    margin-bottom: 0.6rem;
    letter-spacing: 0.04em;
}

.catalog-header p {
    color: var(--text-muted);
    font-size: 0.96rem;
}

/* Filter-bar */
.filter-container {
    max-width: var(--max-width);
    margin: 0 auto 1.4rem;
    padding: 0.8rem 0.9rem;
    border-radius: var(--radius-md);
    background: rgba(5, 7, 11, 0.9);
    border: 1px solid var(--border-soft);
}

.buttons-group {
    display: flex;
    flex-wrap: wrap;        /* flere linjer, ingen scroll */
    gap: 0.4rem;
}

.filter-btn {
    flex: 0 0 auto;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 131, 255, 0.35);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color var(--transition-fast),
        color var(--transition-fast), border-color var(--transition-fast),
        transform var(--transition-fast);
}

.filter-btn:hover {
    background: rgba(0, 131, 255, 0.2);
    color: #ffffff;
    transform: translateY(-1px);
}

.filter-btn.active {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent-soft);
}

/* Grid med biler: 1 / 2 / 3 kolonner */
.car-catalog {
    max-width: var(--max-width);
    margin: 0 auto 1.8rem;
    display: grid;
    grid-template-columns: 1fr;              /* mobil */
    gap: 1rem;
}

/* tablet: 2 pr. række */
@media (min-width: 600px) {
    .car-catalog {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* desktop: 3 pr. række */
@media (min-width: 900px) {
    .car-catalog {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.car {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 0.7rem 0.7rem 0.9rem;
    border: 1px solid rgba(0, 131, 255, 0.25);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

/* VIGTIGT: kun denne regel til bilbilleder */
.car img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;   /* fast format på alle kort */
    object-fit: cover;      /* fylder hele rammen, cropper det ekstra */
    border-radius: 10px;
    margin-bottom: 0.5rem;
    background: #020308;
}



.car h3 {
    font-size: 0.95rem;
    color: var(--text-main);
}

/* Load-more-knap */
.load-more-btn {
    display: block;
    margin: 0 auto 2.4rem;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    border: none;
    background: rgba(0, 131, 255, 0.16);
    color: #e5f1ff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-fast),
        transform var(--transition-fast), box-shadow var(--transition-fast);
}

.load-more-btn:hover {
    background: var(--accent);
    box-shadow: 0 10px 24px rgba(0, 131, 255, 0.6);
    transform: translateY(-1px);
}

/* ========== Om-os-side, to-kolonne layout ========== */

.about-layout {
    max-width: var(--max-width);
    margin: 1.8rem auto 2.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: stretch;      /* vigtig: stræk items i samme række */
}


/* venstre “story”-boks */
.about-main {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    padding: 1.8rem 1.6rem 2rem;
}

.about-main h1 {
    font-size: clamp(1.9rem, 3vw + 1rem, 2.4rem);
    margin-bottom: 1rem;
    letter-spacing: 0.04em;
}

.about-main p {
    color: var(--text-muted);
    font-size: 0.98rem;
    margin-bottom: 0.7rem;
}

/* højre kolonne med kort */
.about-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ejer-kort */
.owner-card,
.values-card {
    background: radial-gradient(circle at top, #151a28 0, #05070b 55%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 131, 255, 0.35);
    box-shadow: var(--shadow-soft);
    padding: 1.4rem 1.4rem 1.6rem;
}

.owner-card h2,
.values-card h2 {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
}

.owner-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.6rem;
}

.owner-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    background: #020308;
}

.owner-header h3 {
    font-size: 1.05rem;
    margin-bottom: 0.1rem;
}

.owner-role {
    font-size: 0.9rem;
    color: var(--accent-soft);
}

.owner-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.owner-contact {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.owner-contact span {
    color: var(--accent);
    font-weight: 600;
}

/* værdilisten */
.values-card ul {
    list-style: disc;
    padding-left: 1.2rem;
}

.values-card li {
    color: var(--text-muted);
    font-size: 0.93rem;
    margin-bottom: 0.4rem;
}

@media (min-width: 900px) {
    .about-layout {
        grid-template-columns: 2fr 1.2fr;
        align-items: stretch;  /* behold stretch her også */
    }

    .about-main {
        padding: 2.1rem 2.2rem 2.4rem;
    }
}

.donation-info {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    padding: 1.8rem 1.4rem 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    text-align: left;
}

.donation-info h2 {
    font-size: 1.4rem;
    margin-bottom: 0.9rem;
}

.donation-info h3 {
    font-size: 1.1rem;
    margin-top: 1.1rem;
    margin-bottom: 0.4rem;
    color: var(--accent);
}

.donation-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
}

.donation-list {
    list-style: disc;
    padding-left: 1.3rem;
    margin-bottom: 0.6rem;
}

.donation-list li {
    color: var(--text-muted);
    font-size: 0.93rem;
    margin-bottom: 0.25rem;
}

.donation-note-small {
    font-size: 0.9rem;
    color: #bfcfe6;
}

.donation-thanks {
    margin-top: 0.9rem;
    font-weight: 600;
    color: var(--accent-soft);
}

/* lidt ekstra luft på større skærme */
@media (min-width: 900px) {
    .donation-info {
        padding: 2.1rem 2.1rem 2.5rem;
    }
}
/* ========== Ansøgnings-side ========== */

.form-hero {
    max-width: 900px;
    margin: 1.8rem auto 2.5rem;
    padding: 1.8rem 1.4rem 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    text-align: left;
}

.form-hero h1 {
    font-size: clamp(1.9rem, 3vw + 1rem, 2.4rem);
    margin-bottom: 0.9rem;
    letter-spacing: 0.04em;
}

.form-hero p {
    color: var(--text-muted);
    font-size: 0.96rem;
    margin-bottom: 0.8rem;
}

/* grid med ansøgnings-links */
.application-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
    margin: 1rem 0 1.2rem;
}

.role-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.9rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    background: rgba(5, 7, 11, 0.9);
    border: 1px solid rgba(0, 131, 255, 0.3);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
    color: var(--text-main);
    transition: transform var(--transition-fast),
        box-shadow var(--transition-fast),
        background-color var(--transition-fast),
        border-color var(--transition-fast);
}

.role-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 131, 255, 0.6);
    background: radial-gradient(circle at top, #151a28 0, #05070b 55%);
    border-color: var(--accent-soft);
}

.role-icon {
    font-size: 1.5rem;
}

.role-text {
    display: flex;
    flex-direction: column;
}

.role-text strong {
    font-size: 0.98rem;
}

.role-text small {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.form-note {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* større skærme: 2 kolonner */
@media (min-width: 768px) {
    .application-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .form-hero {
        padding: 2.1rem 2.1rem 2.5rem;
    }
}

/* ========== Admin-side ========== */
/* Admin layout */
.admin-panel {
    max-width: 1000px;
    margin: 40px auto;
    background: #171b1f;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.5);
    color: #eee;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.admin-panel h1,
.admin-panel h2 {
    color: #fff;
}

/* beskeder */
.admin-success {
    background:#265431;
    color:#d1ffd1;
    padding:10px;
    border-radius:6px;
    border:1px solid #388b46;
    margin-bottom:10px;
}
.admin-error {
    background:#5a1f24;
    color:#ffd7dd;
    padding:10px;
    border-radius:6px;
    border:1px solid #b2414b;
    margin-bottom:10px;
}

/* formularer */
.regel-form,
.kategori-form {
    margin-bottom: 20px;
}

.admin-panel label {
    display:inline-block;
    margin:6px 6px 4px 0;
    font-weight:600;
}

.admin-panel select,
.admin-panel input[type="text"],
.admin-panel input[type="number"],
.admin-panel textarea {
    background:#05070b;
    color:#f8f8f8;
    border:1px solid #555;
    border-radius:6px;
    padding:6px 8px;
    font-size:0.95rem;
}

/* STØRRE tekstfelter */
.admin-panel textarea {
    width:100% !important;
    min-height:160px !important;
    resize:vertical;
    box-sizing:border-box;
}

/* items */
.regel-item,
.kategori-item {
    background:#23272e;
    border:1px solid #555;
    padding:12px;
    border-radius:7px;
    margin-bottom:12px;
}

/* knapper */
.admin-panel button {
    background:#379cff;
    color:#fff;
    border:none;
    padding:6px 14px;
    border-radius:999px;
    cursor:pointer;
    margin-top:6px;
    margin-right:6px;
    font-size:0.9rem;
}
.admin-panel button:hover {
    background:#287ab5;
}

/* logout link */
.logout-link {
    float:right;
    padding:8px 14px;
    background:#444;
    border-radius:5px;
    text-decoration:none;
    color:#fff;
    margin-top:8px;
}
.logout-link:hover {background:#666;}

.ansoegning-type {
    background:#171b1f;
    border-radius:8px;
    padding:12px 16px;
    margin-bottom:12px;
}

.ansoegning-type h2 {
    margin:0 0 6px;
}

.ansoegning-type .btn {
    display:inline-block;
    padding:6px 14px;
    border-radius:999px;
    background:#379cff;
    color:#fff;
    text-decoration:none;
}
.application-section {
    max-width: 1100px;
    margin: 60px auto;
    padding: 32px 32px 28px;
    background: #11151d;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.application-header h1 {
    font-size: 2.2rem;
    margin-bottom: 6px;
}

.application-header p {
    color: #b5c1d4;
    margin-bottom: 24px;
}

.application-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 14px 22px;
}

.application-card {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    background: #0b0f18;
    border-radius: 12px;
    border: 1px solid #1f2937;
    text-decoration: none;
    color: #e5ecff;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}

.application-card:hover {
    border-color: #3b82f6;
    background: #101727;
    transform: translateY(-1px);
}

.application-icon {
    font-size: 1.6rem;
    margin-right: 14px;
    width: 36px;
    text-align: center;
}

.application-content h2 {
    font-size: 1.05rem;
    margin: 0 0 2px;
}

.application-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #a9b4c9;
}

.application-footer-text {
    margin-top: 24px;
    font-size: 0.9rem;
    color: #8f9bb2;
}



/* ========== Donation-kort layout ========== */
.donation-layout {
    max-width: 3000px;      /* endnu bredere container */
    margin: 30px auto;
    display: grid;
    gap: 16px;
}

@media (min-width: 1900px) { /* først 3 kolonner på lidt større skærme */
    .donation-layout {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
    }
}

/* fladere kort */
.donation-card {
    background: #11151d;
    border-radius: 12px;
    padding: 12px 16px;      /* mindre padding = lavere højde */
    box-shadow: 0 12px 32px rgba(0,0,0,0.45);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.donation-card p {
    line-height: 1.3;        /* lidt tættere linjer = visuelt mere bredt kort */
    margin-bottom: 6px;
}
.donation-layout {
    max-width: 100%;
    margin: 20px auto;
    padding: 0 12px;
    display: grid;
    gap: 12px;
}

@media (min-width: 1100px) {
    .donation-layout {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
    }
}

.donation-card {
    background: #11151d;
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.45);
    display: flex;
    flex-direction: column;
    height: 100%;
}
