/* === ALAP BEÁLLÍTÁSOK === */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Inter:wght@400;600;800&display=swap');

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

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: #0a0a1a;
    min-height: 100vh;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* === FEJLÉC / NAVIGÁCIÓ === */
header {
    background: rgba(10, 10, 26, 0.95);
    border-bottom: 2px solid #00ff88;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Press Start 2P', monospace;
    font-size: 1.2rem;
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

nav ul li a {
    text-decoration: none;
    color: #888;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1.2rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul li a:hover {
    color: #00ff88;
    border-color: #00ff88;
}

nav ul li a.active {
    color: #0a0a1a;
    background: #00ff88;
    border-color: #00ff88;
}

/* === FŐOLDAL === */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero szekció */
.hero {
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
}

.hero::before {
    content: '</>';
    font-family: 'Press Start 2P', monospace;
    font-size: 8rem;
    color: rgba(0, 255, 136, 0.05);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero h1 {
    font-family: 'Press Start 2P', monospace;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #00ff88;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
    line-height: 1.4;
}

.hero p {
    font-size: 1.2rem;
    color: #aaa;
    max-width: 600px;
    margin: 0 auto;
}

/* Rólam szekció */
.about {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 136, 0.2);
    padding: 3rem;
    margin: 2rem 0;
    position: relative;
}

.about::before {
    content: '/* */';
    font-family: 'Press Start 2P', monospace;
    font-size: 0.8rem;
    color: rgba(0, 255, 136, 0.3);
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.about h2 {
    text-align: center;
    font-family: 'Press Start 2P', monospace;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #00ff88;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #bbb;
    text-align: center;
}

/* Információs kártyák */
.info {
    margin: 3rem 0;
}

.info h2 {
    text-align: center;
    font-family: 'Press Start 2P', monospace;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #00ff88;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 136, 0.2);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #00ff88;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    border-color: #00ff88;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

.card h3 {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #00ff88;
}

.card p {
    color: #999;
    font-size: 1rem;
}

/* === JELENTKEZÉS / CHECK-IN OLDAL === */
.registration {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 136, 0.2);
    padding: 3rem;
    margin: 2rem 0;
}

.registration h1 {
    text-align: center;
    font-family: 'Press Start 2P', monospace;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #00ff88;
}

.registration > p {
    text-align: center;
    color: #888;
    margin-bottom: 2rem;
}

/* Következő alkalom */
.next-session {
    text-align: center;
    padding: 1rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 255, 136, 0.2);
    background: rgba(0, 255, 136, 0.03);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.session-label {
    color: #888;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.session-date {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.8rem;
    color: #00ff88;
}

/* Statisztikák */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
    border: 1px solid rgba(0, 255, 136, 0.2);
    background: rgba(0, 255, 136, 0.03);
    transition: all 0.3s ease;
}

.stat-box:hover {
    border-color: #00ff88;
    background: rgba(0, 255, 136, 0.06);
}

.stat-number {
    display: block;
    font-family: 'Press Start 2P', monospace;
    font-size: 2rem;
    color: #00ff88;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #888;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Űrlap */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #00ff88;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 255, 136, 0.2);
    color: #e0e0e0;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ff88;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.1);
    background: rgba(0, 255, 136, 0.05);
}

.form-group select option {
    background: #0a0a1a;
    color: #e0e0e0;
}

/* Rádiógombok */
.radio-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.6rem 1.2rem;
    border: 2px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.radio-label:hover {
    border-color: #00ff88;
    background: rgba(0, 255, 136, 0.05);
}

.radio-label input[type="radio"] {
    width: auto;
    accent-color: #00ff88;
}

.radio-label input[type="radio"]:checked + span {
    color: #00ff88;
    font-weight: 600;
}

/* Gomb */
.btn-submit {
    width: 100%;
    padding: 1rem;
    background: transparent;
    color: #00ff88;
    border: 2px solid #00ff88;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.8rem;
}

.btn-submit:hover {
    background: #00ff88;
    color: #0a0a1a;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.btn-submit:active {
    transform: scale(0.98);
}

/* Sikeres üzenet */
.success-message {
    text-align: center;
    padding: 2rem;
    border: 2px solid #00ff88;
    margin-top: 2rem;
    background: rgba(0, 255, 136, 0.05);
}

.success-message h2 {
    font-family: 'Press Start 2P', monospace;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #00ff88;
}

.success-message p {
    color: #aaa;
}

/* Jelentkezettek listája */
.registrations-list {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 136, 0.2);
    padding: 2rem;
    margin: 2rem 0;
}

.registrations-list h2 {
    text-align: center;
    font-family: 'Press Start 2P', monospace;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #00ff88;
}

.no-registrations {
    text-align: center;
    color: #666;
    font-style: italic;
}

.registration-item {
    background: rgba(0, 255, 136, 0.03);
    padding: 1.2rem;
    margin-bottom: 1rem;
    border-left: 3px solid #00ff88;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    transition: all 0.3s ease;
}

.registration-item:hover {
    background: rgba(0, 255, 136, 0.06);
}

.registration-item .student-info h4 {
    color: #00ff88;
    margin-bottom: 0.3rem;
}

.registration-item .student-info p {
    color: #888;
    font-size: 0.9rem;
}

