/* ===== CSS VARIABLES & RESET ===== */
:root {
    --bg-primary: #0d0f1a;
    --bg-secondary: #141728;
    --bg-card: #1a1e35;
    --bg-card-hover: #222745;
    --bg-glass: rgba(26, 30, 53, 0.85);
    --text-primary: #e8e6f0;
    --text-secondary: #9b97b0;
    --text-muted: #6b6883;
    --accent-gold: #d4a843;
    --accent-gold-light: #f0cc6b;
    --accent-red: #e74c5e;
    --accent-red-dark: #8b2232;
    --accent-blue: #4a8fd4;
    --accent-green: #4ad480;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --accent-crimson: #dc2626;
    --accent-azure: #3b82f6;
    --accent-emerald: #22c55e;
    --border-color: rgba(212, 168, 67, 0.15);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --glow-gold: 0 0 20px rgba(212, 168, 67, 0.2);
    --glow-purple: 0 0 30px rgba(139, 92, 246, 0.15);
    --glow-blue: 0 0 20px rgba(74, 143, 212, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-float: 0 8px 32px rgba(0, 0, 0, 0.5);
    --font-pixel: 'Press Start 2P', cursive;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    image-rendering: pixelated;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-gold-light);
}

/* ===== HEADER ===== */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 15, 26, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

#site-header.scrolled {
    background: rgba(13, 15, 26, 0.98);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    image-rendering: pixelated;
    filter: drop-shadow(0 0 8px rgba(212, 168, 67, 0.3));
    transition: var(--transition);
}

.logo-link:hover .logo-img {
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 0 16px rgba(212, 168, 67, 0.5));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-pixel);
    font-size: 11px;
    color: var(--accent-gold);
    letter-spacing: 1px;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

#main-nav {
    display: flex;
    gap: 4px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(212, 168, 67, 0.08);
}

.nav-link.active {
    color: var(--accent-gold);
    background: rgba(212, 168, 67, 0.12);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero-section {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 100px 24px 40px;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(212, 168, 67, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(74, 143, 212, 0.05) 0%, transparent 60%),
        var(--bg-primary);
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-logo-main {
    display: block;
    margin: 0 auto 20px;
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 0 16px rgba(212, 168, 67, 0.4));
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-gold);
    background: rgba(212, 168, 67, 0.1);
    border: 1px solid rgba(212, 168, 67, 0.2);
    padding: 6px 20px;
    border-radius: 20px;
    margin-bottom: 32px;
    letter-spacing: 1px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    margin-bottom: 24px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-title-sub {
    display: block;
    font-family: var(--font-pixel);
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: 6px;
    margin-bottom: 16px;
}

.hero-title-main {
    display: block;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-gold) 50%, var(--accent-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-main .accent {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-dark) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(231, 76, 94, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(231, 76, 94, 0.4);
    color: white;
}

.btn-secondary {
    background: rgba(212, 168, 67, 0.1);
    color: var(--accent-gold);
    border: 1px solid rgba(212, 168, 67, 0.3);
}

.btn-secondary:hover {
    background: rgba(212, 168, 67, 0.2);
    transform: translateY(-2px);
    color: var(--accent-gold-light);
}

.hero-stats {
    display: flex;
    gap: 32px;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 24px;
    background: var(--bg-glass);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
}

.stat-value {
    font-family: var(--font-pixel);
    font-size: 24px;
    color: var(--accent-gold);
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* ===== WEAPON CARDS ===== */
.weapons-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.weapon-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.weapon-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-color);
    box-shadow: var(--shadow-float);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.03) 0%, transparent 70%);
    pointer-events: none;
    transition: var(--transition);
}

.weapon-card:hover .card-glow {
    background: radial-gradient(circle, rgba(212, 168, 67, 0.06) 0%, transparent 70%);
}

.weapon-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.weapon-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: rgba(212, 168, 67, 0.08);
    border-radius: var(--radius-md);
    border: 1px solid rgba(212, 168, 67, 0.15);
}

