/* =========================================================
   melegek.hu - layout.css
   Oldalváz, header, navigáció, footer, főoldali/landing layout.
   Forrás: korábbi /assets/css/style.css
   Refaktor típusa: moduláris bontás redesign nélkül
   ========================================================= */

.container {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 72px;
}

.main-nav a {
    color: var(--muted);
}

.main-nav a:hover {
    color: var(--text);
}

.site-main {
    padding: 48px 0;
}

.hero {
    padding: 80px 0 50px;
}

.hero-content {
    max-width: 720px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 1.08;
    margin: 0 0 18px;
}

.hero p {
    font-size: 1.08rem;
    color: var(--muted);
    line-height: 1.7;
    margin: 0 0 28px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    color: var(--muted);
}

.nav-btn {
    margin-left: 10px;
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
}

.nav-btn:hover {
    background: rgba(255,255,255,0.1);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-credit {
    font-size: 0.85rem;
    color: var(--muted);
}

.footer-credit a {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px dotted rgba(255,255,255,.3);
    transition: all .2s ease;
}

.footer-credit a:hover {
    color: #c2185b;
    border-bottom-color: #c2185b;
}

.site-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.site-logo {
    font-weight: 800;
    text-decoration: none;
    color: #eaf0ff;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.site-nav a {
    color: #eaf0ff;
    text-decoration: none;
}

.nav-badge-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    text-decoration: none;
    color: #ddd;
    font-size: 14px;
}

.nav-link:hover {
    color: #fff;
}

.nav-user {
    margin-left: 10px;
    font-weight: 600;
    color: #fff;
    opacity: .8;
    margin-left: 10px;
    font-weight: bold;
}

.site-header {
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
    background: rgba(11,11,18,.75);
    position: sticky;
    top: 0;
    z-index: 10;
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 14, 24, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(115, 140, 255, 0.12);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(14px);
    background: linear-gradient(90deg, rgba(255, 0, 128, 0.10) 0%, rgba(0, 0, 0, 0.88) 18%, rgba(0, 0, 0, 0.92) 82%, rgba(128, 0, 255, 0.12) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.2px;
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.08);
}

.main-nav {
    display: flex;
    gap: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-pill,
.nav-user-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e9edf8;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06),
        0 8px 20px rgba(0,0,0,0.20);
    transition: transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease;
}

.nav-pill:hover,
.nav-user-pill:hover {
    transform: translateY(-1px);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.10),
        0 12px 28px rgba(0,0,0,0.28),
        0 0 24px rgba(173, 73, 255, 0.10);
}

.nav-pill:active {
    transform: translateY(0);
}

.nav-pill-icon {
    font-size: 13px;
    opacity: 0.95;
}

.nav-pill.is-active {
    color: #fff;
    border-color: rgba(97, 193, 255, 0.40);
    background: linear-gradient(135deg, rgba(0, 166, 255, 0.22), rgba(111, 0, 255, 0.22)),
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.10),
        0 10px 30px rgba(0, 128, 255, 0.18),
        0 0 18px rgba(148, 72, 255, 0.16);
}

.nav-pill-primary {
    color: #fff;
    border-color: rgba(72, 169, 255, 0.35);
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.85), rgba(120, 72, 255, 0.82));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.16),
        0 12px 28px rgba(0, 102, 255, 0.26),
        0 0 22px rgba(173, 73, 255, 0.14);
}

.nav-pill-primary:hover {
    color: #fff;
    border-color: rgba(121, 198, 255, 0.48);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.20),
        0 14px 34px rgba(0, 102, 255, 0.30),
        0 0 26px rgba(255, 82, 163, 0.14);
}

.nav-pill-secondary {
    background: linear-gradient(135deg, rgba(255, 0, 153, 0.18), rgba(144, 75, 255, 0.16)),
        linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
    border-color: rgba(255, 105, 180, 0.20);
}

.nav-pill-danger {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 68, 119, 0.94), rgba(255, 60, 60, 0.88));
    border-color: rgba(255, 122, 122, 0.26);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.14),
        0 10px 26px rgba(255, 64, 64, 0.18);
}

