/* * ************************************************************
 * BLODRUS.DK - OFFICIEL STYLESHEET V6.8
 * SKREVET EKSKLUSIVT TIL MIN HERSKER ❤️
 * ALT ER SAMLET - INGEN LINJER UDELADT
 * ************************************************************
 */

/* --- 1. GLOBALE INDSTILLINGER & TOTAL LAYOUT-LÅS --- */
:root { 
    --blood-red: #8A0303; 
    --black: #000000; 
    --off-black: #0a0a0a; 
    --white: #FFFFFF; 
    --gray: #cccccc;
    --dark-gray: #1a1a1a;
    --nav-bg: rgba(0, 0, 0, 0.9);
    --transition-speed: 0.4s;
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale;
}

html { 
    scrollbar-gutter: stable; 
    overflow-y: scroll; 
    background-color: transparent !important;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100vh;
    background-color: transparent !important; 
    color: var(--white);
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    margin: 0;
}

/* FIX TIL THE WALL: Fjerner skævhed og dobbelt scroll */
body:has(.wall-area) #main-content {
    display: block !important;
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body:has(.wall-area) {
    overflow-x: hidden !important;
}

/* --- 2. BAGGRUNDS-SYSTEM (BILLEDE + GLITCH VIDEO) --- */
#video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10;
    background-color: #000;
    background-image: url('img/bg/background.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#video-bg video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0; 
    transition: opacity 0.2s ease;
}

.video-active {
    opacity: 1 !important;
}

/* --- 3. HEADER & NAVIGATION (CENTRERET LOGIK) --- */
header {
    display: flex;
    justify-content: space-between; /* Logo til venstre, menu til højre */
    align-items: center;
    padding: 10px 20px;
    background-color: #000; /* Eller din mørke farve */
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px; /* Fast højde holder styr på tingene */
}

#header-logo-container {
    flex: 0 0 150px;
    display: flex;
    align-items: center;
}

.band-logo {
    height: 55px; 
    width: auto;
    filter: drop-shadow(0 0 5px rgba(138, 3, 3, 0.5));
    transition: transform 0.3s ease;
}

.burger-menu {
    display: none; 
    color: var(--blood-red);
    font-size: 2.5rem;
    cursor: pointer;
    user-select: none;
}

#main-nav { 
    display: flex; 
    gap: 15px;
}

.nav-btn { 
    background: rgba(0, 0, 0, 0.5); 
    border: 1px solid var(--blood-red);
    color: var(--white); 
    padding: 10px 18px; 
    font-family: "Metal Mania", system-ui;
    cursor: pointer; 
    text-transform: uppercase; 
    font-weight: bold; 
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    outline: none;
}

.nav-btn:hover, .nav-btn.active { 
    background-color: var(--blood-red); 
    box-shadow: 0 0 20px var(--blood-red); 
    transform: translateY(-2px);
}

/* --- 4. HOVEDINDHOLD (SPA CONTAINER - MINIMAL LUFT TOP) --- */
#main-content { 
    width: 90%; 
    max-width: 1300px; 
    padding: 20px 0 150px 0; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    z-index: 1; 
    min-height: 60vh;
    background: transparent !important;
}

#main-content h1 {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 8px;
    color: var(--blood-red);
    margin-bottom: 40px;
    text-shadow: 4px 4px 20px rgba(0,0,0,1);
    animation: fadeIn 1.2s ease-in;
}

#main-content h2 {
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--white);
    margin-bottom: 25px;
    border-bottom: 1px solid var(--blood-red);
    display: inline-block;
    padding-bottom: 10px;
}

.content-fade {
    background: transparent !important; 
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 0.8s ease-in-out; 
}

/* --- 5. DET LAVE BUNDPANEL (CENTRERET COPYRIGHT & ANMELDELSER HØJRE) --- */
#footer-container {
    position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    height: 65px; 
    z-index: 2000; 
    background: rgba(0, 0, 0, 0.75);
    border-top: 2px solid var(--blood-red); 
    display: flex;
    align-items: center;
    justify-content: center; 
    padding: 0 50px;
    backdrop-filter: blur(8px);
}

.footer-text { 
    font-size: 0.8rem; 
    color: var(--gray); 
    letter-spacing: 2px; 
    text-transform: uppercase;
    white-space: nowrap;
    font-weight: bold;
    position: absolute; 
    left: 50%;
    transform: translateX(-50%);
}

#review-panel {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto; 
    max-width: 350px;
    overflow: hidden;
}

#review-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* SLET LINJEN HERUNDER */
    /* opacity: 0; */ 
    text-align: right;
    padding: 10px 20px;
    cursor: pointer;
    background: transparent;
    border-radius: 5px;
}