.weapon-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
}

.weapon-type {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.weapon-tier {
    margin-left: auto;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tier-epic {
    color: var(--accent-purple);
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.tier-legendary {
    color: var(--accent-gold);
    background: rgba(212, 168, 67, 0.12);
    border: 1px solid rgba(212, 168, 67, 0.2);
}

.weapon-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-name {
    font-size: 13px;
    color: var(--text-secondary);
    min-width: 80px;
}

.stat-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
    transition: width 1s ease-out;
}

.stat-fill.hp {
    background: linear-gradient(90deg, var(--accent-green), #6ee7b7);
}

.stat-fill.def {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
}

.stat-fill.magic {
    background: linear-gradient(90deg, var(--accent-purple), #a78bfa);
}

.stat-val {
    font-size: 13px;
    font-weight: 700;
    min-width: 40px;
    text-align: right;
}

.stat-val.positive {
    color: var(--accent-green);
}

.stat-val.negative {
    color: var(--accent-red);
}

.weapon-craft {
    border-top: 1px solid var(--border-subtle);
    padding-top: 16px;
}

.weapon-craft h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.craft-items {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.craft-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
}

.craft-item img {
    width: 24px;
    height: 24px;
}

.craft-item span {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-gold);
}

.info-box {
    margin-top: 40px;
    padding: 24px;
    background: rgba(212, 168, 67, 0.06);
    border: 1px solid rgba(212, 168, 67, 0.15);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-gold);
}

.info-box h4 {
    font-size: 15px;
    margin-bottom: 8px;
    color: var(--accent-gold);
}

.info-box p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== ARMOR CARDS ===== */
.armor-sets {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
}

.armor-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.armor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-float);
}

.armor-card.crimson {
    border-top: 3px solid var(--accent-crimson);
}

.armor-card.azure {
    border-top: 3px solid var(--accent-azure);
}

.armor-card.emerald {
    border-top: 3px solid var(--accent-emerald);
}

.armor-header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.armor-icon {
    font-size: 28px;
}

.armor-header h3 {
    font-size: 17px;
    font-weight: 700;
    flex: 1;
}

.armor-difficulty {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.armor-difficulty.easy {
    color: var(--accent-green);
    background: rgba(34, 197, 94, 0.12);
}

.armor-difficulty.medium {
    color: var(--accent-azure);
    background: rgba(59, 130, 246, 0.12);
}

.armor-difficulty.hard {
    color: var(--accent-crimson);
    background: rgba(220, 38, 38, 0.12);
}

.armor-body {
    padding: 24px;
}

.armor-npc {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 16px;
}

.armor-pieces h4,
.armor-materials h4 {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.piece-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.piece {
    text-align: center;
    padding: 10px 8px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    font-size: 13px;
    border: 1px solid var(--border-subtle);
}

.armor-materials table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 16px;
}

.armor-materials th,
.armor-materials td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
}

.armor-materials th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 12px;
}

.armor-source {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
}

/* ===== SKILLS TABLE ===== */
.skills-table-wrapper {
    overflow-x: auto;
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}

.skills-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.skills-table thead {
    background: rgba(212, 168, 67, 0.08);
}

.skills-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-gold);
    border-bottom: 2px solid var(--border-color);
}

.skills-table th small {
    display: block;
    font-weight: 400;
    color: var(--text-muted);
    font-size: 11px;
    margin-top: 2px;
}

.skills-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-subtle);
    vertical-align: top;
}

.skills-table tbody tr {
    background: var(--bg-card);
    transition: var(--transition);
}

.skills-table tbody tr:hover {
    background: var(--bg-card-hover);
}

.weapon-col {
    font-weight: 700;
    white-space: nowrap;
}

.weapon-emoji {
    font-size: 18px;
    margin-right: 6px;
}

.skill-name {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.skill-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

.skills-craft-info {
    margin-bottom: 40px;
}

.skills-craft-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.craft-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.craft-info-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-subtle);
}

