:root {
    --pink: #2a0039;
    --pink-2: #4a0063;
    --pink-3: #eabdff;
    --soft-pink: #f4d4ff;
    --cyan: #8f4fb3;
    --cyan-soft: #f4d4ff;
    --cream: #fcf4ff;
    --text: #000000;
    --white: #ffffff;
    --line: rgba(42, 0, 57, .18);
    --shadow: 0 24px 70px rgba(42, 0, 57, .16);
    --radius: 30px;
    --purple: #2a0039;
    --ink: #000000;
    --muted: #34213d;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Times New Roman", Times, serif;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 0%, rgba(135, 28, 173, .18), transparent 25%),
        radial-gradient(circle at 88% 10%, rgba(234, 189, 255, .16), transparent 28%),
        linear-gradient(180deg, #fff8ff 0%, var(--cream) 100%);
    min-height: 100vh;
}

button,
input,
textarea,
select {
    font-family: "Times New Roman", Times, serif;
}

.page-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 52px;
}

.page-shell.narrow { width: min(880px, calc(100% - 32px)); }
.admin-shell { width: min(1280px, calc(100% - 24px)); }

.hero-card,
.form-card {
    border-radius: var(--radius);
    overflow: hidden;
}

.hero-card {
    background: rgba(255, 255, 255, .94);
    border: 2px solid #2a0039;
    box-shadow: var(--shadow);
}

.hero-card {
    display: block;
    min-height: 760px;
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: -18px;
    background: url('plakat.png') center/cover no-repeat;
    filter: blur(3px);
    transform: scale(1.05);
    opacity: .80;
}

.hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(42,0,57,.92), rgba(74,0,99,.82) 58%, rgba(234,189,255,.34));
}

.hero-copy,
.poster-wrap {
    position: relative;
    z-index: 1;
}

