/* custom.css */

/* About us section styles */
.aboutus {
    padding: 5rem 0;
}

#aboutus {
    background: url('../images/aboutus/bg.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}

#aboutus::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 5, 2, 0.7);
    z-index: 0;
}

#aboutus .container {
    position: relative;
    z-index: 1;
}

.aboutus-flex {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    margin-top: 2rem;
}

.aboutus-image {
    flex: 0 0 35%;
    max-width: 35%;
}

.aboutus-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.aboutus-text {
    flex: 0 0 65%;
    max-width: 65%;
    color: #d1b88e;
}

.aboutus-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.static__heading {
    text-align: center;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .aboutus-flex {
        flex-direction: column;
    }
    
    .aboutus-image, .aboutus-text {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .aboutus-image {
        margin-bottom: 2rem;
    }
}

/* Estilos para o Painel de Usuário */
.panel-content {
    padding: 1.5rem 0;
}

.panel-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.panel-section {
    flex: 1;
    min-width: 300px;
}

.panel-section.wide {
    flex: 0 0 100%;
}

.panel-card {
    background: rgba(13, 5, 2, 0.7);
    border: 1px solid #d1b88e;
    border-radius: 8px;
    overflow: hidden;
}

.panel-card-header {
    background: rgba(209, 184, 142, 0.1);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #d1b88e;
}

.panel-card-header h3 {
    margin: 0;
    color: #d1b88e;
    font-weight: 600;
    font-size: 1.2rem;
}

.panel-card-body {
    padding: 1.5rem;
    color: #d1b88e;
}

/* Estilos para informações do usuário */
.user-info .info-item, 
.server-status .status-item,
.donation-info .info-item {
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-label, .status-label {
    font-weight: 600;
    color: #ffffff;
}

.info-value, .status-value {
    color: #d1b88e;
}

.status-value.online {
    color: #4caf50;
}

.status-value.offline {
    color: #f44336;
}

/* Estilos para a lista de personagens */
.characters-list {
    margin-top: 1rem;
}

.character-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(209, 184, 142, 0.2);
}

.character-item:last-child {
    border-bottom: none;
}

.character-name {
    margin: 0 0 0.5rem 0;
    color: #ffffff;
    font-size: 1.1rem;
}

.character-details {
    display: flex;
    gap: 1rem;
}

.character-class, .character-level {
    font-size: 0.9rem;
}

.no-characters {
    padding: 1rem;
    text-align: center;
    color: #d1b88e;
}

/* Estilos para ações e botões */
.game-actions, .security-settings, .donation-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-small {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.btn-play {
    background: linear-gradient(to bottom, #4caf50, #2e7d32);
    margin-top: 1rem;
}

.btn-play:hover {
    background: linear-gradient(to bottom, #2e7d32, #1b5e20);
}

/* Estilo para o nome de usuário no cabeçalho */
.navigation__user-info {
    display: flex;
    align-items: center;
    margin-right: 1rem;
    color: #d1b88e;
    font-weight: 600;
}

.user-name {
    margin-left: 0.5rem;
}

.menu__item--active {
    color: #d1b88e;
}

/* Estilos para mensagens de alerta */
.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    position: relative;
}

.alert-error {
    background-color: rgba(244, 67, 54, 0.1);
    border: 1px solid #f44336;
    color: #f44336;
}

.alert-success {
    background-color: rgba(76, 175, 80, 0.1);
    border: 1px solid #4caf50;
    color: #4caf50;
}

.alert-message {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Estilos para o formulário de login */
.login-form {
    padding: 1rem 0;
}

.login-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.login-links {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
}

.login-link {
    color: #d1b88e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.login-separator {
    margin: 0 0.5rem;
    color: #777;
}

.autocreate-notice {
    margin: 0.95rem auto 0.7rem;
    width: min(560px, 92vw);
    border: 1px solid rgba(209, 184, 142, 0.58);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(13, 5, 2, 0.85), rgba(13, 5, 2, 0.62));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    padding: 0.65rem 0.8rem;
    text-align: center;
}

.autocreate-notice__title {
    color: #f0cc84;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.68rem;
    margin-bottom: 0.35rem;
}

.autocreate-notice__text {
    color: #ffffff;
    font-size: 0.84rem;
    line-height: 1.45;
}

/* Estilos para o rodapé profissional */
.footer {
    position: relative;
    padding: 2rem 0;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(209, 184, 142, 0), rgba(209, 184, 142, 0.7), rgba(209, 184, 142, 0));
    animation: shimmer 2s infinite linear;
}

.footer__copyright {
    font-family: 'Philosopher', serif;
    font-size: 1.2rem;
    text-align: center;
    color: #d1b88e;
    margin-bottom: 1rem;
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    animation: fadeIn 1.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.copyright-icon {
    font-size: 1.5rem;
    margin-right: 0.3rem;
    animation: pulse 2s infinite ease-in-out;
    color: #d1b88e;
}

.copyright-text {
    font-weight: 700;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.copyright-divider {
    margin: 0 0.5rem;
    color: rgba(209, 184, 142, 0.5);
}

.copyright-dev {
    font-style: italic;
    transition: all 0.3s ease;
}

.copyright-year {
    font-weight: 300;
    margin-left: 0.3rem;
}

.footer__copyright:hover .copyright-text,
.footer__copyright:hover .copyright-dev {
    text-shadow: 0 0 10px rgba(209, 184, 142, 0.7);
}

.footer__copyright::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #d1b88e;
    transition: width 0.3s ease;
}

.footer__copyright:hover::after {
    width: 200px;
}

.footer__desc {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.6;
    animation: fadeInUp 1.5s ease-in-out;
}

@keyframes shimmer {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 100% 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* Animação adicional para o rodapé quando visível */
.animate-footer {
    animation: footerEnter 0.8s ease-out forwards;
}

@keyframes footerEnter {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-footer .footer__copyright {
    animation: fadeInScale 1s ease-out 0.3s both;
}

.animate-footer .footer__desc {
    animation: fadeInSlideUp 1s ease-out 0.6s both;
}

@keyframes fadeInScale {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInSlideUp {
    0% {
        transform: translateY(15px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .panel-row {
        flex-direction: column;
    }
    
    .panel-section {
        flex: 0 0 100%;
    }
    
    .footer__copyright {
        font-size: 1rem;
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .copyright-divider {
        display: none;
    }
}

/* Contador de lancamento */
.launch-countdown-section {
    padding: 2.5rem 0 1rem;
}

.launch-countdown {
    background: linear-gradient(180deg, rgba(13, 5, 2, 0.86), rgba(13, 5, 2, 0.65));
    border: 1px solid rgba(209, 184, 142, 0.5);
    border-radius: 12px;
    padding: 1.2rem 1.5rem 1.6rem;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.launch-countdown__subtitle {
    text-align: center;
    margin-bottom: 1rem;
    color: #d1b88e;
    letter-spacing: 1px;
}

.launch-countdown__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(110px, 1fr));
    gap: 0.8rem;
}

.launch-countdown__item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(209, 184, 142, 0.28);
    border-radius: 10px;
    text-align: center;
    padding: 0.9rem 0.55rem;
}

.launch-countdown__value {
    color: #ffffff;
    font-family: 'Philosopher', serif;
    font-size: 2rem;
    line-height: 1;
    text-shadow: 0 0 12px rgba(209, 184, 142, 0.35);
}

.launch-countdown__label {
    margin-top: 0.45rem;
    color: #d1b88e;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@media (max-width: 768px) {
    .launch-countdown__grid {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }
}

/* Contador moderno no hero */
.hero-launch-countdown {
    margin: 0.9rem auto 1.1rem;
    width: min(560px, 92vw);
    border: 1px solid rgba(209, 184, 142, 0.5);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(13, 5, 2, 0.8), rgba(13, 5, 2, 0.55));
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35), inset 0 0 24px rgba(209, 184, 142, 0.08);
    backdrop-filter: blur(3px);
    padding: 0.8rem 0.9rem 0.95rem;
}

.hero-launch-countdown__title {
    color: #d1b88e;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    margin-bottom: 0.55rem;
}

.hero-launch-countdown__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(78px, 1fr));
    gap: 0.5rem;
}

.hero-launch-countdown__item {
    border: 1px solid rgba(209, 184, 142, 0.3);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    text-align: center;
    padding: 0.55rem 0.35rem;
}

.hero-launch-countdown__value {
    color: #ffffff;
    font-family: 'Philosopher', serif;
    font-size: 1.55rem;
    line-height: 1;
    text-shadow: 0 0 12px rgba(209, 184, 142, 0.42);
}

.hero-launch-countdown__label {
    margin-top: 0.25rem;
    color: #d1b88e;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@media (max-width: 768px) {
    .hero-launch-countdown__grid {
        grid-template-columns: repeat(2, minmax(96px, 1fr));
    }
}

/* Contador no preload */
.preload__countdown {
    position: absolute;
    left: 50%;
    bottom: 5.8rem;
    transform: translateX(-50%);
    width: min(640px, 92vw);
    padding: 0.65rem 0.75rem 0.75rem;
    background: rgba(13, 5, 2, 0.72);
    border: 1px solid rgba(209, 184, 142, 0.5);
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
    text-align: center;
    z-index: 25;
}

.preload__countdown-title {
    color: #d1b88e;
    font-family: 'Philosopher', serif;
    letter-spacing: 0.08em;
    margin-bottom: 0.65rem;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.preload__countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(82px, 1fr));
    gap: 0.55rem;
}

.preload__countdown-item {
    border: 1px solid rgba(209, 184, 142, 0.38);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 0.5rem 0.3rem 0.45rem;
    box-shadow: inset 0 0 18px rgba(209, 184, 142, 0.09);
    animation: preloadCountdownGlow 2.2s ease-in-out infinite;
}

.preload__countdown-value {
    color: #ffffff;
    font-family: 'Philosopher', serif;
    font-size: 1.7rem;
    line-height: 1;
    text-shadow: 0 0 10px rgba(209, 184, 142, 0.4);
}

.preload__countdown-label {
    color: #d1b88e;
    margin-top: 0.28rem;
    font-size: 0.67rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@keyframes preloadCountdownGlow {
    0%, 100% {
        border-color: rgba(209, 184, 142, 0.28);
    }
    50% {
        border-color: rgba(209, 184, 142, 0.6);
    }
}

@media (max-width: 768px) {
    .preload__countdown {
        bottom: 4.8rem;
    }

    .preload__countdown-grid {
        grid-template-columns: repeat(2, minmax(92px, 1fr));
    }
}

/* Dados ao vivo (Gameserver DB) */
.live-stats_stack {
    max-width: 920px;
    margin: 0 auto;
}

.live-stats__hint {
    margin: 0 0 0.85rem;
    padding: 0.55rem 0.72rem;
    border-radius: 8px;
    border: 1px solid rgba(209, 184, 142, 0.28);
    background: rgba(10, 4, 2, 0.55);
    font-size: 0.74rem;
    line-height: 1.42;
    color: rgba(255, 226, 180, 0.82);
}

.live-stats__hint:empty {
    display: none;
}

.live-stats__block {
    margin-bottom: 1.35rem;
    border: 1px solid rgba(209, 184, 142, 0.4);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(13, 5, 2, 0.9), rgba(13, 5, 2, 0.72));
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(209, 184, 142, 0.06);
    padding: 0.75rem 0.82rem 0.9rem;
    scroll-margin-top: 92px;
}

.live-stats__block-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.35rem 0.85rem;
    margin-bottom: 0.62rem;
    padding-bottom: 0.42rem;
    border-bottom: 1px solid rgba(209, 184, 142, 0.22);
    font-size: 0.94rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(246, 220, 160, 0.98);
}

.live-stats__block-title span:first-child {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: rgba(209, 184, 142, 0.78);
}

.live-stats__table-wrap_mid {
    max-height: 340px;
}

.live-stats__table-wrap_compact {
    max-height: 260px;
}

.live-stats__rank-extras-grid {
    display: grid;
    gap: 0.95rem;
    grid-template-columns: 1fr;
}

@media (min-width: 720px) {
    .live-stats__rank-extras-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .live-stats__block_inline .live-stats__block-title {
        font-size: 0.78rem;
    }
}

.live-stats__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
}