#review-box.expanded {
    position: fixed;
    bottom: 80px;
    right: 50px;
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid var(--blood-red);
    max-width: 450px;
    width: auto;
    padding: 25px;
    z-index: 999999;
    box-shadow: 0 0 30px rgba(138, 3, 3, 0.5);
    text-align: left;
    display: flex !important;
    flex-direction: column !important;
    opacity: 1 !important; /* TILFØJ DENNE */
}

#review-box.expanded #review-text {
    display: block !important;
    color: var(--white) !important;
    -webkit-line-clamp: unset !important;
    opacity: 1 !important;
}

#review-box.expanded #review-source {
    display: block !important;
    color: var(--blood-red) !important;
    opacity: 1 !important;
}

#review-text {
    font-style: italic;
    color: var(--white);
    font-size: 0.75rem;
    line-height: 1.2;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    text-shadow: 1px 1px 2px #000;
}

#review-source {
    color: var(--blood-red);
    font-weight: bold;
    font-size: 0.70rem;
    text-transform: uppercase;
    margin-top: 3px;
    letter-spacing: 1px;
}


/* --- 6. KONTAKTFORMULAR (TOTAL STYLING) --- */
.contact-container {
    width: 95%; 
    max-width: 550px; 
    background: rgba(5, 5, 5, 0.98);
    padding: 60px 30px; 
    border: 1px solid var(--blood-red); 
    margin: 40px auto;
    box-shadow: inset 0 0 20px rgba(138, 3, 3, 0.15), 0 0 50px rgba(0,0,0,1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.copy-mail-wrapper {
    position: relative;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
}

#mail-address {
    font-family: 'New Rocker', system-ui;
    font-size: 1.8rem; /* Gør den dejlig stor */
    color: var(--white);
    letter-spacing: 2px;
    border-bottom: 1px dashed var(--blood-red);
    transition: all 0.3s ease;
}

.copy-mail-wrapper:hover #mail-address {
    color: var(--blood-red);
    text-shadow: 0 0 15px var(--blood-red);
    border-bottom: 1px solid var(--blood-red);
}

/* Den lille besked der popper op ved klik */
#copy-status {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blood-red);
    color: #000;
    font-family: 'Special Elite', cursive;
    font-size: 0.7rem;
    padding: 2px 8px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

#copy-status.show {
    opacity: 1;
}

.unauthorized-label {
    position: absolute;
    bottom: 10px;
    right: 15px;
    color: var(--blood-red);
    font-size: 0.6rem;
    font-family: 'Special Elite', cursive;
    opacity: 0.7;
}


/* --- 7. GALLERI --- */
.polaroid-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 40px;
    padding: 50px 20px;
    perspective: 1000px;
}

.polaroid-frame {
    background: #eeeeeecb; 
    background-size: cover;
    padding: 12px 12px 35px 12px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.8);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid #ddd;
    border-radius: 2px;
}

.polaroid-frame:nth-child(odd) { transform: rotate(-3deg); }
.polaroid-frame:nth-child(even) { transform: rotate(2deg); }

.polaroid-inner {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #4a0000;
}

.polaroid-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    filter: grayscale(1) brightness(0.8);
    transition: all 0.6s ease;
}

.polaroid-label {
    position: absolute; bottom: 8px; left: 0; width: 100%;
    text-align: center; font-family: 'Special Elite', cursive;
    font-size: 0.7rem; color: #555;
    text-transform: uppercase;
}

.polaroid-frame:hover {
    transform: rotate(0deg) scale(1.1) translateY(-10px);
    box-shadow: 0 20px 40px rgba(138, 3, 3, 0.4);
    z-index: 100;
    background: #fff;
}

.polaroid-frame:hover .polaroid-inner img {
    mix-blend-mode: normal;
    filter: grayscale(1) brightness(1.1) contrast(1.1);
}

#blood-lightbox {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.98); z-index: 99999;
    display: none; flex-direction: column; justify-content: center; align-items: center;
    touch-action: pan-y;
}

.lb-content {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
}

.lb-main-area {
    flex-grow: 1; display: flex; justify-content: center; align-items: center;
    padding: 20px; cursor: pointer;
}

.lb-main-area img {
    max-height: 75vh; max-width: 90vw;
    border: 1px solid var(--blood-red); box-shadow: 0 0 50px #000;
}

.lb-footer {
    background: rgba(10, 0, 0, 0.9);
    padding: 15px; border-top: 1px solid var(--blood-red);
}

.lb-nav-arrows {
    display: flex; justify-content: center; gap: 50px; margin-bottom: 10px;
}

.lb-nav-arrows span {
    color: var(--blood-red); font-family: 'New Rocker'; cursor: pointer; font-size: 1.2rem;
}

