:root {
    --bg: #faf9f5;
    --surface: #ffffff;
    --ink: #14231a;
    --ink-muted: #5c6b62;
    --green: #3f6b1a;
    --green-deep: #213d10;
    --green-soft: #e7f0d9;
    --hero-1: #16301f;
    --hero-2: #0c1f13;
    --border: #e6e2d8;

    --font-display: 'Lora', Georgia, serif;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
}

a { color: inherit; }

/* ---------- Header ---------- */

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 14px 32px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

.logo {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.logo-axi { color: var(--ink); }
.logo-om { color: var(--green); }

.main-nav {
    display: flex;
    gap: 22px;
    flex-shrink: 0;
}

.main-nav a {
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-muted);
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    margin-right: 22px;
}

.main-nav a:last-child {
    margin-right: 0;
}

.main-nav a.active,
.main-nav a:hover {
    color: var(--ink);
    border-bottom-color: var(--green);
}

.header-search {
    flex: 1;
    padding: 9px 14px;
    border: 1px solid var(--border);
    border-radius: 7px;
    font-family: var(--font-body);
    font-size: 14px;
    background: var(--bg);
    max-width: 420px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.header-link {
    text-decoration: none;
    font-size: 14.5px;
    color: var(--ink-muted);
}

.header-signin {
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    color: #fff;
    background: var(--green);
    padding: 8px 18px;
    border-radius: 7px;
}

/* ---------- Hero ---------- */

.hero {
    background: linear-gradient(135deg, var(--hero-1), var(--hero-2));
    padding: 56px 32px 48px;
}

.hero-inner {
    max-width: 1240px;
    margin: 0 auto;
}

.hero-eyebrow {
    font-size: 14px;
    color: #b9d69a;
    margin: 0 0 10px;
    font-weight: 500;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 46px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 14px;
    max-width: 14ch;
}

.hero-sub {
    font-size: 16px;
    color: #d7e4c9;
    max-width: 46ch;
    line-height: 1.55;
    margin: 0 0 28px;
}

.hero-chips {
    display: flex;
    gap: 10px;
}

.chip {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    padding: 9px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: #eef3e7;
    cursor: pointer;
}

.chip:hover { border-color: rgba(255, 255, 255, 0.5); }

.chip.active {
    background: #fff;
    color: var(--green-deep);
    border-color: #fff;
}

/* ---------- Listings ---------- */

.listings-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 48px 32px 0;
}

.listings-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 20px;
}

.listings-head h2 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    margin: 0;
}

.listings-count {
    font-size: 14px;
    color: var(--ink-muted);
}

.listing-row {
    display: flex;
    align-items: center;
    gap: 22px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 14px;
    background: var(--surface);
    transition: border-color 0.15s ease;
}

.listing-row:hover {
    border-color: #cdd6c3;
}

.listing-row.featured {
    background: #f6f7f2;
    border-color: #dfe6d3;
}

.date-box {
    width: 78px;
    text-align: center;
    flex-shrink: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    padding: 9px 4px 10px;
}

.date-month {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-muted);
    text-transform: capitalize;
}

.date-day {
    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 600;
    color: var(--green);
    line-height: 1.2;
}

.date-weekday {
    font-size: 11.5px;
    font-weight: 600;
    background: var(--green-soft);
    color: var(--green-deep);
    border-radius: 5px;
    padding: 1px 8px;
    display: inline-block;
    margin-top: 4px;
}

.event-info {
    flex: 1;
    min-width: 0;
}

.event-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.event-title {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
}

.urgency-tag {
    font-size: 12px;
    font-weight: 600;
    color: #a5460f;
    background: #fbe9dd;
    padding: 2px 9px;
    border-radius: 20px;
}

.event-meta {
    font-size: 14.5px;
    color: var(--ink-muted);
}

.flag {
    margin: 0 2px;
}

.btn-tickets {
    flex-shrink: 0;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14.5px;
    text-align: center;
    font-family: var(--font-body);
}

.btn-tickets.outline {
    border: 1px solid #3a3a3a;
    color: var(--ink);
    background: #fff;
}

.btn-tickets.outline:hover {
    background: var(--ink);
    color: #fff;
}

.btn-tickets.solid {
    background: var(--green);
    color: #fff;
    border: 1px solid var(--green);
}

