/* INICIO ROOT*/

:root {
    --primary-color: #14fe17;
    --secondary-color: #0a7e0c;
    --background-color: #0d1b0d;
    --text-glow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color);
}

/* BOTÕES, FONTS & EFEITOS */

body {
    margin: 0;
    padding: 0;
    background-color: black;
    font-family: 'Share Tech Mono', monospace;
    color: var(--primary-color);
    overflow: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    touch-action: manipulation;
}

.crt-screen {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: var(--background-color);
    border: none;
    box-shadow: 0 0 20px rgba(20, 254, 23, 0.3);
    overflow: hidden;
}

.scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(20, 254, 23, 0.03) 50%,
        rgba(0, 0, 0, 0.1) 50%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 10;
    animation: scanline 8s linear infinite;
}

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

.screen-container {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    z-index: 1;
    overflow: hidden;
}

#screen-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.title {
    font-size: 2rem;
    text-align: center;
    margin: 15px 0;
    text-shadow: var(--text-glow);
    animation: flicker 3s infinite alternate;
}

@keyframes flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: var(--text-glow);
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}

.menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    max-height: 60vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.menu-item {
    font-size: 1.2rem;
    padding: 12px 15px;
    cursor: pointer;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    word-break: break-word;
}

.menu-item:hover {
    background-color: rgba(20, 254, 23, 0.1);
    border-left: 3px solid var(--primary-color);
    text-shadow: var(--text-glow);
}

.menu-item.selected {
    background-color: rgba(20, 254, 23, 0.2);
    border-left: 3px solid var(--primary-color);
    text-shadow: var(--text-glow);
}

.status-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--secondary-color);
    flex-wrap: wrap;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 3px 0;
}

.status-label {
    font-size: 0.7rem;
    color: var(--secondary-color);
}

.status-value {
    font-size: 0.9rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.grid-item {
    border: 1px solid var(--secondary-color);
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.grid-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(20, 254, 23, 0.5);
}

.location-name {
    font-size: 1rem;
    margin-bottom: 5px;
}

.location-description {
    font-size: 0.7rem;
    color: var(--secondary-color);
}

.button-row {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.button {
    padding: 8px 12px;
    border: 1px solid var(--secondary-color);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    flex: 1;
    text-align: center;
    min-width: 120px;
}

.button:hover {
    border-color: var(--primary-color);
    background-color: rgba(20, 254, 23, 0.1);
}

/* ESTILO PARA SELEÇÃO DE PERSONAGENS */
.character-list {
    max-height: 50vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 5px;
    margin-bottom: 15px;
}

.character-card {
    border: 1px solid var(--secondary-color);
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 5px;
    transition: all 0.3s;
}

.character-card:active {
    border-color: var(--primary-color);
    background-color: rgba(20, 254, 23, 0.05);
}

.character-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.character-card p {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.character-card .stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.character-card .stats span {
    font-size: 0.8rem;
    color: var(--secondary-color);
}

/* TEMA DE CORES */
.theme-green {
    --primary-color: #14fe17;
    --secondary-color: #0a7e0c;
    --background-color: #0d1b0d;
    --text-glow: 0 0 5px #14fe17, 0 0 10px #14fe17;
}

.theme-amber {
    --primary-color: #ffb000;
    --secondary-color: #a37000;
    --background-color: #1a150d;
    --text-glow: 0 0 5px #ffb000, 0 0 10px #ffb000;
}

.theme-white {
    --primary-color: #ffffff;
    --secondary-color: #aaaaaa;
    --background-color: #1a1a1a;
    --text-glow: 0 0 5px #ffffff, 0 0 10px #ffffff;
}

.theme-red {
    --primary-color: #ff3333;
    --secondary-color: #990000;
    --background-color: #1a0d0d;
    --text-glow: 0 0 5px #ff3333, 0 0 10px #ff3333;
}

/* CORREÇÕES DE TELA MEDIA QUERIES */
@media (min-width: 768px) {
    .crt-screen {
        width: 800px;
        height: 600px;
        border: 15px solid #1a1a1a;
        border-radius: 10px;
    }
    
    .screen-container {
        padding: 20px;
    }
    
    .title {
        font-size: 3rem;
    }
    
    .menu-item {
        font-size: 1.5rem;
        padding: 10px 20px;
    }
    
    .grid-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .location-name {
        font-size: 1.2rem;
    }
    
    .location-description {
        font-size: 0.8rem;
    }
    
    .button {
        font-size: 1rem;
        min-width: auto;
    }
}

/* ESTILOS PARA IMAGENS */
.location-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
    border: 1px solid var(--secondary-color);
}

.location-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.area-image-container {
    width: 100%;
    height: 150px;
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
    border: 1px solid var(--secondary-color);
}

.area-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 768px) {
    .location-image-container {
        height: 300px;
    }
    
    .area-image-container {
        height: 200px;
    }
}

/* ESTILO PARA MISSÕES [OFF] */
.quest-item {
    padding: 10px;
    border-left: 3px solid var(--secondary-color);
    margin-bottom: 10px;
}

.quest-title {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.quest-description {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.quest-step {
    font-size: 0.8rem;
    margin-left: 15px;
    color: var(--secondary-color);
}

.quest-step.completed {
    color: var(--primary-color);
    text-decoration: line-through;
}

.quest-completed {
    border-left-color: var(--primary-color);
    opacity: 0.7;
}

.quest-conclusion {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-top: 10px;
    padding: 10px;
    background-color: rgba(20, 254, 23, 0.1);
    border-left: 3px solid var(--primary-color);
}

/* NOTIFICAÇÕES MISSÕES [OFF] */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--background-color);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 100;
    box-shadow: 0 0 10px rgba(20, 254, 23, 0.5);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { top: -50px; opacity: 0; }
    to { top: 20px; opacity: 1; }
}
/* ESTILO PARA CONCLUSÃO DE MISSÃO [OFF] */
.quest-conclusion {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-top: 10px;
    padding: 10px;
    background-color: rgba(20, 254, 23, 0.1);
    border-left: 3px solid var(--primary-color);
}

/* NOTIFICAÇÃO [OFF] */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--background-color);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 100;
    box-shadow: 0 0 10px rgba(20, 254, 23, 0.5);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { top: -50px; opacity: 0; }
    to { top: 20px; opacity: 1; }
}

