/* DexHacks Boss Pages Stylesheet (ver 20260705au) */

.boss-page {
    animation: fadeIn 0.4s ease;
}

.active-crumb {
    color: #10b981;
    font-weight: 600;
}

.boss-page-title {
    font-size: 28px;
    font-weight: 800;
    margin-top: 8px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-top: 32px;
    margin-bottom: 16px;
    border-left: 4px solid #10b981;
    padding-left: 12px;
}

/* Field Effect Section */
.boss-field-effect {
    background: #18181b;
    border: 1px solid #27272a;
    border-left: 4px solid #10b981;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 28px;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.05);
}

.boss-field-effect .section-title {
    margin-top: 0;
    border: none;
    padding-left: 0;
}

.field-effect-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.field-effect-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.field-effect-desc {
    margin: 0;
    color: #e4e4e7;
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
    min-width: 250px;
}

.boss-effect-tip {
    margin: 0;
    padding: 10px 14px;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 6px;
    border: 1px dashed rgba(16, 185, 129, 0.2);
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.5;
}

/* Team Table */
.boss-team-table-wrapper {
    width: 100%;
    overflow-x: auto;
    background: #131316;
    border: 1px solid #27272a;
    border-radius: 10px;
    margin-bottom: 28px;
}

.boss-team-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.boss-team-table th {
    background: #1f1f23;
    color: #fff;
    font-weight: 600;
    padding: 14px 16px;
    border-bottom: 2px solid #27272a;
    white-space: nowrap;
}

.boss-team-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #27272a;
    color: #cbd5e1;
    vertical-align: middle;
}

.boss-team-table tbody tr:nth-child(even) {
    background: #18181b;
}

.boss-team-table tbody tr:hover {
    background: rgba(16, 185, 129, 0.02);
}

.boss-team-table tr.important-row {
    border-left: 4px solid #10b981;
}

.pokemon-table-sprite {
    width: 48px;
    height: 48px;
    object-fit: contain;
    image-rendering: pixelated;
    display: block;
    margin: 0 auto;
}

.pokemon-table-name {
    color: #fff;
    font-weight: 700;
}

.pokemon-table-lvl {
    font-family: ui-monospace, monospace;
    font-weight: 600;
    color: #f4f4f5;
}

.pokemon-table-item,
.pokemon-table-ability {
    font-size: 12px;
}

.pokemon-table-item {
    color: #a7f3d0;
    font-weight: 500;
}

.pokemon-table-nature-evs {
    font-size: 11px;
    line-height: 1.4;
}

.pokemon-table-moves {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pokemon-table-moves li {
    font-size: 11px;
    background: #27272a;
    color: #e4e4e7;
    padding: 2px 8px;
    border-radius: 4px;
    width: fit-content;
    white-space: nowrap;
}

.pokemon-table-notes {
    font-size: 12px;
    line-height: 1.5;
    max-width: 220px;
    min-width: 140px;
    color: #cbd5e1;
}

/* Counter Strategies */
.counter-strategies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.counter-strategy-card {
    background: #18181b;
    border: 2px solid #27272a;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, border-color 0.2s;
}

.counter-strategy-card:hover {
    transform: translateY(-2px);
    border-color: #10b981;
}

.strategy-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #27272a;
    padding-bottom: 12px;
    margin-bottom: 14px;
    gap: 12px;
}

.strategy-card-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.strategy-difficulty-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.strategy-difficulty-badge.easy { background: rgba(52, 211, 153, 0.1); color: #34d399; border: 1px solid rgba(52, 211, 153, 0.2); }
.strategy-difficulty-badge.medium { background: rgba(251, 191, 36, 0.1); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.2); }
.strategy-difficulty-badge.hard { background: rgba(248, 113, 113, 0.1); color: #f87171; border: 1px solid rgba(248, 113, 113, 0.2); }

.strategy-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.strategy-budget-badge {
    background: #065f46;
    color: #a7f3d0;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
}

.strategy-core-pokemon {
    font-size: 12px;
    color: #cbd5e1;
}

.strategy-core-pokemon strong {
    color: #ffffff;
}

.strategy-desc {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0 0 16px;
    flex-grow: 1;
}

.strategy-steps-title {
    font-size: 12px;
    font-weight: 700;
    color: #e4e4e7;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.strategy-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.strategy-steps li {
    font-size: 12px;
    color: #cbd5e1;
    line-height: 1.5;
    position: relative;
    padding-left: 14px;
}

.strategy-steps li::before {
    content: "•";
    color: #10b981;
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* Rewards Section */
.boss-rewards-section {
    margin-bottom: 28px;
}

.rewards-card {
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 10px;
    padding: 20px;
}

.rewards-card p {
    margin: 0 0 16px;
    font-size: 14px;
    color: #cbd5e1;
}

.rewards-card p:last-child {
    margin-bottom: 0;
}

.lockout-warning-box {
    background: rgba(245, 158, 11, 0.04);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-left: 4px solid #f59e0b;
    border-radius: 6px;
    padding: 12px 16px;
    margin-top: 14px;
}

.warning-title {
    font-size: 12px;
    font-weight: 700;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 4px;
}

.boss-lockout-note {
    margin: 0 !important;
    font-size: 13px !important;
    color: #e4e4e7 !important;
    line-height: 1.5;
}

/* Related Missions Links */
.boss-related-missions {
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 28px;
}

.boss-related-missions h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 14px;
    color: #fff;
    font-weight: 700;
}

.related-missions-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.related-missions-links a {
    color: #60a5fa;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.15s;
}

.related-missions-links a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* Sandbox CTA Box */
.sandbox-cta-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(13, 148, 136, 0.05) 100%);
    border: 1px solid #065f46;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.sandbox-cta-box p {
    margin: 0;
    font-size: 14px;
    color: #e2e8f0;
}

.cta-link {
    color: #34d399;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.15s;
}

.cta-link:hover {
    color: #6ee7b7;
}

/* Hub Styles */
.bosses-hub .lead {
    color: #e4e4e7;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.tag-nav-section {
    margin-bottom: 28px;
}

.bosses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.boss-card {
    background: linear-gradient(135deg, #18181b 0%, #1c1c21 100%);
    border: 1px solid #27272a;
    border-radius: 10px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.boss-card:hover {
    transform: translateY(-2px);
    border-color: #10b981;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.1);
}

.boss-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}

.boss-card-meta {
    font-size: 11px;
    color: #cbd5e1;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.boss-card-badge {
    margin-top: auto;
    font-size: 11px;
    background: #112620;
    color: #34d399;
    border: 1px solid #1f4538;
    padding: 4px 8px;
    border-radius: 6px;
    width: fit-content;
    font-weight: 600;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .boss-page-title {
        font-size: 24px;
    }
    .boss-team-table th, 
    .boss-team-table td {
        padding: 10px 12px;
    }
    .bosses-grid {
        grid-template-columns: 1fr;
    }
}