.btn-tickets.solid:hover {
    background: var(--green-deep);
    border-color: var(--green-deep);
}

.no-events {
    text-align: center;
    color: var(--ink-muted);
    padding: 40px 0;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin: 30px 0 64px;
}

.page-number, .page-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
    font-size: 14.5px;
}

.page-arrow {
    color: #555;
    font-size: 18px;
}

.page-number.active {
    background: var(--green);
    color: #fff;
}

.page-arrow.disabled {
    opacity: 0.35;
    pointer-events: none;
}

/* ---------- Footer ---------- */

.site-footer {
    border-top: 1px solid var(--border);
    padding: 44px 32px 24px;
    max-width: 1240px;
    margin: 40px auto 0;
}

.newsletter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.newsletter input {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 380px;
    max-width: 55vw;
    font-size: 15px;
    font-family: var(--font-body);
}

.newsletter button {
    padding: 12px 24px;
    border: 1px solid var(--green);
    color: var(--green);
    background: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    font-family: var(--font-body);
    cursor: pointer;
}

.newsletter button:hover {
    background: var(--green-soft);
}

.agreement-text {
    text-align: left;
    font-size: 13.5px;
    color: var(--ink-muted);
    margin: 0 0 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.agreement-text a { color: var(--green-deep); text-decoration: none; }
.agreement-text a:hover { text-decoration: underline; }

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-guarantee { flex: 1.4 1 260px; }
.footer-links { flex: 1 1 160px; }
.footer-locale { flex: 1.2 1 220px; }

.guarantee-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.shield-icon {
    color: var(--green);
    font-size: 26px;
    line-height: 1;
}

.guarantee-wordmark {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16.5px;
    line-height: 1.25;
    color: var(--ink);
}

.guarantee-wordmark span {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--ink-muted);
    font-size: 14px;
}

.footer-guarantee ul, .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.footer-guarantee li {
    margin-bottom: 12px;
    color: var(--ink-muted);
    font-weight: 500;
}

.check { color: var(--green); margin-right: 4px; }

.footer-links h4, .footer-locale h4 {
    font-size: 14.5px;
    font-weight: 600;
    margin: 0 0 16px;
    color: var(--ink-muted);
}

.footer-links li { margin-bottom: 13px; }
.footer-links a { color: var(--ink); text-decoration: none; font-size: 14.5px; }
.footer-links a:hover { text-decoration: underline; }

.locale-box {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 12px;
    font-size: 14.5px;
    color: var(--ink);
}