/* ESTILO PARA ETAPAS DA MISSÃO [OFF] */
.quest-step {
    font-size: 0.8rem;
    margin-left: 15px;
    color: var(--secondary-color);
}

.quest-step.completed {
    color: var(--primary-color);
    text-decoration: line-through;
}

/* ESTILO TELA DE INVENTÁRIO */
.inventory-display {
    padding: 15px;
    border: 1px solid var(--secondary-color);
    margin: 15px 0;
}

.empty-inventory {
    color: var(--secondary-color);
    text-align: center;
    font-style: italic;
}

.item-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.item {
    padding: 8px;
    border: 1px solid var(--secondary-color);
    text-align: center;
}

/* ESTILO TELA DE STATUS */
.status-details {
    margin-top: 20px;
}

.status-bar-container {
    width: 100%;
    height: 20px;
    background-color: rgba(0,0,0,0.5);
    position: relative;
    margin: 5px 0;
}

.status-bar-fill {
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.rad-bar {
    background-color: #ff3333;
}

.attributes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.attribute {
    display: flex;
    justify-content: space-between;
    padding: 8px;
    border: 1px solid var(--secondary-color);
}

.attr-name {
    color: var(--primary-color);
}

.attr-value {
    font-weight: bold;
}

/* ESTILO TELA DE HABILIDADES */
.skills-list {
    margin-top: 15px;
}

.skill-item {
    padding: 10px;
    border: 1px solid var(--secondary-color);
    margin-bottom: 8px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.skill-item:hover {
    background-color: rgba(20, 254, 23, 0.1);
}

.skill-detail {
    margin: 15px 0;
    padding: 10px;
    border: 1px solid var(--primary-color);
    background-color: rgba(0,0,0,0.3);
}

/* ESTILO TELA DE TEMAS */
.themes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.theme-option {
    text-align: center;
    cursor: pointer;
}

.theme-preview {
    width: 100%;
    height: 60px;
    border: 2px solid var(--secondary-color);
    margin-bottom: 5px;
}

.theme-green {
    background-color: #14fe17;
}

.theme-amber {
    background-color: #ffb000;
}

.theme-white {
    background-color: #ffffff;
}

.theme-red {
    background-color: #ff3333;
}

/* NOTIFICAÇÃO EXPLORAÇÃO */

.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--background-color);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 100;
    box-shadow: 0 0 10px rgba(20, 254, 23, 0.5);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { top: -50px; opacity: 0; }
    to { top: 20px; opacity: 1; }
}

.item {
    padding: 8px;
    border: 1px solid var(--secondary-color);
    margin-bottom: 8px;
    position: relative;
}

.item-value {
    color: var(--secondary-color);
    font-size: 0.8rem;
    margin: 5px 0;
}