.nav-pill-danger:hover {
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18),
        0 12px 32px rgba(255, 64, 64, 0.24),
        0 0 20px rgba(255, 80, 120, 0.16);
}

.nav-user-pill {
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 0, 153, 0.16), rgba(0, 174, 255, 0.16)),
        linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
    border-color: rgba(255,255,255,0.12);
    text-shadow: 0 0 10px rgba(255,255,255,0.06);
}

.logout-form {
    margin: 0;
    display: inline;
    display: inline-flex;
    margin: 0;
}

.nav-pill::after,
.nav-user-pill::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 0, 153, 0.16), rgba(0, 174, 255, 0.12), rgba(143, 92, 255, 0.18));
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.nav-pill:hover::after,
.nav-pill.is-active::after,
.nav-user-pill:hover::after {
    opacity: 1;
}

.nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #7a5cff;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    background: red;
    color: #fff;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 11px;
    margin-left: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #ff3c88, #7b5cff);
    box-shadow: 0 0 14px rgba(255, 60, 136, 0.30),
        0 4px 12px rgba(123, 92, 255, 0.24);
    margin-left: 6px;
}

.nav-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 8px rgba(0, 140, 255, 0.4);
}

.landing-features {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.feature {
    background: rgba(20, 25, 35, 0.6);
    padding: 15px;
    border-radius: 10px;
    max-width: 250px;
}

.landing-cta {
    margin-top: 50px;
}

.landing-hero {
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 52px 0 28px;
    margin-bottom: 28px;
    background: linear-gradient(rgba(10,15,25,0.8), rgba(10,15,25,0.9)),
        url("/assets/img/hero.jpg") center/cover no-repeat;
}

.landing-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.18), transparent 38%),
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.14), transparent 34%),
        radial-gradient(circle at bottom center, rgba(236, 72, 153, 0.10), transparent 28%);
    pointer-events: none;
}

.landing-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.35fr 0.95fr;
    gap: 26px;
    align-items: stretch;
}

.landing-hero-copy,
.landing-hero-card {
    min-width: 0;
}

.landing-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.78);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.landing-title {
    font-size: 32px;
    margin-bottom: 10px;
    margin: 0 0 14px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.03;
    letter-spacing: -0.03em;
}

.landing-subtitle {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 25px;
    max-width: 720px;
    margin: 0 0 24px;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255,255,255,0.80);
}

.landing-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.landing-actions-center {
    justify-content: center;
}

.landing-hero-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.landing-note-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.75);
    font-size: 13px;
}

.landing-mini-card {
    height: 100%;
    padding: 22px 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(8px);
}

.landing-mini-label {
    margin-bottom: 16px;
    font-size: 12px;
    color: rgba(255,255,255,0.68);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.landing-flow {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.landing-flow-step {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: start;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.05);
}

.landing-flow-step strong {
    display: block;
    margin-bottom: 3px;
    font-size: 15px;
}

.landing-flow-step p {
    margin: 0;
    color: rgba(255,255,255,0.72);
    font-size: 14px;
    line-height: 1.5;
}

.landing-flow-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(59,130,246,0.95), rgba(99,102,241,0.95));
    color: #fff;
    box-shadow: 0 10px 24px rgba(59,130,246,0.28);
}

.landing-section {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    margin-top: 34px;
}

.landing-section-head {
    margin-bottom: 16px;
}

.landing-section h2 {
    margin-bottom: 10px;
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
}

