:root {
    color-scheme: light;
    --ink: #111111;
    --muted: #686056;
    --paper: #f4efe7;
    --surface: #ffffff;
    --line: #dfd2bf;
    --accent: #c49a4e;
    --accent-dark: #8b642c;
    --deep: #111111;
    --teal: #2f7770;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--paper);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
}

.voucher-landing {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
}

.center-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.campaign-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(440px, .98fr) minmax(300px, 380px) minmax(260px, .7fr);
    grid-template-rows: 1fr auto;
    width: min(1440px, 100%);
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 5% 80%, rgba(196, 154, 78, .16), transparent 24%),
        linear-gradient(90deg, #fff8ec 0%, #f5ead8 58%, #111 58%, #111 100%);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .32);
}

.campaign-hero::before {
    content: "";
    position: absolute;
    right: 32%;
    top: -8%;
    width: 150px;
    height: 116%;
    background: linear-gradient(180deg, #c49a4e, #8b642c);
    transform: skewX(-28deg);
    z-index: 0;
}

.campaign-hero::after {
    content: "";
    position: absolute;
    left: -80px;
    bottom: 74px;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(196, 154, 78, .38);
    border-radius: 50%;
    box-shadow: 48px 0 0 -1px rgba(255, 248, 236, .96), 48px 0 0 0 rgba(196, 154, 78, .22);
}

.dot-pattern {
    position: absolute;
    left: 0;
    top: 0;
    width: 180px;
    height: 130px;
    opacity: .9;
    background-image: radial-gradient(circle, rgba(184, 138, 68, .75) 1.6px, transparent 1.6px);
    background-size: 13px 13px;
    mask-image: linear-gradient(135deg, #000, transparent 82%);
}

.hero-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(34px, 5vw, 72px) clamp(28px, 5vw, 82px) 28px;
}

.hero-logo {
    width: clamp(150px, 15vw, 210px);
    height: auto;
    margin-bottom: clamp(34px, 6vh, 60px);
}

.hero-copy::before {
    content: "Vaš vid. Naša strast.";
    position: absolute;
    top: clamp(54px, 8vh, 86px);
    right: clamp(26px, 5vw, 72px);
    width: min(280px, 32vw);
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(184, 138, 68, .72);
    color: #a77b35;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.hero-text {
    max-width: 560px;
    color: #34312d;
    font-size: clamp(17px, 1.55vw, 21px);
}

.campaign-hero h1 {
    max-width: 520px;
    margin-bottom: 22px;
    font-size: clamp(54px, 6.4vw, 88px);
    line-height: 1.02;
}

.button-icon {
    display: inline-flex;
    width: 25px;
    height: 25px;
}

.button-icon svg,
.trust-item svg,
.campaign-footer svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 0;
    max-width: 560px;
    margin-top: clamp(34px, 5vh, 54px);
}

.trust-item {
    position: relative;
    display: grid;
    gap: 12px;
    justify-items: start;
    padding-right: 24px;
    color: #111;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .05em;
    line-height: 1.25;
    text-transform: uppercase;
}

.trust-item + .trust-item {
    padding-left: 32px;
    border-left: 1px solid rgba(184, 138, 68, .36);
}

.trust-item svg {
    width: 48px;
    height: 48px;
    color: #b88a44;
}

.voucher-card {
    position: relative;
    z-index: 2;
    align-self: center;
    min-height: clamp(500px, 72vh, 620px);
    margin-block: 48px 28px;
    padding: 24px;
    color: #fff;
    background:
        radial-gradient(circle at 100% 100%, rgba(196, 154, 78, .2), transparent 24%),
        #101112;
    border: 2px solid #c49a4e;
    border-radius: 30px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .42);
}