.live-stats__status {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(246, 211, 160, 0.88);
}

.live-stats__btn {
    appearance: none;
    border-radius: 999px;
    border: 1px solid rgba(209, 184, 142, 0.52);
    background: rgba(13, 5, 2, 0.78);
    color: rgba(246, 211, 160, 0.95);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.45rem 0.95rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.live-stats__btn:hover {
    border-color: rgba(255, 226, 180, 0.75);
    background: rgba(28, 16, 8, 0.88);
}

.live-stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(296px, 1fr));
    gap: 1rem;
}

.live-stats__panel {
    border: 1px solid rgba(209, 184, 142, 0.4);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(13, 5, 2, 0.88), rgba(13, 5, 2, 0.68));
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32), inset 0 0 20px rgba(209, 184, 142, 0.07);
    padding: 1rem 0.95rem;
}

.live-stats__panel_wide {
    grid-column: span 1;
}

@media (min-width: 900px) {
    .live-stats__panel_wide {
        grid-column: span 2;
    }
}

.live-stats__panel-title {
    text-align: center;
    margin-bottom: 0.72rem;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(234, 199, 125, 0.95);
}

.live-stats__table-wrap {
    max-height: 280px;
    overflow: auto;
    border-radius: 8px;
    border: 1px solid rgba(209, 184, 142, 0.18);
}

