@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap');
:root {
    --bg-dark: #121212;
    --surface-dark: #1E1E1E;
    --bg-light: #FFFFFF;
    --text-light: #EAEAEA;
    --text-dark: #1F1F1F;
    --text-muted: #6B7280;
    --accent-magenta: #E000B2;
    --success-green: #10B981;
    --error-red: #EF4444;
}
body { background-color: var(--bg-light); color: var(--text-dark); font-family: 'Inter', sans-serif; }

/* === ÁLTALÁNOS BEÁLLÍTÁSOK === */
.container-wide { max-width: 1600px; margin: 0 auto; padding: 0 2rem; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.logo { font-weight: 900; font-size: 1.5rem; text-decoration:none; }
.nav-link { font-weight: 700; text-decoration:none; transition: color 0.2s; }

/* VÍZSZINTES VONAL JAVÍTÁS */
.poster-card img {
    vertical-align: middle; /* Ez a legfontosabb javítás a vonal ellen */
    border: none !important;
    outline: none !important;
}

/* === SÖTÉT FEJLÉC SZEKCIÓ === */
.hero-section { background-color: var(--bg-dark); color: var(--text-light); padding-bottom: 3rem; }
.hero-section .logo { color: white; }
.hero-section .nav-link { color: var(--text-muted); }
.hero-section .nav-link:hover { color: white; }
.hero-section .category-title { color: white; }

/* === HEADER & NAVIGÁCIÓ === */
.main-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; }
.main-nav { display: flex; align-items: center; gap: 0.5rem; }
.main-nav > a, .dropdown > a { font-weight: 700; text-decoration:none; padding: 0.5rem 1rem; border-radius: 6px; transition: all 0.2s; }
.dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background-color: var(--surface-dark); border-radius: 8px; padding: 0.5rem; z-index: 10; min-width: 200px; margin-top: 0.5rem; }
.dropdown-menu a { display: block; padding: 0.75rem 1rem; border-radius: 4px; color: var(--text-light); }
.dropdown-menu a:hover { background-color: var(--accent-magenta); }
.dropdown:hover .dropdown-menu { display: block; }
.search-form { position: relative; }
.search-input { background-color: var(--surface-dark); border: 1px solid #444; border-radius: 99px; padding: 0.5rem 1rem 0.5rem 2.5rem; color: var(--text-light); transition: all 0.2s; }
.search-input:focus { outline: none; border-color: var(--accent-magenta); }
.search-form svg { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); }

/* === KÁRTYA & CAROUSEL STÍLUSOK === */
.category-title { font-size: 1.75rem; font-weight: 900; margin-bottom: 1.5rem; }
.category-title span { color: var(--accent-magenta); }
.swiper-container { width: 100%; padding-bottom: 2rem; }
.poster-card { display: block; text-decoration: none; color: inherit; }
.poster-card .card-poster { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; transition: transform 0.3s; }
.poster-card:hover .card-poster { transform: scale(1.05); }
.poster-card .card-title { margin-top: 0.75rem; font-weight: 700; font-size: 1rem; color: var(--text-dark); }
.hero-section .poster-card .card-title { color: var(--text-light); }
.full-width-banner { display: block; position: relative; width: 100%; height: 350px; border-radius: 12px; overflow: hidden; color: white; text-decoration: none; }
.full-width-banner .banner-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform 0.5s ease; }
.full-width-banner:hover .banner-image { transform: scale(1.05); }
.full-width-banner .banner-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(45deg, rgba(0,0,0,0.7), rgba(0,0,0,0.2)); z-index: 2; }
.full-width-banner .banner-content { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 2rem; }
.full-width-banner .banner-title { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.btn { display: inline-block; padding: 0.75rem 2rem; text-decoration: none; background-color: var(--accent-magenta); color: white; font-weight: 700; border-radius: 99px; transition: all 0.2s ease; margin-top: 1.5rem; border: 2px solid transparent; }
.btn:hover { background-color: transparent; border-color: white; }
.light-bg .btn:hover { border-color: var(--accent-magenta); color: var(--accent-magenta); }

/* === FOOTER === */
.site-footer { background-color: var(--surface-dark); color: var(--text-light); padding: 4rem 0; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2rem; }
.footer-grid h4 { font-weight: 900; margin-bottom: 1rem; color: white; }
.footer-grid a { display: block; color: var(--text-muted); text-decoration: none; padding: 0.25rem 0; transition: color 0.2s; }
.footer-grid a:hover { color: var(--accent-magenta); }

/* === ADMIN FORM STYLES === */
.admin-form-container { max-width: 1024px; margin: 2rem auto; }
.admin-form { background-color: #f9fafb; color: var(--text-dark); padding: 2rem; border-radius: 12px; }
.admin-form .form-group { margin-bottom: 1.5rem; }
.admin-form .form-label { display: block; font-weight: 700; margin-bottom: 0.5rem; color: #374151; }
.admin-form .form-input { width: 100%; padding: 0.75rem 1rem; border-radius: 6px; border: 1px solid #d1d5db; background-color: white; color: var(--text-dark); transition: border-color 0.2s; }
.admin-form .form-input:focus { outline: none; border-color: var(--accent-magenta); }
.admin-form .tag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; background-color: #f3f4f6; padding: 1.5rem; border-radius: 8px; }
.admin-form .tag-item { display: flex; align-items: center; }
.admin-form .tag-item input { margin-right: 0.75rem; }
.admin-form .form-submit-btn { display: inline-block; padding: 1rem 2.5rem; font-size: 1.1rem; text-decoration: none; background-color: var(--accent-magenta); color: white; font-weight: 700; border-radius: 99px; border: none; cursor: pointer; transition: all 0.2s ease; }
.admin-form .form-submit-btn:hover { transform: scale(1.05); }
.admin-form .form-label .required-star {
    color: var(--accent-magenta);
    font-weight: bold;
    margin-left: 4px;
}

/* === ADMIN TÁBLÁZAT ÉS GOMBOK === */
.admin-table { width: 100%; text-align: left; }
.admin-table th, .admin-table td { padding: 1rem; border-bottom: 1px solid #e5e7eb; }
.admin-table th { font-weight: 700; color: var(--text-muted); }
.status-toggle { display: inline-block; padding: 0.5rem 1rem; border-radius: 99px; text-decoration: none; font-weight: 700; font-size: 0.9rem; }
.status-toggle.active { background-color: var(--success-green); color: white; }
.status-toggle.inactive { background-color: #e5e7eb; color: #4b5563; }

/* === PROGRAM ADATLAP CÍMKÉK === */
.program-tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px; /* Térköz a címkék között */
}

.program-tag {
    display: inline-block;
    background-color: #f3f4f6; /* Halvány szürke háttér */
    color: #4b5563; /* Sötétebb szürke szöveg */
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.program-tag:hover {
    background-color: var(--accent-magenta);
    color: white;
}