/* ==========================================================================
   SPEC TEMPLATE STYLES - FINAL & BÜNDIG
   ========================================================================== */

.guide-container { 
    width: 95%; 
    max-width: 1300px; 
    margin: 15px auto; 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
}

/* --- HEADER --- */
.spec-header { 
    background: var(--box-color); 
    padding: 15px 25px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    border: 1px solid rgba(255,255,255,0.03); 
}
.spec-info-main { display: flex; align-items: center; gap: 15px; }
.spec-header-title h1 { margin: 0; color: var(--color-dk); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; }
.spec-meta-under { display: flex; gap: 12px; margin-top: 3px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* --- GRID --- */
.guide-grid { 
    display: grid; 
    grid-template-columns: 1.5fr 1fr; 
    gap: 15px; 
    align-items: start; 
}
.guide-column { display: flex; flex-direction: column; gap: 15px; }

/* --- BOXES --- */
.spec-box { background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.03); padding: 15px; }
.spec-box-title { 
    color: #666; 
    text-transform: uppercase; 
    font-size: 0.7rem; 
    font-weight: 800; 
    margin-bottom: 12px; 
    display: block; 
    border-bottom: 1px solid rgba(255,255,255,0.03); 
    padding-bottom: 8px; 
}

.set-bonus-box { 
    border-left: 3px solid var(--color-dk); 
    background: rgba(196, 30, 58, 0.02); 
}
.bonus-item { margin-bottom: 12px; }
.bonus-tag { color: var(--color-dk); font-weight: 900; font-size: 0.7rem; text-transform: uppercase; display: block; }
.bonus-desc { font-size: 0.85rem; color: #ccc; line-height: 1.4; margin: 2px 0 0 0; }

/* --- ITEM ROWS --- */
.catalyst-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.item-stat-row { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    background: rgba(255, 255, 255, 0.01); 
    border: 1px solid rgba(255, 255, 255, 0.03); 
    padding: 10px 15px; 
    transition: 0.2s; 
}
.item-stat-row:hover { border-color: var(--color-dk); background: rgba(255, 255, 255, 0.03); }
.item-meta-info { display: flex; flex-direction: column; gap: 2px; }
.item-name-link { text-decoration: none; color: var(--difficulty-mythic); font-weight: 800; font-size: 0.75rem; text-transform: uppercase; }
.item-secondary-stats { font-size: 9px; color: #555; font-weight: 700; text-transform: uppercase; }
.stat-val { color: var(--difficulty-normal); margin-right: 4px; }

/* --- WAGO PREVIEW & HOVER --- */
.wago-preview-container { 
    position: relative; 
    width: 100%; 
    height: 140px; 
    overflow: hidden; 
    cursor: pointer; 
    background: #000; 
}
.wago-preview-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; transition: 0.4s ease; }
.wago-preview-container:hover .wago-preview-img { opacity: 0.8; transform: scale(1.1); }

.wago-preview-container::after {
    content: "VERGRÖSSERN";
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: rgba(196, 30, 58, 0.9); color: #fff; padding: 6px 15px;
    font-size: 11px; font-weight: 900; opacity: 0; transition: 0.3s;
    border-radius: 2px; pointer-events: none;
}
.wago-preview-container:hover::after { opacity: 1; }

/* --- TUTORIAL HINT BOX --- */
.tutorial-hint-box { 
    background: rgba(196, 30, 58, 0.1); 
    border: 1px solid rgba(196, 30, 58, 0.3); 
    padding: 15px; 
    font-size: 14px; 
    color: #ccc; 
    text-align: center;
    margin: 10px;
    font-weight: 700;
}
.tutorial-hint-box a { color: var(--color-dk); text-decoration: none; font-size: 16px; cursor: pointer; transition: 0.2s; }
.tutorial-hint-box a:hover { text-decoration: underline; color: #fff; }

/* --- POPUP / LIGHTBOX SYSTEM --- */
#lightbox, #tutorial-popup { 
    display: none; 
    position: fixed; 
    z-index: 10000; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.95); 
    align-items: center; 
    justify-content: center; 
}

.popup-content-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

#lightbox-img, #tutorial-img { 
    max-width: 100%; 
    max-height: 90vh; 
    border: 2px solid rgba(255,255,255,0.1); 
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
}

/* --- ROTES X ZUM SCHLIESSEN --- */
.close-popup {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 40px;
    height: 40px;
    background: #c41e3a; /* DK Rot */
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    z-index: 10001;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.close-popup:hover {
    background: #ff0000;
    transform: scale(1.1);
}

/* --- BUTTONS --- */
.addon-download-btn { text-align: center; background: #0a0a0a; padding: 12px; border: 1px solid #1a1a1a; text-decoration: none; color: #555; font-size: 10px; font-weight: 700; text-transform: uppercase; transition: 0.3s; }
.addon-download-btn:hover { color: #fff; border-color: #c41e3a; background: #111; }