.craft-info-card h4 {
    font-size: 15px;
    margin-bottom: 16px;
    color: var(--accent-gold);
}

.component-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.component {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
}

.component img {
    width: 36px;
    height: 36px;
}

.component strong {
    font-size: 14px;
    display: block;
}

.component small {
    font-size: 12px;
    color: var(--text-muted);
}

.compact-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.compact-table th,
.compact-table td {
    padding: 10px 12px;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
}

.compact-table th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 11px;
    background: rgba(255, 255, 255, 0.02);
}

.compact-table td:first-child {
    text-align: left;
    font-weight: 600;
}

/* ===== ITEMS SECTION ===== */
.items-category {
    margin-bottom: 48px;
}

.items-category h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.item-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.item-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-color);
    box-shadow: var(--shadow-card);
}

.item-card img {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
    filter: drop-shadow(0 2px 8px rgba(212, 168, 67, 0.2));
    transition: var(--transition);
}

.item-card:hover img {
    transform: scale(1.15);
    filter: drop-shadow(0 4px 16px rgba(212, 168, 67, 0.4));
}

.item-card h4 {
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--accent-gold-light);
}

.item-card p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== ECONOMY / TOKENS ===== */
.token-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.token-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.token-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-float);
}

.token-img {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.token-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}

.sol-card h3 {
    color: #9945ff;
}

.play-card h3 {
    color: var(--accent-cyan);
}

.skr-card h3 {
    color: var(--accent-green);
}

.gable-card h3 {
    color: var(--accent-gold);
}

.token-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.token-use {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.tag {
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
}

.tag.highlight {
    color: var(--accent-gold);
    background: rgba(212, 168, 67, 0.1);
    border-color: rgba(212, 168, 67, 0.2);
}

.drop-system h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.drop-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    margin-bottom: 24px;
}

.drop-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.drop-table thead {
    background: rgba(212, 168, 67, 0.08);
}

.drop-table th {
    padding: 14px 20px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-gold);
}

.drop-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 14px;
}

.drop-table tbody tr {
    background: var(--bg-card);
    transition: var(--transition);
}

.drop-table tbody tr:hover {
    background: var(--bg-card-hover);
}

.inline-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 6px;
}

.gable-row td:first-child {
    color: var(--accent-gold);
}

.play-row td:first-child {
    color: var(--accent-cyan);
}

.skr-row td:first-child {
    color: var(--accent-green);
}

.drop-extras {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.drop-extra-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border-subtle);
}

.drop-extra-card h4 {
    margin-bottom: 12px;
    font-size: 16px;
}

.drop-extra-card.jackpot h4 {
    color: var(--accent-purple);
}

.drop-extra-card.value h4 {
    color: var(--accent-gold);
}

.drop-extra-card ul {
    list-style: none;
}

.drop-extra-card li {
    padding: 4px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.drop-extra-card li::before {
    content: '•';
    margin-right: 8px;
    color: var(--accent-gold);
}

/* ===== GUIDE SECTION ===== */
.guide-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.guide-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.guide-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.guide-header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(212, 168, 67, 0.04);
    border-bottom: 1px solid var(--border-subtle);
}

.guide-icon {
    font-size: 24px;
}

.guide-header h3 {
    font-size: 17px;
    font-weight: 700;
}

.guide-content {
    padding: 24px;
    font-size: 14px;
}

.guide-content h4 {
    font-size: 14px;
    color: var(--accent-gold);
    margin: 16px 0 8px;
}

.guide-content h4:first-child {
    margin-top: 0;
}

.guide-content ul,
.guide-content ol {
    padding-left: 20px;
    color: var(--text-secondary);
}

.guide-content li {
    padding: 4px 0;
    line-height: 1.6;
}

.guide-content li small {
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

.guide-content .build {
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    border-left: 3px solid var(--accent-gold);
}

.guide-content .build h4 {
    margin: 0 0 4px;
    font-size: 13px;
}

.guide-content .build p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.guide-tip {
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(212, 168, 67, 0.06);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--accent-gold-light);
    border: 1px solid rgba(212, 168, 67, 0.12);
}