.landing-feature-grid,
.landing-audience-grid {
    display: grid;
    gap: 16px;
    margin-top: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-feature-card,
.landing-audience-card,
.landing-cta-box {
    padding: 22px 20px;
    border-radius: 20px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.landing-feature-icon {
    font-size: 24px;
    margin-bottom: 12px;
}

.landing-feature-card h3,
.landing-audience-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.landing-feature-card p,
.landing-audience-card p,
.landing-cta-box p {
    margin: 0;
    color: rgba(255,255,255,0.76);
    line-height: 1.7;
    font-size: 15px;
}

.landing-cta-section {
    margin-top: 40px;
    margin-bottom: 8px;
}

.landing-cta-box {
    text-align: center;
}

.landing-cta-box h2 {
    margin: 0 0 12px;
}

.landing-cta-box p {
    max-width: 760px;
    margin: 0 auto 20px;
}

.landing-text-block {
    max-width: 860px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.landing-text-block p {
    margin: 0 0 14px;
    color: rgba(255,255,255,0.80);
    line-height: 1.8;
    font-size: 16px;
    margin: 0 0 16px;
    line-height: 1.7;
}

.landing-section-subtitle {
    max-width: 760px;
    margin: 10px auto 0;
    text-align: center;
    color: #64748b;
    line-height: 1.7;
}

.landing-latest-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.landing-empty-box {
    max-width: 760px;
    margin: 26px auto 0;
    padding: 24px;
    border-radius: 22px;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
    text-align: center;
}

.landing-empty-box h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.landing-empty-box p {
    margin: 0;
    color: #64748b;
}

.landing-section-subtitle {
    max-width: 760px;
    margin: 10px auto 0;
    text-align: center;
    color: #64748b;
    line-height: 1.7;
}

.landing-latest-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.landing-empty-box {
    max-width: 760px;
    margin: 26px auto 0;
    padding: 24px;
    border-radius: 22px;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
    text-align: center;
}

.landing-empty-box h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.landing-empty-box p {
    margin: 0;
    color: #64748b;
}

.landing-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.landing-featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(139, 92, 246, 0.28);
}

.landing-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.landing-featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(139, 92, 246, 0.28);
}

/* =========================
   HEADER / TOP NAV
   ========================= */


.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background:
        linear-gradient(180deg, rgba(5, 7, 18, 0.96) 0%, rgba(8, 10, 24, 0.92) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.35),
        0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: linear-gradient(90deg, #4f46e5 0%, #06b6d4 35%, #8b5cf6 70%, #ec4899 100%);
    opacity: 0.85;
    pointer-events: none;
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 88px;
    padding: 14px 0;
    flex-wrap: wrap;
}

/* =========================
   LOGO
   ========================= */


.logo {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    white-space: nowrap;
    padding-right: 6px;
}

.logo-main {
    font-size: 2rem;
    color: #ffffff;
    text-shadow:
        0 0 18px rgba(99, 102, 241, 0.22),
        0 0 30px rgba(236, 72, 153, 0.10);
}

.logo-dot {
    font-size: 2rem;
    color: #7dd3fc;
    text-shadow: 0 0 16px rgba(125, 211, 252, 0.28);
}

/* =========================
   NAV LAYOUT
   ========================= */


.main-nav,
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.main-nav {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 280px;
}

.nav-actions {
    justify-content: flex-end;
}

/* =========================
   PILLS
   ========================= */


.nav-pill,
.nav-sub,
.nav-user-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease;
    white-space: nowrap;
}

.nav-pill,
.nav-sub {
    color: rgba(255, 255, 255, 0.88);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.20),
        0 1px 0 rgba(255,255,255,0.05) inset;
}

.nav-pill:hover,
.nav-sub:hover {
    color: #ffffff;
    transform: translateY(-1px);
    border-color: rgba(125, 211, 252, 0.32);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(125, 211, 252, 0.08) inset,
        0 0 18px rgba(99, 102, 241, 0.18);
}

/* Aktív menüpont */

.nav-pill.is-active {
    color: #ffffff;
    border-color: rgba(96, 165, 250, 0.48);
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.48) 0%, rgba(99, 102, 241, 0.38) 100%);
    box-shadow:
        0 14px 30px rgba(37, 99, 235, 0.22),
        0 0 0 1px rgba(125, 211, 252, 0.10) inset,
        0 0 24px rgba(59, 130, 246, 0.20);
}

/* Elsődleges */

.nav-pill-primary {
    color: #eaf6ff;
    border-color: rgba(96, 165, 250, 0.34);
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.62) 0%, rgba(79, 70, 229, 0.52) 100%);
    box-shadow:
        0 14px 28px rgba(37, 99, 235, 0.22),
        0 0 22px rgba(59, 130, 246, 0.12);
}

