/* =========================================
   1. VARIABLES & GLOBAL SETTINGS
   ========================================= */
:root {
    --gold-primary: #ffcc00;
    --gold-dark: #b8860b;
    --gold-gradient: linear-gradient(to bottom, #ffed8b, #d4af37, #996515);
    --bg-dark: #0a0a0a;
    --bg-card: #121212;
    --text-font: 'Lato', sans-serif;
    --title-font: 'Cinzel', serif;
}

/* --- Smooth Page Fade In --- */
@keyframes fadeInPage {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

body {
    font-family: var(--text-font);
    background-color: var(--bg-dark);
    color: #e0e0e0;
    overflow-x: hidden;
    animation: fadeInPage 0.8s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { 
    background: var(--gold-dark); 
    border-radius: 5px;
    border: 2px solid #050505;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold-primary); }

h1, h2, h3, h4, h5, h6 { font-family: var(--title-font); }
a { text-decoration: none; transition: 0.3s; }

/* --- Utility Classes --- */
.text-gold { color: var(--gold-primary) !important; }
.gold-text { color: var(--gold-primary); }
.xsmall { font-size: 0.75rem; }
.letter-spacing-2 { letter-spacing: 2px; }
.bg-black { background-color: #000 !important; }


/* =========================================
   2. NAVIGATION
   ========================================= */
.custom-nav {
    background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
    transition: all 0.4s ease;
    padding: 20px 0;
}
.custom-nav.scrolled {
    background: rgba(0, 0, 0, 0.95);
    padding: 10px 0;
    border-bottom: 1px solid #333;
    box-shadow: 0 5px 20px rgba(0,0,0,0.8);
}
.navbar-brand { font-family: var(--title-font); font-weight: 700; letter-spacing: 2px; font-size: 1.8rem; }
.small-brand { display: block; font-size: 0.7rem; color: var(--gold-primary); letter-spacing: 1px; margin-top: -5px; text-align: center; }
.nav-link { text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; color: #ccc !important; transition: color 0.3s; }
.nav-link:hover { color: var(--gold-primary) !important; text-shadow: 0 0 10px rgba(255, 204, 0, 0.4); }

/* =========================================
   3. HERO SECTION & BUTTONS
   ========================================= */
.hero-section {
    position: relative; 
    height: 100vh; 
    min-height: 750px;
    background-image: url('../img/compressed/background_2-min.png'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    overflow: hidden;
    /* FIX: Added Padding so centered content doesn't hit the event bar */
    padding-bottom: 80px; 
}
.overlay {
    position: absolute; inset: 0;
    background: radial-gradient(circle, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.8) 100%);
    background-color: rgba(0,0,0,0.3); z-index: 1;
}

/* NEW: Style for the event bar to ensure readability and fix overlap visuals */
.event-bar {
    z-index: 50 !important;
    /* Hintergrund: Schwarz mit 60% Deckkraft (Transparent) */
    background-color: rgba(0, 0, 0, 0.6);
    /* Blur-Effekt für den Hintergrund (Milchglas-Optik) */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    /* Der obere Rand ist nun auch leicht transparent */
    border-top: 1px solid rgba(184, 134, 11, 0.6);
}

.event-item h6 {
    text-shadow: 0 2px 4px rgba(0,0,0,1);
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.main-title {
    font-family: var(--title-font); font-weight: 900; color: transparent;
    background: var(--gold-gradient); background-clip: text; -webkit-background-clip: text;
    text-transform: uppercase; letter-spacing: 5px; text-shadow: 0 10px 30px rgba(0,0,0,0.8);
}
.sub-title {
    color: #ddd; 
    text-transform: uppercase; 
    letter-spacing: 8px; 
    font-size: 1.5rem;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 15px;
    
    /* WICHTIG: Damit der Titel + Striche wirklich mittig sind */
    width: fit-content; 
    margin: 0 auto; 
}
.sub-title::before, .sub-title::after { 
    content: ""; 
    display: block; 
    width: 40px; /* Etwas kürzer für eleganteren Look */
    height: 2px; /* Etwas dicker für Sichtbarkeit */
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent); /* Verlauf statt harter Strich */
}

/* Der neue Trenner unter dem Titel */
.divider-gold {
    height: 3px; 
    width: 100px; 
    background: radial-gradient(circle, var(--gold-primary) 0%, transparent 100%); /* Hübscherer Verlauf */
    margin: 15px auto; /* auto sorgt für horizontale Zentrierung */
    display: block; /* Sicherstellen, dass es ein Block ist */
    opacity: 0.8;
}
.hero-text { text-shadow: 0 2px 4px rgba(0,0,0,0.9); color: #eee; font-size: 1.2rem; }

/* --- EPIC BUTTONS --- */
.btn-epic-play {
    background: linear-gradient(to bottom, #ffcc00, #b8860b); border: 2px solid #ffeebb;
    color: #220e00; font-family: var(--title-font); font-weight: 900;
    padding: 15px 40px; text-transform: uppercase; position: relative; overflow: hidden;
    transition: all 0.3s ease; box-shadow: 0 0 20px rgba(255, 204, 0, 0.5);
    animation: pulse-gold 3s infinite; border-radius: 4px;
}
.btn-epic-play:hover {
    transform: scale(1.05) translateY(-2px); box-shadow: 0 0 40px rgba(255, 204, 0, 0.8);
    color: #000; border-color: #fff;
}
.btn-epic-play::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent); transition: 0.5s;
}
.btn-epic-play:hover::after { left: 100%; }

@keyframes pulse-gold {
    0% { box-shadow: 0 0 20px rgba(255, 204, 0, 0.5); }
    50% { box-shadow: 0 0 35px rgba(255, 204, 0, 0.8); }
    100% { box-shadow: 0 0 20px rgba(255, 204, 0, 0.5); }
}

.btn-fantasy-outline {
    background: rgba(0,0,0,0.5); border: 1px solid rgba(255, 255, 255, 0.3); color: #fff;
    text-transform: uppercase; border-radius: 50px; padding: 15px 30px; font-size: 0.9rem; transition: 0.3s;
}
.btn-fantasy-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--gold-primary); color: var(--gold-primary); }
.btn-outline-gold {
    border: 1px solid var(--gold-dark); color: var(--gold-primary); text-transform: uppercase;
    font-size: 0.8rem; background: transparent; transition: 0.3s;
}
.btn-outline-gold:hover { background-color: var(--gold-dark); color: #000; }

.nav-link:hover, .nav-link.active { 
    color: var(--gold-primary) !important; 
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.4); 
}

/* =========================================
   4. GENERAL SECTIONS & CLASSES
   ========================================= */
.section-dark { background-color: var(--bg-dark); border-top: 1px solid #222; }

.class-card {
    background-color: var(--bg-card); border: 1px solid #333; transition: 0.3s; height: 100%;
}
.class-card:hover {
    transform: translateY(-10px); border-color: var(--gold-dark); box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.card-img-wrapper { height: 200px; overflow: hidden; border-bottom: 1px solid #333; }
.card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.class-card:hover .card-img-wrapper img { transform: scale(1.1); }

/* =========================================
   5. NEWS SECTION
   ========================================= */
.section-news {
    background-color: #0b0b0b;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.6)), url('../img/luminara-bg.jpg');
    background-size: cover; background-position: center; background-attachment: fixed;
}

.news-hero-card {
    border-radius: 8px; overflow: hidden; position: relative; min-height: 400px;
    border: 1px solid #333; transition: transform 0.3s; background: #000;
}
.news-hero-card:hover { transform: scale(1.01); border-color: var(--gold-dark); }
.news-bg-img {
    width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.5s;
}
.news-hero-card:hover .news-bg-img { transform: scale(1.1); opacity: 0.7; }
.news-overlay-content {
    position: absolute; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.6), transparent); padding: 30px;
    pointer-events: none;
}
.news-overlay-content a { pointer-events: auto; }
.news-title-large { color: #fff; font-size: 2rem; font-weight: 700; text-shadow: 0 2px 5px black; margin-bottom: 10px; }

/* News Item & Links */
.news-list-item {
    background: rgba(255,255,255,0.03); border: 1px solid #222; border-radius: 6px; transition: all 0.3s;
}
.news-list-item:hover {
    background: rgba(255, 204, 0, 0.05); border-color: var(--gold-dark); transform: translateX(5px);
}
.news-thumb {
    width: 80px; height: 80px; border-radius: 4px; background-size: cover; background-position: center; border: 1px solid #444; flex-shrink: 0;
}
.read-more-link {
    color: var(--gold-primary); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; font-weight: bold; text-decoration: none;
}
.read-more-link:hover { color: #fff; text-shadow: 0 0 8px var(--gold-primary); }

/* =========================================
   6. LORE & GALLERY
   ========================================= */
.section-lore {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9)), url('../img/compressed/background_4-min.png');
    background-size: cover; background-attachment: fixed; border-top: 3px solid var(--gold-dark); border-bottom: 3px solid var(--gold-dark);
}
.lore-image-frame { padding: 10px; border: 1px solid var(--gold-dark); background: rgba(0,0,0,0.5); transform: rotate(2deg); }

.bg-texture {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/black-scales.png'); opacity: 0.3; pointer-events: none;
}

/* =========================================
   7. BETA SECTION
   ========================================= */
.section-beta {
    background: url('../img/compressed/background_1-min.png') center/cover fixed no-repeat;
    position: relative;
}
.section-beta::before {
    content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.75);
}

.beta-container {
    background: rgba(10, 10, 15, 0.95);
    border: 2px solid var(--gold-dark);
    border-radius: 10px;
    max-width: 900px;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    overflow: hidden;
}

/* Animierter Glanz */
.beta-glow-effect {
    position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.15) 0%, transparent 60%);
    animation: rotate-glow 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}
@keyframes rotate-glow { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Beta Input */
.magic-form { max-width: 500px; margin: 0 auto; }
.input-wrapper {
    display: flex; align-items: center; background: rgba(0, 0, 0, 0.6);
    border: 1px solid #444; border-radius: 50px; padding: 5px;
    transition: all 0.3s; position: relative;
}
.input-wrapper:focus-within {
    border-color: var(--gold-primary); box-shadow: 0 0 15px rgba(255, 204, 0, 0.3); background: rgba(0, 0, 0, 0.8);
}
.input-icon { padding-left: 15px; color: #666; font-size: 1.2rem; }
.input-wrapper:focus-within .input-icon { color: var(--gold-primary); }
.magic-input {
    flex-grow: 1; background: transparent; border: none; color: #fff;
    padding: 10px 15px; outline: none; font-family: var(--text-font);
}
.magic-input::placeholder { color: #888; }
.btn-magic-submit {
    background: linear-gradient(to bottom, #ffcc00, #b8860b); border: none; color: #000;
    font-family: var(--title-font); font-weight: bold; padding: 10px 25px; border-radius: 50px;
    cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; text-transform: uppercase; font-size: 0.9rem;
}
.btn-magic-submit:hover {
    transform: scale(1.05); box-shadow: 0 0 15px rgba(255, 204, 0, 0.6); color: #000;
}

/* =========================================
   8. TOOLTIPS & MAP LOGIC
   ========================================= */
/* Base Tooltip */
.reward-icon-wrapper, .map-pin { position: relative; cursor: help; }

.rpg-tooltip {
    visibility: hidden; opacity: 0;
    width: 280px; background-color: rgba(10, 10, 15, 0.98); color: #fff; text-align: left;
    border: 1px solid #555; border-radius: 4px; padding: 15px;
    position: absolute; z-index: 100;
    bottom: 125%; left: 50%; transform: translateX(-50%) translateY(10px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    box-shadow: 0 0 20px rgba(0,0,0,0.9), inset 0 0 20px rgba(0,0,0,0.5);
    pointer-events: none;
}
.rpg-tooltip::after {
    content: ""; position: absolute; top: 100%; left: 50%; margin-left: -8px;
    border-width: 8px; border-style: solid; border-color: rgba(10, 10, 15, 0.98) transparent transparent transparent;
}

.reward-icon-wrapper:hover .rpg-tooltip, .map-pin:hover .rpg-tooltip {
    visibility: visible; opacity: 1; transform: translateX(-50%) translateY(0);
}

/* Map Pins & Flip Logic */
.map-pin {
    position: absolute; transform: translate(-50%, -50%);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 10;
}
.map-pin:hover { transform: translate(-50%, -60%) scale(1.2); z-index: 100; }
.map-pin .rpg-tooltip { width: 320px; white-space: normal; }

/* Flip Down Logic */
.map-pin.tooltip-down .rpg-tooltip {
    bottom: auto; top: 140%; transform: translateX(-50%) translateY(-10px);
}
.map-pin.tooltip-down:hover .rpg-tooltip { transform: translateX(-50%) translateY(0); }
.map-pin.tooltip-down .rpg-tooltip::after {
    top: auto; bottom: 100%; border-color: transparent transparent rgba(10, 10, 15, 0.98) transparent;
}

.drop-shadow { filter: drop-shadow(0 5px 5px rgba(0,0,0,0.8)); }

/* Class Tooltips */
.class-tooltip {
    width: 90%; left: 50%; bottom: 80%; transform: translateX(-50%) translateY(10px); z-index: 20;
    background-color: rgba(10, 10, 15, 0.95); border-color: var(--gold-dark);
}
.class-card:hover .class-tooltip { visibility: visible; opacity: 1; transform: translateX(-50%) translateY(0); }
.class-tooltip strong { font-weight: 700; margin-right: 5px; }

/* Helpers for Content */
.tooltip-title { font-family: var(--title-font); margin: 0; font-size: 1rem; letter-spacing: 1px; }
.quality-epic { color: #a335ee; text-shadow: 0 0 5px #a335ee; }
.quality-legendary { color: #ff8000; text-shadow: 0 0 5px #ff8000; }
.quality-rare { color: #0070dd; text-shadow: 0 0 5px #0070dd; }
.tooltip-type { font-size: 0.75rem; color: #aaa; display: block; margin-bottom: 5px; }
.tooltip-divider { margin: 8px 0; border-color: #444; opacity: 0.5; }
.tooltip-desc { font-size: 0.85rem; color: #ffd700; line-height: 1.4; margin-bottom: 0; }
.tooltip-flavor { display: block; font-style: italic; color: #666; font-size: 0.75rem; margin-top: 8px; }

/* Reward Icons */
.reward-rune {
    width: 60px; height: 60px; margin: 0 auto; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 2px solid rgba(255,255,255,0.2); font-size: 1.5rem; color: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.5); transition: all 0.3s;
}
.reward-rune:hover { transform: scale(1.1); border-color: #fff; }
.bg-purple { background: radial-gradient(circle, #9b59b6 0%, #4a235a 100%); box-shadow: 0 0 20px rgba(155, 89, 182, 0.4); }
.bg-warning { background: radial-gradient(circle, #f1c40f 0%, #7f6a00 100%); box-shadow: 0 0 20px rgba(241, 196, 15, 0.4); }
.bg-info { background: radial-gradient(circle, #3498db 0%, #154360 100%); box-shadow: 0 0 20px rgba(52, 152, 219, 0.4); }

/* =========================================
   9. SUBPAGES (STATUS, SUPPORT, LEADERBOARD)
   ========================================= */
/* Leaderboard */
.leaderboard-table { background-color: #111; border-color: #333; }
.leaderboard-table th { background-color: #000; border-bottom: 2px solid var(--gold-dark); }
.leaderboard-table td { border-color: #222; padding: 15px; }
.leaderboard-table tbody tr:hover { background-color: rgba(255, 204, 0, 0.05); }

/* Support Page */
.section-support {
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.9)), url('../img/compressed/background_1-min.png');
    background-size: cover; background-position: center; background-attachment: fixed; position: relative;
}
.bg-dark-transparent {
    background-color: rgba(15, 15, 20, 0.85) !important; backdrop-filter: blur(5px);
}

/* Hover Card */
.hover-card { transition: 0.3s; }
.hover-card:hover {
    background-color: rgba(15, 15, 20, 0.95) !important; transform: translateY(-5px);
    border-color: var(--gold-primary) !important; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Server Status Page */
.section-status {
    background: radial-gradient(circle at center, #1a1a2e 0%, #000000 100%);
}
.realm-row {
    background-color: rgba(255, 255, 255, 0.02); border: 1px solid transparent; transition: all 0.2s;
}
.realm-row:hover {
    background-color: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); transform: translateX(5px);
}
.status-indicator { font-weight: bold; font-size: 0.9rem; display: inline-flex; align-items: center; }
.status-indicator.online { color: #2ecc71; text-shadow: 0 0 10px rgba(46, 204, 113, 0.4); }
.status-indicator.offline { color: #e74c3c; }
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4); } 70% { box-shadow: 0 0 0 6px rgba(46, 204, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}
.status-indicator.online i { border-radius: 50%; animation: pulse-green 2s infinite; }

/* --- Tabs --- */
.btn-gold-active {
    color: #888; transition: 0.3s;
}
.btn-gold-active:hover, .btn-gold-active.active {
    background-color: var(--gold-primary);
    color: #000;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.3);
}

/* --- Podium / Top 3 --- */
.top-three-container {
    min-height: 350px;
}

.podium-card {
    background: rgba(20, 20, 25, 0.6);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px 10px;
    transition: transform 0.3s;
    backdrop-filter: blur(5px);
}
.podium-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 30, 35, 0.8);
}

.podium-card.rank-1 {
    padding-top: 40px;
    padding-bottom: 30px;
    background: linear-gradient(to bottom, rgba(255, 204, 0, 0.05), rgba(0,0,0,0.8));
    border-color: var(--gold-dark);
    box-shadow: 0 0 30px rgba(255, 204, 0, 0.1);
    z-index: 10;
}

.avatar-wrapper {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 3px solid #444;
    padding: 3px;
}
.rank-1 .avatar-wrapper {
    width: 110px; height: 110px;
    border-color: var(--gold-primary);
}

.glow-gold { box-shadow: 0 0 20px rgba(255, 204, 0, 0.4); }
.crown-icon {
    position: absolute; top: -25px; left: 50%; transform: translateX(-50%);
    font-size: 2rem; filter: drop-shadow(0 0 10px gold);
    animation: float-crown 3s ease-in-out infinite;
}

@keyframes float-crown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.rank-badge {
    position: absolute; top: -10px; right: 50%; transform: translateX(50%);
    width: 30px; height: 30px; border-radius: 50%;
    font-weight: bold; display: flex; align-items: center; justify-content: center;
    border: 2px solid rgba(0,0,0,0.5);
}
.bg-bronze { background-color: #cd7f32; color: #fff; }
.border-bronze { border-color: #cd7f32 !important; }

.stat-box {
    background: rgba(0,0,0,0.3);
    border-radius: 6px;
    padding: 5px 10px;
    display: inline-block;
    min-width: 80px;
    border: 1px solid #444;
}
.bg-gold-gradient {
    background: linear-gradient(to bottom right, #ffed8b, #d4af37);
}

/* --- Table Polish --- */
.custom-table-wrapper {
    background-color: rgba(10, 10, 12, 0.9);
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.table-hover tbody tr:hover {
    background-color: rgba(255, 204, 0, 0.05) !important;
    cursor: pointer;
}
.table-row-animate {
    transition: background-color 0.2s, transform 0.2s;
}
.table-row-animate:hover {
    transform: scale(1.005);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border-left: 3px solid var(--gold-primary);
}
/* Remove ugly bootstrap border */
.table>:not(caption)>*>* {
    border-bottom-color: #222;
    box-shadow: none;
}

/* =========================================
   10. LOGIN & DASHBOARD
   ========================================= */
/* Login Page */
.section-login {
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.9)), url('../img/compressed/background_2-min.png');
    background-size: cover; background-position: center;
}
.login-card {
    background: #0e1014;
    border: 1px solid var(--gold-dark); border-radius: 8px; box-shadow: 0 0 50px rgba(0,0,0,0.9);
}
.hover-gold:hover { color: var(--gold-primary) !important; }

/* Login Animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translate3d(0, 40px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.animate-fade-in-up { animation: fadeInUp 0.8s ease-out; }

/* Social Buttons */
.social-btn {
    transition: all 0.3s; border-color: #333; background: #1a1c21;
}
.social-btn:hover {
    border-color: var(--gold-primary); color: var(--gold-primary) !important; background: #000;
}

/* Dashboard */
.section-dashboard {
    background: radial-gradient(circle at top center, #1a1a2e 0%, #000000 80%);
}

/* Dashboard Specific Backgrounds */
.dashboard-char-bg {
    background: url('../img/compressed/img_Schadowwalker-min.png') center/top no-repeat;
    background-size: cover;
    height: 300px;
    width: 100%;
    display: block;
}

.dashboard-download-bg {
    background: linear-gradient(to bottom, rgba(20,20,30,0.8), rgba(0,0,0,0.8));
}

.avatar-circle {
    width: 35px; height: 35px; border-radius: 50%;
    background: linear-gradient(to bottom right, var(--gold-primary), var(--gold-dark)); color: #000;
}
.dashboard-card {
    background-color: rgba(20, 22, 26, 0.8); transition: transform 0.3s ease;
}
.dashboard-card:hover { border-color: rgba(255, 255, 255, 0.3) !important; }
.list-group-item-action:hover {
    background-color: rgba(255, 204, 0, 0.05) !important; color: var(--gold-primary) !important;
}

/* STATS MODAL & BARS */
.stat-row { transition: background-color 0.2s; }
.stat-row:hover {
    background-color: rgba(255, 255, 255, 0.15) !important; border-color: var(--gold-primary) !important;
}
/* Tooltips im Modal */
.modal .rpg-tooltip {
    bottom: auto; left: 105%; top: 50%; transform: translateY(-50%);
    width: 250px; z-index: 1060; visibility: hidden; opacity: 0; transition: opacity 0.2s;
}
.modal .rpg-tooltip::after {
    top: 50%; left: -8px; right: auto; bottom: auto; margin-top: -8px; margin-left: 0;
    border-width: 8px; border-style: solid; border-color: transparent rgba(10, 10, 15, 0.98) transparent transparent;
}
.stat-row:hover .rpg-tooltip { visibility: visible; opacity: 1; }

/* Stat Bars */
.progress { height: 6px; background-color: #222; border-radius: 2px; margin-top: 5px; }
.progress-bar.bg-stat-str { background-color: #d4af37; }
.progress-bar.bg-stat-stam { background-color: #e74c3c; }
.progress-bar.bg-stat-int { background-color: #3498db; }

/* =========================================
   11. FOOTER
   ========================================= */
.footer-dark { background-color: #050505; border-top: 1px solid #222; color: #888; font-size: 0.9rem; }
.footer-heading { color: #fff; text-transform: uppercase; font-family: var(--title-font); margin-bottom: 20px; letter-spacing: 1px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #888; text-decoration: none; transition: 0.3s; }
.footer-links a:hover { color: var(--gold-primary); padding-left: 5px; }
.social-icons a { color: #fff; font-size: 1.2rem; margin-right: 15px; transition: 0.3s; }
.social-icons a:hover { color: var(--gold-primary); }
.footer-divider { border-color: #333; }

/* Mobile Stats Fix */
@media (max-width: 768px) {
    .modal .rpg-tooltip {
        left: 0; top: 100%; bottom: auto; transform: none; width: 100%; margin-top: 5px; z-index: 2000; visibility: hidden; opacity: 0;
    }
    .modal .rpg-tooltip::after { left: 20px; top: -8px; border-color: transparent transparent rgba(10, 10, 15, 0.98) transparent; }
    .stat-row.active .rpg-tooltip { visibility: visible; opacity: 1; position: relative; }
    .stat-row.active { background-color: rgba(255, 255, 255, 0.1) !important; border-color: var(--gold-primary) !important; }
}

.link-hover-effect {
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.link-hover-effect:hover {
    color: #fff !important;
    text-shadow: 0 0 8px var(--gold-primary);
}

/* =========================================
   12. NEW ADDITIONS (Beta Rewards & Recruitment)
   ========================================= */

/* --- Verbesserte Beta Rewards (Item Cards) --- */
.reward-card {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    /* WICHTIG: Damit der Tooltip über den Rand darf */
    overflow: visible !important; 
    z-index: 1;
}

/* Rarity Borders & Glows */
.reward-card.rarity-epic { border-color: #9b59b6; box-shadow: inset 0 0 15px rgba(155, 89, 182, 0.1); }
.reward-card.rarity-rare { border-color: #3498db; box-shadow: inset 0 0 15px rgba(52, 152, 219, 0.1); }
.reward-card.rarity-legendary { border-color: #f1c40f; box-shadow: inset 0 0 15px rgba(241, 196, 15, 0.1); }

.reward-card:hover {
    transform: translateY(-5px);
    background: rgba(20, 20, 25, 0.9);
    cursor: help; 
    z-index: 100;
}

.reward-card.rarity-epic:hover { box-shadow: 0 0 20px rgba(155, 89, 182, 0.4); }
.reward-card.rarity-rare:hover { box-shadow: 0 0 20px rgba(52, 152, 219, 0.4); }
.reward-card.rarity-legendary:hover { box-shadow: 0 0 20px rgba(241, 196, 15, 0.4); }

/* Icon Styling innerhalb der Karte */
.reward-icon-large {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 0 5px 10px rgba(0,0,0,0.8);
}

/* Tooltip Anpassung für die Cards */
.reward-card .rpg-tooltip {
    bottom: 110%; 
    left: 50%;
    transform: translateX(-50%) translateY(10px);
}
.reward-card:hover .rpg-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* --- Join the Team Section --- */
.section-recruitment {
    background-color: #0f0f0f;
    border-top: 1px solid #222;
    position: relative;
}

.recruitment-card {
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 30px;
    transition: 0.3s;
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden; 
}

/* Ein dunkler Verlauf über dem Bild */
.recruitment-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.95));
    z-index: -1;
    transition: opacity 0.3s;
}

/* Goldener Strich oben */
.recruitment-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: var(--gold-dark);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.recruitment-card:hover {
    transform: translateY(-5px);
    border-color: #555;
}
.recruitment-card:hover::before {
    transform: scaleX(1);
}
/* Bild zoomt leicht */
.recruitment-card:hover::after {
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), #000);
}

/* Spezifische Bilder definieren */
.recruitment-card.bg-gm {
    background-image: url('../img/compressed/background_3-min.png'); 
}
.recruitment-card.bg-artist {
    background-image: url('../img/compressed/background_4-min.png'); 
}

.role-icon {
    width: 60px; height: 60px;
    background: #222;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    color: var(--gold-primary);
    font-size: 1.5rem;
    border: 1px solid #444;
    text-shadow: none;
}

/* Text Shadow für bessere Lesbarkeit auf Bildern */
.recruitment-card h4, 
.recruitment-card p, 
.recruitment-card li,
.recruitment-card i {
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

/* --- Application Modal Styling --- */
.custom-modal-content {
    background-color: #121212;
    border: 1px solid var(--gold-dark);
    box-shadow: 0 0 50px rgba(0,0,0,0.9);
    border-radius: 8px;
}

.modal-header {
    background: linear-gradient(to right, #1a1a1a, #0f0f0f);
    border-bottom: 1px solid #333;
}

.modal-title {
    font-family: var(--title-font);
    letter-spacing: 1px;
    color: var(--gold-primary);
}

/* Reuse Magic Input Styles but slightly adapted for Modal */
.modal-body .input-wrapper {
    border-radius: 4px; 
    background: rgba(0, 0, 0, 0.4);
}

.modal-body textarea.magic-input {
    border: none;
    color: #fff;
    background: transparent;
    outline: none;
}

.modal-backdrop.show {
    opacity: 0.8;
}

/* *** Checkbox & Disabled Button Styling *** */
.custom-checkbox {
    background-color: rgba(0,0,0,0.5);
    border-color: #444;
}
.custom-checkbox:checked {
    background-color: var(--gold-primary);
    border-color: var(--gold-primary);
}

.btn-epic-play:disabled {
    background: #333;
    border-color: #444;
    color: #777;
    cursor: not-allowed;
    box-shadow: none;
    animation: none;
}

/* =========================================
   13. IMMERSIVE FEATURES (PARALLAX STRIPS)
   ========================================= */
.feature-stripe {
    position: relative;
    width: 100%;
    min-height: 80vh; /* Fast Fullscreen */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Das macht den Parallax-Effekt */
    display: flex;
    align-items: center;
    border-bottom: 1px solid #222;
}

/* Overlays: Sorgen für Lesbarkeit */
.feature-overlay-left {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #000 0%, rgba(0,0,0,0.8) 40%, transparent 100%);
    pointer-events: none;
}

.feature-overlay-right {
    position: absolute;
    inset: 0;
    background: linear-gradient(-90deg, #000 0%, rgba(0,0,0,0.8) 40%, transparent 100%);
    pointer-events: none;
}

.feature-title {
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.8);
    /* Goldener Schimmer */
    background: linear-gradient(to bottom, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Mobile: Parallax deaktivieren (spart Performance) */
@media (max-width: 768px) {
    .feature-stripe {
        background-attachment: scroll;
        min-height: 600px;
        text-align: center !important;
    }
    .feature-overlay-left, .feature-overlay-right {
        background: rgba(0,0,0,0.7); /* Einfach dunkel machen auf Mobile */
    }
    /* Auf Mobile immer zentriert */
    .feature-stripe .col-lg-6 {
        text-align: center !important;
    }
    .feature-stripe .row {
        justify-content: center !important;
    }
}

.btn-magic-submit:disabled {
    background: #444;       /* Dunkelgrau statt Gold */
    color: #888;            /* Ausgegrauter Text */
    cursor: not-allowed;    /* Verbot-Mauszeiger */
    box-shadow: none;       /* Kein Leuchten */
    transform: none;        /* Keine Bewegung */
}

/* =========================================
   UPDATED: BETA SECTION (High Visibility)
   ========================================= */

/* Hintergrund mit Parallax und Overlay */
.section-beta {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    /* Ein dunklerer Hintergrund sorgt für mehr Kontrast zum leuchtenden Container */
    background: radial-gradient(circle at center, #1a1500 0%, #000000 100%);
    border-top: 2px solid var(--gold-dark);
    border-bottom: 2px solid var(--gold-dark);
}

/* Magischer Partikel-Hintergrund (optional, falls Bild fehlt) */
.section-beta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.4;
    animation: floatingDust 60s linear infinite;
}
@keyframes floatingDust { from { background-position: 0 0; } to { background-position: 1000px 500px; } }

/* Der Container poppt jetzt richtig raus */
.beta-container {
    background: rgba(15, 15, 20, 0.85); /* Etwas transparenter für Tiefe */
    border: 2px solid var(--gold-primary); /* Helleres Gold */
    border-radius: 15px;
    position: relative;
    max-width: 950px;
    margin: 0 auto;
    padding: 3rem;
    box-shadow: 
        0 0 30px rgba(255, 204, 0, 0.15), /* Äußerer Glow */
        inset 0 0 50px rgba(0, 0, 0, 0.8); /* Innere Tiefe */
    backdrop-filter: blur(10px); /* Glas-Effekt */
    z-index: 10;
    transform: translateY(0);
    transition: transform 0.3s;
}

/* Leichte Schwebe-Animation für den ganzen Container */
.beta-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 50px rgba(255, 204, 0, 0.3);
}

/* Der "Magische Kreis" hinter dem Formular */
.beta-glow-effect {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 120%; height: 120%;
    background: radial-gradient(circle, rgba(255, 204, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    animation: pulse-glow 4s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.9); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* Verbessertes Input Feld */
.input-wrapper {
    background: rgba(255, 255, 255, 0.1); /* Hellerer Hintergrund */
    border: 1px solid #555;
    padding: 8px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    transition: 0.3s;
}

.input-wrapper:focus-within {
    background: rgba(0, 0, 0, 0.8);
    border-color: var(--gold-primary);
    box-shadow: 0 0 20px var(--gold-primary);
    transform: scale(1.02);
}

.magic-input {
    font-size: 1.1rem;
    padding: 12px 15px;
    color: #fff;
}
.magic-input::placeholder { color: #aaa; }

.input-icon {
    color: var(--gold-primary); /* Immer Gold */
    font-size: 1.3rem;
    margin-left: 10px;
}

/* Auffälligerer Button */
.btn-magic-submit {
    background: linear-gradient(135deg, #ffcc00, #ff9900);
    color: #000;
    font-weight: 900;
    font-size: 1.1rem;
    padding: 12px 35px;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.6);
}

.btn-magic-submit:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 204, 0, 1);
    background: #fff; /* Flash-Effekt */
}

/* Belohnungs-Karten sichtbarer machen */
.reward-card {
    background: rgba(30, 30, 35, 0.9); /* Heller als Hintergrund */
    border: 1px solid #444;
}
.reward-card:hover {
    background: #111;
    border-color: var(--gold-primary);
}


/* =========================================
   14. PREMIUM SHOP STYLES
   ========================================= */

/* --- SHOP HERO --- */
.shop-hero-v2 {
    position: relative;
    height: 60vh;
    min-height: 500px;
    background-image: url('../img/compressed/background_2-min.png'); 
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 2px solid var(--gold-dark);
}

.shop-hero-v2::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 60%, #050505 100%);
    z-index: 1;
}

.hero-content {
    position: relative; z-index: 5; text-align: center;
}

/* Animations (Dust & Runes) */
.magic-dust {
    position: absolute; inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.3; animation: drift 60s linear infinite; z-index: 2; pointer-events: none;
}
@keyframes drift { from { background-position: 0 0; } to { background-position: 1000px 0; } }

.rune-circle {
    position: absolute; top: 50%; left: 50%;
    width: 600px; height: 600px;
    transform: translate(-50%, -50%);
    border: 2px dashed rgba(255, 204, 0, 0.15);
    border-radius: 50%; z-index: 2;
    animation: rotate-slow 60s linear infinite; pointer-events: none;
}
.rune-circle::before {
    content: ''; position: absolute; inset: 10px;
    border: 1px solid rgba(255, 204, 0, 0.1); border-radius: 50%;
}
@keyframes rotate-slow { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }

/* Shop Typography */
.text-gradient-gold {
    background: linear-gradient(to bottom, #fff 20%, #ffcc00 60%, #b8860b 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0,0,0,0.8);
    filter: drop-shadow(0 0 5px rgba(255, 204, 0, 0.3));
}

.hero-subtitle {
    font-size: 1.1rem; color: #ccc; letter-spacing: 4px;
    text-transform: uppercase; margin-bottom: 20px;
    display: inline-block; position: relative;
}
.hero-subtitle::before, .hero-subtitle::after {
    content: ''; display: inline-block; width: 40px; height: 1px;
    background: var(--gold-primary); vertical-align: middle; margin: 0 15px;
    box-shadow: 0 0 10px var(--gold-primary);
}

/* --- FEATURED SECTION --- */
.featured-section {
    background: radial-gradient(circle at center, #151515 0%, #000 100%);
    border-bottom: 1px solid #333;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.featured-glow {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(255, 204, 0, 0.1) 0%, transparent 70%);
    pointer-events: none; z-index: 0;
}
.featured-content { position: relative; z-index: 2; }

/* --- SHOP NAV --- */
.shop-nav-wrapper {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gold-dark);
    position: sticky; top: 76px; z-index: 100;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.shop-category-link {
    background: transparent; border: none;
    color: #888; text-transform: uppercase; font-family: var(--title-font);
    font-size: 0.9rem; padding: 20px 0; margin: 0 20px;
    position: relative; transition: 0.3s; cursor: pointer;
}
.shop-category-link:hover, .shop-category-link.active {
    color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.5);
}
.shop-category-link.active::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px;
    background: var(--gold-primary); box-shadow: 0 0 10px var(--gold-primary);
}

/* --- PRODUCT CARDS --- */
.product-card {
    background: rgba(15, 15, 20, 0.6);
    border: 1px solid #333; border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px); height: 100%;
    display: flex; flex-direction: column; box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    overflow: hidden; position: relative;
}

/* Rarities */
.product-card.rarity-epic { border-color: #a335ee; }
.product-card.rarity-epic:hover { box-shadow: 0 10px 30px rgba(163, 53, 238, 0.2); }

.product-card.rarity-legendary { border-color: #ff8000; }
.product-card.rarity-legendary:hover { box-shadow: 0 10px 30px rgba(255, 128, 0, 0.2); }

.product-card.rarity-rare { border-color: #0070dd; }
.product-card.rarity-rare:hover { box-shadow: 0 10px 30px rgba(0, 112, 221, 0.2); }

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--gold-dark); /* Default hover if no rarity */
    background: rgba(20, 20, 25, 0.9);
}

.product-img-box {
    height: 220px;
    background-color: #080808;
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.bg-service { background: radial-gradient(circle, #222 0%, #050505 100%); }
.service-icon-large { font-size: 4rem; color: #444; transition: 0.3s; }
.product-card:hover .service-icon-large { color: var(--gold-primary); text-shadow: 0 0 20px var(--gold-primary); }

.product-img-box img { max-width: 100%; max-height: 100%; transition: transform 0.5s; }
.product-card:hover .product-img-box img { transform: scale(1.1); }

/* Badges */
.badge-corner {
    position: absolute; top: 10px; left: 10px; padding: 4px 8px;
    font-size: 0.7rem; text-transform: uppercase; font-weight: bold;
    border-radius: 2px; z-index: 5;
}
.badge-sale { background: #c0392b; color: #fff; }
.badge-new { background: var(--gold-primary); color: #000; }

/* Buy Button */
.btn-buy-card {
    background: linear-gradient(180deg, #2b2b2b 0%, #1a1a1a 100%);
    color: #fff; border: 1px solid #444; width: 100%; padding: 12px 15px;
    text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px;
    transition: all 0.3s ease; display: flex; justify-content: space-between; align-items: center;
    position: relative; overflow: hidden; border-radius: 2px;
}
.btn-buy-card:hover {
    background: linear-gradient(180deg, #ffcc00 0%, #b8860b 100%);
    color: #111; border-color: #ffeebb; font-weight: bold;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.4);
}
.btn-buy-card .price-euro { font-weight: 700; transition: 0.3s; }
.btn-buy-card:hover .price-euro { color: #000; }

.original-price { text-decoration: line-through; color: #666; font-size: 0.8em; margin-right: 5px; }

/* Container Anpassung für den Teaser */
.section-beta .beta-container {
    background: rgba(10, 10, 15, 0.85); /* Etwas dunkler für Kontrast */
    border: 1px solid rgba(255, 204, 0, 0.3);
}

/* Loot Icons Kreise */
.loot-icon-circle {
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #fff;
    margin: 0 auto;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

/* WoW Seltenheits-Farben */
.bg-purple { 
    background: radial-gradient(circle, #9b59b6 0%, #4a235a 100%); 
    box-shadow: 0 0 15px rgba(155, 89, 182, 0.4);
    border-color: #9b59b6;
}
.bg-blue { 
    background: radial-gradient(circle, #3498db 0%, #154360 100%); 
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.4);
    border-color: #3498db;
}
.bg-legendary { 
    background: radial-gradient(circle, #f1c40f 0%, #b8860b 100%); 
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.6); /* Stärkeres Leuchten */
    border-color: #ffd700;
    width: 80px; height: 80px; /* Größer für das Haupt-Item */
    font-size: 2rem;
}

/* Schwebende Animation für die Items */
.loot-preview-item {
    animation: floatLoot 4s ease-in-out infinite;
}
.loot-preview-item:nth-child(2) { animation-delay: 0.5s; } /* Versetztes Schweben */
.loot-preview-item:nth-child(3) { animation-delay: 1s; }

@keyframes floatLoot {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Hover Effekt */
.loot-preview-item:hover .loot-icon-circle {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.ls-1 { letter-spacing: 1px; }