.item-actions {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

.item-actions button {
    background-color: var(--background-color);
    border: 1px solid var(--secondary-color);
    color: var(--primary-color);
    padding: 3px 6px;
    font-size: 0.7rem;
    cursor: pointer;
    flex: 1;
}

.item-actions button:hover {
    border-color: var(--primary-color);
}

.text-input {
    background-color: var(--background-color);
    border: 1px solid var(--secondary-color);
    color: var(--primary-color);
    padding: 8px;
    margin: 10px 0;
    width: 100%;
    font-family: 'Share Tech Mono', monospace;
}

.text-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px var(--primary-color);
}

/* CORREÇÃO */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--background-color);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 100;
    box-shadow: 0 0 10px rgba(20, 254, 23, 0.5);
    animation: slideIn 0.3s ease-out;
    max-width: 90%;
    text-align: center;
    word-break: break-word;
}

@keyframes slideIn {
    from { top: -50px; opacity: 0; }
    to { top: 20px; opacity: 1; }
}

/* ESTILO PARA COMBATE */
.combat-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.combat-stat {
    padding: 15px;
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
    background-color: rgba(0,0,0,0.3);
}

.player-stat {
    border-color: var(--primary-color);
}

.enemy-stat {
    border-color: #ff3333;
}

.hp-bar-container, .rad-bar-container {
    margin: 10px 0;
}

.hp-bar, .rad-bar {
    height: 20px;
    background-color: rgba(0,0,0,0.5);
    margin: 5px 0;
    position: relative;
}

.hp-fill {
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.rad-fill {
    height: 100%;
    background-color: #ff3333;
    transition: width 0.3s;
}

.combat-log {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--secondary-color);
    padding: 10px;
    margin: 20px 0;
    background-color: rgba(0,0,0,0.3);
}

.combat-log p {
    margin: 5px 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.combat-log p:first-child {
    color: var(--primary-color);
    font-weight: bold;
}

.combat-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.combat-action {
    padding: 12px;
    border: 2px solid var(--secondary-color);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background-color: rgba(0,0,0,0.2);
}

.combat-action:hover {
    border-color: var(--primary-color);
    background-color: rgba(20, 254, 23, 0.1);
    transform: translateY(-2px);
}

.combat-action:active {
    transform: translateY(0);
}

.combat-action.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.combat-result {
    padding: 15px;
    border: 1px solid var(--primary-color);
    background-color: rgba(20, 254, 23, 0.1);
    margin: 20px 0;
    text-align: center;
}

.found-items {
    list-style-type: none;
    padding: 0;
    margin: 10px 0;
}

.found-items li {
    padding: 5px 0;
    border-bottom: 1px dashed var(--secondary-color);
}

/* ESTILO PARA USO DE ITEM NO COMBATE */
.item-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 20px 0;
}

.item {
    padding: 10px;
    border: 1px solid var(--secondary-color);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 10px;
    align-items: center;
}

.item-actions button {
    padding: 5px;
    background-color: var(--background-color);
    border: 1px solid var(--secondary-color);
    color: var(--primary-color);
    cursor: pointer;
    width: 100%;
}

.item-actions button:hover {
    border-color: var(--primary-color);
}

/* ESTILO PARA COLUNA DE BOTÕES */
.button-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

/* ESTILO PARA COLUNA DA AREA */
.location-image-container {
    position: relative;
    margin-bottom: 10px;
}

.area-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: var(--primary-color);
    padding: 10px;
    font-size: 1.3rem;
    text-align: center;
    text-shadow: var(--text-glow);
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
}

/* ESTILO PARA DESCRIÇÃO AREAS */
.area-description {
    padding: 0 15px;
    margin: 0 0 20px 0;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    color: var(--primary-color);
}

/* AJUSTE PARA TELA MAIORES */
@media (min-width: 768px) {
    .area-title {
        font-size: 1.5rem;
        padding: 15px;
    }
    
    .area-description {
        font-size: 1.1rem;
        padding: 0 20px;
    }
}

/* ESTILO PARA TELA "EXPLORANDO..." */
.exploration-info {
    text-align: center;
    margin: 20px 0;
}

.progress-container {
    width: 100%;
    height: 20px;
    background-color: rgba(0,0,0,0.5);
    border: 1px solid var(--secondary-color);
    margin: 15px 0;
    position: relative;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    transition: width 1s linear;
}