.live-stats__table-wrap_tall {
    max-height: 420px;
}

.live-stats__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.78rem;
}

.live-stats__table thead {
    position: sticky;
    top: 0;
    z-index: 1;
}

.live-stats__table th {
    text-align: left;
    padding: 0.4rem 0.45rem;
    background: rgba(10, 4, 2, 0.96);
    color: rgba(232, 199, 130, 0.95);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(209, 184, 142, 0.28);
    font-size: 0.65rem;
}

.live-stats__table td {
    padding: 0.38rem 0.45rem;
    border-bottom: 1px solid rgba(255, 245, 220, 0.06);
    color: rgba(255, 246, 230, 0.92);
    vertical-align: top;
}

.live-stats__table td.live-stats__num {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.live-stats__pill {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.42rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.live-stats__pill_alive {
    color: rgba(174, 255, 206, 0.98);
    border: 1px solid rgba(99, 255, 159, 0.5);
    background: rgba(12, 40, 24, 0.55);
}

.live-stats__pill_dead {
    color: rgba(255, 214, 202, 0.98);
    border: 1px solid rgba(255, 148, 120, 0.45);
    background: rgba(48, 12, 6, 0.45);
}

.live-stats__pill_neutral {
    color: rgba(220, 210, 195, 0.95);
    border: 1px solid rgba(200, 180, 155, 0.35);
    background: rgba(18, 12, 8, 0.45);
}

.live-stats_dot {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(118, 255, 164, 0.95);
    white-space: nowrap;
}

.live-stats__online-mute {
    color: rgba(180, 170, 155, 0.45);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.live-stats__ranks {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.72rem;
    max-height: 420px;
    overflow-y: auto;
}

.live-stats__rank-mini {
    border-radius: 8px;
    border: 1px solid rgba(209, 184, 142, 0.25);
    background: rgba(8, 3, 1, 0.55);
    padding: 0.45rem 0.5rem 0.6rem;
}

.live-stats__rank-mini h4 {
    margin: 0 0 0.35rem 0;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 800;
    color: rgba(230, 200, 128, 0.95);
    text-align: center;
}

.live-stats__rank-mini ol {
    margin: 0;
    padding-left: 1.05rem;
    font-size: 0.73rem;
    line-height: 1.42;
}

.live-stats__rank-mini ol li.online {
    color: rgba(150, 255, 178, 0.95);
}

/* Hub e paginas status-*.html */
.status-layout {
    min-height: 100vh;
    padding-bottom: 3rem;
}

.status-layout__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    padding: 1rem 0 1.1rem;
    border-bottom: 1px solid rgba(209, 184, 142, 0.28);
    margin-bottom: 1.35rem;
}

.status-layout__logo .logo__img {
    width: 7rem;
}

.status-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-end;
}

.status-subnav__link {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.68rem;
    border-radius: 999px;
    border: 1px solid rgba(209, 184, 142, 0.42);
    background: rgba(13, 5, 2, 0.65);
    color: rgba(246, 217, 165, 0.95);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}

.status-subnav__link:hover {
    border-color: rgba(255, 226, 180, 0.7);
    background: rgba(28, 14, 8, 0.85);
}

.status-subnav__link--active {
    border-color: rgba(255, 210, 140, 0.75);
    background: rgba(40, 22, 12, 0.88);
    box-shadow: inset 0 0 14px rgba(209, 184, 142, 0.12);
}

.status-page-title {
    font-size: 1.55rem;
    margin: 0 0 0.35rem;
    color: rgba(255, 237, 206, 0.98);
}

.status-page-lead {
    font-size: 0.86rem;
    line-height: 1.45;
    color: rgba(220, 200, 165, 0.88);
    max-width: 48rem;
    margin: 0 0 1.25rem;
}

.status-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.status-hub-card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.05rem 1.1rem;
    border-radius: 14px;
    border: 1px solid rgba(209, 184, 142, 0.42);
    text-decoration: none;
    color: rgba(255, 244, 222, 0.95);
    background: linear-gradient(180deg, rgba(13, 5, 2, 0.9), rgba(13, 5, 2, 0.72));
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    transition: transform 0.18s, border-color 0.2s;
}

