/* --- Container Principal --- */
.rm-main-container {
    width: 100%;
    max-width: 900px;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* --- Hero --- */
.rm-hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.rm-title {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff, #b0bec5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rm-subtitle {
    font-size: 1.35rem;
    color: var(--accent-turquoise);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 0 15px rgba(0, 230, 118, 0.3);
}

.rm-contract-capsule {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
    max-width: 100%;
}

.rm-contract-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.rm-contract-label {
    font-size: 0.7rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.rm-contract-address {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--text-white);
    word-break: break-all;
    font-weight: 500;
}

.rm-copy-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, transform 0.1s;
}

.rm-copy-btn:hover {
    color: var(--text-white);
    transform: scale(1.1);
}

.rm-copy-btn:active {
    transform: scale(0.95);
}

/* --- Secciones Generales --- */
.rm-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.rm-section-title {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 8px;
}

.rm-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-turquoise), var(--accent-blue));
    border-radius: 2px;
}

/* --- Timeline Linea de Tiempo --- */
.rm-timeline {
    position: relative;
    padding-left: 32px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.rm-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, 
        var(--accent-turquoise) 0%, 
        var(--accent-turquoise) 40%, 
        var(--accent-blue) 65%, 
        rgba(255, 255, 255, 0.05) 100%);
}

.rm-timeline-item {
    position: relative;
}

.rm-timeline-badge {
    position: absolute;
    left: -32px;
    top: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 5;
    transition: all 0.3s;
}

.rm-timeline-item.completed .rm-timeline-badge {
    border-color: var(--accent-turquoise);
    color: var(--accent-turquoise);
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.3);
}

.rm-timeline-item.active .rm-timeline-badge {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(0, 176, 255, 0.4);
}

.rm-timeline-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    backdrop-filter: blur(10px);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.rm-timeline-content:hover {
    transform: translateX(4px);
    border-color: rgba(255, 255, 255, 0.15);
}

.rm-timeline-item.completed .rm-timeline-content:hover {
    box-shadow: 0 8px 30px rgba(0, 230, 118, 0.04);
}

.rm-timeline-item.active .rm-timeline-content {
    border-color: rgba(0, 176, 255, 0.25);
    box-shadow: 0 4px 20px rgba(0, 176, 255, 0.05);
}

.rm-timeline-item.active .rm-timeline-content:hover {
    box-shadow: 0 8px 30px rgba(0, 176, 255, 0.08);
}

.rm-phase-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-gray);
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.rm-timeline-item.completed .rm-phase-tag {
    color: var(--accent-turquoise);
    background: rgba(0, 230, 118, 0.08);
}

.rm-phase-tag.progress {
    color: var(--accent-blue);
    background: rgba(0, 176, 255, 0.08);
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    0% { opacity: 0.8; }
    100% { opacity: 1; text-shadow: 0 0 8px rgba(0, 176, 255, 0.6); }
}

.rm-phase-tag.future {
    color: var(--text-muted);
}

.rm-phase-title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

/* --- Lista de Tareas --- */
.rm-task-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rm-task-list li {
    font-size: 0.95rem;
    color: var(--text-gray);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.rm-task-list li::before {
    content: '○';
    color: var(--text-muted);
    font-weight: bold;
}

.rm-task-list li.done {
    color: var(--text-white);
}

.rm-task-list li.done::before {
    content: '✓';
    color: var(--accent-turquoise);
    text-shadow: 0 0 5px rgba(0, 230, 118, 0.5);
}

.rm-phase-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 14px;
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.4;
}

.rm-phase-footer strong {
    color: var(--text-white);
}

/* --- Grid de 2 Columnas (Tokenomics + Mecanicas) --- */
.rm-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.rm-card-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    backdrop-filter: blur(10px);
}

.rm-card-section-title {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    position: relative;
    padding-bottom: 6px;
}

.rm-card-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-turquoise);
    border-radius: 1.5px;
}