.time-left {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* ESTILO PARA RESULTADOS DA EXPLORAÇÃO */
.exploration-result {
    padding: 15px;
    border: 1px solid var(--secondary-color);
    margin: 20px 0;
}

.found-items {
    list-style-type: none;
    padding: 0;
    margin: 10px 0;
}

.found-items li {
    padding: 5px 0;
    border-bottom: 1px dashed var(--secondary-color);
}

/* ESTILO PARA ITENS NO INVENTÁRIO */
.item {
    padding: 10px;
    border: 1px solid var(--secondary-color);
    margin-bottom: 10px;
    position: relative;
}

.item-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.item-count {
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.item-actions {
    display: flex;
    gap: 5px;
    margin-top: 8px;
}

.item-actions button {
    flex: 1;
    padding: 5px;
    background-color: var(--background-color);
    border: 1px solid var(--secondary-color);
    color: var(--primary-color);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    cursor: pointer;
}

.item-actions button:hover {
    border-color: var(--primary-color);
    background-color: rgba(20, 254, 23, 0.1);
}

.inventory-info {
    text-align: right;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* ESTILO PARA DEBUG */
.debug-button {
    background-color: #ff3333 !important;
    border-color: #990000 !important;
}

.debug-menu {
    font-family: 'Share Tech Mono', monospace;
    color: var(--primary-color);
}

.debug-menu button {
    background-color: var(--background-color);
    border: 1px solid var(--secondary-color);
    color: var(--primary-color);
    font-family: 'Share Tech Mono', monospace;
    cursor: pointer;
}

.debug-menu button:hover {
    border-color: var(--primary-color);
    background-color: rgba(20, 254, 23, 0.1);
}

/* ESTILO PARA LEVELUP */
.level-up-overlay {
    font-family: 'Share Tech Mono', monospace;
}

.level-up-container {
    font-family: 'Share Tech Mono', monospace;
}

/* ESTILO PARA DESCRIÇÃO DO STATUS */
.status-description {
    font-size: 0.8rem;
    color: var(--secondary-color);
    margin-top: 5px;
    font-style: italic;
}

/* ESTILO PARA PONTOS PENDENTES */
.pending-points {
    border-color: var(--primary-color) !important;
}

/* ESTILO PARA OPÇÕES DE HABILIDADES */
.skill-option:hover {
    border-color: var(--primary-color) !important;
    background-color: rgba(20, 254, 23, 0.1);
}

/* BASE UPGRADES IDLE */
.base-status {
    border: 1px solid var(--primary-color);
    background-color: rgba(10, 30, 10, 0.3);
    padding: 15px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.base-status::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.base-status h3 {
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
    margin-top: 0;
    border-bottom: 1px dashed var(--secondary-color);
    padding-bottom: 5px;
}

.upgrade-progress {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.upgrade-progress-bar {
    flex-grow: 1;
    height: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.upgrade-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #0f0);
    width: 0%;
    transition: width 0.5s ease;
}

.upgrade-progress-text {
    margin-left: 10px;
    font-family: monospace;
    color: var(--primary-color);
}

.upgrade-requirements {
    margin: 15px 0;
    border-left: 3px solid var(--primary-color);
    padding-left: 10px;
}

.upgrade-requirements ul {
    list-style-type: none;
    padding: 0;
    margin: 5px 0;
}

.upgrade-requirements li {
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
    font-size: 0.9rem;
}

.upgrade-requirements .item-name {
    color: var(--primary-color);
}

.upgrade-requirements .item-quantity {
    color: var(--secondary-color);
}

.upgrade-requirements .item-owned {
    color: #0f0;
    font-weight: bold;
}

.upgrade-requirements .item-missing {
    color: #f00;
}

.base-actions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.base-action {
    padding: 10px;
    border: 1px solid var(--secondary-color);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background-color: rgba(0, 0, 0, 0.3);
    position: relative;
}

.base-action:hover {
    border-color: var(--primary-color);
    background-color: rgba(20, 254, 23, 0.1);
    transform: translateY(-2px);
}

.base-action:active {
    transform: translateY(0);
}

.base-action.unlocked {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.base-action.locked {
    opacity: 0.5;
    filter: grayscale(80%);
    cursor: not-allowed;
}

.base-action .action-icon {
    font-size: 1.5rem;
    margin-bottom: 5px;
    display: block;
}

.base-action .action-cost {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 0.7rem;
    color: var(--secondary-color);
}

.base-level-display {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--primary-color);
    padding: 5px 10px;
    font-family: monospace;
}

.base-level-display .level-number {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.base-level-display .level-label {
    color: var(--secondary-color);
    font-size: 0.7rem;
}

/* EFEITOS ESPECIAIS PARA UPGRADE */
.upgrade-completed {
    animation: upgradePulse 2s ease-out;
}

@keyframes upgradePulse {
    0% { box-shadow: 0 0 0 0 rgba(20, 254, 23, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(20, 254, 23, 0); }
    100% { box-shadow: 0 0 0 0 rgba(20, 254, 23, 0); }
}

.upgrade-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--background-color);
    border: 2px solid var(--primary-color);
    padding: 20px;
    z-index: 1000;
    text-align: center;
    box-shadow: 0 0 20px var(--primary-color);
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -40%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

.upgrade-notification h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.upgrade-notification .upgrade-bonus {
    color: #0f0;
    margin: 10px 0;
}

/* EFEITOS DE TERMINAL PARA INFORMAÇÕES */
.terminal-info {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--secondary-color);
    padding: 10px;
    font-family: monospace;
    margin: 10px 0;
    position: relative;
}

.terminal-info::before {
    content: ">";
    position: absolute;
    left: 5px;
    top: 5px;
    color: var(--primary-color);
}

.terminal-info-text {
    margin-left: 15px;
    color: var(--primary-color);
}

/* Barra de progresso estilo Fallout */
.progress-container {
    width: 100%;
    height: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--secondary-color);
    margin: 15px 0;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%, 
        #0a7e0c 50%, 
        var(--primary-color) 100%);
    background-size: 200% 100%;
    animation: progressBarGlow 2s linear infinite;
    transition: width 0.5s ease;
}

@keyframes progressBarGlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Tooltips estilo Pip-Boy */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: var(--background-color);
    color: var(--primary-color);
    text-align: center;
    border: 1px solid var(--primary-color);
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.8rem;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .base-actions {
        grid-template-columns: 1fr;
    }
    
    .base-status {
        padding: 10px;
    }
}

/* Efeito de digitalização para textos importantes */
.scan-text {
    position: relative;
    display: inline-block;
}

.scan-text::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(20, 254, 23, 0.1) 20%,
        transparent 80%
    );
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* ESTILO PARA MERCADO */
.market-screen {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px;
}

.market-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.balance-display {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.1rem;
}

.caps-icon {
    width: 25px;
    height: 25px;
    background-image: url('images/icons/tampas.png');
    background-size: contain;
}

.market-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .market-columns {
        grid-template-columns: 1fr 1fr;
    }
}

