.page {
    background: #05080c;
}

.page h2 {
    margin-top: 0;
    color: #00cfd9;
    border-bottom: 1px solid #1a3040;
    padding-bottom: 6px;
    margin-bottom: 20px;
}

.panel {
    background: #0d141c;
    border: 1px solid #1a3040;
    padding: 16px;
    margin-bottom: 16px;
}

.panel h3 {
    margin: 0 0 8px 0;
    color: #4aebf5;
    font-size: 16px;
}

.panel p {
    color: #8a9aaa;
    line-height: 1.5;
}

.panel .date {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: #6a7a88;
}

.guides {
    display: block;
    background: #05080c;
}

.guides-menu {
    background: #0a1018;
    border: 1px solid #1a3040;
    margin-bottom: 20px;
}

.guides-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: table;
    width: 100%;
}

.guides-menu li {
    display: table-cell;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    border-right: 1px solid #1a3040;
    color: #00cfd9;
    background: #0a1018;
    font-weight: bold;
}

.guides-menu li:last-child {
    border-right: none;
}

.guides-menu li:hover {
    background: #12202c;
    color: #4aebf5;
}

.news-item {
    background: #0d141c;
    border: 1px solid #1a3040;
    padding: 16px;
    margin-bottom: 16px;
}

.news-title {
    font-size: 18px;
    color: #4aebf5;
    margin-bottom: 8px;
}

.news-meta {
    font-size: 12px;
    color: #8a9aaa;
    margin-bottom: 10px;
}

.news-meta span {
    margin-right: 12px;
}

.news-text {
    font-size: 14px;
    color: #c5d0d8;
    line-height: 1.5;
    margin-bottom: 10px;
}

.news-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 0 12px 0;
    border: 1px solid #1a3040;
    background: #0a1018;
}

.news-footer {
    margin-top: 10px;
}

.news-footer .tag {
    display: inline-block;
    background: #12202c;
    border: 1px solid #1a3040;
    padding: 3px 8px;
    font-size: 11px;
    margin-right: 6px;
    color: #1a9aa6;
}

.intro {
    background: #0a1018;
    border: 1px solid #1a3040;
    padding: 20px;
    margin-bottom: 20px;
}

.intro-title {
    font-size: 22px;
    color: #00cfd9;
    margin-bottom: 12px;
}

.intro-text {
    font-size: 14px;
    color: #c5d0d8;
    line-height: 1.6;
    margin-bottom: 10px;
}

.intro-footer {
    margin-top: 12px;
}

.intro-tag {
    display: inline-block;
    background: #1a1610;
    border: 1px solid #5a4630;
    padding: 4px 10px;
    font-size: 12px;
    color: #c9a06a;
    margin-right: 8px;
}

.guide {
    background: #0a1018;
    border: 1px solid #1a3040;
    padding: 20px;
}

.guide-title {
    font-size: 22px;
    color: #00cfd9;
    margin-bottom: 10px;
}

.guide-title i {
    margin-right: 6px;
}

.guide-intro {
    font-size: 14px;
    color: #c5d0d8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.guide-block {
    background: #111a24;
    border: 1px solid #1a3040;
    padding: 15px;
    margin-bottom: 15px;
}

.guide-block h2 {
    font-size: 18px;
    color: #c5d0d8;
    margin-bottom: 8px;
}

.guide-block h2 i {
    margin-right: 6px;
    color: #c9a06a;
}

.guide-block p {
    font-size: 13px;
    color: #8a9aaa;
    margin-bottom: 8px;
}

.guide-block ul {
    padding-left: 18px;
}

.guide-block li {
    font-size: 13px;
    color: #8a9aaa;
    margin-bottom: 4px;
}

.guide-tips {
    background: #0d141c;
    border: 1px solid #1a3040;
    padding: 15px;
}

.guide-tips h3 {
    font-size: 16px;
    color: #00cfd9;
    margin-bottom: 8px;
}

.guide-tips h3 i {
    margin-right: 6px;
}

.guide-tips li {
    font-size: 13px;
    color: #8a9aaa;
}

#guide-content {
    background: #05080c;
    min-height: 200px;
}

.item-box-header {
    margin-bottom: 12px;
}

.item-box-header h2 {
    margin: 0 0 6px 0;
    color: #00cfd9;
    font-size: 18px;
}

.item-box-header p {
    margin: 0;
    color: #8a9aaa;
    font-size: 13px;
}

.item-box-img {
    display: block;
    width: auto;
    max-width: 160px;
    height: auto;
    margin: 0 0 12px 0;
    border: 1px solid #1a3040;
    background: #0a1018;
    image-rendering: auto;
    -ms-interpolation-mode: bicubic;
}

.item-box-img.event-icon {
    max-width: 128px;
    border-radius: 4px;
}

.item-box-img.boss-invasion {
    max-width: 420px !important;
    width: 100%;
}

.chaos-ui-img {
    display: block;
    width: 100%;
    max-width: 380px;
    height: auto;
    margin: 0 auto 14px auto;
    border: 1px solid #1a3040;
    background: #0a1018;
}

