/* --- GLOBAL --- */
@font-face {
    font-family: '8bitoperator_jve';
    src: url('8bitoperator_jve.ttf') format('truetype');
}

@font-face {
    font-family: 'MERCY';
    src: url('mercy.otf.woff2') format('woff2');
}

body {
    background-color: black;
    color: white;
    font-family: '8bitoperator_jve', 'Courier New', monospace;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
    margin: 0;
}

main {
    flex: 1;
}

footer {
    margin-top: 80px;
    border-top: 2px solid #333;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #777;
    text-align: center;
}

h1, h2 {
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 4px;
}

h1 {
    font-size: 4.5rem;
}

h2 {
    font-size: 3.5rem;
    color: #ffff00;
}

/* -- GOMBOK -- */
.battle-menu-container {
    display: flex;
    gap: 25px;
    margin: 80px;
}

.battle-button {
    border: 4px solid #ff7f27;
    padding: 5px;
    color: #ff7f27;
    text-decoration: none;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    font-family: 'MERCY', 'Courier New', monospace;
}

/* A piros szív sprite hoverre */
.battle-button::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 26px;
    background-size: contain;
    background-repeat: no-repeat;
    image-rendering: pixelated;
    margin-right: 0px;
    margin-left: 10px;
    margin-top: 0;
    margin-bottom: 20px;
}

.battle-button.fight::before {  content: "#"; }

.battle-button.act::before { content: "$"; }

.battle-button.item::before { content: "%"; }

.battle-button.mercy::before { content: "&"; }

.battle-button:hover {
    color: #ffff00;
    border-color: #ffff00;
}

.battle-button:hover::before {
    content: "";
    background-image: url('red_SOUL.png');
    margin-right: 5px;
    margin-left: 5px;
    margin-top: 0;
    margin-bottom: 0px;
}

.back-button {
    margin: 40px auto;
    display: table;
    color: white;
    text-decoration: none;
    font-size: 1.8rem;
    border: 6px solid white;
    padding: 10px 40px;
    transition: 0.1s;
}

.back-button:hover {
    color: #ffff00;
    border-color: #ffff00; }

/* -- Dialógus Doboz -- */
.dialogue-wrapper {
    border: 6px solid white;
    width: 750px;
    padding: 30px;
    display: flex;
    gap: 30px;
    background-color: black;
    align-items: center;
}

.dialogue-portrait {
    width: 110px;
    height: 110px;
    image-rendering: pixelated;
    object-fit: contain;
}

.dialogue-text {
    font-size: 1.8rem;
    line-height: 1.5;
    flex: 1;
}

.yellow { color: #ffff00; }

.red { color: #ff0000; }

.green { color: #00ff00; }

.container {
    width: 100%;
    max-width: 800px;
}

/* --- HÍREK --- */
.news-post {
    background: black;
    border: 6px solid white;
    padding: 25px;
    margin-bottom: 40px;
    position: relative;
}

.news-date {
    color: #ff0000; /* Piros, mint a HP */
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: block;
}

.news-title {
    color: #ffff00;
    font-size: 2.2rem;
    margin-bottom: 15px;
    display: block;
}

.news-content {
    font-size: 1.5rem;
    line-height: 1.6;
    color: white;
}

/* --- LETÖLTÉSEK --- */
.download-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 80px;
}

/* Alap gomb stílus */
.dl-box {
    border: 6px solid white;
    padding: 30px;
    width: 300px;
    text-decoration: none;
    color: white;
    transition: 0.1s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dl-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.dl-info {
    font-size: 1.2rem;
    color: #aaa;
}

/* Aktív Demó gomb */
.dl-box.active:hover {
    border-color: #ffff00;
    color: #ffff00;
    transform: scale(1.05);
}

/* Inaktív Teljes verzió gomb */
.dl-box.disabled {
    border-color: #444;
    color: #444;
    cursor: not-allowed;
}

.dl-caption {
    font-size: 1.5rem;
    margin-top: 10px;
}

.warning-text {
    margin-top: 40px;
    font-size: 1.2rem;
    color: #888;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- ÁLLAPOT --- */
.section-title { 
    font-size: 2.2rem; 
    border-bottom: 4px solid white; 
    padding-bottom: 5px; 
    margin-top: 50px;
    color: white;
}

/* Teljes haladás csík */
.total-progress {
    margin-bottom: 40px;
    text-align: center;
}

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

.status-item {
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-left: 4px solid #333;
    padding-left: 15px;
}

.label-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.bar-bg {
    height: 18px;
    border: 2px solid white;
    background: #222;
}

.bar-fill {
    height: 100%;
    background: #ff0000;
}

/* Spoiler stílusok */
.spoiler-container {
    text-align: center;
    margin-top: 30px;
}

#spoiler-content {
    display: none; /* Alapból rejtve */
}

.spoiler-btn {
    background: white;
    color: black;
    border: 4px solid white;
    padding: 15px 30px;
    font-family: '8bitoperator_jve';
    font-size: 1.5rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.1s;
}

.spoiler-btn:hover {
    background: black;
    color: white;
}

.done { color: #00ff00; }
.working { color: #ffff00; }
.waiting { color: #888; }

@media (max-width: 700px) {
    .status-grid { grid-template-columns: 1fr; }
}

/* --- CSAPAT --- */
.team-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.member-card {
    display: flex;
    align-items: center;
    border: 6px solid white;
    padding: 15px 25px;
    background: black;
    transition: 0.1s;
}

.member-card:hover {
    border-color: #ffff00;
}

.member-icon {
    width: 60px;
    height: 60px;
    margin-right: 25px;
    object-fit: contain;
    border: 1px solid #333;
}

.member-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.name {
    font-size: 2rem;
    color: white;
}

.member-card:hover .name {
    color: #ffff00;
}

.role {
    font-size: 1.2rem;
    color: #aaa;
    margin-top: 5px;
}

/* Social Gombok */
.social-button {
    text-decoration: none;
    padding: 8px 15px;
    font-size: 1.2rem;
    border: 3px solid white;
    transition: 0.1s;
    margin-left: 15px;
}
.social-button.youtube {
    color: white;
    background-color: #FF0033;
}

.social-button.youtube:hover {
    background-color: white;
    color: #FF0033;
    border-color: #FF0033;
}

.social-button.linktree {
    color: black;
    background-color: #42e15e;
}

.social-button.linktree:hover {
    background-color: black;
    color: #42e15e;
    border-color: #42e15e;
}