.item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.market-item {
    border: 1px solid var(--secondary-color);
    padding: 10px;
    background-color: rgba(0,0,0,0.3);
}

.item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.item-type {
    font-size: 0.8rem;
    color: var(--secondary-color);
    text-transform: uppercase;
}

.item-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item button {
    padding: 5px;
    background-color: var(--background-color);
    border: 1px solid var(--secondary-color);
    color: var(--primary-color);
    cursor: pointer;
}

.item button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Estilos para a Arena */
.arena-search {
    text-align: center;
    margin: 20px 0;
}

.bot-stat {
    border-color: #ff3333 !important;
}

.ap-bar-container {
    margin: 10px 0;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* Efeitos especiais para a Arena */
.combat-stat {
    position: relative;
    overflow: hidden;
}

.combat-stat::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(20, 254, 23, 0.05) 20%,
        transparent 80%
    );
    animation: scan 3s linear infinite;
    pointer-events: none;
}

.bot-stat::after {
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(255, 51, 51, 0.05) 20%,
        transparent 80%
    );
}

@keyframes scan {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* styles.css (adicionar no final) */
.bet-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 20px 0;
}

.bet-option {
    padding: 15px;
    border: 1px solid var(--secondary-color);
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.bet-option:hover {
    border-color: var(--primary-color);
    background-color: rgba(20, 254, 23, 0.1);
}

.bet-amount {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.bet-reward {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-top: 5px;
}

.caps-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 5px;
    background-image: url('images/icons/tampas.png');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

/* Estilo para o container de novidades */
.news-container {
  margin-top: 30px;
  margin-bottom: 15px;
  border: 1px solid var(--secondary-color);
  border-radius: 5px;
  overflow: hidden;
  width: 80%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.9rem;
}

.news-header {
  padding: 8px 10px;
  background-color: rgba(20, 254, 23, 0.1);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9em; /* Tamanho de fonte menor para o cabeçalho */
}

.news-list {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--primary-color);
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.news-list::-webkit-scrollbar {
    width: 8px;
}

.news-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.news-list::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 4px;
}

.news-list ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.news-list li {
    padding: 5px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

/* ESTILOS MELHORADOS PARA MERCADO */
.market-item {
    border: 1px solid var(--secondary-color);
    padding: 15px;
    background-color: rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.market-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(20, 254, 23, 0.3);
    transform: translateY(-3px);
}

.market-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.item-name {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    text-shadow: var(--text-glow);
}

.item-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dashed var(--secondary-color);
}

.price-amount {
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.buy-button {
    background-color: rgba(10, 126, 12, 0.3);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 15px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Share Tech Mono', monospace;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.buy-button:hover {
    background-color: rgba(20, 254, 23, 0.2);
    text-shadow: var(--text-glow);
    box-shadow: 0 0 8px var(--primary-color);
}

.buy-button:active {
    transform: translateY(1px);
}

/* INVENTÁRIO MELHORADO */
.inventory-section {
    margin-top: 30px;
    border-top: 2px solid var(--primary-color);
    padding-top: 15px;
}

.inventory-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
    text-shadow: var(--text-glow);
}

.empty-inventory {
    padding: 20px;
    text-align: center;
    color: var(--secondary-color);
    font-style: italic;
    border: 1px dashed var(--secondary-color);
    background-color: rgba(0,0,0,0.2);
}

.inventory-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.inventory-item {
    border: 1px solid var(--secondary-color);
    padding: 12px;
    background-color: rgba(0,0,0,0.2);
    position: relative;
}

.inventory-item:hover {
    border-color: var(--primary-color);
}

.item-quantity {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(0,0,0,0.7);
    padding: 2px 6px;
    font-size: 0.7rem;
    border: 1px solid var(--secondary-color);
}

.sell-button {
    background-color: rgba(126, 10, 10, 0.3);
    border: 1px solid #ff3333;
    color: #ff3333;
    padding: 5px 10px;
    margin-top: 10px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.8rem;
}

.sell-button:hover {
    background-color: rgba(255, 51, 51, 0.2);
    box-shadow: 0 0 8px #ff3333;
}

/* EFEITOS ESPECIAIS */
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.highlight-item {
    animation: pulse 2s infinite;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 15px var(--primary-color);
}

/* RESPONSIVIDADE */
@media (max-width: 600px) {
    .inventory-items {
        grid-template-columns: 1fr 1fr;
    }
    
    .market-item {
        padding: 10px;
    }
    
    .buy-button {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

/* Estilos para os itens do inventário */
.has-item {
    color: var(--primary-color);
}

.missing-item {
    color: #ff3333;
}

.upgrade-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 15px 0;
}

.upgrade-options .button {
    text-align: center;
}

.upgrade-options .disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: rgba(126, 10, 10, 0.3);
    border-color: #990000;
}

.upgrade-options .disabled:hover {
    background-color: rgba(126, 10, 10, 0.3);
    border-color: #990000;
    text-shadow: none;
}

/* Estilo para a tela de descanso */
.rest-screen {
    text-align: center;
    padding: 20px;
}

.drink-screen {
    text-align: center;
    padding: 20px;
}

.sleep-animation {
    font-size: 3rem;
    margin: 20px 0;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.drink-animation {
    font-size: 3rem;
    margin: 20px 0;
    animation: bubble 1s infinite;
}

@keyframes bubble {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* SCROLL NA TELA DA BASE */
#screen-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
}

.base-status {
    max-height: none;
    overflow: visible;
}

.upgrade-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 15px 0;
}

.base-actions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

/* MELHORIAS PARA MOBILE */
@media (max-width: 400px) {
    .button-row {
        flex-direction: column;
    }
    
    .button {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .upgrade-options .button {
        font-size: 0.9rem;
        padding: 10px;
    }
}

/* ESTILOS PARA O TERMINAL */
.terminal-screen {
    background-color: rgba(0, 20, 0, 0.7);
    padding: 20px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
}

.word-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    justify-content: center;
}

.word {
    padding: 8px 12px;
    border: 1px solid var(--secondary-color);
    cursor: pointer;
    transition: all 0.3s;
}

.word:hover {
    background-color: rgba(20, 254, 23, 0.2);
    border-color: var(--primary-color);
}

.word.selected {
    background-color: rgba(20, 254, 23, 0.3);
    border-color: var(--primary-color);
    text-shadow: var(--text-glow);
}

.word.incorrect {
    text-decoration: line-through;
    color: #ff3333;
    border-color: #ff3333;
    cursor: not-allowed;
}

.terminal-feedback {
    margin: 20px 0;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    border-left: 3px solid var(--primary-color);
}

.terminal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.terminal-result {
    margin: 20px 0;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--primary-color);
}

