/* Videó háttér */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -10;
}

/* Glassmorphism */
.glass {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

/* Alap */
html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #e0e0e0;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    margin-bottom: 20px;
    position: relative;
    z-index: 5;
}

.logo-main {
    font-size: 26px;
    font-weight: bold;
    color: #4da6ff;
}

.logo-sub {
    font-size: 12px;
    color: #ccc;
}

/* Menü ikonokkal */
.main-nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #e0e0e0;
    font-weight: bold;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.main-nav a i {
    color: #4da6ff;
    font-size: 16px;
    transition: 0.2s;
}

.main-nav a:hover {
    color: #4da6ff;
}

.main-nav a:hover i {
    color: #80c1ff;
}

/* Login ikon */
.login-icon {
    width: 36px;
    height: 36px;
    border: 2px solid #4da6ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-user {
    width: 16px;
    height: 16px;
    border: 2px solid #4da6ff;
    border-radius: 50%;
    position: relative;
}

.icon-user::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 8px;
    border: 2px solid #4da6ff;
    border-top: none;
    border-radius: 10px;
    top: 16px;
    left: -4px;
}

/* Tartalom */
main {
    flex: 1;
}

.content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 20px 60px 20px;
    position: relative;
    z-index: 5;
}

/* Hero */
.hero {
    padding: 40px;
    text-align: center;
}

.hero h1 {
    color: #4da6ff;
    font-size: 32px;
}

/* Gombok */
.btn-primary {
    background: #4da6ff;
    color: #000;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}

.btn-primary:hover {
    background: #80c1ff;
}

.btn-link {
    color: #4da6ff;
    text-decoration: none;
}

.btn-link:hover {
    text-decoration: underline;
}

/* GRID — csak ott használjuk, ahol kell */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

/* Kártyák — széles tartalom */
.card, .about, .rules, .contact-form {
    width: 100%;
    padding: 25px;
    border-radius: 12px;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(10px);
    margin-bottom: 25px;
}

/* Page header */
.page-header {
    padding: 20px;
    margin: 0 0 20px 0;
}

/* ----------------------------- */
/* ? MODERN HÍRKÁRTYÁK (ÚJ)     */
/* ----------------------------- */

.news-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 25px;
    color: #4da6ff;
    letter-spacing: -1px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 25px;
}

.news-card {
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    box-shadow: 0 0 25px rgba(0,0,0,0.4);
    transition: 0.25s;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 35px rgba(0,0,0,0.6);
}

.news-card-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #fff;
}

.news-text {
    color: #d0d0d0;
    line-height: 1.6;
}

.news-author {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: white;
}