.npc-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.npc {
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-secondary);
    border-left: 3px solid var(--accent-purple);
}

.npc strong {
    color: var(--text-primary);
}

.weekly-ranking {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border-color);
}

.weekly-ranking h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--accent-gold);
}

.ranking-info p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.ranking-info ul {
    padding-left: 20px;
}

.ranking-info li {
    padding: 4px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

/* ===== FOOTER ===== */
#site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    margin-top: 40px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px 24px 32px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    image-rendering: pixelated;
    margin-bottom: 4px;
}

.footer-brand p {
    font-size: 15px;
    font-weight: 700;
}

.footer-brand small {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-links h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a {
    display: block;
    padding: 4px 0;
    font-size: 14px;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent-gold);
    transform: translateX(4px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 24px;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: var(--bg-primary);
    border: none;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(212, 168, 67, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-gold-light);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(212, 168, 67, 0.4);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    #main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    #main-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(13, 15, 26, 0.98);
        padding: 16px;
        border-bottom: 1px solid var(--border-color);
        gap: 4px;
        backdrop-filter: blur(20px);
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 12px;
    }

    .stat-card {
        flex: 1;
        min-width: 70px;
        padding: 12px;
    }

    .stat-value {
        font-size: 18px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .weapons-grid {
        grid-template-columns: 1fr;
    }

    .armor-sets {
        grid-template-columns: 1fr;
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .piece-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .craft-grid {
        grid-template-columns: 1fr;
    }

    .item-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .token-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

/* Battle Pass Cards */
.battlepass-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 16px;
    margin-bottom: 24px;
}

.bp-card {
    background: rgba(30, 35, 50, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.bp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.5);
}

.bp-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 12px;
}

.bp-info {
    text-align: center;
    width: 100%;
}

.bp-info h5 {
    font-size: 16px;
    color: #ffd700;
    margin-bottom: 8px;
}

.bp-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 12px;
    color: #bcd4e6;
}

.bp-info li {
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bp-info li:last-child {
    border-bottom: none;
}

/* Updated Weapon Icons */
.weapon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.6));
}

.table-weapon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.4));
    vertical-align: middle;
    margin-right: 8px;
}

.weapon-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

/* Skills Basic Info Layout */
.skills-basic-info {
    background: rgba(30, 35, 50, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
}

.skills-basic-info h3 {
    margin-top: 0;
    margin-bottom: 16px;
    color: #ffd700;
}

.skill-list-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.skill-cat {
    flex: 1;
    min-width: 300px;
}

.skill-cat h4 {
    margin-top: 0;
    color: #4da6ff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.skill-cat ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-cat li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #bcd4e6;
}

.skill-cat li strong {
    color: #fff;
    display: inline-block;
    min-width: 100px;
}

ul.d-col-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
}

/* ===== MONSTERS TABLE ===== */
.monsters-table-wrapper {
    overflow-x: auto;
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}

.monsters-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.monsters-table thead {
    background: rgba(212, 168, 67, 0.08);
}

.monsters-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-gold);
    border-bottom: 2px solid var(--border-color);
}

.monsters-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 14px;
    color: var(--text-primary);
}

.monsters-table tbody tr {
    background: var(--bg-card);
    transition: var(--transition);
}

.monsters-table tbody tr:hover {
    background: var(--bg-card-hover);
}

.size-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.size-small {
    background: rgba(34, 197, 94, 0.12);
    color: var(--accent-emerald);
}

.size-normal {
    background: rgba(59, 130, 246, 0.12);
    color: var(--accent-azure);
}

.size-captain {
    background: rgba(220, 38, 38, 0.12);
    color: var(--accent-crimson);
}

@media (max-width: 480px) {
    .hero-title-sub {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .content-section {
        padding: 48px 16px;
    }
}