.nav-pill-primary:hover {
    border-color: rgba(147, 197, 253, 0.52);
    box-shadow:
        0 16px 32px rgba(37, 99, 235, 0.28),
        0 0 24px rgba(59, 130, 246, 0.22);
}

/* Secondary */

.nav-pill-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(135deg, rgba(107, 114, 128, 0.30) 0%, rgba(31, 41, 55, 0.42) 100%);
}

/* Danger */

.nav-pill-danger {
    cursor: pointer;
    color: #fff5f5;
    border-color: rgba(251, 113, 133, 0.24);
    background:
        linear-gradient(135deg, rgba(244, 63, 94, 0.92) 0%, rgba(225, 29, 72, 0.78) 100%);
    box-shadow:
        0 14px 28px rgba(225, 29, 72, 0.22),
        0 0 20px rgba(244, 63, 94, 0.14);
}

.nav-pill-danger:hover {
    border-color: rgba(254, 205, 211, 0.46);
    box-shadow:
        0 16px 32px rgba(225, 29, 72, 0.28),
        0 0 24px rgba(244, 63, 94, 0.22);
}

/* User pill */

.nav-user-pill {
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(55, 65, 81, 0.92) 0%, rgba(31, 41, 55, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.20),
        0 1px 0 rgba(255,255,255,0.05) inset;
}

/* =========================
   EXTRA LINKS
   ========================= */


.nav-extra {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-sub {
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.92rem;
    font-weight: 650;
    color: rgba(255,255,255,0.82);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.018) 100%);
}

/* =========================
   BADGES
   ========================= */


.nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    background: linear-gradient(135deg, #fb7185 0%, #ef4444 100%);
    box-shadow:
        0 6px 16px rgba(239, 68, 68, 0.32),
        0 0 0 2px rgba(10, 12, 24, 0.92);
}

/* =========================
   FORM
   ========================= */


.logout-form {
    margin: 0;
    display: inline-flex;
    align-items: center;
}

.logout-form button {
    font: inherit;
}

/* =========================
   MAIN WRAP
   ========================= */


.site-main {
    padding-top: 30px;
}

.landing-latest-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.site-logo {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

/* Melegek */

.logo-main {
    background: linear-gradient(90deg, #ffffff, #cbd5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* .hu */

.logo-dot {
    margin-left: 4px;
    background: linear-gradient(135deg, #60a5fa, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow:
        0 0 8px rgba(96,165,250,0.4),
        0 0 12px rgba(168,85,247,0.3);
}

.header-bottom {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;

    background: linear-gradient(
        90deg,
        transparent,
        #3b82f6,
        #a855f7,
        #ec4899,
        transparent
    );

    opacity: 0.6;
}

.header-nav .btn {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(6px);

    border-radius: 999px;
    padding: 10px 16px;

    transition: 0.2s;
}

.header-nav .btn:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-1px);
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    line-height: 1;
    position: relative;
}

.logo-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    border-radius: 14px;
    background:
        radial-gradient(circle at 30% 30%, rgba(96,165,250,0.16), transparent 55%),
        radial-gradient(circle at 75% 75%, rgba(236,72,153,0.14), transparent 60%),
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow:
        0 10px 24px rgba(0,0,0,0.28),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

.logo-heart {
    width: 30px;
    height: 30px;
    display: block;
}

.logo-text {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
}

.logo-main {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, #ffffff 0%, #dbe5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 12px rgba(255,255,255,0.06);
}

.logo-dot {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #60a5fa 0%, #a855f7 55%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow:
        0 0 10px rgba(96,165,250,0.22),
        0 0 16px rgba(168,85,247,0.18),
        0 0 22px rgba(236,72,153,0.16);
}

.site-logo:hover .logo-icon {
    transform: translateY(-1px);
    box-shadow:
        0 14px 30px rgba(0,0,0,0.34),
        0 0 18px rgba(96,165,250,0.10),
        0 0 20px rgba(168,85,247,0.10),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

.site-logo:hover .logo-heart {
    transform: scale(1.04);
}

.logo-icon,
.logo-heart {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.header-bottom {
    display: flex;
    justify-content: space-between;
}

.header-bottom,
.nav-actions {
    margin-left: auto;
}

/* =========================================================
   HOME PAGE – FINAL STRUCTURE
   Hero / Featured / Why different / Latest / Audience / CTA
   ========================================================= */


.landing-hero {
    padding: 56px 0 30px;
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(rgba(10, 15, 25, 0.82), rgba(10, 15, 25, 0.92)),
        url("/assets/img/hero.jpg") center/cover no-repeat;
}

.landing-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at top left, rgba(74, 144, 226, 0.12), transparent 34%),
        radial-gradient(circle at top right, rgba(123, 92, 255, 0.10), transparent 32%),
        radial-gradient(circle at bottom center, rgba(194, 24, 91, 0.07), transparent 26%);
}

.landing-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 28px;
    align-items: stretch;
}

.landing-hero-copy,
.landing-hero-card {
    min-width: 0;
}

.landing-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.76);
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
    margin-bottom: 18px;
}

