:root {
    --bg: #050510;
    --bg-alt: #10101f;
    --accent: #ff2faf;
    --accent-2: #26e0ff;
    --text: #f5f5ff;
    --text-muted: #a3a3c7;
    --border: #252545;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.6);
    --radius-lg: 1.5rem;
    --radius-md: 0.9rem;
    --radius-pill: 999px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at top, #1a1630 0, #050510 55%);
    color: var(--text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Layout */

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.page {
    padding: 2.5rem 0 4rem;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: linear-gradient(to right, rgba(5, 5, 16, 0.9), rgba(8, 8, 25, 0.9));
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.8rem 0;
}

.logo-block {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-weight: 800;
    letter-spacing: 0.02em;
    font-size: 1.35rem;
    text-transform: uppercase;
}

.logo-text span {
    color: var(--accent);
}

.logo-tagline {
    margin: 0.1rem 0 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Navigation */

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
}

.main-nav a {
    text-decoration: none;
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-pill);
    color: var(--text-muted);
    border: 1px solid transparent;
    transition: all 0.18s ease-out;
}

.main-nav a:hover {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.main-nav a.active {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.14);
    background: linear-gradient(120deg, rgba(255, 47, 175, 0.22), rgba(38, 224, 255, 0.15));
}

.main-nav .nav-highlight {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #050510;
    font-weight: 600;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}

.main-nav .nav-highlight:hover {
    transform: translateY(-1px);
}

/* Mobile nav toggle (hvis du får en burger-menu senere) */

.nav-toggle {
    display: none;
    border: none;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    border-radius: var(--radius-pill);
    padding: 0.35rem 0.7rem;
    font-size: 1.1rem;
}

/* Cards & sections */

.section {
    margin-bottom: 2.5rem;
    background: linear-gradient(145deg, rgba(6, 6, 20, 0.95), rgba(14, 14, 40, 0.98));
    border-radius: var(--radius-lg);
    padding: 1.8rem 1.8rem 1.7rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.section-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.2fr);
    gap: 2.2rem;
    align-items: center;
}

.section-hero-main h1 {
    margin-top: 0;
    font-size: clamp(2rem, 4vw, 2.7rem);
}

.section-hero-main h1 span {
    color: var(--accent);
}

.section-hero-main p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    padding: 0.2rem 0.7rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.35);
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.badge-pill span.dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #00ff88;
    box-shadow: 0 0 10px #00ff88;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.3rem;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease-out;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #050510;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
}

.btn-primary:hover {
    transform: translateY(-1px);
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--text);
    background: rgba(0, 0, 0, 0.26);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.04);
}

.section-hero-side {
    border-radius: var(--radius-lg);
    padding: 1.2rem;
    background: radial-gradient(circle at top left, rgba(255, 47, 175, 0.15), transparent 55%),
                radial-gradient(circle at bottom right, rgba(38, 224, 255, 0.12), transparent 55%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.section-hero-side h2 {
    margin: 0;
    font-size: 1.1rem;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.chip {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text-muted);
}

/* Sommerfest-boks */

.sommerfest-badge {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-2);
    margin-bottom: 0.4rem;
}

.sommerfest-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
    gap: 1.6rem;
}