.registration-item .status {
    padding: 0.4rem 1rem;
    border: 1px solid;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-yes {
    border-color: #00ff88;
    color: #00ff88;
}

.status-no {
    border-color: #ff4444;
    color: #ff4444;
}

.status-maybe {
    border-color: #ffaa00;
    color: #ffaa00;
}

/* === ADMIN ÉS TAG OLDALAK === */
.admin-section,
.member-section {
    max-width: 800px;
    margin: 0 auto;
}

.admin-header,
.member-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-header h1,
.member-header h1 {
    font-family: 'Press Start 2P', monospace;
    font-size: 1.3rem;
    color: #00ff88;
}

/* Bejelentkezés */
.login-box {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    border: 1px solid rgba(0, 255, 136, 0.2);
    background: rgba(0, 255, 136, 0.03);
}

.error-message {
    text-align: center;
    margin-top: 1rem;
    color: #ff4444;
    font-weight: 600;
}

/* Kis gomb */
.btn-small {
    padding: 0.5rem 1rem;
    background: transparent;
    color: #ff4444;
    border: 2px solid #ff4444;
    cursor: pointer;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.6rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-small:hover {
    background: #ff4444;
    color: #0a0a1a;
}

/* Admin kártyák */
.admin-card,
.member-card,
.next-session-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 136, 0.2);
    padding: 2rem;
    margin-bottom: 2rem;
}

.admin-card h2,
.member-card h2,
.next-session-card h2 {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: #00ff88;
}

/* Form sorok */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

/* Óra elemek a listában */
.session-item {
    background: rgba(0, 255, 136, 0.03);
    padding: 1.2rem;
    margin-bottom: 1rem;
    border-left: 3px solid #00ff88;
    transition: all 0.3s ease;
}

.session-item:hover {
    background: rgba(0, 255, 136, 0.06);
}

.session-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.session-item h3 {
    color: #00ff88;
    font-size: 1.1rem;
}

.session-date-badge {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.65rem;
    color: #888;
    padding: 0.3rem 0.6rem;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.session-desc {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.session-materials {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.material-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    border: 1px solid rgba(0, 255, 136, 0.2);
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
}

.material-tag:hover {
    border-color: #00ff88;
    color: #00ff88;
}

.session-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.btn-delete {
    padding: 0.3rem 0.6rem;
    background: transparent;
    color: #ff4444;
    border: 1px solid #ff4444;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.btn-delete:hover {
    background: #ff4444;
    color: #0a0a1a;
}

/* Következő óra kártya */
.next-session-card {
    border-color: #00ff88;
    background: rgba(0, 255, 136, 0.05);
}

.next-session-details {
    text-align: center;
    padding: 1rem;
}

.next-session-details .session-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.8rem;
    color: #00ff88;
    margin-bottom: 0.5rem;
}

.next-session-details .session-time {
    color: #aaa;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.next-session-details .session-desc {
    color: #888;
    font-size: 0.9rem;
}

/* Check-in szekció a tag oldalon */
#checkinSection {
    border-color: #00ff88;
}

/* Anyagok a tag oldalon */
.material-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(0, 255, 136, 0.1);
    transition: all 0.3s ease;
}

.material-item:hover {
    border-color: rgba(0, 255, 136, 0.3);
}

.material-item .material-icon {
    font-size: 1.5rem;
}

.material-item .material-info {
    flex: 1;
}

.material-item .material-info h4 {
    color: #e0e0e0;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.material-item .material-info p {
    color: #888;
    font-size: 0.8rem;
}

.material-item .material-link {
    color: #00ff88;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
    border: 1px solid #00ff88;
    transition: all 0.3s ease;
}

.material-item .material-link:hover {
    background: #00ff88;
    color: #0a0a1a;
}

/* === ÓRAREND SZEKCIÓ A FŐOLDALON === */
.schedule-section {
    margin: 3rem 0;
}

.schedule-section h2 {
    text-align: center;
    font-family: 'Press Start 2P', monospace;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #00ff88;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.schedule-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 136, 0.2);
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.schedule-card::before {
    content: '/* */';
    font-family: 'Press Start 2P', monospace;
    font-size: 0.6rem;
    color: rgba(0, 255, 136, 0.2);
    position: absolute;
    top: 0.6rem;
    right: 0.8rem;
}

.schedule-card:hover {
    border-color: #00ff88;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.1);
}

.schedule-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.schedule-date {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.6rem;
    color: #888;
}

.schedule-time {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.55rem;
    color: #00ff88;
    padding: 0.25rem 0.5rem;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.schedule-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.7rem;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.schedule-desc {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    flex: 1;
}

.btn-schedule-apply {
    display: inline-block;
    text-align: center;
    padding: 0.7rem 1rem;
    background: transparent;
    color: #00ff88;
    border: 2px solid #00ff88;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.6rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-schedule-apply:hover {
    background: #00ff88;
    color: #0a0a1a;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

/* === LÁBLÉC === */
footer {
    text-align: center;
    padding: 2rem;
    color: #555;
    margin-top: 3rem;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
}

/* === RESZPONZÍV === */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 1.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero::before {
        font-size: 4rem;
    }

    .registration,
    .about {
        padding: 1.5rem;
    }

    .radio-group {
        flex-direction: column;
    }

    .registration-item {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        font-size: 0.9rem;
    }
}
