/* Build Guides Page Styles */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px 20px;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: #e8e8e8;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #808080;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

/* Class Filter Buttons */
.class-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.class-filter-btn {
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #a0a0a0;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.class-filter-btn:hover {
    border-color: #d4af37;
    color: #d4af37;
}

.class-filter-btn.active {
    background: rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
    color: #d4af37;
}

/* Tier Section */
.tier-section {
    margin-bottom: 50px;
}

.tier-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tier-heading h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: #e8e8e8;
    margin: 0;
}

.tier-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1rem;
    font-family: 'Orbitron', sans-serif;
    flex-shrink: 0;
}

.tier-rank.s-tier {
    background: rgba(251, 191, 36, 0.2);
    border: 2px solid #fbbf24;
    color: #fbbf24;
}

.tier-rank.a-tier {
    background: rgba(168, 85, 247, 0.2);
    border: 2px solid #a855f7;
    color: #a855f7;
}

.tier-heading .tier-desc {
    color: #808080;
    font-size: 0.85rem;
    margin-left: auto;
}

/* Guide Card Grid */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.guide-card {
    display: block;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease;
    position: relative;
}

.guide-card:hover {
    border-color: #d4af37;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(212, 175, 55, 0.2);
}

.guide-card.hidden {
    display: none;
}

/* Card Header with badges */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 10px;
}

.card-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: #d4af37;
    margin: 0;
    line-height: 1.3;
}

.card-badges {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* Class Badge — color-coded per class */
.class-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.class-badge.barbarian { background: rgba(239, 68, 68, 0.2); border: 1px solid #ef4444; color: #ef4444; }
.class-badge.druid { background: rgba(74, 222, 128, 0.2); border: 1px solid #4ade80; color: #4ade80; }
.class-badge.necromancer { background: rgba(168, 85, 247, 0.2); border: 1px solid #a855f7; color: #a855f7; }
.class-badge.rogue { background: rgba(156, 163, 175, 0.2); border: 1px solid #9ca3af; color: #9ca3af; }
.class-badge.sorcerer { background: rgba(59, 130, 246, 0.2); border: 1px solid #3b82f6; color: #3b82f6; }
.class-badge.spiritborn { background: rgba(45, 212, 191, 0.2); border: 1px solid #2dd4bf; color: #2dd4bf; }
.class-badge.paladin { background: rgba(212, 175, 55, 0.2); border: 1px solid #d4af37; color: #d4af37; }

/* Tier Badge */
.tier-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
}

.tier-badge.s-tier {
    background: rgba(251, 191, 36, 0.2);
    border: 1px solid #fbbf24;
    color: #fbbf24;
}

.tier-badge.a-tier {
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid #a855f7;
    color: #a855f7;
}

.build-style {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-bottom: 12px;
    font-style: italic;
}

.guide-card > p {
    color: #c0c0c0;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

/* Playstyle Tags */
.playstyle-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.playstyle-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: 6px;
    color: #4ade80;
    font-size: 0.75rem;
    font-weight: 600;
}

.playstyle-tag.speed { background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.3); color: #fbbf24; }
.playstyle-tag.push { background: rgba(239, 68, 68, 0.1); border-color: rgba(239, 68, 68, 0.3); color: #ef4444; }
.playstyle-tag.boss { background: rgba(168, 85, 247, 0.1); border-color: rgba(168, 85, 247, 0.3); color: #a855f7; }
.playstyle-tag.easy { background: rgba(59, 130, 246, 0.1); border-color: rgba(59, 130, 246, 0.3); color: #3b82f6; }

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.stat-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(74, 222, 128, 0.15);
    border: 1px solid rgba(74, 222, 128, 0.4);
    border-radius: 6px;
    color: #4ade80;
    font-size: 0.8rem;
    font-weight: 600;
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #808080;
    font-size: 0.8rem;
}

.meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Coming Soon Card */
.guide-card.coming-soon {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

.guide-card.coming-soon:hover {
    border-color: rgba(255, 255, 255, 0.08);
    transform: none;
    box-shadow: none;
}

.coming-soon-label {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #808080;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Button in hero */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #d4af37, #f97316);
    border: none;
    border-radius: 10px;
    color: #000;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.cta-button svg {
    width: 20px;
    height: 20px;
}

/* Guide count */
.guide-count {
    color: #808080;
    font-size: 0.85rem;
    margin-bottom: 25px;
    text-align: center;
}

.guide-count strong {
    color: #d4af37;
}

/* API Status Indicator */
.api-indicator {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 10px;
    background: rgba(128, 128, 128, 0.2);
    border: 1px solid rgba(128, 128, 128, 0.3);
    color: #808080;
}

.api-indicator.live {
    background: rgba(74, 222, 128, 0.15);
    border-color: rgba(74, 222, 128, 0.4);
    color: #4ade80;
}

/* Movement indicators */
.movement-indicator {
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 6px;
}

@media (max-width: 768px) {
    .guides-grid {
        grid-template-columns: 1fr;
    }

    .card-header {
        flex-direction: column;
        gap: 10px;
    }

    .card-header h2 {
        font-size: 1.2rem;
    }

    .meta {
        flex-direction: column;
        gap: 8px;
    }

    .class-filters {
        gap: 6px;
    }

    .class-filter-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .tier-heading {
        flex-wrap: wrap;
    }

    .tier-heading .tier-desc {
        margin-left: 0;
        width: 100%;
    }
}