.sommerfest-side {
    background: rgba(0, 0, 0, 0.35);
    border-radius: var(--radius-md);
    padding: 1rem;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Typografi generelt */

h1, h2, h3 {
    letter-spacing: 0.02em;
}

h2.section-title {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.section-lead {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

/* Lister */

.list-plain {
    list-style: none;
    padding: 0;
    margin: 0.2rem 0 0;
}

.list-plain li {
    margin-bottom: 0.25rem;
}

/* Foreslå DJ form */

.form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem 1.2rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.9rem;
}

.form-field.full-width {
    grid-column: 1 / -1;
}

.form-field label {
    color: var(--text-muted);
}

.form-field input,
.form-field textarea {
    border-radius: 0.6rem;
    border: 1px solid var(--border);
    background: rgba(10, 10, 26, 0.9);
    color: var(--text);
    padding: 0.55rem 0.7rem;
    font-family: inherit;
    font-size: 0.9rem;
}

.form-field textarea {
    resize: vertical;
    min-height: 110px;
}

.form-help {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.alert {
    padding: 0.7rem 0.9rem;
    border-radius: 0.7rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.alert-success {
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.4);
    color: #b7ffd6;
}

.alert-error {
    background: rgba(255, 0, 92, 0.1);
    border: 1px solid rgba(255, 0, 92, 0.4);
    color: #ffbacf;
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(5, 5, 16, 0.97);
    padding: 1.1rem 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
}

.footer-sub {
    margin: 0.2rem 0 0;
    color: var(--text-muted);
}

.badge-twitch {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(145, 70, 255, 0.5);
    text-decoration: none;
    font-size: 0.8rem;
    color: #d8cfff;
    background: radial-gradient(circle at left, rgba(145, 70, 255, 0.25), transparent 55%);
}

.badge-twitch .dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #9146ff;
    box-shadow: 0 0 10px #9146ff;
}

/* Partner / logo sektion */

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
}

.partner {
    text-align: center;
    max-width: 220px;
}

.partner img {
    width: 100%;
    max-width: 180px;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
}

.partner p {
    color: var(--text-muted);
    margin-top: 0.6rem;
    font-size: 0.9rem;
}

.partner a {
    color: var(--accent);
    text-decoration: none;
}

.partner a:hover {
    text-decoration: underline;
}

/* Mig – galleri */

.mig-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.mig-gallery img {
    width: 100%;
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    padding: 0.5rem;
    box-shadow: 0 10px 28px rgba(0,0,0,0.4);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.mig-gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

/* Events – tidligere iframe-kalender
   (kan slettes, hvis du kun bruger ICS-liste nu) */

.calendar-card {
    margin-top: 1rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: radial-gradient(circle at top left,
        rgba(255, 47, 175, 0.12), transparent 55%)
        , radial-gradient(circle at bottom right,
        rgba(38, 224, 255, 0.12), transparent 55%);
    padding: 1.2rem 1.2rem 1rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
}

.calendar-frame-wrap {
    position: relative;
    width: 100%;
    padding-top: 70%;
    overflow: hidden;
    border-radius: 1.2rem;
    background: #050510;
}

.calendar-frame-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.calendar-note {
    margin-top: 0.9rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.calendar-note a {
    color: var(--accent-2);
    text-decoration: none;
}

.calendar-note a:hover {
    text-decoration: underline;
}

/* Event-liste */

.event-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.2rem;
}

.event-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    padding: 0.9rem 1.1rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: radial-gradient(circle at top left,
        rgba(255, 47, 175, 0.15), transparent 55%)
        , radial-gradient(circle at bottom right,
        rgba(38, 224, 255, 0.12), transparent 55%);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

.event-card-date {
    width: 60px;
    min-width: 60px;
    height: 60px;
    border-radius: 1rem;
    background: rgba(5, 5, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.event-day {
    font-size: 1.3rem;
    font-weight: 700;
}

.event-month {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
}

.event-card-main {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.event-title {
    margin: 0;
    font-size: 1rem;
}

.event-meta {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.event-description {
    margin: 0.4rem 0 0;
    font-size: 0.85rem;
    color: var(--text);
}

@media (max-width: 600px) {
    .event-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .event-card-date {
        width: 52px;
        height: 52px;
    }

    .event-list {
        gap: 0.8rem;
    }
}

/* Link styling – kun inde i content-sections, ikke på knapper/nav */
.section a:not(.btn):not(.badge-twitch) {
    color: #38e0ff; /* neon blå */
    text-decoration: none;
    font-weight: 500;
}

.section a:not(.btn):not(.badge-twitch):hover {
    color: #ff2faf; /* neon pink */
    text-shadow: 0 0 6px rgba(255, 47, 175, 0.7);
    text-decoration: underline;
}

/* Galleri-grid – Medier */

.media-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* max 4 på stribe */
    gap: 1rem;
    margin-top: 1.2rem;
}

.media-img {
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 12px 32px rgba(0,0,0,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.media-img img {
    width: 100%;
    height: auto;
    display: block;
}

.media-img:hover {
    transform: scale(1.03);
    box-shadow: 0 0 15px rgba(255,47,175,0.3), 0 0 25px rgba(38,224,255,0.25);
}

/* SoundCloud embed styling */

.soundcloud-wrap {
    margin-top: 1.2rem;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(5,5,15,0.4);
}

/* ===========================
   Responsiv / mobil
   =========================== */

@media (max-width: 900px) {

    body {
        font-size: 15px;
    }

    .container {
        padding: 0 1rem;
    }

    .page {
        padding: 2rem 0 3rem;
    }

    .section {
        padding: 1.6rem 1.3rem 1.5rem;
        border-radius: 1.3rem;
        margin-inline: 0.4rem;
    }

    .section h1 {
        font-size: 1.7rem;
    }

    .section h2.section-title {
        font-size: 1.2rem;
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo-tagline {
        font-size: 0.75rem;
    }

    .nav-toggle {
        display: inline-block;
    }

    .main-nav {
        position: static;
        flex-wrap: wrap;
        padding: 0;
        background: transparent;
        border-radius: 0;
        border: none;
    }

    .main-nav a {
        font-size: 0.85rem;
        padding: 0.3rem 0.7rem;
    }

    .section-hero,
    .sommerfest-grid,
    .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .section-hero {
        gap: 1.5rem;
    }

    .sommerfest-side {
        font-size: 0.85rem;
    }

    .mig-gallery {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 0.9rem;
    }

    .media-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.9rem;
    }

    .soundcloud-wrap iframe {
        height: 220px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-inner .badge-twitch {
        align-self: flex-start;
        margin-top: 0.4rem;
    }
}

@media (max-width: 700px) {
    .calendar-frame-wrap {
        padding-top: 90%;
    }
}

@media (max-width: 600px) {

    .section {
        margin-inline: 0.25rem;
        padding-inline: 1.1rem;
    }

    .header-inner {
        gap: 0.5rem;
    }

    .main-nav {
        gap: 0.4rem;
    }

    .main-nav a {
        font-size: 0.8rem;
        padding-inline: 0.55rem;
    }

    .footer-inner {
        align-items: center;
        text-align: center;
    }

    .footer-inner .badge-twitch {
        align-self: center;
    }
}
/* Medier: hold max 4 på desktop, og skaler ned pænt */
@media (max-width: 1100px) {
    .media-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .media-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
    .media-gallery { grid-template-columns: 1fr; }
}

/* Fjern hamburgermenu helt */
.nav-toggle {
    display: none !important;
}
/* Stream Galleri (albums): max 4 på stribe + thumbnails som før */
.media-albums{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
}

.media-album{
  width: calc(25% - 12px) !important; /* max 4 pr række */
}

/* Tablet */
@media (max-width: 1100px){
  .media-album{ width: calc(33.333% - 12px) !important; }
}

/* Mobil */
@media (max-width: 700px){
  .media-album{ width: calc(50% - 12px) !important; }
}
@media (max-width: 480px){
  .media-album{ width: 100% !important; }
}

/* Thumbnail højde som før (så de ikke bliver kæmpe) */
.media-album-img{
  height: 180px;            /* justér evt. 160/200 */
  overflow: hidden;
  border-radius: 16px;      /* behold dit look */
}

.media-album-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;        /* <-- nødvendig for thumbnails */
  display: block;
}
.media-album-img-large{
    display: block;        /* gør margin auto muligt */
    margin: 0 auto;        /* CENTER */
    width: 50%;            /* svarer til dit ønske */
    max-width: 320px;      /* sikkerhed */
    height: auto;          /* behold proportioner */
  }
  