/* ==========================================================================
   ROTT Review Box - Estilos Editoriales Sin Slop (Raiders of the Tomb)
   ========================================================================== */

:root {
    --rott-gold: #c8a45c;
    --rott-gold-dark: #917030;
    --rott-pro: #3fb950;
    --rott-con: #f85149;
    --rott-border: rgba(255, 255, 255, 0.12);
}

.rott-review-section {
    width: 100%;
    max-width: 820px;
    margin: 40px auto;
    padding-top: 24px;
    border-top: 1px solid var(--rott-border);
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.rott-review-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 10px;
}

.rott-review-title {
    font-family: 'Sofia Sans Semi Condensed', 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.rott-review-meta {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.65);
}

.rott-review-meta strong {
    color: #ffffff;
    font-weight: 600;
}

/* Grid de Pros y Contras */
.rott-review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    margin-bottom: 36px;
}

@media (max-width: 680px) {
    .rott-review-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.rott-review-col h3 {
    font-family: 'Sofia Sans Semi Condensed', 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--rott-gold);
    margin: 0 0 14px 0;
    line-height: 1.3;
}

.rott-review-list {
    padding-left: 20px;
    margin: 0;
    list-style-type: disc;
}

.rott-review-list li {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.55;
    margin-bottom: 12px;
}

.rott-review-list li:last-child {
    margin-bottom: 0;
}

.rott-review-list li strong {
    color: #ffffff;
    font-weight: 600;
}

/* Placa con el Nameplate Oficial */
.rott-rating-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.rott-nameplate {
    position: relative;
    width: 480px;
    max-width: 100%;
    aspect-ratio: 606 / 166;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 14px;
}

.rott-stars-row {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 23%;
    right: 4%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding-top: 3px;
}

.star-icon {
    width: 17%;
    max-width: 52px;
    aspect-ratio: 1;
    display: block;
}

.rott-verdict {
    font-family: 'Sofia Sans Semi Condensed', 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffffff;
    margin-bottom: 4px;
}

.rott-verdict span {
    color: var(--rott-gold);
}

.rott-verdict-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ==========================================================================
   ESTILOS EXCLUSIVOS PARA EL EDITOR DE WORDPRESS (GUTENBERG)
   ========================================================================== */
.wp-block-rott-review-box .rott-review-section {
    background-color: #101216;
    padding: 28px;
    border: 1px solid #2d333b;
    border-top: 2px solid var(--rott-gold);
    border-radius: 4px;
    color: #e6edf3;
}

/* Selector de Estrellas destacado en el editor */
.rott-editor-star-picker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
    background: #181b22;
    padding: 10px 16px;
    border-radius: 6px;
    border: 1px solid #30363d;
}

.rott-editor-star-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--rott-gold);
    font-weight: 700;
    margin-right: 6px;
}

.rott-star-select-btn {
    background: #21262d;
    border: 1px solid #3d4450;
    color: #e6edf3;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.rott-star-select-btn:hover {
    background: #30363d;
    border-color: var(--rott-gold);
    color: #fff;
}

.rott-star-select-btn.is-active {
    background: var(--rott-gold);
    color: #0d1117;
    border-color: var(--rott-gold);
    font-weight: 700;
}

/* Edición de ítems en columnas */
.rott-edit-item-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
}

.rott-edit-item-bullet {
    color: var(--rott-gold);
    font-weight: bold;
    line-height: 1.5;
    user-select: none;
}

.rott-edit-item-text {
    flex: 1;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 6px 10px;
}

.rott-edit-item-text:focus-within {
    border-color: var(--rott-gold);
    background: rgba(255, 255, 255, 0.07);
    outline: none;
}

.rott-btn-remove-item {
    background: transparent;
    border: 1px solid rgba(248, 81, 73, 0.3);
    color: #f85149;
    border-radius: 4px;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    padding: 0;
    margin-top: 3px;
    flex-shrink: 0;
}

.rott-btn-remove-item:hover {
    background: rgba(248, 81, 73, 0.15);
    border-color: #f85149;
}

.rott-btn-add-item {
    margin-top: 8px;
    background: rgba(200, 164, 92, 0.12);
    border: 1px dashed rgba(200, 164, 92, 0.45);
    color: var(--rott-gold);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    text-align: center;
    transition: background 0.15s ease;
}

.rott-btn-add-item:hover {
    background: rgba(200, 164, 92, 0.22);
    border-color: var(--rott-gold);
}

/* Plataforma: campo inline oscuro y legible sin recuadro blanco */
.rott-platform-editable {
    display: inline-block;
    color: #ffffff;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 2px 8px;
    min-width: 140px;
}

.rott-platform-editable:focus {
    border-color: var(--rott-gold);
    outline: none;
    background: rgba(255, 255, 255, 0.1);
}

.rott-editable-desc {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 6px 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 6px;
}

.rott-editable-desc:focus {
    border-color: var(--rott-gold);
    color: #ffffff;
    outline: none;
}
