/* ===== BACKGROUND ===== */
html {
    scroll-behavior: smooth;
}

/* animação leve ao aparecer seções */
.ro-info-section {
    animation: roSectionFade 0.6s ease;
}

@keyframes roSectionFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
body {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    color: #ddd;
    overflow-x: hidden;
}

/* Fundo Ragnarok */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("../images/bg002.png") center/cover no-repeat;
    filter: blur(1px);
    transform: scale(1.05);
    opacity: 0.25;
    z-index: -2;
}

/* Overlay escuro */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
}

/* ===== SHELL ===== */
.ro-info-shell {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    animation: roFadeIn 0.6s ease;
}

/* Box principal */
.ro-info-frame {
    display: flex;
    width: 100%;
    max-width: 1200px;
    background: linear-gradient(145deg, rgba(20,20,25,0.9), rgba(10,10,15,0.9));
    backdrop-filter: blur(6px);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 0 35px rgba(0,0,0,0.6);
    overflow: hidden;
    animation: roSlideUp 0.5s ease;
}

/* ===== SIDEBAR ===== */
.ro-info-side {
    position: relative;
    width: 260px;
    background: rgba(12, 17, 23, 0.95);
    border-right: 1px solid rgba(255,255,255,0.05);
    padding: 25px;
}
.ro-info-side::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(0,255,255,0.25),
        transparent
    );
}
.ro-info-side-title {
    font-size: 18px;
    font-weight: bold;
    color: #00ffff;
    margin-bottom: 20px;
}

.ro-info-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ro-info-nav a {
    text-decoration: none;
    color: #aaa;
    padding: 10px;
    border-radius: 8px;
    transition: 0.25s;
    position: relative;
    overflow: hidden;
}
.ro-info-nav a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,255,255,0.25);
    opacity: 0;
    transition: 0.25s;
}

.ro-info-nav a:hover {
    background: rgba(0,255,255,0.25);
    color: #fff;
    opacity: 1;
    transform: translateX(3px);
}


.ro-info-nav a.is-active {
    background: rgba(0,255,255,0.25);
    color: #00ffff;
}

/* ===== MAIN ===== */
.ro-info-main {
    flex: 1;
    padding: 30px;
}

/* ALERTA */
.ro-info-alert {
    background: linear-gradient(90deg, #1a1f27, #11161d);
    border: 1px solid rgba(0,255,255,0.25);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 20px;
    position: relative;
    animation: roSoftAppear 0.5s ease;
}

.ro-info-alert span {
    color: #00ffff;
    font-weight: bold;
    font-size: 13px;
}

.ro-info-alert p {
    margin-top: 5px;
    font-size: 13px;
    color: #bbb;
}

.ro-info-alert small {
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 11px;
    color: #777;
}

/* HEADER */
.ro-info-header {
    background: linear-gradient(145deg, rgba(20,20,25,0.9), rgba(10,10,15,0.9));
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 25px;
    animation: roSoftAppear 0.6s ease;
}

.ro-info-header h1 {
    margin: 0;
    font-size: 24px;
    color: #00ffff;
}

.ro-info-header p {
    margin-top: 6px;
    font-size: 13px;
    color: #999;
}

/* SEÇÕES */
.ro-info-section {
    margin-bottom: 25px;
    animation: roSoftAppear 0.7s ease;
}

.ro-info-section h2 {
    font-size: 17px;
    margin-bottom: 10px;
    border-left: 4px solid #00ffff;
    padding-left: 8px;
}

/* TABELA */
.ro-info-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(12, 17, 23, 0.9);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.ro-info-table th {
    background: #151b23;
    padding: 10px;
    text-align: left;
    font-size: 12px;
    color: #00ffff;
}

.ro-info-table td {
    padding: 10px;
    font-size: 12px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #ccc;
}

.ro-info-table tr:hover td {
    background: rgba(255,140,50,0.05);
}

/* ===== ANIMAÇÕES ===== */
@keyframes roFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes roSlideUp {
    from { transform: translateY(15px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes roSoftAppear {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {

    .ro-info-frame {
        flex-direction: column;
    }

    .ro-info-side {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .ro-info-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }

    .ro-info-nav a {
        font-size: 12px;
        padding: 8px 10px;
        background: rgba(255,255,255,0.03);
    }

    .ro-info-main {
        padding: 20px;
    }

    .ro-info-header h1 {
        font-size: 20px;
    }
}
/* SHELL agora empilha alerta + frame */
.ro-info-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    gap: 15px;
}

/* ALERTA com mesma largura da frame */


.ro-info-alert {
    width: 100%;
    max-width: 1200px;
    animation: roAlertGlow 2.2s ease-in-out infinite;
}

@keyframes roAlertGlow {
    0%   { box-shadow: 0 0 0 rgba(255,140,50,0); }
    50%  { box-shadow: 0 0 18px rgba(0,255,255,0.25); }
    100% { box-shadow: 0 0 0 rgba(255,140,50,0); }
}
/* estado carregando */
#ro-info-dynamic.ro-loading {
    opacity: 0;
    transform: translateY(5px);
    transition: 0.2s;
}

/* estado carregado */
#ro-info-dynamic.ro-loaded {
    animation: roAjaxFade 0.25s ease;
}

@keyframes roAjaxFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ro-info-nav a {
    display: flex;
    align-items: center;   /* ALINHA VERTICALMENTE */
    gap: 8px;
}

.ro-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.ro-icon svg {
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    opacity: 0.75;
    transition: .25s ease;
}

.ro-info-nav a:hover svg {
    opacity: 1;
    transform: scale(1.12);
}

.ro-info-nav .is-active svg {
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(0,255,200,.35));
}