.voucher-card::after {
    content: "";
    position: absolute;
    right: 22px;
    bottom: 22px;
    width: 120px;
    height: 90px;
    background-image: radial-gradient(circle, rgba(212, 173, 97, .8) 1.6px, transparent 1.6px);
    background-size: 10px 10px;
    mask-image: linear-gradient(135deg, transparent, #000);
    pointer-events: none;
}

.voucher-card-inner {
    height: 100%;
    min-height: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: clamp(28px, 4vw, 48px) 24px;
    border: 1px solid #c49a4e;
    border-radius: 22px;
    text-align: center;
}

.voucher-logo {
    width: 150px;
    height: auto;
}

.voucher-label {
    width: min(230px, 100%);
    padding-top: 28px;
    border-top: 1px solid #a97f37;
    color: #d8b568;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.voucher-card strong {
    color: #d9b568;
    font-size: clamp(96px, 10vw, 142px);
    line-height: .78;
}

.voucher-card strong span {
    font-size: .42em;
}

.voucher-card p {
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: .16em;
    line-height: 1.35;
    text-transform: uppercase;
}

.glasses-mark {
    position: relative;
    width: 140px;
    height: 28px;
    border-top: 1px solid #d9b568;
}

.glasses-mark::before,
.glasses-mark::after {
    content: "";
    position: absolute;
    top: -15px;
    width: 34px;
    height: 24px;
    border: 3px solid #d9b568;
    border-radius: 40%;
}

.glasses-mark::before {
    left: 36px;
}

.glasses-mark::after {
    right: 36px;
}

.voucher-card small {
    max-width: 260px;
    color: #d8b568;
    font-size: 16px;
    line-height: 1.4;
}

.hero-photo {
    position: relative;
    z-index: 1;
    min-height: 100%;
    background:
        linear-gradient(90deg, rgba(17, 17, 17, .1), rgba(17, 17, 17, .12)),
        url("eyewear-hero-premium.png") center / cover;
}

.campaign-footer {
    position: relative;
    z-index: 3;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 28px;
    align-items: center;
    min-height: 72px;
    padding: 14px clamp(28px, 7vw, 110px);
    background: #101112;
    color: #fff;
}

.campaign-footer div {
    display: flex;
    gap: 14px;
    align-items: center;
    min-width: 0;
}

.campaign-footer div + div {
    padding-left: 34px;
    border-left: 1px solid rgba(212, 173, 97, .38);
}

.campaign-footer svg {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    color: #d8b568;
}

.campaign-footer span {
    color: #fff;
    font-size: 15px;
    line-height: 1.35;
}

.campaign-footer strong {
    display: block;
    color: #d8b568;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.message-box {
    width: min(680px, 100%);
    background: var(--surface);
    border: 1px solid var(--line);
    padding: clamp(28px, 6vw, 56px);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

h1 {
    margin: 0 0 14px;
    font-size: clamp(44px, 8vw, 84px);
    line-height: .95;
    letter-spacing: 0;
}

p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.55;
}

.download-button {
    display: inline-flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 72px;
    margin-top: 34px;
    padding: 0 34px;
    border: 1px solid var(--accent-dark);
    background: linear-gradient(180deg, #d4ad61, #ad7d32);
    color: #111;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 14px 32px rgba(139, 100, 44, .25);
}

.download-button:hover {
    background: linear-gradient(180deg, #c99f52, #8b642c);
}

.download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.download-actions .download-button {
    margin-top: 0;
}

.download-button-secondary {
    background: #111;
    border-color: #111;
    color: #fff;
}

.download-button-secondary:hover {
    background: #2a2a2a;
}

.admin-page {
    min-height: 100vh;
    padding: 28px;
    background: #f7f3ed;
}

.admin-header {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 22px;
    padding: 22px;
    border: 1px solid var(--line);
    background: #fffaf2;
}

.admin-header h1 {
    font-size: 34px;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.admin-logo {
    width: 104px;
    height: auto;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.stat {
    border: 1px solid var(--line);
    background: var(--surface);
    padding: 16px;
    box-shadow: 0 10px 30px rgba(35, 28, 20, .06);
}

.stat strong {
    display: block;
    font-size: 28px;
}

.stat span {
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    background: var(--surface);
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 980px;
}

th,
td {
    padding: 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    font-size: 14px;
}

th {
    background: #171717;
    color: #f8efe2;
    font-size: 12px;
    text-transform: uppercase;
}

input,
select {
    min-height: 36px;
    border: 1px solid var(--line);
    padding: 0 10px;
    font: inherit;
}

.admin-button {
    min-height: 36px;
    border: 1px solid var(--accent-dark);
    background: var(--deep);
    color: #fff;
    padding: 0 12px;
    font-weight: 700;
    cursor: pointer;
}

.admin-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--accent-dark);
    color: var(--accent-dark);
    font-weight: 700;
    text-decoration: none;
}

.admin-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.admin-link-muted {
    border-color: var(--line);
    color: var(--muted);
}

.admin-message {
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(47, 119, 112, .28);
    background: rgba(47, 119, 112, .08);
    color: #245f59;
    font-size: 15px;
}

.super-panel {
    display: flex;
    gap: 24px;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 22px;
    padding: 22px;
    border: 1px solid rgba(196, 154, 78, .58);
    background: #111;
    color: #fff;
}

.super-panel h2 {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.1;
}

.super-panel p:not(.eyebrow) {
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
}

.generate-form {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.generate-form label {
    display: grid;
    gap: 8px;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.generate-form input {
    width: 140px;
    background: #fff;
}

.generate-form input[type="date"] {
    width: 160px;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(17, 17, 17, .96), rgba(43, 38, 32, .93)),
        var(--paper);
}

.login-card {
    width: min(440px, 100%);
    padding: 38px;
    border: 1px solid rgba(196, 154, 78, .65);
    background: #fffaf2;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .32);
}

.login-card h1 {
    font-size: 44px;
}

.login-logo {
    width: 132px;
    height: auto;
    margin-bottom: 24px;
}

.login-card label {
    display: grid;
    gap: 8px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.login-card input {
    width: 100%;
    min-height: 46px;
    background: #fff;
}

.login-card .download-button {
    width: 100%;
    margin-top: 22px;
    border-radius: 0;
    cursor: pointer;
}

.login-error {
    margin-top: 12px;
    color: #9b2c2c;
    font-size: 15px;
}

.status-empty {
    color: #9a6d24;
}

.status-ready {
    color: var(--teal);
}

.status-waiting {
    color: #6a5b43;
}

.voucher-site {
    min-height: 100vh;
    background: #fff;
}

.final-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    min-height: 690px;
    overflow: hidden;
    background:
        radial-gradient(circle at 0 28%, rgba(196, 154, 78, .16) 1.5px, transparent 1.8px) 0 0 / 13px 13px,
        linear-gradient(110deg, #fffaf2 0%, #fffaf2 57%, #fff 57%, #fff 100%);
    border-radius: 0 0 18px 18px;
}

.site-nav {
    position: absolute;
    z-index: 5;
    inset: 28px clamp(28px, 5vw, 74px) auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.nav-logo {
    width: 142px;
    height: auto;
}

.site-nav nav {
    display: flex;
    gap: clamp(22px, 3vw, 46px);
    align-items: center;
}

.site-nav a {
    color: #111;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
}

.site-nav a:first-child {
    color: var(--accent-dark);
}

.final-hero::before {
    content: "";
    position: absolute;
    right: 37%;
    top: -140px;
    width: 420px;
    height: 960px;
    border: 7px solid rgba(196, 154, 78, .75);
    border-left-color: transparent;
    border-radius: 50%;
    transform: rotate(-14deg);
    pointer-events: none;
    z-index: 2;
}

.final-hero-copy {
    position: relative;
    z-index: 3;
    padding: 48px clamp(32px, 6vw, 86px) 44px;
}

.final-logo {
    display: block;
    width: 150px;
    height: auto;
    margin-bottom: 54px;
}

.final-kicker,
.section-kicker {
    margin: 0 0 12px;
    color: var(--accent-dark);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.final-hero h1 {
    max-width: 620px;
    margin: 0 0 18px;
    font-size: clamp(38px, 4.6vw, 62px);
    line-height: 1.02;
}

.final-hero h1 span {
    display: block;
    color: var(--accent-dark);
}

.final-text {
    max-width: 520px;
    color: #262626;
    font-size: 15px;
    line-height: 1.45;
}

.final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 34px;
}

.final-button {
    display: inline-flex;
    gap: 14px;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 0 28px;
    border: 1px solid #b87e2a;
    border-radius: 8px;
    background: linear-gradient(180deg, #d4ad61, #ad7d32);
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 12px 26px rgba(173, 125, 50, .28);
}

.final-button-outline {
    background: rgba(255, 255, 255, .72);
    color: #111;
    box-shadow: none;
}

.final-button svg,
.final-note svg,
.admin-shell svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.final-note {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 34px;
    color: #34312d;
    font-size: 15px;
}

.final-note svg {
    flex: 0 0 24px;
    color: var(--accent-dark);
}

.final-hero-photo {
    position: relative;
    z-index: 1;
    min-height: 100%;
    background: url("eyewear-hero-premium.png") center / cover;
}

.final-hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 250, 242, .35), transparent 38%);
}

.voucher-preview-section {
    padding: 42px clamp(20px, 8vw, 110px) 54px;
    text-align: center;
    background: #fff;
}

.how-section {
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto 52px;
    padding: 34px 42px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 60px rgba(35, 28, 20, .08);
    text-align: center;
}

.how-section h2 {
    margin: 0 0 28px;
    font-size: 19px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.how-grid div {
    display: grid;
    gap: 12px;
    justify-items: center;
}

.how-grid strong {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(180deg, #d4ad61, #ad7d32);
    color: #fff;
}

.how-grid span {
    color: #333;
    font-size: 13px;
    line-height: 1.35;
}

.voucher-site {
    background:
        radial-gradient(circle at 14% 10%, rgba(196, 154, 78, .12), transparent 26%),
        linear-gradient(180deg, #fffaf3 0%, #ffffff 48%, #fffaf3 100%);
}

.final-hero {
    min-height: 760px;
    isolation: isolate;
    background:
        radial-gradient(circle at 4% 32%, rgba(196, 154, 78, .18) 1.5px, transparent 1.8px) 0 0 / 13px 13px,
        linear-gradient(112deg, #fffaf2 0%, #fffaf2 54%, #f8efe1 54%, #ffffff 100%);
}

.final-hero::after {
    content: "";
    position: absolute;
    right: -110px;
    top: -120px;
    width: 720px;
    height: 920px;
    border: 8px solid rgba(196, 154, 78, .74);
    border-left-color: transparent;
    border-radius: 50%;
    transform: rotate(-10deg);
    z-index: 1;
}

.final-hero-copy {
    padding-top: 38px;
}

.final-kicker {
    font-size: 19px;
}

.final-hero h1 {
    max-width: 610px;
    font-size: clamp(40px, 4.8vw, 64px);
    letter-spacing: 0;
}

.final-text {
    max-width: 540px;
    font-size: 16px;
}

.final-button {
    min-width: 244px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.final-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(173, 125, 50, .32);
}

.final-button-outline:hover {
    box-shadow: 0 18px 34px rgba(35, 28, 20, .12);
}

.final-hero-photo {
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(255, 250, 242, .3), rgba(255, 255, 255, .1)),
        url("eyewear-hero-premium.png") center / cover;
}

.final-hero-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .28)),
        radial-gradient(circle at 52% 46%, transparent 0%, rgba(17, 17, 17, .08) 70%);
}

.phone-preview {
    position: absolute;
    right: clamp(24px, 5vw, 74px);
    bottom: -64px;
    width: 238px;
    min-height: 430px;
    padding: 18px;
    border: 10px solid #111;
    border-radius: 34px;
    background: #fffaf2;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .35);
    z-index: 4;
}

.phone-preview::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: 80px;
    height: 4px;
    border-radius: 999px;
    background: #111;
    transform: translateX(-50%);
}

.phone-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    font-size: 11px;
    font-weight: 800;
}

.phone-preview img {
    width: 72px;
    height: auto;
    margin-bottom: 20px;
}

.phone-preview p {
    margin-bottom: 6px;
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.phone-preview strong {
    display: block;
    margin-bottom: 12px;
    color: #111;
    font-size: 25px;
    line-height: .98;
}

.phone-preview strong span {
    color: var(--accent-dark);
}

.phone-preview small {
    display: block;
    margin-bottom: 14px;
    color: #333;
    font-size: 11px;
    line-height: 1.45;
}

.phone-button {
    display: grid;
    place-items: center;
    min-height: 38px;
    margin-bottom: 9px;
    border-radius: 5px;
    background: linear-gradient(180deg, #d4ad61, #ad7d32);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.phone-button.outline {
    border: 1px solid var(--accent-dark);
    background: #fffaf2;
    color: #111;
}

.voucher-preview-section {
    padding-top: 76px;
}

.ticket-preview {
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(35, 28, 20, .12);
}

.how-section {
    margin-top: 18px;
    border: 1px solid rgba(196, 154, 78, .16);
}

.section-kicker {
    margin-bottom: 10px;
    font-size: 19px;
}

.section-subtitle {
    margin-bottom: 28px;
    color: #333;
    font-size: 16px;
}

.ticket-preview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .34fr);
    width: min(1050px, 100%);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(196, 154, 78, .72);
    border-radius: 20px;
    background: #fffaf2;
    box-shadow: 0 20px 60px rgba(35, 28, 20, .1);
    text-align: left;
}

.ticket-main {
    position: relative;
    min-height: 430px;
    padding: 34px 42px 0;
    overflow: hidden;
    background: linear-gradient(180deg, #fffaf2 0 44%, #141515 44% 100%);
}

.ticket-main::before {
    content: "";
    position: absolute;
    left: -5%;
    right: -5%;
    top: 34%;
    height: 76px;
    border-top: 12px solid #c49a4e;
    border-radius: 0 0 50% 50%;
    background: #fffaf2;
    transform: rotate(-2deg);
}

.ticket-main::after {
    content: "";
    position: absolute;
    right: 34px;
    top: 0;
    width: 86px;
    height: 132px;
    background: linear-gradient(180deg, #d4ad61, #9d6d24);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 74%, 0 100%);
}

.ticket-top {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 26px;
    align-items: center;
    margin-bottom: 16px;
}

.ticket-top img {
    width: 120px;
    height: auto;
}

.ticket-top span {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(196, 154, 78, .55);
    color: #6a5b43;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .26em;
    text-transform: uppercase;
}

.ticket-main p {
    position: relative;
    z-index: 2;
    margin: 10px 0 0;
    color: #111;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: .38em;
    text-align: center;
    text-transform: uppercase;
}

.ticket-main h2 {
    position: relative;
    z-index: 2;
    margin: 8px 0 0;
    color: #111;
    font-size: 84px;
    line-height: .9;
    letter-spacing: .2em;
    text-align: center;
    text-transform: uppercase;
}

.ticket-benefits {
    position: absolute;
    left: 38px;
    right: 38px;
    bottom: 44px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 0;
    background: transparent;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: .2em;
    text-align: center;
    text-transform: uppercase;
}

.ticket-benefits span {
    display: grid;
    gap: 10px;
    align-content: center;
    min-height: 190px;
}

.ticket-benefits span + span {
    border-left: 1px solid rgba(196, 154, 78, .9);
}

.ticket-benefits strong {
    display: block;
    color: #d4ad61;
    font-size: 82px;
    line-height: .8;
    letter-spacing: 0;
}

.ticket-side {
    padding: 54px 34px;
    border-left: 2px dashed rgba(17, 17, 17, .22);
    background: #fffaf2;
}

.ticket-side span {
    display: block;
    margin-top: 20px;
    color: #333;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ticket-side span:first-child {
    margin-top: 0;
}

.ticket-side strong {
    display: inline-block;
    margin: 10px 0 24px;
    padding: 12px 16px;
    border: 1px dashed var(--accent-dark);
    color: var(--accent-dark);
    font-size: 23px;
}

.ticket-side p {
    color: #111;
    font-size: 17px;
}

.ticket-side small {
    display: block;
    margin-top: 46px;
    padding-top: 26px;
    border-top: 1px solid rgba(196, 154, 78, .42);
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    padding: 28px;
    background: #fff;
}

.admin-sidebar {
    padding: 30px 0;
    background: #111417;
    color: #fff;
    border-radius: 12px 0 0 12px;
}

.admin-side-logo {
    display: block;
    width: 112px;
    height: auto;
    margin: 0 auto 34px;
}

.admin-sidebar nav {
    display: grid;
    gap: 2px;
}

.admin-sidebar a {
    display: flex;
    gap: 12px;
    align-items: center;
    min-height: 52px;
    padding: 0 22px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.admin-sidebar a.active,
.admin-sidebar a:hover {
    background: linear-gradient(180deg, #d4ad61, #ad7d32);
}

.admin-sidebar svg {
    flex: 0 0 22px;
}

.admin-dashboard {
    padding: 30px;
    border: 1px solid rgba(196, 154, 78, .4);
    border-left: 0;
    border-radius: 0 12px 12px 0;
    background: #fff;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 26px;
}

.dashboard-header h1 {
    margin: 0;
    font-size: 28px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.export-button {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 6px;
    background: linear-gradient(180deg, #d4ad61, #ad7d32);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.export-button svg {
    width: 18px;
    height: 18px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.dashboard-stat {
    min-height: 92px;
    padding: 18px 20px;
    border: 1px solid #eadfd0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(35, 28, 20, .05);
}

.dashboard-stat span {
    display: block;
    margin-bottom: 10px;
    color: #6f6a63;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.dashboard-stat strong {
    font-size: 26px;
}

.dashboard-stat.green {
    background: linear-gradient(90deg, rgba(56, 161, 105, .1), #fff 35%);
}

.dashboard-stat.red {
    background: linear-gradient(90deg, rgba(229, 62, 62, .1), #fff 35%);
}

.dashboard-stat.gold {
    background: linear-gradient(90deg, rgba(196, 154, 78, .16), #fff 35%);
}

.dashboard-card {
    padding: 22px;
    border: 1px solid #eadfd0;
    border-radius: 8px;
    background: #fff;
}

.dashboard-card h2 {
    margin: 0 0 18px;
    font-size: 17px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.campaign-panel {
    margin-bottom: 22px;
    padding: 22px;
    border: 1px solid rgba(196, 154, 78, .45);
    border-radius: 8px;
    background: #fffaf2;
}

.campaign-panel h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.campaign-panel p:not(.eyebrow) {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 15px;
}

.campaign-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.campaign-form label {
    display: grid;
    gap: 7px;
    color: #5d554b;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.campaign-form input,
.campaign-form textarea {
    width: 100%;
    min-height: 40px;
    border: 1px solid var(--line);
    background: #fff;
    padding: 9px 10px;
    font: inherit;
    text-transform: none;
}

.campaign-form textarea {
    min-height: 84px;
    resize: vertical;
}

.campaign-form .wide {
    grid-column: 1 / -1;
}

@media (max-width: 720px) {
    .center-page,
    .login-page {
        padding: 16px;
    }

    .campaign-hero {
        display: block;
        min-height: 100vh;
        background:
            radial-gradient(circle at 0% 70%, rgba(196, 154, 78, .14), transparent 28%),
            #fff8ec;
    }

    .campaign-hero::before,
    .campaign-hero::after,
    .hero-copy::before {
        display: none;
    }

    .dot-pattern {
        width: 130px;
        height: 90px;
    }

    .hero-copy {
        padding: 32px 22px 24px;
    }

    .hero-logo {
        width: 132px;
        margin-bottom: 34px;
    }

    .campaign-hero h1 {
        font-size: clamp(44px, 13vw, 62px);
    }

    .download-button,
    .download-actions {
        width: 100%;
        min-height: 58px;
    }

    .download-actions .download-button {
        width: 100%;
    }

    .trust-row {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 34px;
    }

    .trust-item,
    .trust-item + .trust-item {
        display: flex;
        gap: 16px;
        align-items: center;
        padding: 0;
        border-left: 0;
    }

    .trust-item svg {
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
    }

    .voucher-card {
        margin: 20px 22px 26px;
        min-height: 420px;
        padding: 18px;
        border-radius: 22px;
    }

    .voucher-card-inner {
        min-height: 420px;
        padding: 24px 18px;
    }

    .voucher-logo {
        width: 130px;
    }

    .voucher-card strong {
        font-size: 92px;
    }

    .voucher-card p {
        font-size: 18px;
    }

    .hero-photo {
        min-height: 280px;
        background-position: center 35%;
    }

    .campaign-footer {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 22px;
    }

    .campaign-footer div + div {
        padding-left: 0;
        border-left: 0;
    }

    .admin-page {
        padding: 16px;
    }

    .admin-header {
        display: block;
    }

    .admin-brand {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-actions {
        margin-top: 18px;
    }

    .super-panel,
    .generate-form {
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .generate-form input,
    .generate-form button {
        width: 100%;
    }
}

@media (max-width: 980px) {
    .final-hero {
        grid-template-columns: 1fr;
    }

    .final-hero::before {
        display: none;
    }

    .final-hero-photo {
        min-height: 360px;
        order: -1;
    }

    .phone-preview {
        right: 18px;
        bottom: -130px;
        width: 190px;
        min-height: 332px;
        border-width: 8px;
        border-radius: 26px;
        padding: 14px;
        transform: scale(.86);
        transform-origin: right bottom;
    }

    .final-hero-copy {
        padding: 34px 22px 36px;
    }

    .final-logo {
        display: block;
        width: 126px;
        margin-bottom: 32px;
    }

    .final-kicker {
        font-size: 12px;
    }

    .final-hero h1 {
        font-size: clamp(30px, 8.5vw, 42px);
    }

    .final-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .final-button {
        width: 100%;
        min-height: 58px;
    }

    .ticket-preview {
        grid-template-columns: 1fr;
    }

    .ticket-main {
        min-height: 520px;
        padding: 28px 28px 84px;
    }

    .ticket-main h2 {
        font-size: 52px;
        letter-spacing: .12em;
    }

    .ticket-benefits {
        left: 18px;
        right: 18px;
        bottom: 28px;
        font-size: 13px;
        letter-spacing: .1em;
    }

    .ticket-benefits strong {
        font-size: 56px;
    }

    .ticket-side {
        border-left: 0;
        border-top: 2px dashed rgba(17, 17, 17, .22);
        padding: 28px;
    }

    .admin-shell {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .admin-sidebar {
        border-radius: 12px 12px 0 0;
    }

    .admin-sidebar nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-dashboard {
        border-left: 1px solid rgba(196, 154, 78, .4);
        border-radius: 0 0 12px 12px;
        padding: 18px;
    }

    .dashboard-header {
        display: grid;
    }

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

    .campaign-form {
        grid-template-columns: 1fr;
    }

    .how-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .final-hero-photo {
        min-height: 280px;
    }

    .phone-preview {
        display: none;
    }

    .final-hero-copy {
        padding-top: 28px;
    }

    .final-hero h1 {
        font-size: 30px;
    }

    .final-text {
        font-size: 14px;
    }

    .voucher-preview-section {
        padding: 32px 14px;
    }

    .ticket-top {
        display: grid;
        gap: 16px;
        margin-bottom: 28px;
    }

    .ticket-benefits {
        grid-template-columns: 1fr;
    }

    .admin-sidebar nav {
        grid-template-columns: 1fr;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .how-section {
        width: calc(100% - 28px);
        padding: 26px 18px;
    }

    .how-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 721px) and (max-height: 760px) {
    .hero-copy {
        padding-top: 34px;
        padding-bottom: 18px;
    }

    .hero-logo {
        width: 150px;
        margin-bottom: 34px;
    }

    .hero-copy::before {
        top: 50px;
        right: 20px;
        width: 230px;
        font-size: 14px;
        padding-bottom: 18px;
    }

    .campaign-hero h1 {
        max-width: 440px;
        margin-bottom: 14px;
        font-size: 66px;
    }

    .hero-text {
        max-width: 400px;
        font-size: 16px;
    }

    .download-button {
        min-height: 56px;
        margin-top: 24px;
    }

    .trust-row {
        max-width: 450px;
        margin-top: 28px;
    }

    .trust-item {
        font-size: 13px;
    }

    .trust-item svg {
        width: 36px;
        height: 36px;
    }

    .voucher-card {
        min-height: 470px;
        margin-block: 34px 18px;
        padding: 18px;
    }

    .voucher-card-inner {
        padding: 22px 18px;
    }

    .voucher-logo {
        width: 126px;
    }

    .voucher-card strong {
        font-size: 104px;
    }

    .voucher-card p {
        font-size: 16px;
    }

    .voucher-card small {
        font-size: 13px;
    }

    .campaign-footer {
        min-height: 64px;
        padding-block: 10px;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 22px;
    }

    .hero-text {
        font-size: 16px;
    }

    .login-card h1 {
        font-size: 40px;
        line-height: 1;
    }

    .voucher-label {
        font-size: 18px;
    }

    .voucher-card small {
        font-size: 14px;
    }

    .admin-header {
        padding: 18px;
    }

    .admin-logo,
    .login-logo {
        width: 104px;
    }

    .admin-header h1 {
        font-size: 30px;
    }

    .admin-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .admin-link {
        justify-content: center;
        padding: 0 10px;
    }

    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .stat {
        min-width: 0;
        padding: 14px;
    }

    .stat strong {
        font-size: 25px;
    }

    .stat span {
        overflow-wrap: anywhere;
        font-size: 12px;
    }

    table {
        min-width: 760px;
    }

    th,
    td {
        padding: 10px;
        font-size: 13px;
    }

    td form {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        width: 190px;
    }

    td input,
    td select,
    td button {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .center-page,
    .login-page,
    .admin-page {
        padding: 12px;
    }

    .login-card {
        padding: 18px;
    }

    .login-card h1 {
        font-size: 36px;
    }

    .stats {
        grid-template-columns: 1fr;
    }
}
