/* =========================================
   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; }

.divider-gold {
    height: 3px; width: 100px; background: var(--gold-dark); margin: 15px 0; display: inline-block;
}

/* =========================================
   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;
}
.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;
}
.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;
}
.sub-title::before, .sub-title::after { content: ""; display: block; width: 60px; height: 1px; background: var(--gold-primary); }
.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 */
}