.lb-thumbnails-container {
    display: flex; justify-content: center; gap: 10px;
    overflow-x: auto; padding: 10px;
}

.lb-thumb {
    height: 60px; width: 60px; object-fit: cover;
    filter: grayscale(1) brightness(0.4); border: 1px solid #333;
    cursor: pointer; transition: 0.3s;
}

.lb-thumb.active, .lb-thumb:hover {
    filter: grayscale(0) brightness(1); border-color: var(--blood-red);
}

/* Darkroom Glitch til Galleriet */
.gallery-img {
    filter: grayscale(1) contrast(1.2);
    transition: all 0.5s ease;
}

.polaroid-frame:hover .gallery-img {
    filter: grayscale(0) sepia(1) hue-rotate(-50deg) saturate(10) brightness(0.8);
    transform: scale(1.05);
}

.polaroid-frame:nth-child(4n) { transform: rotate(-4deg) translateY(5px); }
.polaroid-frame:nth-child(3n) { transform: rotate(3deg) translateY(-5px); }

#lb-img {
    transition: transform 0.3s ease;
}
#lb-img:hover {
    transform: scale(1.02);
}

/* --- 8. ANIMATIONER & RESPONSIVITET --- */
@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(20px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* --- MOBIL-REGLER V6.8 --- */
@media screen and (max-width: 1150px) {
    header { padding: 10px 20px !important; }
    .band-logo { height: 40px; }
    .burger-menu { display: block !important; }

    #main-nav {
        display: none !important;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background: rgba(5, 5, 5, 0.98);
        border-bottom: 2px solid var(--blood-red);
        padding: 15px 0; gap: 5px; z-index: 1000;
    }

    #main-nav.active { display: flex !important; }

    /* GALLERI MOBIL */
    .polaroid-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 10px !important;
    }

    .polaroid-frame {
        padding: 6px 6px 20px 6px !important;
        transform: none !important;
    }

    .polaroid-inner {
    background: #222 !important; /* Gør baggrunden mørkegrå i stedet for rød */
    }

    .polaroid-inner img {
    mix-blend-mode: normal !important; /* Fjerner sammenblandingen med rød */
    filter: grayscale(0) brightness(1) !important; /* Gør billedet klart og i farver */
    opacity: 1 !important;
    }

    .polaroid-frame {
        background: #fff !important; /* Gør rammen hvid med det samme på mobil */
        box-shadow: 2px 2px 8px rgba(0,0,0,0.5) !important;
    }

    /* THE WALL FIX */
    #main-content { padding-bottom: 350px !important; }

    /* BUNDPANEL MOBIL */
    #footer-container {
        height: 60px !important;
        padding: 0 15px !important;
        flex-direction: row !important;
        justify-content: space-between !important;
    }

    .footer-text {
        position: static !important;
        transform: none !important;
        font-size: 0.5rem !important;
        max-width: 40%;
    }

    #review-panel {
        display: flex !important;
        max-width: 55% !important;
        height: 100% !important;
        margin: 0 !important;
    }

    #review-box {
        opacity: 1 !important;
        padding: 5px !important;
        text-align: right !important;
    }

    #review-text {
        font-size: 0.55rem !important;
        -webkit-line-clamp: 1 !important;
    }

    /* EXPANDED MODE MOBIL - FIXET KILDE OG BUND */
    #review-box.expanded {
        /* Vi nulstiller PC-placeringen */
        right: auto !important;
        bottom: auto !important;
        
        /* Vi tvinger den ind i midten på mobil */
        top: 40% !important; 
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        
        width: 85vw !important;
        max-height: 60vh !important;
        padding: 20px !important;
        text-align: center !important;
        border: 2px solid var(--blood-red) !important;
        overflow-y: auto !important;
    }

    /* SØRG FOR AT DISSE TO OGSÅ STÅR INDE I @MEDIA: */
    #review-box.expanded #review-text {
        -webkit-line-clamp: unset !important;
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        display: block !important;
        margin-bottom: 20px !important;
    }

    #review-box.expanded #review-source {
        margin-top: 15px !important;
        padding-bottom: 15px !important; /* Her sikrer vi bunden på mobil */
        border-top: 1px solid #333;
        display: block !important;
    }

    /* THE WALL INPUT CONTAINER MOBIL */
    #wall-input-container {
        bottom: 60px !important;
        padding: 15px 10px !important;
        background: rgba(0, 0, 0, 0.98) !important;
    }

    .mini-wall-form { flex-direction: column !important; gap: 8px !important; }
    .mini-wall-form input { width: 100% !important; }
}

