/* CSS Váltózók - Cyberdeck 3.0 */
:root {
    --bg-color: #0f172a;               
    --accent-color: #3b82f6;           
    --accent-secondary: #ec4899;       
    --text-color: #f8fafc;             
    --text-muted: #94a3b8;             
    --glass-bg: rgba(255, 255, 255, 0.05); 
    --glass-border: rgba(255, 255, 255, 0.1); 
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Outfit', sans-serif; }

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    padding: 6rem 1rem 12rem 1rem; /* Fent tőzsde sáv, Lent Rádió miatt nagyobb padding */
}

/* 3D Háttér (Particles.js) */
#particles-js {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 0;
}

/* =======================================================
   1. ÉLŐ TŐZSDE / TICKER SÁV
   ======================================================= */
.ticker-wrap {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--accent-color);
    height: 35px;
    line-height: 35px;
    z-index: 1000;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.ticker-move {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 25s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 30px;
    font-size: 0.85rem;
    color: #cbd5e1;
    font-weight: 300;
    letter-spacing: 1px;
}
.ticker-item strong { color: #fff; }

@keyframes ticker {
    0% { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}

/* =======================================================
   2. AUDIO PLAYER / VIZUALIZÁCIÓ KÁRTYA (Mini-Rádió)
   ======================================================= */
.radio-player-widget {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid var(--accent-secondary);
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 900;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: 0.3s ease;
}

.radio-player-widget:hover {
    box-shadow: 0 10px 40px rgba(236, 72, 153, 0.4);
}

.radio-play-btn {
    background: linear-gradient(to right, #3b82f6, #ec4899);
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 800;
    transition: 0.3s;
}

#audioVisualizer {
    width: 250px;
    height: 30px;
    background: transparent;
    border-radius: 10px;
}

/* =======================================================
   3. SZAKMAI PORTFÓLIÓ GALÉRIA (Kártyák)
   ======================================================= */
.portfolio-section {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 3rem;
    margin-top: 2rem;
    z-index: 10;
}

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

.portfolio-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    overflow: hidden;
    transition: 0.4s;
    backdrop-filter: blur(5px);
}
.portfolio-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.portfolio-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 2px solid var(--accent-secondary);
}

.portfolio-content {
    padding: 1.5rem;
    text-align: left;
}

.tech-labels {
    font-size: 0.8rem;
    color: #3b82f6;
    margin-top: 5px;
    font-weight: 600;
}

/* =======================================================
   ALAP STÍLUSOK (Gombok, Modal, Container) - Rövidítve Döntően
   ======================================================= */
.weather-badge { position: fixed; top: 50px; right: 20px; background: var(--glass-bg); border: 1px solid rgba(255,255,255,0.1); padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.9rem; z-index: 50; }
.glass-container { position: relative; z-index: 10; max-width: 900px; width: 100%; background: var(--glass-bg); backdrop-filter: blur(25px); border: 1px solid var(--glass-border); border-radius: 20px; padding: 3rem; display: flex; flex-direction: column; gap: 3rem; }
.hero { text-align: center; }
.badge { background: rgba(59, 130, 246, 0.2); color: #60a5fa; padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem; border: 1px solid rgba(59, 130, 246, 0.4); }
.glow-text { font-size: 3rem; font-weight: 800; line-height: 1.2; margin-bottom: 1.5rem; }
.gradient-text { background: linear-gradient(to right, #ec4899, #8b5cf6, #3b82f6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.subtitle { font-size: 1.1rem; color: var(--text-muted); font-weight: 300; max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* Profilkép Vizuális Tuning */
.profile-pic {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.5);
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.profile-pic:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 0 35px rgba(236, 72, 153, 0.6);
    border-color: var(--accent-secondary);
}

.action-buttons { display: flex; justify-content: center; gap: 1.5rem; }
.btn { padding: 1rem 2rem; font-size: 1rem; font-weight: 600; border-radius: 12px; border: none; cursor: pointer; transition: all 0.3s ease; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.btn-primary { background: linear-gradient(to right, #3b82f6, #ec4899); color: #fff; box-shadow: 0 10px 20px -5px rgba(236, 72, 153, 0.4); }
.btn-primary:hover { transform: translateY(-3px); }
.btn-secondary { background: transparent; color: #fff; border: 1px solid var(--text-muted); }
.btn-secondary:hover { border-color: #fff; background: rgba(255, 255, 255, 0.05); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.glass-card { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 15px; padding: 1.5rem; text-align: center; transition: 0.3s ease; }
.icon { font-size: 2.5rem; margin-bottom: 1rem; }
.link-text { color: var(--text-muted); text-decoration: none; transition: 0.3s; }
.link-text:hover { color: #fff; }

.qr-float-btn { position: fixed; bottom: 20px; right: 20px; background: linear-gradient(135deg, #10b981, #059669); padding: 1rem 1.5rem; border-radius: 50px; color: #fff; cursor: pointer; font-weight: 800; box-shadow: 0 10px 25px rgba(16, 185, 129, 0.5); z-index: 50; transition: 0.3s; }
.qr-float-btn:hover { transform: scale(1.1) translateY(-5px); }

/* Jelszavas Vezérlő Modal */
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(10px); z-index: 999; display: none; justify-content: center; align-items: center; }
.modal-content { position: relative; max-width: 450px; width: 90%; margin: 0 auto; background: #0f172a; border: 1px solid rgba(255,255,255,0.15); }
.large-modal { max-width: 800px; padding: 3rem; }
.close-btn { position: absolute; top: 15px; right: 20px; font-size: 1.8rem; cursor: pointer; color: var(--text-muted); }
.glass-input { width: 100%; padding: 1rem 1.2rem; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-border); border-radius: 12px; color: #fff; outline: none; }
.glass-form { display: flex; flex-direction: column; max-width: 500px; margin: 0 auto; }
.mb-1 { margin-bottom: 1rem; }

.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; text-align: left; }
.admin-box { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); padding: 1.5rem; border-radius: 15px; }
.smart-home-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.smart-home-buttons .btn { flex: 1; font-size: 0.85rem; padding: 0.8rem; border-color: rgba(255,255,255,0.1); }
.project-links { display: flex; flex-direction: column; gap: 1rem; }

@media (max-width: 768px) {
    .glow-text { font-size: 2.2rem; }
    .action-buttons { flex-direction: column; }
    .glass-container { padding: 2rem; }
    .admin-grid { grid-template-columns: 1fr; }
    .radio-player-widget { width: 95%; flex-direction: column; bottom: 80px; }
}