.terminal-result ul {
    list-style-type: none;
    padding: 0;
}

.terminal-result li {
    padding: 5px 0;
    border-bottom: 1px dashed var(--secondary-color);
}

/* ADIÇÃO DE IMAGENS NO COMBATE */

.enemy-image-container {
    width: 150px;
    height: 150px;
    margin: 0 auto 10px auto;
    border: 1px solid var(--secondary-color);
    overflow: hidden;
}

.enemy-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.combat-stat {
    text-align: center;
}

.combat-stat h3 {
    margin: 10px 0;
}

/* EFEITOS PARA O RÁDIO */
.radio-active {
    border-left: 3px solid var(--primary-color) !important;
    background-color: rgba(20, 254, 23, 0.1) !important;
    text-shadow: var(--text-glow) !important;
}

.radio-active::after {
    content: "▶";
    margin-left: 10px;
    font-size: 0.8em;
    color: var(--primary-color);
}

audio {
    display: none;
}

/* Craft System Styles */
.craft-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.craft-item {
    border: 1px solid var(--secondary-color);
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.craft-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(20, 254, 23, 0.3);
}

.craft-item.disabled {
    opacity: 0.6;
    filter: grayscale(70%);
}

.craft-item h3 {
    margin-top: 0;
    color: var(--primary-color);
    border-bottom: 1px dashed var(--secondary-color);
    padding-bottom: 5px;
}