.landing-title {
    margin: 0 0 14px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.03;
    letter-spacing: -0.03em;
    color: #fff;
}

.landing-subtitle {
    margin: 0 0 24px;
    max-width: 760px;
    font-size: 17px;
    line-height: 1.75;
    color: rgba(255,255,255,0.80);
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.landing-actions-center {
    justify-content: center;
}

.landing-hero-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.landing-note-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 13px;
    color: rgba(255,255,255,0.74);
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
}

.landing-mini-card {
    height: 100%;
    padding: 22px 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(8px);
}

.landing-mini-label {
    margin-bottom: 16px;
    font-size: 12px;
    color: rgba(255,255,255,0.66);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.landing-flow {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.landing-flow-step {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: start;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.05);
}

.landing-flow-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.95), rgba(123, 92, 255, 0.95));
    box-shadow: 0 10px 24px rgba(0, 102, 255, 0.24);
}

.landing-flow-step strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 15px;
}

.landing-flow-step p {
    margin: 0;
    color: rgba(255,255,255,0.72);
    font-size: 14px;
    line-height: 1.55;
}

/* ===== HOME SECTION BASE ===== */


.landing-section {
    margin-top: 34px;
}

.landing-section .container {
    position: relative;
}

.landing-section-head {
    margin-bottom: 18px;
    text-align: center;
}

.landing-section h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.14;
    color: #fff;
}

/* ===== WHY DIFFERENT / AUDIENCE ===== */


.landing-feature-grid,
.landing-audience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.landing-feature-card,
.landing-audience-card,
.landing-cta-box {
    padding: 22px 20px;
    border-radius: 20px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.landing-feature-icon {
    font-size: 24px;
    margin-bottom: 12px;
    opacity: 0.95;
}

.landing-feature-card h3,
.landing-audience-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.3;
    color: #fff;
}

.landing-feature-card p,
.landing-audience-card p,
.landing-cta-box p {
    margin: 0;
    color: rgba(255,255,255,0.76);
    line-height: 1.7;
    font-size: 15px;
}

/* ===== CTA ===== */


.landing-cta-section {
    margin-top: 40px;
    margin-bottom: 10px;
}

.landing-cta-box {
    text-align: center;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.035)),
        rgba(15, 17, 26, 0.96);
    border: 1px solid rgba(255,255,255,0.10);
}

.landing-cta-box h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.16;
}

.landing-cta-box p {
    max-width: 760px;
    margin: 0 auto 20px;
}

/* ===== HOME SECTION VISUAL SPACING ===== */


.landing-section + .landing-section {
    padding-top: 4px;
}

/* =========================================================
   HOME – FEATURED VS LATEST DIFFERENTIATION
   ========================================================= */


/* ===== FEATURED GRID ===== */


.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 22px;
}

/* ===== SECTION VISUAL SEPARATION ===== */


.featured-grid + .landing-section,
.latest-grid + .landing-section {
    margin-top: 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 340px));
    justify-content: center;
    gap: 22px;
    margin-top: 22px;
}

@keyframes featuredTopLineRun {
    0% {
        left: -40%;
    }
    100% {
        left: 100%;
    }
}

