/* Class Guide Styles */

.classguide-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: linear-gradient(135deg, var(--primary-color, #4a90e2) 0%, var(--secondary-color, #357abd) 100%);
    border-radius: 12px;
    color: white;
}

.page-header h2 {
    margin: 0 0 10px 0;
    font-size: 2.5em;
}

.page-header .subtitle {
    margin: 0;
    font-size: 1.1em;
    opacity: 0.9;
}

/* Classes Grid */
.classes-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.class-type-section {
    background: var(--card-bg, #fff);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.class-type-title {
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color, #e0e0e0);
    color: var(--primary-color, #4a90e2);
}

.class-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.class-card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: var(--card-bg, #fff);
    border: 2px solid var(--border-color, #e0e0e0);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.class-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border-color: var(--primary-color, #4a90e2);
}

.class-card-header h4 {
    margin: 0 0 5px 0;
    color: var(--primary-color, #4a90e2);
    font-size: 1.3em;
}

.class-name-kr {
    font-size: 0.9em;
    color: var(--text-muted, #6c757d);
}

.class-description {
    flex: 1;
    margin: 15px 0;
    color: var(--text-color, #333);
    line-height: 1.6;
}

.class-card-footer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color, #e0e0e0);
}

.view-guide-btn {
    color: var(--primary-color, #4a90e2);
    font-weight: 600;
}

/* Class Guide Header */
.class-guide-header {
    background: var(--card-bg, #fff);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.95em;
    color: var(--text-muted, #6c757d);
}

.breadcrumb a {
    color: var(--primary-color, #4a90e2);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 10px;
}

.breadcrumb .current {
    color: var(--text-color, #333);
    font-weight: 600;
}

/* Class Section */
.class-section {
    background: var(--card-bg, #fff);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.class-section h3 {
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color, #e0e0e0);
    color: var(--primary-color, #4a90e2);
}

/* Top Spots Grid */
.top-spots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.top-spot-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--card-bg, #fff);
    border: 2px solid var(--border-color, #e0e0e0);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.top-spot-card:hover {
    border-color: var(--primary-color, #4a90e2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.spot-rank {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color, #4a90e2);
    min-width: 40px;
}

.spot-info h4 {
    margin: 0 0 8px 0;
    font-size: 1.1em;
}

.spot-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9em;
    color: var(--text-muted, #6c757d);
}

.btn-view-all {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary-color, #4a90e2);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: var(--primary-hover, #357abd);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Builds Grid */
.builds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.build-card {
    display: flex;
    flex-direction: column;
    padding: 25px;
    background: var(--card-bg, #fff);
    border: 2px solid var(--border-color, #e0e0e0);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.build-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border-color: var(--primary-color, #4a90e2);
}

.build-card-header h4 {
    margin: 0 0 12px 0;
    color: var(--primary-color, #4a90e2);
    font-size: 1.4em;
}

.build-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
}

.badge-type {
    background: #e3f2fd;
    color: #1976d2;
}

.badge-difficulty {
    background: #fff3e0;
    color: #f57c00;
}

.badge-budget {
    background: #f3e5f5;
    color: #7b1fa2;
}

.build-card-body {
    flex: 1;
}

.build-level-range {
    margin-bottom: 12px;
    color: var(--text-muted, #6c757d);
    font-weight: 600;
}

.build-description {
    margin: 12px 0;
    line-height: 1.6;
    color: var(--text-color, #333);
}

.build-stats,
.build-strengths {
    margin: 10px 0;
    font-size: 0.95em;
    color: var(--text-muted, #6c757d);
}

.build-card-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color, #e0e0e0);
}

.view-build-btn {
    color: var(--primary-color, #4a90e2);
    font-weight: 600;
}

/* No Builds Message */
.no-builds {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted, #6c757d);
}

.no-builds i {
    font-size: 3em;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* Error Message */
.error-message {
    text-align: center;
    padding: 60px 20px;
    background: var(--card-bg, #fff);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.error-message i {
    font-size: 3em;
    color: #f44336;
    margin-bottom: 20px;
}

.btn-back {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background: var(--primary-color, #4a90e2);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
}

.btn-back:hover {
    background: var(--primary-hover, #357abd);
}

/* Build Detail Page */
.build-detail-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.build-detail-header {
    background: var(--card-bg, #fff);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.build-detail-header h2 {
    margin: 0 0 15px 0;
    color: var(--primary-color, #4a90e2);
}

.build-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.build-overview {
    margin-bottom: 30px;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.overview-card {
    background: var(--card-bg, #fff);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color, #4a90e2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.overview-card h4 {
    margin: 0 0 15px 0;
    color: var(--primary-color, #4a90e2);
}

.overview-card p {
    margin: 0;
    line-height: 1.6;
}

.stat-priority {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color, #e0e0e0);
}

/* Build Section */
.build-section {
    background: var(--card-bg, #fff);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.build-section h3 {
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color, #e0e0e0);
    color: var(--primary-color, #4a90e2);
}

.skills-content,
.progression-content {
    line-height: 1.8;
}

/* Equipment Section */
.equipment-slot-section,
.card-slot-section {
    margin-bottom: 30px;
}

.equipment-slot-section h4,
.card-slot-section h4 {
    margin: 0 0 15px 0;
    padding: 10px 15px;
    background: var(--bg-light, #f5f5f5);
    border-left: 4px solid var(--primary-color, #4a90e2);
    border-radius: 4px;
}

.equipment-items,
.card-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.equipment-item,
.card-item {
    padding: 20px;
    background: var(--bg-light, #f9f9f9);
    border: 1px solid var(--border-color, #e0e0e0);
    border-radius: 8px;
}

.equipment-item-header,
.card-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.equipment-name,
.card-name {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--primary-color, #4a90e2);
    text-decoration: none;
}

.equipment-name:hover,
.card-name:hover {
    text-decoration: underline;
}

.item-slots {
    color: var(--text-muted, #6c757d);
    font-weight: normal;
}

.priority-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
}

.priority-1 {
    background: #ffebee;
    color: #c62828;
}

.priority-2 {
    background: #fff3e0;
    color: #ef6c00;
}

.priority-3 {
    background: #e8f5e9;
    color: #2e7d32;
}

.equipment-effect,
.card-effect {
    margin: 10px 0;
    padding: 10px;
    background: #e3f2fd;
    border-left: 3px solid #1976d2;
    border-radius: 4px;
    font-size: 0.95em;
}

.equipment-notes,
.card-notes {
    margin: 10px 0;
    padding: 10px;
    background: #fff3e0;
    border-left: 3px solid #f57c00;
    border-radius: 4px;
    font-size: 0.9em;
}

.farming-spots {
    margin: 15px 0 0 0;
    padding: 15px;
    background: #f1f8e9;
    border-left: 3px solid #689f38;
    border-radius: 4px;
}

.farming-spots strong {
    display: block;
    margin-bottom: 10px;
    color: #33691e;
}

.farming-spots-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.farming-spot-link {
    padding: 6px 12px;
    background: white;
    border: 1px solid #aed581;
    border-radius: 4px;
    text-decoration: none;
    color: #33691e;
    font-size: 0.9em;
    transition: all 0.2s ease;
}

.farming-spot-link:hover {
    background: #689f38;
    color: white;
    border-color: #689f38;
}

.equipment-alternatives,
.card-alternatives {
    margin: 10px 0 0 0;
    padding: 10px;
    background: #fce4ec;
    border-left: 3px solid #c2185b;
    border-radius: 4px;
    font-size: 0.9em;
}

