:root {
    --accent: #ff3c3c; 
    --bg: #0e0404;
    --glass: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.1);
    --liquid-gradient: linear-gradient(135deg, #ff1f1f, #8b0000);
}
body {
    margin: 0;
    background: var(--bg);
    color: #fff;
    font-family: 'Quicksand', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}
canvas {
    position: fixed;
    top: 0; left: 0;
    z-index: -1;
    pointer-events: none;
}
.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 40px 20px 140px 20px;
}
.nav-dock {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(18, 15, 15, 0.9);
    backdrop-filter: blur(20px);
    padding: 10px;
    border-radius: 25px;
    border: 1px solid var(--border);
    display: flex;
    gap: 5px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    white-space: nowrap;
}
.nav-item {
    padding: 12px 20px;
    border-radius: 18px;
    cursor: pointer;
    transition: 0.3s;
    color: #888;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
}
.nav-item.active {
    background: var(--liquid-gradient);
    color: white;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
}
.page { display: none; animation: fadeIn 0.5s ease forwards; }
.page.active { display: block; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
}
.glass-card-sheet {
    min-height: 500px;
    background-size: contain !important;
    background-position: center;
}
.stat-bar-container { margin-bottom: 15px; }
.stat-label { display: flex; justify-content: space-between; margin-bottom: 5px; font-size: 13px; font-weight: 600; color: #bbb; }
.bar-bg { background: rgba(0,0,0,0.3); height: 8px; border-radius: 10px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--liquid-gradient); transition: width 1.5s ease-out; }
.list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.list-item { padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 14px; }
.list-item.pro { color: #00ffaa; }
.list-item.con { color: #ff4444; }
h1 { font-size: 3.5rem; margin: 0; font-weight: 800; letter-spacing: -2px; }
.species-badge { 
    display: inline-block; 
    padding: 5px 12px; 
    background: var(--liquid-gradient); 
    border-radius: 50px; 
    font-size: 11px; 
    font-weight: 800; 
    margin-bottom: 10px; 
}
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; }
.art-placeholder { height: 180px; background: rgba(0,0,0,0.2); border: 2px dashed #333; border-radius: 20px; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.gear-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.gear-table td { padding: 12px; border-bottom: 1px solid var(--border); font-size: 14px; }
.gear-label { color: var(--accent); font-weight: bold; width: 120px; }
a { color: var(--accent); text-decoration: none; font-weight: 600; }
.glass-card {
    box-sizing: border-box; 
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.gear-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden; 
        position: relative;
    }
    .container {
        padding: 20px 10px 120px 10px;
        width: 100%;
        box-sizing: border-box;
    }
    h1 { 
        font-size: 1.8rem;
        line-height: 1.1;
        word-break: break-word;
    }
    .list-grid { 
        grid-template-columns: 1fr; 
        gap: 15px; 
    }
    .gear-table {
        display: table;
        width: 100%;
    }
    .gear-table td {
        padding: 8px 4px;
        font-size: 12px;
        white-space: normal;
    }
    .gear-label {width: 80px;}
    .nav-dock {
        width: calc(100% - 20px);
        max-width: 400px;
        gap: 2px;
        padding: 5px;
    }
    .nav-item {
        padding: 8px 10px;
        font-size: 10px;
        flex: 1;
        text-align: center;
    }
    .glass-card-sheet {
        min-height: 250px;
        background-size: cover !important;
    }
    .art-grid {grid-template-columns: 1fr 1fr;}
    div[style*="grid-template-columns: 1fr 1fr"] {grid-template-columns: 1fr !important;}
    h1 {text-align: center;}
}
@media (max-width: 380px) {
    .nav-item {
        font-size: 9px;
        padding: 6px 4px;
    }
    h1 { font-size: 1.5rem; }
}