.hero-copy {
    padding: clamp(28px, 4vw, 54px);
    padding-right: 470px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.eyebrow,
.section-label {
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(244,212,255,.92);
    color: #000000;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .78rem;
    border: 1px solid rgba(234,189,255,.68);
}

h1, h2, h3, p { margin-top: 0; }

h1 {
    margin: 18px 0 12px;
    font-size: clamp(2.5rem, 5.8vw, 4.9rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.hero-title {
    display: block;
    max-width: none;
    white-space: nowrap;
}

.lead {
    max-width: 560px;
    font-size: clamp(1.02rem, 1.8vw, 1.22rem);
    line-height: 1.5;
    color: rgba(255,255,255,.92);
}

.lead-note {
    margin: 4px 0 0;
    max-width: 660px;
    font-size: 1.24rem;
    line-height: 1.5;
    color: #ffffff;
}

.lead-note-top {
    display: inline-block;
    font-size: 1.34em;
    letter-spacing: .03em;
}

.lead-note-bottom {
    display: inline-block;
    margin-top: 2px;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 8px 0 18px;
}

.pill-row span {
    padding: 10px 16px;
    border-radius: 999px;
    color: #000000;
    background: rgba(244,212,255,.92);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .03em;
    border: 1px solid rgba(234,189,255,.68);
}

.location {
    margin: 0;
    font-weight: 900;
    font-size: 1.32rem;
    line-height: 1.4;
    color: #ffffff;
}

.price-badge {
    width: fit-content;
    margin: 18px 0 0;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: #000000;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
    border: 1px solid rgba(255,255,255,.52);
    box-shadow: 0 12px 28px rgba(42, 0, 57, .14);
}

.contact-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 14px 0 0;
}

.phone-display,
.email-display {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 !important;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(244,212,255,.92);
    color: #000000;
    font-weight: 900;
    font-size: 1.12rem;
    line-height: 1.4;
    white-space: nowrap;
    border: 1px solid rgba(234,189,255,.68);
    box-shadow: 0 12px 28px rgba(42, 0, 57, .14);
}

.form-price-note {
    display: inline-flex;
    width: fit-content;
    margin: 12px 0 0;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--soft-pink);
    color: var(--pink);
    font-weight: 900;
    border: 1px solid var(--line);
}

.poster-wrap {
    position: absolute;
    right: 18px;
    top: 210px;
    width: 410px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
}

.poster-wrap img {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    max-height: none;
    object-fit: contain;
    transform: none;
    border-radius: 26px;
    border: 8px solid rgba(255,255,255,.82);
    box-shadow: 0 22px 54px rgba(0,0,0,.32);
}

.form-card {
    position: relative;
    margin-top: 28px;
    padding: clamp(28px, 5vw, 58px);
    background: linear-gradient(135deg, #ffffff, #f8f1fb);
    border: 2px solid rgba(42, 0, 57, .34);
    border-radius: 34px;
    box-shadow: 0 18px 42px rgba(42, 0, 57, .08);
    overflow: hidden;
}

.form-card::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -120px;
    bottom: -135px;
    border-radius: 50%;
    background: rgba(234, 189, 255, .28);
    pointer-events: none;
}

.form-card > * {
    position: relative;
    z-index: 1;
}

.form-header h2 {
    margin: 16px 0 8px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    letter-spacing: -0.02em;
}

.form-header p,
.privacy-note,
.optional {
    color: var(--muted);
}

.signup-form {
    margin-top: 30px;
    display: grid;
    gap: 28px;
}

fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

legend,
.signup-form > label,
.field-grid label {
    display: block;
    margin-bottom: 12px;
    font-weight: 900;
    font-size: 1.18rem;
    color: #000000;
}

.choice-grid,
.time-groups,
.field-grid {
    display: grid;
    gap: 14px;
}

.choice-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-card,
.time-choice {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.choice-card {
    padding: 18px;
    border: 2px solid rgba(42, 0, 57, .34);
    border-radius: 20px;
    background: #ffffff;
    font-weight: 900;
    transition: .18s ease;
}

.choice-card:has(input:checked) {
    border-color: #2a0039;
    background: linear-gradient(135deg, var(--soft-pink), #ffffff);
    box-shadow: 0 10px 24px rgba(42, 0, 57, .16);
    transform: translateY(-1px);
}

.choice-card input,
.time-choice input {
    accent-color: var(--pink);
    width: 18px;
    height: 18px;
}

.field-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    margin-top: 10px;
    padding: 15px 16px;
    border: 2px solid #2a0039;
    border-radius: 16px;
    background: #ffffff;
    color: #000000;
    font: inherit;
    font-size: 1.05rem;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

input:focus,
textarea:focus {
    border-color: #2a0039;
    box-shadow: 0 0 0 5px rgba(42, 0, 57, .12);
}

.time-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.time-group {
    padding: 20px;
    border-radius: 22px;
    background: linear-gradient(135deg, #ffffff, #fbf6fd);
    border: 2px solid #2a0039;
}

.time-group:nth-child(2) { background: linear-gradient(135deg, #ffffff, #f7effb); }
.time-group:nth-child(3) { background: linear-gradient(135deg, #ffffff, #f5ebfa); }

.time-group h3 {
    margin-bottom: 14px;
    font-size: 1.3rem;
}

.time-choice {
    padding: 10px 0;
    font-weight: 760;
    margin-bottom: 0;
}

.submit-btn {
    width: fit-content;
    border: 2px solid #000000;
    padding: 17px 28px;
    border-radius: 999px;
    background: #ffffff;
    color: #000000;
    font-weight: 900;
    font-size: 1.08rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 18px 34px rgba(42, 0, 57, .18);
    transition: .18s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 46px rgba(42, 0, 57, .38);
}

.notice {
    margin: 24px 0;
    padding: 16px 18px;
    border-radius: 18px;
    font-weight: 740;
    background: var(--cream);
    border: 1px solid var(--line);
}

.notice.success {
    background: var(--soft-pink);
    color: #000000;
}

.notice.error {
    background: #fff0f7;
    color: var(--pink-2);
}

.notice ul { margin: 8px 0 0; }

.hp {
    position: absolute;
    left: -9999px;
}

.privacy-note {
    margin: -12px 0 0;
    font-size: .92rem;
}

.login-form { max-width: 420px; }
.admin-top {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
}
.small-link,
.tab-link {
    display: inline-flex;
    text-decoration: none;
    color: #000000;
    font-weight: 900;
}
.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 8px;
}
.tab-link {
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--soft-pink);
}
.admin-heading {
    margin: 32px 0 14px;
    font-size: 1.55rem;
}
.table-wrap {
    overflow-x: auto;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: #fff;
}
table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}
th, td {
    padding: 13px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(42, 0, 57, .12);
    vertical-align: top;
}
th {
    background: var(--soft-pink);
    color: #000000;
    font-weight: 900;
}
td a { color: var(--pink-2); font-weight: 900; }

@media (max-width: 880px) {
    .hero-card,
    .field-grid,
    .choice-grid.three,
    .choice-grid.two,
    .time-groups {
        grid-template-columns: 1fr;
    }

    .hero-card {
        min-height: auto;
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding-right: clamp(28px, 4vw, 54px);
    }

    .poster-wrap {
        position: relative;
        right: auto;
        top: auto;
        width: auto;
        padding-top: 0;
        margin: 0 auto 10px;
    }

    .poster-wrap img {
        width: min(420px, 96%);
        min-width: 0;
        max-width: 100%;
        max-height: none;
        transform: none;
    }

    .submit-btn {
        width: 100%;
    }

    .admin-top { flex-direction: column; }
}

.form-card .section-label {
    background: linear-gradient(135deg, #22002e, #2a0039 58%, #4a0063);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,.14);
}

.form-header h2 {
    font-size: clamp(2.2rem, 4.3vw, 3.45rem);
}

.form-header p {
    font-size: 1.12rem;
    line-height: 1.55;
    color: #000000;
}

legend,
.signup-form > label,
.field-grid label {
    font-size: 1.12rem;
}

.choice-card,
.time-choice,
.optional,
.privacy-note {
    font-size: 1.06rem;
}

.time-group h3 {
    font-size: 1.45rem;
    color: #000000;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
textarea {
    font-size: 1.04rem;
}
.form-card,
.form-card legend,
.form-card label,
.form-card h2,
.form-card h3,
.form-card .optional,
.form-card .privacy-note {
    color: #000000;
}


#jelentkezes .submit-btn {
    background: linear-gradient(135deg, #22002e, #2a0039 58%, #4a0063);
    color: #ffffff;
    border-color: #2a0039;
    box-shadow: 0 18px 34px rgba(42, 0, 57, .30);
}

#jelentkezes .submit-btn:hover {
    box-shadow: 0 24px 46px rgba(42, 0, 57, .40);
}

.choice-card span,
.time-choice span,
.form-card .privacy-note,
.form-card .optional,
.form-header p {
    color: #000000;
}


.location span {
    display: block;
}


/* Mobilos hero finomhangolás */
@media (max-width: 600px) {
    body {
        overflow-x: hidden;
    }

    .page-shell {
        width: min(100% - 18px, var(--max));
        padding: 18px 0 28px;
    }

    .hero-card {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .hero-copy {
        padding: 24px 20px 18px !important;
        max-width: 100% !important;
    }

    .hero-title {
        white-space: normal !important;
        overflow-wrap: normal;
        word-break: normal;
        font-size: clamp(2.08rem, 11vw, 3.05rem) !important;
        line-height: 1.04 !important;
        max-width: 100% !important;
    }

    .lead {
        font-size: 1rem !important;
        line-height: 1.45 !important;
        max-width: 100% !important;
    }

    .lead-note {
        font-size: 1.08rem !important;
        line-height: 1.35 !important;
        max-width: 100% !important;
    }

    .lead-note-top {
        font-size: 1.18em !important;
    }

    .lead-note-bottom {
        max-width: 100%;
    }

    .pill-row {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
    }

    .pill-row span {
        padding: 9px 8px;
        text-align: center;
        font-size: .86rem;
        white-space: nowrap;
    }

    .location {
        font-size: 1.06rem !important;
        line-height: 1.35 !important;
    }

    .price-badge {
        max-width: 100%;
        width: 100%;
        text-align: center;
        justify-content: center;
        font-size: .92rem;
        padding: 11px 14px;
        letter-spacing: .02em;
    }

    .contact-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 10px !important;
        width: 100%;
    }

    .phone-display,
    .email-display {
        width: 100% !important;
        justify-content: center;
        text-align: center;
        padding: 11px 10px !important;
        font-size: .92rem !important;
        white-space: normal !important;
    }

    .poster-wrap {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 18px 20px !important;
        margin: 0 auto !important;
        box-sizing: border-box;
    }

    .poster-wrap img {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        object-fit: contain !important;
    }

    .form-card {
        padding: 26px 20px 30px !important;
    }
}

@media (max-width: 380px) {
    .hero-title {
        font-size: clamp(1.9rem, 10.5vw, 2.75rem) !important;
    }

    .pill-row span {
        font-size: .78rem;
        padding: 8px 6px;
    }

    .contact-row {
        grid-template-columns: 1fr;
    }
}


.inline-delete-form {
    margin: 0;
}

.delete-btn {
    border: 2px solid #7a0031;
    border-radius: 999px;
    padding: 8px 13px;
    background: #fff0f7;
    color: #7a0031;
    font-family: inherit;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
    cursor: pointer;
}

.delete-btn:hover {
    background: #7a0031;
    color: #ffffff;
}