.status-hub-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 220, 170, 0.55);
}

.status-hub-card__tag {
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(234, 199, 125, 0.95);
}

.status-hub-card__title {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.status-hub-card__desc {
    font-size: 0.78rem;
    line-height: 1.42;
    opacity: 0.86;
}

/* Selector de idioma: botões em vez de <a href="#"> (evita barra de estado com "/#") */
button.lang__link.lang__link_sub {
    font: inherit;
    border: none;
    background: transparent;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    text-align: inherit;
    font-family: inherit;
}

/* Notícias: se Swiper não inicializar no servidor, não espremiar todos os cartões na viewport */
[data-news-slider-section] .news__list:not(.swiper-initialized) {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

[data-news-slider-section] .news__list:not(.swiper-initialized) .news__swiper-wrapper {
    gap: 32px;
}

[data-news-slider-section] .news__list:not(.swiper-initialized) .news__swiper-slide {
    flex: 0 0 auto;
    box-sizing: border-box;
    scroll-snap-align: start;
    width: calc(100% - 1rem);
    max-width: 22rem;
}

@media (min-width: 720px) {
    [data-news-slider-section] .news__list:not(.swiper-initialized) .news__swiper-slide {
        width: calc(50% - 24px);
        max-width: none;
    }
}

@media (min-width: 860px) {
    [data-news-slider-section] .news__list:not(.swiper-initialized) .news__swiper-slide {
        width: calc((100% - 64px) / 3);
        max-width: none;
    }
}

/* noticias.html (html.news-standalone): idiomas sem só :hover — tablet/telemóvel */
html.news-standalone .news-standalone-head {
    overflow: visible;
}

html.news-standalone .news-standalone-lang .lang:focus-within .lang__list,
html.news-standalone .news-standalone-lang .lang.lang_dropdown_open .lang__list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

html.news-standalone .news-standalone-lang .lang__current {
    cursor: pointer;
    user-select: none;
}