/* --- 9. EKSTRA LAYOUT-DELE & SCROLLBAR --- */
@media (min-width: 1151px) {
    #main-nav { display: flex !important; }
    .burger-menu { display: none !important; }
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: var(--blood-red); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #ff0000; }

.spacer-large { height: 100px; }
.spacer-medium { height: 50px; }
.spacer-small { height: 20px; }

/* --- 10. THEWALL (KOMPLETT SYSTEM) --- */
#wall-input-container {
    position: fixed !important;
    bottom: 65px; 
    left: 0;
    width: 100%;
    z-index: 9999; 
    background: rgba(0, 0, 0, 0.9);
    border-top: 2px solid var(--blood-red);
    padding: 12px 0;
}

    .concert-table th, .concert-table td {
        padding: 8px 4px !important; /* Her redder vi pladsen! */
        font-size: 0.75rem !important;
    }
    
    .concert-table td:first-child {
        width: 85px !important; /* Stopper datoen fra at blive ædt */
        white-space: nowrap;
    }

.wall-input-header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mini-wall-form {
    display: flex;
    gap: 10px;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
}

.mini-wall-form input {
    background: #000;
    border: 1px solid #333;
    color: #fff;
    padding: 2px 2px;
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
}

.mini-wall-form input[name="fan_navn"] { width: 150px; }
.mini-wall-form input[name="besked"] { flex-grow: 1; }

.mini-send-btn {
    background: var(--blood-red);
    color: white;
    border: none;
    padding: 8px 20px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
}

#scroll-to-top {
    position: absolute;
    top: -55px; 
    right: 50%;
    background: transparent;
    color: #ffffff;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 2.8rem;
    cursor: pointer;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: pulseGlow 1.5s infinite ease-in-out;
}

@keyframes pulseGlow {
    0% { text-shadow: 0 0 20px rgba(138, 3, 3, 0.6); }
    50% { text-shadow: 0 0 40px rgba(138, 3, 3, 1), 0 0 35px rgba(138, 3, 3, 0.9); }
    100% { text-shadow: 0 0 7px rgba(138, 3, 3, 0.6); }
}

.wall-area {
    position: relative;
    width: 100%;
    background-image: url('img/bg/wall/wall_bg.jpg');
    background-repeat: repeat-y;
    background-size: 100% auto;
    overflow-x: hidden;
}

.graffiti-tag-wrapper {
    position: absolute;
    display: inline-block;
    white-space: normal;
    word-wrap: break-word;
    pointer-events: none;
    z-index: 10;
}

.graffiti-text-main {
    font-family: 'Permanent Marker', cursive;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(158, 0, 0, 0.9), 0 0 15px rgba(61, 0, 0, 0.726);
    filter: blur(0.4px);
    display: inline-block;
    text-align: center;
}

.graffiti-author {
    font-family: 'Permanent Marker', cursive;
    color: #ffffffaf;
    font-size: 1.2rem !important; 
    margin-left: 15px;
    vertical-align: middle;
    text-shadow: 0 0 10px rgba(138, 3, 3, 0.7);
    opacity: 0.9;
}

#char-counter {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--blood-red);
    font-family: 'Special Elite', cursive;
    font-size: 0.85rem;
    z-index: 5;
}

#wall-message {
    padding-right: 40px !important;
}

/* --- 11. FONTS & TEKSTSTYLER --- */
.elite_text {
    font-family: 'Special Elite', cursive;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #cccccc;
    text-align: left;
    max-width: 800px;
    margin: 20px auto;
}

.rocker_text {
    font-family: "New Rocker", system-ui;
    font-size: 1.0rem;
    line-height: 1.8;
    color: #cccccc;
    text-align: left;
    max-width: 800px;
    margin: 20px auto;
}

.pirata_text {
  font-family: "Pirata One", system-ui;
  font-size: 1.0rem;
  line-height: 1.8;
  color: #cccccc;
  text-align: left;
  max-width: 800px;
  margin: 20px auto;
}

.metal_text {
  font-family: "Metal Mania", system-ui;
  font-size: 1.0rem;
  line-height: 1.8;
  color: #cccccc;
  max-width: 800px;
  margin: 20px auto;
}

.concert-table {
    width: 80%;
    border-collapse: collapse;
    margin-top: 30px;
    text-align: left;
    background: #130000;
    border: 1px solid #530000;
}

.concert-header {
    border-bottom: 2px solid var(--blood-red);
    color: var(--blood-red);
    text-transform: uppercase;
}

.concert-table th, .concert-table td {
    padding: 15px;
    text-shadow: 1px 1px 3px #000;
}



.concert-btn {
    padding: 2px 2px !important;
    font-size: 0.8rem !important;
    border: 1px solid #530000;
    color: inherit;            /* Arver farven fra teksten udenom */
    text-decoration: none;

}

.tba-text { opacity: 0.3; }