.author-icon.red { background: linear-gradient(135deg, #ef4444, #8b5cf6); }
.author-icon.green { background: linear-gradient(135deg, #4ade80, #059669); }
.author-icon.blue { background: linear-gradient(135deg, #3b82f6, #6366f1); }

.author-name { font-size: 14px; font-weight: bold; }
.red-text { color: #f87171; }
.green-text { color: #4ade80; }
.blue-text { color: #60a5fa; }

.author-date {
    font-size: 12px;
    color: #9ca3af;
}

.news-btn {
    margin-top: 18px;
    display: inline-block;
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.2s;
}

.news-btn.sky {
    background: #38bdf8;
    color: #000;
}

.news-btn.sky:hover {
    background: #0ea5e9;
}

.news-btn.green {
    background: #4ade80;
    color: #000;
}

.news-btn.green:hover {
    background: #22c55e;
}

.news-donate-box {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0,0,0,0.4);
    border-radius: 12px;
}

/* ----------------------------- */
/* Szerverlista – kártyás        */
/* ----------------------------- */

.server-box {
    width: 100%;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(10px);
    font-size: 17px;
    line-height: 1.7;
}

.server-row {
    margin-bottom: 6px;
}

.server-box:hover {
    background: rgba(0,0,0,0.60);
    transform: translateY(-3px);
    transition: 0.25s;
}

/* Szerverlista – táblázat */
.server-list table tr:hover {
    background: rgba(255,255,255,0.05);
    transition: 0.2s;
}

/* Footer */
.main-footer {
    text-align: center;
    padding: 15px;
    margin-top: 40px;
    position: relative;
    z-index: 5;
}
/* Kapcsolat – modern grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

/* Kapcsolat kártyák */
.contact-card {
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    box-shadow: 0 0 25px rgba(0,0,0,0.4);
    transition: 0.25s;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 35px rgba(0,0,0,0.6);
}

/* Ikonok */
.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px auto;
    font-size: 32px;
    color: white;
}

.contact-icon.email {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
}

.contact-icon.facebook {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.contact-icon.ts {
    background: linear-gradient(135deg, #4ade80, #059669);
}

/* Szövegek */
.contact-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}

.contact-text {
    color: #d0d0d0;
    margin-bottom: 12px;
}

.contact-link {
    display: inline-block;
    margin-top: 5px;
    color: #4da6ff;
    font-weight: bold;
    text-decoration: none;
    transition: 0.2s;
}

.contact-link:hover {
    color: #80c1ff;
    text-decoration: underline;
}
/* KAPCSOLAT – egy nagy kártya */
.contact-wrapper {
    padding: 35px;
    border-radius: 16px;
    margin-bottom: 40px;
    text-align: center;
}

.contact-main-title {
    font-size: 28px;
    font-weight: bold;
    color: #4da6ff;
    margin-bottom: 10px;
}

.contact-main-sub {
    color: #d0d0d0;
    margin-bottom: 25px;
    font-size: 16px;
}

/* Ikonok konténere */
.contact-icons {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

/* Ikon dobozok */
.contact-icon-box {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 38px;
    color: white;
    text-decoration: none;
    transition: 0.25s;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

/* Ikon háttérszínek */
.contact-icon-box.email {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
}

.contact-icon-box.facebook {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.contact-icon-box.ts {
    background: linear-gradient(135deg, #4ade80, #059669);
}

/* Hover animáció */
.contact-icon-box:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 0 30px rgba(0,0,0,0.6);
}
/* Szabályzat fő kártya */
.rules-wrapper {
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 40px;
    text-align: center;
}

.rules-title {
    font-size: 28px;
    font-weight: bold;
    color: #4da6ff;
    margin-bottom: 10px;
}

.rules-sub {
    color: #d0d0d0;
    margin-bottom: 25px;
}

/* GRID – 4 oszlop PC-n */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Tablet */
@media (max-width: 900px) {
    .rules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobil */
@media (max-width: 600px) {
    .rules-grid {
        grid-template-columns: 1fr;
    }
}

/* Kártyák */
.rules-card {
    padding: 25px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    transition: 0.25s;
    text-align: center;
}

.rules-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

/* Ikonok */
.rules-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    color: white;
    margin: 0 auto 15px auto;
}

.rules-icon.blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.rules-icon.purple { background: linear-gradient(135deg, #a855f7, #7e22ce); }
.rules-icon.green { background: linear-gradient(135deg, #4ade80, #059669); }
.rules-icon.red { background: linear-gradient(135deg, #ef4444, #b91c1c); }

/* Modal háttér */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

/* Modal tartalom */
.modal-content {
    padding: 30px;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    animation: popup 0.25s ease;
}

@keyframes popup {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Bezáró gomb */
.modal-close {
    float: right;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
    margin-top: -10px;
}
/* Rólunk – nagy modern kártya */
.about-card {
    padding: 35px;
    border-radius: 16px;
    margin-bottom: 40px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 25px rgba(0,0,0,0.4);
    animation: fadeIn 0.4s ease;
}

.about-icon {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    background: linear-gradient(135deg, #4da6ff, #1d4ed8);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 42px;
    color: white;
    margin: 0 auto 20px auto;
}

.about-title {
    font-size: 28px;
    font-weight: bold;
    color: #4da6ff;
    text-align: center;
    margin-bottom: 20px;
}

.about-text {
    font-size: 17px;
    line-height: 1.7;
    color: #d0d0d0;
    margin-bottom: 15px;
    text-align: center;
}

/* Animáció */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Modern Footer */
.modern-footer {
    padding: 25px;
    margin-top: 40px;
    border-radius: 16px;
    text-align: center;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 25px rgba(0,0,0,0.4);
}

/* Footer ikonok */
.footer-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 15px;
}

.footer-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    color: white;
    text-decoration: none;
    transition: 0.25s;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

.footer-icon.email {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
}

.footer-icon.facebook {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.footer-icon.ts {
    background: linear-gradient(135deg, #4ade80, #059669);
}

.footer-icon:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 25px rgba(0,0,0,0.6);
}

/* Footer szöveg */
.footer-text {
    color: #d0d0d0;
    font-size: 15px;
    margin-top: 10px;
}
/* Felső üdvözlő sáv */
.welcome-bar {
    width: 100%;
    height: 60px;
    padding: 15px 25px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: #e0e0e0;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
}

/* OLDALSÓ MENÜ — PONT MINT A KÉPEN */
.side-menu {
    width: 240px; /* ugyanakkora mint a képen */
    position: fixed;
    top: 60px; /* üdvözlő sáv alatt */
    left: 0;
    bottom: 0;
    padding: 25px 20px;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255,255,255,0.1);
    overflow-y: auto;
}

/* Menü linkek */
.side-menu a {
    display: block;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #e0e0e0;
    font-weight: bold;
    transition: 0.2s;
}

.side-menu a:hover {
    background: rgba(255,255,255,0.08);
    color: #4da6ff;
}

/* TARTALOM JOBBRA TOLVA */
.content-area {
    margin-left: 260px; /* menü szélesség + 20px */
    margin-top: 100px; /* üdvözlő sáv alatt */
    padding: 20px;
.content-wrapper {
    width: 100%;
    margin: 0;              /* EZ SZEDI KI KÖZÉPRŐL */
    padding: 30px 40px;     /* opcionális belső tér */
}

.profile-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 25px;
    max-width: 100%;        /* ne legyen limitálva */
}
/* EXTRA TÁGAS MODERN TÁBLÁZAT */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 18px;
    table-layout: fixed; /* FIX TÁBLÁZAT */
}

th {
    background: rgba(255,255,255,0.10);
    padding: 18px;
    color: #4da6ff;
    font-size: 18px;
    border-radius: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

td {
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(12px);
    padding: 20px;
    border-radius: 12px;
    color: #e0e0e0;
    font-size: 17px;
    overflow: hidden;          /* FONTOS */
    text-overflow: ellipsis;   /* FONTOS */
    white-space: nowrap;       /* FONTOS */
}

tr:hover td {
    background: rgba(255,255,255,0.10);
}