.craft-item p {
    font-size: 0.9rem;
    color: var(--secondary-color);
    min-height: 40px;
}

.requirements {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.requirement {
    padding: 5px 10px;
    border: 1px solid var(--secondary-color);
    font-size: 0.8rem;
    border-radius: 3px;
}

.requirement.has-item {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: rgba(20, 254, 23, 0.1);
}

.requirement.missing-item {
    border-color: #ff3333;
    color: #ff3333;
    background-color: rgba(255, 51, 51, 0.1);
}

.craft-item button {
    width: 100%;
    padding: 8px;
    background-color: rgba(10, 126, 12, 0.3);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Share Tech Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.craft-item button:hover:not(:disabled) {
    background-color: rgba(20, 254, 23, 0.2);
    text-shadow: var(--text-glow);
}

.craft-item button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: rgba(126, 10, 10, 0.3);
    border-color: #990000;
}

/* Estilos para a Loja */
.shop-items {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 15px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--background-color);
}

.shop-items::-webkit-scrollbar {
    height: 8px;
}

.shop-items::-webkit-scrollbar-track {
    background: var(--background-color);
}

.shop-items::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 6px;
}

.shop-item {
    min-width: 150px;
    text-align: center;
    border: 1px solid var(--secondary-color);
    padding: 10px;
    background-color: rgba(0,0,0,0.3);
    transition: all 0.3s;
}

.shop-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(20, 254, 23, 0.3);
}

.shop-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
    margin-bottom: 10px;
}

.shop-item h3 {
    margin: 5px 0;
    font-size: 1rem;
    color: var(--primary-color);
}

.shop-item p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.shop-item .button {
    margin-top: 10px;
    width: 90%;
    padding: 8px;
    font-size: 0.9rem;
}

.shop-item .button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: rgba(126, 10, 10, 0.3);
    border-color: #990000;
}

/* Estilos para Areas Bloqueadas */
.locked-location {
    opacity: 0.6;
    cursor: not-allowed;
    position: relative;
}

.locked-location::after {
    content: "🔒";
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 1.2rem;
    color: var(--primary-color);
    text-shadow: 0 0 5px rgba(0,0,0,0.8);
}

.locked-location .location-image {
    filter: grayscale(100%) brightness(0.5);
}

/* Adicione ao final do styles.css */
.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 20px 0;
}

@media (min-width: 768px) {
    .options-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.options-section {
    border: 1px solid var(--secondary-color);
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.3);
}

.options-section h2 {
    margin-top: 0;
    border-bottom: 1px dashed var(--secondary-color);
    padding-bottom: 5px;
    color: var(--primary-color);
}

.option-item {
    margin-bottom: 15px;
}

.option-item label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.option-item select {
    width: 100%;
    padding: 5px;
    background-color: var(--background-color);
    border: 1px solid var(--secondary-color);
    color: var(--primary-color);
    font-family: 'Share Tech Mono', monospace;
}

.volume-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.volume-controls button {
    padding: 3px 8px;
    background-color: var(--background-color);
    border: 1px solid var(--secondary-color);
    color: var(--primary-color);
    cursor: pointer;
}

.volume-controls button:hover {
    border-color: var(--primary-color);
}

.volume-controls input[type="range"] {
    flex-grow: 1;
    -webkit-appearance: none;
    height: 5px;
    background: var(--secondary-color);
    outline: none;
}

.volume-controls input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: var(--primary-color);
    cursor: pointer;
}

