:root {
    --bg-color: #0b0c10;
    --surface-color: #1a1c23;
    --surface-hover: #252830;
    --border-color: rgba(255, 255, 255, 0.1);
    --accent-color: #4facfe;
    --text-main: #f8f9fa;
    --text-muted: #a0aab2;
    --card-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
a { color: inherit; text-decoration: none; }

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 12, 16, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}
.nav-container {
    max-width: 1400px; margin: auto; padding: 0 20px;
    display: flex; justify-content: space-between; align-items: center;
}
.logo {
    font-size: 24px; font-weight: 800;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}
.nav-links { display: flex; gap: 12px; align-items: center; }
.btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 8px 16px; border-radius: 8px;
    font-size: 14px; font-weight: 500;
    transition: var(--transition);
    color: var(--text-main);
}
.btn:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); }
.btn-primary {
    background: var(--accent-color); color: #000; border: none; font-weight: 700;
}
.btn-primary:hover { background: #6ec0ff; box-shadow: 0 0 15px rgba(79, 172, 254, 0.4); }

.container { max-width: 1400px; margin: 0 auto; padding: 40px 20px; flex-grow: 1; width: 100%; }

.hero-dashboard {
    background: linear-gradient(145deg, var(--surface-color), rgba(26, 28, 35, 0.4));
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    padding: 30px;
    margin-bottom: 50px;
    display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.hero-welcome h1 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.hero-welcome p { color: var(--text-muted); font-size: 15px; }
.static-info { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.info-badge {
    background: rgba(0, 0, 0, 0.3); padding: 10px 16px; border-radius: 12px;
    border: 1px solid var(--border-color); display: flex; flex-direction: column;
}
.info-badge span.label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.info-badge span.value { font-size: 16px; font-weight: 600; margin-top: 2px; }

.raid-section { margin-bottom: 60px; }
.raid-header {
    display: flex; align-items: baseline; gap: 15px; margin-bottom: 25px;
    padding-bottom: 10px; border-bottom: 1px solid var(--border-color);
}
.raid-header h2 { font-size: 24px; font-weight: 700; }
.raid-header .raid-code {
    background: rgba(255, 255, 255, 0.1); padding: 4px 10px;
    border-radius: 6px; font-size: 14px; font-weight: 600; color: var(--text-muted);
}

.boss-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

.boss-card {
    position: relative; height: 200px; border-radius: var(--card-radius);
    overflow: hidden; border: 1px solid var(--border-color);
}
.boss-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(79, 172, 254, 0.15);
}
.boss-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center top;
    transition: transform 0.5s ease;
}
.boss-card:hover .boss-bg { transform: scale(1.05); filter: brightness(1) contrast(1.1); }

.boss-content {
    position: absolute; inset: 0; padding: 20px;
    display: flex; flex-direction: column; justify-content: space-between;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.9) 100%);
}

.boss-top { display: flex; justify-content: space-between; align-items: flex-start; }
.boss-code {
    font-size: 28px; font-weight: 800; text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    line-height: 1;
}
.status-indicator {
    font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 20px;
    background: rgba(0,0,0,0.6); border: 1px solid var(--border-color); backdrop-filter: blur(4px);
}
.status-active { color: #4ade80; border-color: rgba(74, 222, 128, 0.3); }
.status-empty { color: var(--text-muted); }

.boss-bottom { position: relative; z-index: 2; }
.boss-name { font-size: 16px; color: #ddd; font-weight: 500; text-shadow: 1px 1px 2px rgba(0,0,0,0.8); }

.job-roster {
    display: flex; align-items: center; margin-top: 12px; justify-content: flex-end;
}
.job-icon-wrapper {
    width: 52px; height: 52px;
    display: flex; justify-content: center; align-items: center;
    overflow: hidden; margin-left: -20px;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    transform: scale(0.9);
}
.job-roster .job-icon-wrapper:first-child { margin-left: 0; }
.job-icon-wrapper:hover { transform: translateY(-3px) scale(0.9); z-index: 10; border-color: var(--accent-color); }
.mini-job-sprite {
    width: 52px; height: 52px; object-fit: none; object-position: 0px -67px; image-rendering: pixelated;
}
.mini-job-sprite:hover {
    object-position: 0px -127px;
}
@media(max-width: 768px) {
    .hero-dashboard { flex-direction: column; align-items: flex-start; gap: 20px; }
    .boss-grid { grid-template-columns: 1fr; }
}
