:root {
    --bg-dark: #0a0a0a;
    --neon-blue: #00d4ff;
    --fifa-green: #28a745;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--white);
    overflow-x: hidden;
}

/* --- NAVBAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1px 5%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    gap: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
}

.logo-text span {
    color: var(--neon-blue);
}

.nav-link-main {
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 4px;
    transition: 0.3s;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: 15px;
}

.nav-link-main:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

/* --- HAMBURGER MENÜ --- */
.hamburger {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--neon-blue);
    border-radius: 2px;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* --- NAV MENÜ --- */
.nav-menu {
    display: none;
    position: fixed;
    top: 65px;
    right: 20px;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    min-width: 250px;
    z-index: 1001;
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3), 0 8px 16px rgba(0, 0, 0, 0.8);
}

.nav-menu-link {
    text-decoration: none;
    color: white;
    padding: 10px 12px;
    font-weight: 700;
    border-radius: 4px;
    transition: 0.3s;
    text-align: left;
}

.nav-menu-link:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--neon-blue);
}

/* --- ADMIN SZEKCIÓ A MENÜBEN --- */
.admin-section {
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    padding-top: 10px;
    margin-top: 10px;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-input {
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid rgba(0, 212, 255, 0.5);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 0.9rem;
}

.admin-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.admin-btn {
    padding: 8px 12px;
    background: var(--neon-blue);
    color: black;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.admin-btn:hover {
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.admin-active {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-status {
    color: var(--neon-blue);
    font-weight: 700;
    padding: 8px 12px;
}

.admin-logout {
    padding: 8px 12px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.admin-logout:hover {
    background: #ff6666;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .navbar {
        padding: 1px 3%;
    }

    .logo-container {
        gap: 8px;
    }

    .nav-logo {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 0.75rem;
        line-height: 1.1;
        display: flex;
        flex-direction: column;
    }

    .nav-link-main {
        display: inline-block;
        margin-left: auto;
        margin-right: 8px;
        padding: 6px 10px;
        font-size: 0.85rem;
    }

    .hamburger {
        display: flex;
        order: 3;
    }

    .nav-menu {
        right: 10px;
        top: 65px;
        min-width: 220px;
    }
}

/* --- HERO SZAKASZ --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    /* Ide tedd a stadionos háttérképedet */
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.8), rgba(40, 167, 69, 0.2)), url('hatter.png');
    background-size: cover;
    background-position: center;
    padding: 0 8%;
    margin-top: 75px;
}

.container {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 20px;
    font-weight: 900;
}

.highlight {
    color: var(--neon-blue);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.8;
}

/* GOMBOK */
.hero-btns {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 900;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-primary {
    background-color: var(--neon-blue);
    color: black;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    border: 2px solid var(--fifa-green);
    color: white;
}

.btn:hover {
    transform: translateY(-5px);
    filter: brightness(1.2);
}

/* --- LOGÓ ÉS PULZÁLÁS --- */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-logo {
    width: 550px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.3));
}

.glow-effect {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.5; }
}

/* Mobil nézet */
@media (max-width: 768px) {
    .navbar {
        padding: 8px 4%;
        flex-wrap: wrap;
    }
    
    .nav-logo {
        width: 50px;
        height: 50px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .nav-links {
        display: flex;
        flex-direction: row;
        gap: 15px;
    }
    
    .nav-links li {
        margin: 0;
    }
    
    .nav-links a {
        font-size: 0.75rem;
    }
    
    .container { 
        flex-direction: column; 
        text-align: center;
        padding: 0 4%;
    }
    
    .hero-content h1 { 
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .main-logo { 
        width: 250px; 
        margin-top: 40px;
    }
    
    .hero-btns { 
        justify-content: center;
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .glow-effect {
        width: 300px;
        height: 300px;
    }
}

/* --- JÁTÉKOSOK OLDAL --- */
.players-section {
    min-height: 100vh;
    padding: 130px 8% 60px 8%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.95), rgba(40, 167, 69, 0.1));
}

.players-container {
    max-width: 1200px;
    margin: 0 auto;
}

.players-section h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 50px;
}

.players-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 40px;
}

.player-card {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 15px 20px;
}

.player-card:hover {
    transform: translateX(5px);
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.player-image {
    display: none;
}

.player-info {
    padding: 0;
    flex: 1;
}

.player-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.player-role {
    color: var(--neon-blue);
    font-weight: 700;
    margin-bottom: 3px;
    font-size: 0.9rem;
}

.player-rating {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5px;
    font-size: 0.85rem;
}

.btn-small {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--neon-blue);
    color: black;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-small:hover {
    filter: brightness(1.2);
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 1), rgba(10, 10, 10, 1));
    padding-top: 80px;
    overflow: auto;
}

