body {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #0e3460 75%, #1a1a2e 100%) !important;
    background-attachment: fixed !important;
    color: #fff !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    padding-top: 80px !important;
    min-height: 100vh !important;
    margin: 0 !important;
}

.guide-main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
}

.guide-page-header {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 10px 20px rgba(255, 215, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.guide-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: shimmer 3s infinite;
}

.guide-page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #ffd700;
    margin: 0;
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 0.8),
        2px 2px 4px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
}

.guide-page-header p {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin: 15px 0 0 0;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.character-selection {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(26, 26, 46, 0.9) 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.character-selection h3 {
    color: #ffd700;
    font-size: 1.6rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.character-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.character-btn {
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 15px 20px;
    color: #fff;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.character-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: left 0.6s;
}

.character-btn:hover::before {
    left: 100%;
}

.character-btn:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: #ffd700;
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
    box-shadow: 
        0 15px 30px rgba(255, 215, 0, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.3);
    color: #ffd700;
}

.character-btn.active {
    background: linear-gradient(145deg, #ffd700 0%, #ffed4e 100%);
    color: #000;
    border-color: #ffd700;
    box-shadow: 
        0 10px 25px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.items-display-area {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(26, 26, 46, 0.9) 100%);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    min-height: 400px;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.item-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 215, 0, 0.05) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.item-card:hover::before {
    opacity: 1;
}

.item-card:hover {
    transform: translateY(-8px);
    border-color: #ffd700;
    box-shadow: 
        0 20px 40px rgba(255, 215, 0, 0.2),
        0 10px 20px rgba(0, 0, 0, 0.3);
}

.item-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 15px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.item-card:hover .item-icon {
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.item-description {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.4;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@media (max-width: 768px) {
    .guide-page-header h1 {
        font-size: 2rem;
    }
    
    .character-buttons {
        grid-template-columns: 1fr;
    }
    
    .items-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-main-container {
        padding: 20px 10px;
    }
}