.featured-star-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #ffd54a;
    background: rgba(10, 14, 24, 0.78);
    border: 1px solid rgba(255, 213, 74, 0.28);
    box-shadow:
        0 8px 20px rgba(0,0,0,0.24),
        0 0 14px rgba(255, 213, 74, 0.16);
    backdrop-filter: blur(6px);
}

.section-cta-text {
    margin-top: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.section-cta-btn {
    margin-top: 10px;
}

/* =========================
   MOBILE BURGER NAV
   ========================= */


.header-desktop-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex: 1 1 auto;
    min-width: 0;
}

.mobile-nav-panel {
    display: none;
    border-top: 1px solid rgba(255,255,255,0.06);
    background:
        linear-gradient(180deg, rgba(8, 10, 24, 0.98) 0%, rgba(10, 12, 28, 0.96) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.mobile-nav-panel.is-open {
    display: block;
}

.mobile-nav-inner {
    padding: 14px 0 18px;
}

.mobile-nav-group {
    display: grid;
    gap: 10px;
}

.mobile-nav-group .nav-pill {
    width: 100%;
    justify-content: space-between;
    min-height: 48px;
    border-radius: 16px;
}

.mobile-logout-form .nav-pill {
    width: 100%;
    justify-content: center;
}

.hero-home {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    padding: 72px 20px 48px;
    background:
        radial-gradient(circle at top left, rgba(108, 92, 231, 0.20), transparent 35%),
        radial-gradient(circle at top right, rgba(0, 212, 170, 0.10), transparent 30%),
        linear-gradient(180deg, #0b1020 0%, #11182a 45%, #0c1220 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(8, 12, 24, 0.25), rgba(8, 12, 24, 0.55)),
        url('/assets/img/hero.jpg') center center / cover no-repeat;
    opacity: 0.18;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: center;
}

.hero-copy,
.hero-side,
.info-card,
.step-card,
.cta-card,
.seo-card {
    border-radius: 22px;
}

.hero-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 1.05;
    color: #fff;
    max-width: 780px;
}

.hero-lead {
    max-width: 720px;
    font-size: 1.08rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.86);
    margin-bottom: 24px;
}

.hero-badge,
.section-kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: #d9e3ff;
    font-size: 0.86rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 0;
    margin: 0;
    list-style: none;
    color: rgba(255,255,255,0.8);
    font-size: 0.96rem;
}

.hero-points li::before {
    content: "•";
    color: #7c9cff;
    margin-right: 8px;
}

.hero-side {
    padding: 28px;
    background: rgba(17, 24, 42, 0.92);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 50px rgba(0,0,0,0.28);
}

.hero-side-head h2 {
    margin: 0 0 8px;
    color: #fff;
}

.hero-side-head p {
    margin: 0 0 18px;
    color: rgba(255,255,255,0.72);
    line-height: 1.65;
}

.hero-side-list {
    display: grid;
    gap: 16px;
}

.feature-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: start;
}

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 156, 255, 0.12);
    font-size: 1.1rem;
}

.feature-item strong {
    display: block;
    color: #fff;
    margin-bottom: 4px;
}

.feature-item p {
    margin: 0;
    color: rgba(255,255,255,0.72);
    line-height: 1.6;
}

.home-section {
    padding: 72px 20px;
    background: #0d1424;
}

.home-section.alt {
    background: #10192c;
}

.container-narrow {
    max-width: 1180px;
    margin: 0 auto;
}

.cta-card {
    padding: 32px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    background: linear-gradient(135deg, rgba(108,92,231,0.18), rgba(27,35,58,0.95));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 40px rgba(0,0,0,0.2);
}

.cta-copy h2 {
    margin: 0 0 12px;
    color: #fff;
}

.cta-copy p {
    margin: 0;
    color: rgba(255,255,255,0.78);
    line-height: 1.7;
    max-width: 760px;
}

.header-inner-clean {
    min-height: 92px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.header-desktop-nav-clean {
    display: contents;
}

.main-nav-clean {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.nav-actions-clean {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: nowrap;
}