.modal.show {
    display: block;
}

.modal-content {
    background: rgba(10, 10, 10, 1);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    margin: 50px auto;
    padding: 30px;
    max-width: 800px;
    width: 90%;
}

.close-modal {
    color: var(--neon-blue);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    text-shadow: 0 0 10px var(--neon-blue);
}

.btn-back-modal {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 15px;
    background-color: var(--neon-blue);
    color: black;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-back-modal:hover {
    filter: brightness(1.2);
}

.player-detail-image {
    display: none;
}

.player-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.detail-role {
    color: var(--neon-blue);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.detail-club {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.detail-bio {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1rem;
}

.player-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(0, 212, 255, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.15);
}

.info-item {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.info-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-value {
    font-size: 1.3rem;
    color: var(--neon-blue);
    font-weight: 700;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.stat {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px;
    border-radius: 8px;
}

.stat-label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 0.85rem;
}

.stat-bar {
    background: rgba(0, 212, 255, 0.1);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 4px;
}

.stat-fill {
    background: linear-gradient(to right, var(--neon-blue), var(--fifa-green));
    height: 100%;
    transition: width 0.3s;
}

.stat-value {
    display: block;
    text-align: right;
    font-weight: 700;
    color: var(--neon-blue);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .players-section {
        padding: 130px 4% 40px 4%;
    }

    .players-grid {
        grid-template-columns: 1fr;
    }
}

/* --- JÁTÉKOSOK OLDAL --- */
.players-section {
    min-height: 100vh;
    padding: 60px 8%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.95), rgba(40, 167, 69, 0.1));
}

.players-container {
    max-width: 1200px;
    margin: 0 auto;
}

.players-section h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 50px;
}

.players-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 40px;
}

.player-card {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 15px 20px;
}

.player-card:hover {
    transform: translateX(5px);
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.player-image {
    display: none;
}

.player-info {
    padding: 0;
    flex: 1;
}

.player-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.player-role {
    color: var(--neon-blue);
    font-weight: 700;
    margin-bottom: 3px;
    font-size: 0.9rem;
}

.player-rating {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5px;
    font-size: 0.85rem;
}

.btn-small {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--neon-blue);
    color: black;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: 0.3s;
}

.btn-small:hover {
    filter: brightness(1.2);
}

/* --- JÁTÉKOS DETAIL OLDAL --- */
.player-detail-section {
    min-height: 100vh;
    padding: 60px 8%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.95), rgba(40, 167, 69, 0.1));
}

.player-detail-container {
    max-width: 800px;
    margin: 0 auto;
}

.btn-back {
    display: inline-block;
    margin-bottom: 30px;
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

/* ===== Archív szekció ===== */
.archives-section {
    padding: 60px 0 70px;
    background: #0d0d0d;
}
.archive-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 20px;
}
.archive-card {
    background: #111;
    border: 1px solid #1f1f1f;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.archive-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}
.archive-card h3 {
    margin: 0;
    font-size: 18px;
    color: #fff;
}
.archive-date {
    font-size: 13px;
    color: #9aa3af;
}
.archive-champ {
    color: #00d4ff;
    font-weight: 700;
    margin: 4px 0;
}
.archive-final {
    color: #cfd2d6;
    margin: 0;
    font-size: 14px;
}
.muted {
    color: #9aa3af;
    font-size: 14px;
}

.btn-back:hover {
    text-shadow: 0 0 10px var(--neon-blue);
}

.player-detail-card {
    background: rgba(0, 212, 255, 0.05);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    padding: 30px;
}

.player-detail-image {
    display: none;
}

.player-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-detail-info h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.detail-role {
    color: var(--neon-blue);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.detail-club {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.detail-bio {
    margin-bottom: 30px;
    line-height: 1.6;
    font-size: 1.05rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
}

.stat-label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.stat-bar {
    background: rgba(0, 212, 255, 0.1);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.stat-fill {
    background: linear-gradient(to right, var(--neon-blue), var(--fifa-green));
    height: 100%;
    transition: width 0.3s;
}

.stat-value {
    display: block;
    text-align: right;
    font-weight: 700;
    color: var(--neon-blue);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .players-grid {
        grid-template-columns: 1fr;
    }
    
    .player-detail-card {
        padding: 20px;
    }
    
    .player-detail-image {
        height: 300px;
    }
    
    .player-detail-info h1 {
        font-size: 1.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }}