.locale-placeholder { color: #555; }

.locale-box.stacked .locale-row:first-child {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.lang-icon { font-size: 13px; color: #888; margin-right: 6px; }

.footer-bottom {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 12.5px;
    color: var(--ink-muted);
    line-height: 1.7;
}

.footer-bottom p { margin: 0 0 4px; }
.footer-bottom a { color: var(--green-deep); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

@media (max-width: 900px) {
    .main-nav { display: none; }
    .hero-title { font-size: 34px; }
}

@media (max-width: 800px) {
    .footer-grid { flex-direction: column; }
    .listing-row { flex-wrap: wrap; }
}

/* ---------- Listing price tag ---------- */

.listing-price {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.price-label {
    font-size: 12px;
    color: var(--ink-muted);
    display: block;
    text-align: right;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    color: var(--ink);
    display: block;
    text-align: right;
    margin-bottom: 4px;
}

/* ---------- Breadcrumb & section heading ---------- */

.breadcrumb {
    font-size: 13.5px;
    color: var(--ink-muted);
    margin: 0 0 20px;
}

.breadcrumb a { color: var(--ink-muted); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.section-heading {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 18px;
}

/* ---------- Event detail page ---------- */

.event-hero-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 36px;
}

.event-hero-date {
    width: 90px;
    text-align: center;
    flex-shrink: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    padding: 12px 6px;
}

.event-hero-date .date-month { font-size: 14px; }
.event-hero-date .date-day { font-size: 32px; }

.event-hero-info h1 {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 600;
    margin: 0 0 8px;
}

.event-hero-meta {
    font-size: 15px;
    color: var(--ink-muted);
    line-height: 1.6;
    margin: 0;
}

.ticket-tiers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.ticket-tier {
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 20px;
    background: var(--surface);
}

.ticket-tier.sold-out {
    opacity: 0.55;
}

.ticket-tier-info { flex: 1; }

.ticket-tier-name {
    font-weight: 600;
    font-size: 15.5px;
    margin-bottom: 2px;
}

.ticket-tier-sub {
    font-size: 13px;
    color: var(--ink-muted);
}

.ticket-tier-price {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    width: 90px;
    text-align: right;
}

.ticket-tier-qty { width: 70px; text-align: right; }

.qty-select {
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 7px;
    font-family: var(--font-body);
    font-size: 14px;
    width: 100%;
}

.qty-disabled { color: var(--ink-muted); }

.order-summary {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    background: var(--surface);
    max-width: 360px;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.order-summary-note {
    font-size: 13px;
    color: var(--ink-muted);
    margin: 0 0 16px;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-tickets.solid:disabled {
    background: #c9cfc2;
    border-color: #c9cfc2;
    cursor: not-allowed;
}

/* ---------- Payment page ---------- */

.payment-layout {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.payment-main { flex: 1.6 1 420px; }
.payment-summary { flex: 1 1 280px; }

.payment-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    padding: 28px;
}

.payment-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    margin: 0 0 10px;
}

.payment-instructions {
    font-size: 14.5px;
    color: var(--ink-muted);
    line-height: 1.6;
    margin: 0 0 24px;
}

.btc-block {
    display: flex;
    gap: 24px;
    align-items: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 28px;
}

.btc-qr img {
    width: 140px;
    height: 140px;
    border-radius: 8px;
    background: #fff;
    padding: 6px;
    border: 1px solid var(--border);
}

.btc-address-wrap { flex: 1; min-width: 0; }

.btc-address-wrap label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-muted);
    display: block;
    margin-bottom: 6px;
}

.btc-address-row { display: flex; gap: 8px; }

.btc-address-row input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 7px;
    font-family: monospace;
    font-size: 13px;
    background: var(--surface);
}

.btc-address-row button {
    padding: 10px 16px;
    border: 1px solid var(--green);
    color: var(--green);
    background: #fff;
    border-radius: 7px;
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    flex-shrink: 0;
}

.btc-address-row button:hover { background: var(--green-soft); }

.btc-warning {
    font-size: 12.5px;
    color: #a5460f;
    margin: 10px 0 0;
}

.payment-form .form-row {
    margin-bottom: 18px;
}

.payment-form label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 6px;
}

.payment-form input[type="text"],
.payment-form input[type="email"],
.payment-form input[type="file"] {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14.5px;
}

.form-hint {
    font-size: 12.5px;
    color: var(--ink-muted);
    margin: 6px 0 0;
}

.payment-summary {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    padding: 24px;
}

.payment-summary h3 {
    font-family: var(--font-display);
    font-size: 18px;
    margin: 0 0 14px;
}

.payment-summary-event { font-weight: 600; margin: 0 0 4px; }

.payment-summary-meta {
    font-size: 13.5px;
    color: var(--ink-muted);
    line-height: 1.6;
    margin: 0 0 16px;
}

.payment-summary-items {
    border-top: 1px solid var(--border);
    padding-top: 14px;
    margin-bottom: 14px;
}

.payment-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--ink-muted);
}

.payment-summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 16px;
    border-top: 1px solid var(--border);
    padding-top: 14px;
}

/* ---------- Order confirmation ---------- */

.confirmation-card {
    max-width: 520px;
    margin: 20px auto 60px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 40px 32px;
    background: var(--surface);
}

.confirmation-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green-deep);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.confirmation-card h1 {
    font-family: var(--font-display);
    font-size: 26px;
    margin: 0 0 12px;
}

.confirmation-sub {
    font-size: 14.5px;
    color: var(--ink-muted);
    line-height: 1.6;
    margin: 0 0 28px;
}

.confirmation-summary {
    text-align: left;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    background: var(--bg);
}

.confirmation-status {
    font-size: 14px;
    margin-bottom: 24px;
}

.status-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
}

.status-pending { background: #fbe9dd; color: #a5460f; }
.status-confirmed { background: var(--green-soft); color: var(--green-deep); }
.status-rejected { background: #f7dede; color: #a3231f; }

@media (max-width: 700px) {
    .btc-block { flex-direction: column; }
    .ticket-tier { flex-wrap: wrap; }
    .ticket-tier-price, .ticket-tier-qty { width: auto; }
}