.option-item input[type="checkbox"] {
    margin-right: 8px;
    accent-color: var(--primary-color);
}

/* Estilos para a tela de créditos */
#credits-container {
    animation: scrollCredits 60s linear forwards;
}

@keyframes scrollCredits {
    0% { transform: translateY(100%); }
    100% { transform: translateY(-100%); }
}

#credits-container p {
    margin: 15px 0;
    text-shadow: var(--text-glow);
}

#credits-container p:empty {
    height: 20px;
}

.credits-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-shadow: var(--text-glow);
}

.credits-subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 20px 0 10px 0;
    text-shadow: var(--text-glow);
}

.credits-name {
    font-size: 1rem;
    color: var(--secondary-color);
    margin: 5px 0 15px 0;
}

/* Estilos para o Terminal Avançado */
.terminal-screen {
    background-color: rgba(0, 20, 0, 0.7);
    padding: 20px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
    font-family: 'Courier New', monospace;
    line-height: 1.4;
}

.terminal-header {
    margin-bottom: 20px;
    text-align: center;
}

.terminal-subtitle, .terminal-server, .terminal-system {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin: 5px 0;
}

.terminal-divider {
    color: var(--primary-color);
    margin: 10px 0;
    text-align: center;
}

.terminal-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .terminal-content {
        grid-template-columns: 2fr 1fr;
    }
}

.terminal-log {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border: 1px solid var(--secondary-color);
}

.terminal-log p {
    margin: 8px 0;
    font-family: 'Courier New', monospace;
}

.terminal-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.terminal-option {
    padding: 12px;
    border: 1px solid var(--secondary-color);
    cursor: pointer;
    transition: all 0.3s;
    background-color: rgba(0, 0, 0, 0.3);
    font-family: 'Courier New', monospace;
}

.terminal-option:hover {
    border-color: var(--primary-color);
    background-color: rgba(20, 254, 23, 0.1);
    text-shadow: var(--text-glow);
}

.terminal-log-content {
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--secondary-color);
    margin-bottom: 20px;
    min-height: 300px;
}

.terminal-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Estilos para os botões sociais */
.social-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
    z-index: 100;
}

.social-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--background-color);
    border: 1px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.social-button:hover {
    background-color: rgba(20, 254, 23, 0.2);
    transform: scale(1.1);
    box-shadow: 0 0 10px var(--primary-color);
}

.social-button img {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 0 2px var(--primary-color));
}

/* Ajuste para mobile */
@media (max-width: 768px) {
    .social-buttons {
        bottom: 10px;
        right: 10px;
    }
    
    .social-button {
        width: 36px;
        height: 36px;
    }
    
    .social-button img {
        width: 20px;
        height: 20px;
    }
}

/* Estilo para os slots de save */
.save-slots {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 20px 0;
}

.save-slot {
    border: 1px solid var(--secondary-color);
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.save-slot:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(20, 254, 23, 0.5);
}

.save-info {
    margin: 10px 0;
    font-size: 0.9rem;
}

.save-info.empty {
    text-align: center;
    padding: 20px;
    color: var(--secondary-color);
    font-style: italic;
}

/* Estilo para os botões de ação */
.save-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.save-actions button {
    flex: 1;
    padding: 8px;
    background-color: var(--background-color);
    border: 1px solid var(--secondary-color);
    color: var(--primary-color);
    font-family: 'Share Tech Mono', monospace;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    min-width: 100px;
}

.save-actions button:hover {
    border-color: var(--primary-color);
    background-color: rgba(20, 254, 23, 0.1);
    text-shadow: var(--text-glow);
}

/* Estilo específico para o botão CARREGAR */
.save-actions button:nth-child(1) {
    border-color: var(--primary-color);
    background-color: rgba(20, 254, 23, 0.1);
}

/* Estilo específico para o botão DELETAR */
.save-actions button:nth-child(2) {
    border-color: #ff3333;
    background-color: rgba(255, 51, 51, 0.1);
    color: #ff3333;
}

.save-actions button:nth-child(2):hover {
    text-shadow: 0 0 5px #ff3333, 0 0 10px #ff3333;
}

/* Estilo para o botão VOLTAR principal */
.button-row {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.button-row button {
    padding: 10px 20px;
    background-color: var(--background-color);
    border: 1px solid var(--secondary-color);
    color: var(--primary-color);
    font-family: 'Share Tech Mono', monospace;
    cursor: pointer;
    transition: all 0.3s;
}

.button-row button:hover {
    border-color: var(--primary-color);
    background-color: rgba(20, 254, 23, 0.1);
    text-shadow: var(--text-glow);
}