/* --- VÁLTOZÓK & ALAPOK --- */
:root {
    --primary-red: #d31f28; 
    --dark-bg: #0f0f0f;
    --card-bg: #1a1a1a;
    --text-white: #f0f0f0;
    --neon-glow: 0 0 15px rgba(211, 31, 40, 0.6);
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-white);
    font-family: 'Rajdhani', sans-serif;
    overflow-x: hidden;
    
    /* --- HÁTTÉRKÉP --- */
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.9)), 
                      url('city.jpg'); 

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: background-position 0.1s ease-out; 
}

h1, h2, h3, h4 {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- NAVIGÁCIÓ --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-red);
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-red);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.logo img {
    height: 40px;
    filter: drop-shadow(0 0 5px var(--primary-red));
    transition: transform 0.5s ease, filter 0.5s ease;
}

/* --- LOGO HOVER EFFEKT --- */
nav .logo:hover {
    letter-spacing: 6px;
    color: #fff;
    text-shadow: 
        0 0 10px var(--primary-red),
        0 0 20px var(--primary-red),
        0 0 40px var(--primary-red);
    transform: scale(1.05);
}

nav .logo:hover img {
    transform: rotate(-15deg) scale(1.2);
    filter: drop-shadow(0 0 20px var(--primary-red));
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: 0.3s;
    position: relative;
    padding: 5px 10px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-red);
}

.nav-discord {
    background: #5865F2;
    padding: 8px 15px !important;
    border-radius: 4px;
    margin-left: 30px;
    transform: skew(-10deg);
}

.nav-discord span {
    display: inline-block;
    transform: skew(10deg);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--text-white);
}

/* --- MOBIL MENÜ --- */
@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-links {
        position: absolute; top: 100%; left: 0; width: 100%;
        background: #0f0f0f; flex-direction: column; align-items: center;
        gap: 20px; padding: 30px 0; border-bottom: 2px solid var(--primary-red);
        visibility: hidden; opacity: 0; transform: translateY(-20px);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .nav-links.active { visibility: visible; opacity: 1; transform: translateY(0); }
    .nav-links a { margin: 0; font-size: 1.3rem; width: 100%; text-align: center; }
    .nav-discord { margin-left: 0; margin-top: 10px; width: auto; }
}

/* --- TARTALOM KERET --- */
.page-content {
    margin-top: 100px;
    flex: 1;
}

/* --- HERO (Kezdőlap) --- */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* JAVÍTVA: Nagyobb felső padding, hogy a logó ne lógjon a menübe */
    padding: 150px 20px 50px 20px;
}
.hero h1 { font-size: 3.5rem; margin-bottom: 10px; text-shadow: 4px 4px 0px #000; line-height: 1.1; }
.hero span { color: var(--primary-red); }
.hero p { font-size: 1.2rem; margin-bottom: 40px; max-width: 600px; color: #ccc; }

/* --- HERO LOGÓ ANIMÁCIÓ --- */
.hero-logo {
    width: 280px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px rgba(211, 31, 40, 0.4));
    animation: floating 4s ease-in-out infinite;
}
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
@media (max-width: 768px) {
    .hero-logo { width: 180px; margin-bottom: 20px; }
}

/* --- ÉLŐ JÁTÉKOS SZÁMLÁLÓ --- */
.player-count-container {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--primary-red);
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.live-dot {
    width: 12px; height: 12px; background-color: #555; border-radius: 50%; display: inline-block;
}
.live-dot.online {
    background-color: #00ff00; box-shadow: 0 0 10px #00ff00; animation: blink 2s infinite;
}
.live-dot.offline {
    background-color: var(--primary-red); box-shadow: 0 0 10px var(--primary-red);
}
@keyframes blink {
    0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; }
}

/* --- GOMBOK --- */
.btn-container { display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; }
.btn {
    padding: 15px 30px; font-size: 1.1rem; font-weight: bold; text-decoration: none;
    color: white; background: rgba(0,0,0,0.5); border: 2px solid var(--primary-red);
    transition: 0.4s; cursor: pointer; text-transform: uppercase;
    font-family: 'Orbitron', sans-serif; transform: skew(-15deg); display: inline-block;
}
.btn span { display: block; transform: skew(15deg); }

.btn:hover { 
    background: var(--primary-red); color: #ffffff; 
    box-shadow: 0 0 20px var(--primary-red); border-color: var(--primary-red);
}