#tokenomics .rm-card-section-title::after {
    background: var(--accent-blue);
}

/* --- Estilos Tokenomics --- */
.rm-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}

.rm-table th, .rm-table td {
    padding: 10px 0;
    text-align: left;
    font-size: 0.95rem;
}

.rm-table th {
    color: var(--text-gray);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}

.rm-table td {
    color: var(--text-gray);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.rm-table tr:last-child td {
    border-bottom: none;
}

.rm-table td strong {
    color: var(--text-white);
}

.color-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
}

.color-dot.pool { background-color: #00e676; }
.color-dot.presale { background-color: #00b0ff; }
.color-dot.liquidity { background-color: #ffd000; }
.color-dot.marketing { background-color: #ff3d00; }
.color-dot.dev { background-color: #af52de; }

/* Barra de Progreso Segmentada */
.rm-progress-bar-container {
    display: flex;
    width: 100%;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.rm-progress-segment {
    height: 100%;
}

.rm-progress-segment.pool { background: linear-gradient(90deg, #00e676, #00c853); }
.rm-progress-segment.presale { background: linear-gradient(90deg, #00b0ff, #0091ea); }
.rm-progress-segment.liquidity { background: linear-gradient(90deg, #ffd000, #ffab00); }
.rm-progress-segment.marketing { background: linear-gradient(90deg, #ff3d00, #dd2c00); }
.rm-progress-segment.dev { background: linear-gradient(90deg, #af52de, #8e24aa); }

/* --- Estilos Mecanicas --- */
.rm-mechanics-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rm-mechanic-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 0;
}

.rm-mechanic-icon {
    font-size: 1.5rem;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rm-mechanic-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.rm-mechanic-info p {
    font-size: 0.88rem;
    color: var(--text-gray);
    line-height: 1.4;
}

.rm-loop-text {
    color: var(--accent-turquoise) !important;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* --- CTA de Pie de Pagina --- */
.rm-cta-footer {
    text-align: center;
    background: radial-gradient(circle at 50% 50%, rgba(0, 230, 118, 0.05) 0%, transparent 70%);
    border: 1px solid rgba(0, 230, 118, 0.1);
    border-radius: 30px;
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.rm-cta-footer h2 {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.rm-cta-phrases {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-gray);
    letter-spacing: 0.5px;
}

.rm-cta-phrases span:nth-child(1) { color: var(--text-white); }
.rm-cta-phrases span:nth-child(2) { color: var(--accent-turquoise); }
.rm-cta-phrases span:nth-child(3) { color: var(--accent-blue); }

.rm-main-cta {
    background: linear-gradient(135deg, #ff8c00, #ffd000);
    color: #000000;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 800;
    padding: 16px 36px;
    border-radius: 30px;
    box-shadow: 0 0 20px rgba(255, 160, 0, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.rm-main-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(255, 160, 0, 0.6);
}

.rm-main-cta:active {
    transform: translateY(-1px);
}

/* --- Footer Copyright --- */
.rm-footer-bottom {
    width: 100%;
    text-align: center;
    padding: 30px 24px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .rm-split-grid {
        grid-template-columns: 1fr;
    }

    .rm-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 600px) {
    .rm-header {
        padding: 16px;
        flex-direction: column;
        gap: 16px;
    }

    .rm-header-right {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .rm-main-container {
        padding: 30px 16px;
    }

    .rm-title {
        font-size: 2.2rem;
    }

    .rm-timeline {
        padding-left: 24px;
    }

    .rm-timeline::before {
        left: 7px;
    }

    .rm-timeline-badge {
        left: -24px;
        width: 16px;
        height: 16px;
        font-size: 0.6rem;
        top: 8px;
    }

    .rm-timeline-content {
        padding: 16px;
    }

    .rm-phase-title {
        font-size: 1.15rem;
    }

    .rm-task-list li {
        font-size: 0.88rem;
    }
}