.chaos-formula-img {
    display: block;
    width: 100%;
    max-width: 640px;
    height: auto;
    margin: 0 auto 14px auto;
    border: 1px solid #1a3040;
    background: #0a1018;
}

.item-subtitle {
    margin: 14px 0 6px 0;
    color: #c9a06a;
    font-size: 14px;
}

.item-list {
    padding-left: 18px;
    margin: 0 0 8px 0;
}

.item-list li {
    font-size: 13px;
    color: #8a9aaa;
    margin-bottom: 4px;
}

.drop-list li {
    color: #c5d0d8;
}

.item-note {
    color: #c9a06a;
    font-size: 12px;
    margin-top: 8px;
}

.chaos-goblin {
    max-width: 140px;
    margin: 24px auto 0 auto;
    display: block;
}

/* Chaos — colores con alta especificidad (navegador in-game) */
.guide-block.chaos-section h2.chaos-question {
    text-align: center;
    color: #3498db !important;
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #1a3040;
}

.guide-block.chaos-section p.chaos-text {
    color: #e0e0e0 !important;
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 12px;
}

.guide-block.chaos-section .chaos-list li {
    color: #e0e0e0 !important;
    font-size: 14px;
    margin-bottom: 8px;
}

.guide-block.chaos-section span.hl-gold {
    color: #ffd700 !important;
    font-weight: bold;
}

.guide-block.chaos-section span.hl-cyan {
    color: #3498db !important;
    font-weight: bold;
}

.guide-block.chaos-section span.hl-bronze {
    color: #e67e22 !important;
    font-weight: bold;
}

.guide-intro span.hl-gold {
    color: #ffd700 !important;
    font-weight: bold;
}

.guide-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    font-size: 12px;
    background: #0a1018;
}

.guide-table th,
.guide-table td {
    border: 1px solid #1a3040;
    padding: 8px 6px;
    text-align: center;
    color: #c5d0d8;
}

.guide-table th {
    background: #12202c;
    color: #00cfd9;
    font-weight: bold;
}

.guide-table tr:nth-child(even) td {
    background: #0d141c;
}

/* Clases — layout de guías por raza */
.class-guide-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.class-guide-figure {
    flex: 0 0 180px;
    text-align: center;
}

.class-guide-character-image {
    display: block;
    width: 100%;
    max-width: 180px;
    height: auto;
    margin: 0 auto;
    border: 1px solid #1a3040;
    background: #0a1018;
}

.class-guide-panel {
    flex: 1 1 280px;
    min-width: 0;
}

.class-guide-header h2 {
    color: #3498db;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin: 0 0 14px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #1a3040;
}

.class-guide-copy p {
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.65;
    margin: 0 0 10px 0;
}

.class-guide-accent {
    color: #ffd700;
    font-weight: bold;
}

.class-guide-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.class-guide-info-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #0d141c;
    border: 1px solid #1a3040;
    border-radius: 4px;
}

.class-guide-info-card img {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.class-guide-info-card h3,
.class-guide-info-card p {
    margin: 0;
    color: #c5d0d8;
    font-size: 12px;
    line-height: 1.45;
}

.class-guide-info-card-wide {
    grid-column: 1 / -1;
}

.class-guide-professions,
.class-guide-skills {
    margin-top: 20px;
}

.class-guide-profession-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.class-guide-profession-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 520px;
    margin: 0 auto;
}

.class-guide-profession-card {
    text-align: center;
    padding: 12px;
    background: #0d141c;
    border: 1px solid #1a3040;
    border-radius: 4px;
}

.class-guide-profession-card h3 {
    color: #3498db;
    font-size: 14px;
    margin: 0 0 4px 0;
}

.class-guide-profession-card p {
    color: #ffd700;
    font-size: 13px;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.class-guide-profession-frame {
    background: #05080c;
    border: 1px solid #1a3040;
    padding: 6px;
}

.class-guide-profession-image {
    display: block;
    width: 100%;
    max-width: 160px;
    height: auto;
    margin: 0 auto;
}

.class-guide-skills-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
}

.class-guide-skills-copy {
    flex: 1 1 280px;
    min-width: 0;
}

.class-guide-skills-copy p {
    color: #e0e0e0;
    font-size: 14px;
    margin: 0 0 8px 0;
}

.class-guide-skills-image {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    margin: 10px 0 0 0;
    border: 1px solid #1a3040;
    background: #0a1018;
}

.class-guide-skills-stack .class-guide-skills-image + .class-guide-skills-image {
    margin-top: 8px;
}

.class-guide-combo-preview {
    flex: 0 1 280px;
    min-width: 220px;
}

.class-guide-combo-video {
    display: block;
    width: 100%;
    max-width: 280px;
    height: auto;
    border: 1px solid #1a3040;
    background: #0a1018;
    image-rendering: auto;
}

@media (max-width: 640px) {
    .class-guide-card-grid {
        grid-template-columns: 1fr;
    }

    .class-guide-profession-grid,
    .class-guide-profession-grid-two {
        grid-template-columns: 1fr;
        max-width: none;
    }
}