.btn-secondary { border-color: #fff; }
.btn-secondary:hover { background: #fff; color: #000; }

/* --- IP BOX --- */
.ip-box {
    margin-top: 30px; background: rgba(0,0,0,0.6); padding: 15px 25px;
    border: 1px solid #333; border-radius: 5px; display: flex; align-items: center;
    gap: 10px; cursor: pointer; transition: 0.3s; font-size: 0.9rem;
}
.ip-box:hover { border-color: var(--primary-red); }
.status-dot {
    height: 10px; width: 10px; background-color: #00ff00; border-radius: 50%;
    box-shadow: 0 0 10px #00ff00; animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 0, 0); }
}

/* --- KÁRTYÁK & GRID --- */
.section { padding: 60px 20px; max-width: 1200px; margin: 0 auto; }
.section-title {
    text-align: center; font-size: 2rem; margin-bottom: 50px;
    border-bottom: 2px solid var(--primary-red); display: inline-block; padding-bottom: 10px;
    /* JAVÍTVA: Orbitron betűtípus hozzáadva */
    font-family: 'Orbitron', sans-serif;
}

/* JAVÍTVA: A Grid beállítása, hogy biztosan egymás mellett legyenek */
.grid-container { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 30px;
    justify-content: center;
}

.card {
    background: var(--card-bg); padding: 25px; border-left: 4px solid var(--primary-red);
    transition: transform 0.3s;
}
.card:hover { transform: translateY(-5px); background: #222; }
.card h3 { color: var(--primary-red); margin-bottom: 10px; }
.card i { font-size: 1.8rem; margin-bottom: 15px; color: #555; }

/* --- STAFF STÍLUS --- */
.staff-card {
    background: rgba(20, 20, 20, 0.9); padding: 30px 20px; text-align: center;
    border: 1px solid #333; border-radius: 10px; transition: 0.4s;
}
.staff-card:hover {
    border-color: var(--primary-red); box-shadow: 0 0 20px rgba(211, 31, 40, 0.2); transform: translateY(-10px);
}
.staff-avatar {
    width: 100px; height: 100px; background: #333; border-radius: 50%;
    margin: 0 auto 20px; display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; color: var(--primary-red); border: 3px solid var(--primary-red);
}
.staff-name { font-size: 1.5rem; font-weight: bold; color: #fff; margin-bottom: 5px; }
.staff-role {
    font-family: 'Rajdhani', sans-serif; text-transform: uppercase; font-size: 0.9rem;
    letter-spacing: 1px; padding: 5px 15px; border-radius: 20px; display: inline-block; font-weight: bold;
}
.role-owner { background: rgba(211, 31, 40, 0.2); color: var(--primary-red); border: 1px solid var(--primary-red); }
.role-admin { background: rgba(88, 101, 242, 0.2); color: #5865F2; border: 1px solid #5865F2; }

/* --- PP AUTÓK STÍLUS --- */
.pp-card {
    background: var(--card-bg); border: 1px solid #333; border-radius: 10px;
    overflow: hidden; transition: transform 0.3s ease, border-color 0.3s;
    display: flex; flex-direction: column;
}
.pp-card:hover {
    transform: translateY(-5px); border-color: var(--primary-red); box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.pp-image { position: relative; width: 100%; height: 200px; overflow: hidden; }
.pp-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.pp-card:hover .pp-image img { transform: scale(1.1); }
.price-tag {
    position: absolute; top: 10px; right: 10px; background: var(--primary-red);
    color: white; padding: 5px 10px; font-weight: bold; border-radius: 4px;
    font-family: 'Rajdhani', sans-serif; box-shadow: 0 0 10px rgba(0,0,0,0.7);
}
.pp-info { padding: 20px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.pp-info h3 { color: #fff; margin-bottom: 10px; font-size: 1.4rem; }
.pp-info p { color: #bbb; font-size: 0.9rem; margin-bottom: 20px; }
.btn-buy {
    display: block; text-align: center; background: transparent;
    border: 1px solid var(--primary-red); color: white; padding: 10px;
    text-decoration: none; font-weight: bold; text-transform: uppercase;
    transition: 0.3s; border-radius: 4px;
}
.btn-buy:hover { background: var(--primary-red); box-shadow: 0 0 15px var(--primary-red); }

/* --- FOOTER & TOAST --- */
footer { background: #000; padding: 30px; text-align: center; border-top: 2px solid var(--primary-red); margin-top: auto; }
#toast {
    visibility: hidden; min-width: 250px; background-color: var(--primary-red); color: #fff;
    text-align: center; border-radius: 2px; padding: 16px; position: fixed; z-index: 1001;
    left: 50%; bottom: 30px; transform: translateX(-50%); font-size: 17px;
}
#toast.show { visibility: visible; animation: fadein 0.5s, fadeout 0.5s 2.5s; }
@keyframes fadein { from {bottom: 0; opacity: 0;} to {bottom: 30px; opacity: 1;} }
@keyframes fadeout { from {bottom: 30px; opacity: 1;} to {bottom: 0; opacity: 0;} }

/* --- SZABÁLYZAT LISTA DESIGN (Főoldali) --- */
.rules-list li {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid #444; border-left: 4px solid var(--primary-red);
    padding: 20px; margin-bottom: 15px; border-radius: 0 5px 5px 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative; overflow: hidden; color: #ccc;
}
.rules-list li:hover {
    transform: translateX(10px) scale(1.02);
    background: rgba(40, 40, 40, 0.9);
    border-color: var(--primary-red);
    box-shadow: 0 0 20px rgba(211, 31, 40, 0.3);
}
.rules-list li strong {
    color: var(--primary-red); font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem; text-transform: uppercase; display: block;
    margin-bottom: 10px; text-shadow: 0 0 5px rgba(211, 31, 40, 0.5);
}

/* --- MODAL (POPUP) ANIMÁCIÓ --- */
.modal-overlay {
    display: none; position: fixed; z-index: 2000;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.9); backdrop-filter: blur(5px);
    justify-content: center; align-items: center;
}
.modal-overlay.active { display: flex; }

/* KULCSKOCKA ANIMÁCIÓ (UNFOLD) */
@keyframes unfold {
    0% { transform: scaleX(0) scaleY(0.005); opacity: 0; }
    50% { transform: scaleX(1) scaleY(0.005); opacity: 1; }
    100% { transform: scaleX(1) scaleY(1); opacity: 1; }
}

/* --- ÚJ TECH MODAL DESIGN --- */
.modal-content.tech-modal {
    background: rgba(15, 15, 15, 0.98);
    border: 2px solid var(--primary-red);
    box-shadow: 0 0 40px rgba(211, 31, 40, 0.5), inset 0 0 20px rgba(211, 31, 40, 0.2);
    border-radius: 5px; padding: 0; overflow: hidden;
    width: 90%; max-width: 800px; max-height: 80vh; position: relative;
    opacity: 0; transform: scaleX(0) scaleY(0.005); /* Kezdő állapot */
}

/* Animáció aktiválása */
.modal-overlay.active .modal-content {
    animation: unfold 0.6s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
}

.modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 30px; border-bottom: 1px solid rgba(211, 31, 40, 0.3);
    background: rgba(211, 31, 40, 0.1);
}
.modal-header h2 { margin: 0; font-size: 1.8rem; color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.3); }
.highlight-red { color: var(--primary-red); text-shadow: 0 0 10px var(--primary-red); }

.close-modal {
    color: var(--primary-red); font-size: 32px; line-height: 1;
    text-shadow: 0 0 10px var(--primary-red); transition: 0.3s; cursor: pointer;
}
.close-modal:hover { color: #fff; text-shadow: 0 0 15px #fff, 0 0 30px var(--primary-red); transform: rotate(90deg); }

.modal-body { padding: 30px; max-height: 70vh; overflow-y: auto; }

.tech-title {
    color: var(--primary-red); font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem; margin-top: 25px; margin-bottom: 15px;
    padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,0.1);
    text-transform: uppercase; letter-spacing: 1px;
}
.tech-title:first-child { margin-top: 0; }

.tech-list { list-style: none; padding: 0; }
.tech-list li { margin-bottom: 15px; color: #ccc; font-size: 1rem; line-height: 1.5; }
.tech-list li strong { color: #fff; font-weight: bold; margin-right: 5px; }

.footer-note {
    margin-top: 30px; font-style: italic; color: #777;
    font-size: 0.9rem; text-align: center; border-top: 1px solid #333; padding-top: 10px;
}

/* Scrollbar design */
.modal-body::-webkit-scrollbar { width: 8px; }
.modal-body::-webkit-scrollbar-track { background: rgba(0,0,0,0.3); }
.modal-body::-webkit-scrollbar-thumb { background: var(--primary-red); border-radius: 4px; }

/* --- TGF OLDAL STÍLUS --- */

.tgf-container {
    max-width: 800px;
    width: 100%; /* Ez biztosítja, hogy kitöltse a teret */
    margin: 0 auto;
    text-align: left; /* A dobozon belül balra rendezzük a szöveget */
}

.form-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

/* Input mezők stílusa */
input[type="text"], input[type="number"], textarea {
    width: 100%;
    padding: 15px;
    background: #222;
    border: 1px solid #444;
    color: white;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    border-radius: 5px;
    outline: none;
    transition: 0.3s;
}

input:focus, textarea:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 10px rgba(211, 31, 40, 0.2);
}

textarea {
    resize: vertical;
}

@media (max-width: 768px) {
    .form-group { flex-direction: column; }
}

/* Kérdés kártyák */
.question-card {
    background: rgba(0,0,0,0.3);
    border-left: 3px solid #555;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 0 5px 5px 0;
}

.question-card h4 {
    margin-bottom: 15px;
    color: #fff;
    font-size: 1.1rem;
}

/* Válaszlehetőségek gombként */
.options-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-btn {
    display: block;
    cursor: pointer;
    background: #222;
    padding: 10px 15px;
    border-radius: 4px;
    border: 1px solid #333;
    transition: 0.2s;
    position: relative;
}

.option-btn:hover {
    background: #333;
    border-color: #666;
}

/* Ha be van jelölve, legyen piros */
.option-btn input[type="radio"]:checked + span {
    color: var(--primary-red);
    font-weight: bold;
}

/* Elrejtjük a ronda pöttyöt */
.option-btn input {
    margin-right: 10px;
    accent-color: var(--primary-red);
}