:root {
    --bg: #f7f7f4;
    --surface: #ffffff;
    --surface-soft: #f0f0eb;
    --text: #171717;
    --muted: #777773;
    --line: #e6e6e0;

    --purple: #6d4aff;
    --purple-dark: #5333dc;
    --purple-soft: #eeeaff;

    --orange: #ff7448;
    --green: #27a36a;
    --blue: #3d82f6;

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;

    --shadow-sm: 0 5px 20px rgba(20, 20, 20, 0.06);
    --shadow-md: 0 20px 60px rgba(20, 20, 20, 0.11);

    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "DM Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}

.icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.125em;
    flex-shrink: 0;
}

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


/* ================= HEADER ================= */

.header {
    height: 78px;
    display: flex;
    align-items: center;
    background: rgba(247, 247, 244, 0.9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    background: transparent;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-family: "Manrope", sans-serif;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -1px;
}

.brand-mark {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: flex-end;
    gap: 3px;
}

.brand-mark span {
    width: 7px;
    background: var(--purple);
    border-radius: 10px 10px 3px 3px;
}

.brand-mark span:nth-child(1) {
    height: 14px;
}

.brand-mark span:nth-child(2) {
    height: 23px;
}

.brand-mark span:nth-child(3) {
    height: 18px;
    background: var(--orange);
}

.desktop-nav {
    display: flex;
    gap: 36px;
    margin-left: 100px;
}

.nav-link {
    background: transparent;
    color: #7b7b77;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 0;
    position: relative;
}

.nav-link.active,
.nav-link:hover {
    color: var(--text);
}

.nav-link.active::after {
    content: "";
    width: 5px;
    height: 5px;
    background: var(--purple);
    border-radius: 50%;
    position: absolute;
    bottom: -4px;
    left: 50%;
}

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

.avatar-button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1c1c1c;
    color: white;
    font-size: 11px;
    font-weight: 700;
}

.avatar-button.signed-out {
    width: auto;
    height: 38px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 12px;
}

.profile-menu-wrap {
    position: relative;
}

.profile-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    width: 220px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: 14px;
    z-index: 200;
}

.profile-dropdown.hidden {
    display: none;
}

.profile-dropdown-name {
    font-family: "Manrope";
    font-size: 13px;
    font-weight: 700;
}

.profile-dropdown-email {
    color: #999;
    font-size: 11px;
    margin: 3px 0 12px;
    word-break: break-all;
}

.profile-dropdown-item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 8px;
    border-radius: 8px;
    background: transparent;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
}

.profile-dropdown-item:hover {
    background: #f4f4f1;
}

.profile-dropdown-item.hidden {
    display: none;
}

.organiser-status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.organiser-status.active {
    background: #dff5e9;
    color: var(--green);
}

.organiser-status.suspended {
    background: #ffe1df;
    color: #a73530;
}

.organiser-status.pending {
    background: #fff1d6;
    color: #a66a00;
}

.organiser-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.icon-button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--surface);
    display: grid;
    place-items: center;
}

.mobile-menu-button,
.mobile-nav {
    display: none;
}


/* ================= VIEWS ================= */

.view {
    display: none;
}

.view.active {
    display: block;
}


/* ================= HERO ================= */

.hero {
    padding: 80px 0 90px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 60px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 13px;
    border-radius: 999px;
    background: var(--purple-soft);
    color: var(--purple-dark);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 22px;
}

.live-dot {
    width: 7px;
    height: 7px;
    background: var(--purple);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(109, 74, 255, 0.12);
}

.hero h1 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(50px, 6vw, 82px);
    line-height: 0.99;
    letter-spacing: -4px;
    font-weight: 800;
}

.hero h1 span {
    color: var(--purple);
}

.hero-copy>p {
    max-width: 510px;
    margin: 26px 0 32px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.hero-search {
    max-width: 590px;
    height: 62px;
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 6px;
    box-shadow: var(--shadow-sm);
}

.search-icon {
    font-size: 26px;
    color: #8c8c87;
    padding: 0 13px;
}

.hero-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
    font-size: 14px;
}

.hero-search input::placeholder {
    color: #aaa9a3;
}

.hero-search button {
    height: 50px;
    padding: 0 22px;
    border-radius: 11px;
    background: var(--text);
    color: white;
    font-size: 13px;
    font-weight: 700;
}

.hero-stats {
    display: flex;
    gap: 44px;
    margin-top: 36px;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stats strong {
    font-family: "Manrope", sans-serif;
    font-size: 20px;
}

.hero-stats span {
    color: #999994;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.hero-visual {
    position: relative;
    min-height: 520px;
}

.hero-image-wrap {
    position: absolute;
    right: 30px;
    top: 5px;
    width: min(90%, 510px);
    height: 510px;
    border-radius: 32px;
    overflow: hidden;
    transform: rotate(2deg);
    box-shadow: var(--shadow-md);
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.02),
            rgba(0, 0, 0, 0.62));
}

.hero-event-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 70px;
    height: 80px;
    border-radius: 15px;
    background: white;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transform: rotate(-2deg);
}

.hero-event-badge span,
.hero-event-badge small {
    color: var(--purple);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.hero-event-badge strong {
    font-family: "Manrope";
    font-size: 28px;
    line-height: 1;
}

.hero-image-caption {
    position: absolute;
    left: 30px;
    bottom: 30px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hero-image-caption span {
    font-size: 11px;
    color: #ddd;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.hero-image-caption strong {
    font-family: "Manrope";
    font-size: 30px;
}

.floating-card {
    position: absolute;
    z-index: 2;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow-md);
    border-radius: 17px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-one {
    top: 65px;
    left: -15px;
    padding: 13px 17px;
    transform: rotate(-4deg);
}

.card-two {
    right: -8px;
    bottom: 62px;
    padding: 13px 17px;
    transform: rotate(3deg);
}

.floating-card strong {
    display: block;
    font-size: 12px;
}

.floating-card small {
    display: block;
    color: #999;
    font-size: 10px;
    margin-top: 3px;
}

.mini-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 11px;
}

.mini-icon.purple {
    background: var(--purple-soft);
    color: var(--purple);
}

.attendee-stack {
    display: flex;
}

.attendee-stack span {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 2px solid white;
    background: #ffc7b3;
    color: #7d3a23;
    font-size: 9px;
    font-weight: 700;
    margin-left: -7px;
}

.attendee-stack span:first-child {
    margin-left: 0;
    background: #c7bfff;
    color: #4332aa;
}

.attendee-stack span:nth-child(2) {
    background: #bce4d2;
    color: #21734d;
}

.attendee-stack span:nth-child(3) {
    background: #ffe0a9;
    color: #845b16;
}

.attendee-stack span:last-child {
    background: #191919;
    color: white;
}


/* ================= SECTION ================= */

.categories-section {
    padding: 25px 0 75px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.section-kicker {
    color: #999993;
    font-size: 10px;
    letter-spacing: 1.7px;
    font-weight: 800;
}

.section-heading h2,
.panel-header h2 {
    margin: 8px 0 0;
    font-family: "Manrope";
    font-size: 32px;
    letter-spacing: -1.5px;
}

.text-button {
    display: flex;
    align-items: center;
    gap: 9px;
    background: transparent;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
}

.text-button span {
    color: var(--purple);
    font-size: 18px;
}

.category-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.category {
    height: 48px;
    padding: 0 17px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: white;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #696964;
    font-size: 12px;
    font-weight: 700;
    transition: 0.2s ease;
}

.category:hover {
    border-color: #ccc;
    transform: translateY(-1px);
}

.category.active {
    background: var(--text);
    border-color: var(--text);
    color: white;
}

.category-icon {
    font-size: 17px;
}


/* ================= EVENTS ================= */

.events-section {
    padding: 0 0 100px;
}

.result-count {
    color: #9b9b96;
    font-size: 12px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.event-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.25s ease;
    cursor: pointer;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.event-image {
    height: 245px;
    position: relative;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-date {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 54px;
    height: 59px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .1);
}

.event-date span {
    color: var(--purple);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
}

.event-date strong {
    font-family: "Manrope";
    font-size: 20px;
    line-height: 1;
}

.event-tag {
    position: absolute;
    right: 15px;
    top: 15px;
    background: rgba(20, 20, 20, .75);
    color: white;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.event-content {
    padding: 20px;
}

.event-content h3 {
    margin: 0;
    font-family: "Manrope";
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -.7px;
}

.event-location {
    margin: 11px 0 16px;
    color: #898984;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-bottom {
    padding-top: 15px;
    border-top: 1px solid #eeeeea;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-price {
    display: flex;
    flex-direction: column;
}

.event-price small {
    color: #999;
    font-size: 9px;
}

.event-price strong {
    font-family: "Manrope";
    font-size: 16px;
}

.event-action {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--purple-soft);
    color: var(--purple);
    display: grid;
    place-items: center;
    font-size: 17px;
}

.empty-state {
    padding: 80px 20px;
    text-align: center;
    background: white;
    border-radius: 20px;
    border: 1px dashed #ddd;
}

.empty-state.hidden {
    display: none;
}

.empty-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: var(--purple-soft);
    color: var(--purple);
    display: grid;
    place-items: center;
    font-size: 30px;
}

.empty-state h3 {
    margin: 0 0 8px;
    font-family: "Manrope";
}

.empty-state p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 22px;
}


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

.organiser-cta {
    padding-bottom: 100px;
}

.organiser-card {
    min-height: 330px;
    border-radius: 30px;
    background: #171717;
    color: white;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    padding: 60px;
}

.organiser-copy {
    max-width: 560px;
    position: relative;
    z-index: 2;
}

.organiser-copy .section-kicker {
    color: #888;
}

.organiser-copy h2 {
    font-family: "Manrope";
    font-size: 42px;
    letter-spacing: -2px;
    margin: 13px 0;
}

.organiser-copy p {
    max-width: 490px;
    color: #a5a5a5;
    line-height: 1.6;
    font-size: 14px;
}

.light-button {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 26px;
    padding: 14px 20px;
    background: white;
    color: #151515;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 800;
}

.organiser-art {
    position: absolute;
    right: 40px;
    top: 0;
    width: 440px;
    height: 100%;
}

.art-ticket {
    position: absolute;
    width: 270px;
    height: 150px;
    right: 80px;
    top: 90px;
    border: 1px solid #494949;
    border-radius: 20px;
    padding: 22px;
    transform: rotate(-8deg);
    background: #202020;
}

.art-ticket span {
    color: #927fff;
    font-size: 8px;
    letter-spacing: 2px;
    font-weight: 800;
}

.art-ticket strong {
    display: block;
    margin-top: 24px;
    font-family: "Manrope";
    font-size: 24px;
}

.art-ticket small {
    color: #777;
}

.art-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 70px solid #292929;
    border-radius: 50%;
    right: -50px;
    top: 15px;
}

.art-star {
    position: absolute;
    color: var(--purple);
    font-size: 70px;
    right: 80px;
    top: 25px;
}


/* ================= BUTTONS ================= */

.primary-button,
.secondary-button {
    min-height: 46px;
    padding: 0 19px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 800;
}

.primary-button {
    background: var(--purple);
    color: white;
    box-shadow: 0 8px 20px rgba(109, 74, 255, .2);
}

.primary-button:hover {
    background: var(--purple-dark);
}

.secondary-button {
    background: white;
    color: var(--text);
    border: 1px solid var(--line);
}

.full-button {
    width: 100%;
}


/* ================= DETAIL ================= */

.detail-container {
    padding-top: 35px;
    padding-bottom: 100px;
}

.back-button {
    background: transparent;
    color: #777;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 0;
    margin-bottom: 25px;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 60px;
    align-items: start;
}

.detail-image {
    width: 100%;
    height: 580px;
    border-radius: 28px;
    overflow: hidden;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-copy {
    padding-top: 15px;
}

.detail-category {
    color: var(--purple);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.detail-copy h1 {
    margin: 15px 0;
    font-family: "Manrope";
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1;
    letter-spacing: -3px;
}

.share-row {
    display: flex;
    gap: 10px;
    margin-bottom: 26px;
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: white;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.share-button:hover {
    border-color: #ccc;
}

.share-button.whatsapp {
    background: #25d366;
    border-color: #25d366;
    color: white;
}

.share-button.whatsapp:hover {
    background: #1fbd5a;
}

.detail-description {
    color: #777;
    line-height: 1.7;
    font-size: 14px;
}

.detail-info {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 20px;
}

.countdown {
    margin-top: 22px;
    padding: 18px 20px;
    border-radius: 16px;
    background: var(--purple-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.countdown-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--purple-dark);
    font-size: 12px;
    font-weight: 800;
}

.countdown-units {
    display: flex;
    gap: 10px;
}

.countdown-unit {
    min-width: 50px;
    padding: 8px 10px;
    border-radius: 10px;
    background: white;
    text-align: center;
}

.countdown-unit strong {
    display: block;
    font-family: "Manrope";
    font-size: 18px;
    color: var(--text);
}

.countdown-unit small {
    display: block;
    color: #999;
    font-size: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

.countdown-ended {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--purple-dark);
    font-size: 12px;
    font-weight: 800;
}

.info-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--surface-soft);
    display: grid;
    place-items: center;
}

.info-item small {
    display: block;
    color: #999;
    font-size: 9px;
    letter-spacing: 1px;
}

.info-item strong {
    display: block;
    font-size: 13px;
    margin-top: 4px;
}

.buy-box {
    padding: 22px;
    border-radius: 18px;
    background: white;
    border: 1px solid var(--line);
}

.buy-box-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 17px;
}

.buy-box-top small {
    color: #999;
}

.buy-box-top strong {
    font-family: "Manrope";
    font-size: 23px;
}

.buy-box .primary-button {
    width: 100%;
}


/* ================= FORMS ================= */

.form-container {
    max-width: 900px;
    padding-top: 40px;
    padding-bottom: 100px;
}

.form-header {
    margin: 35px 0;
}

.form-header h1,
.dashboard-header h1,
.page-heading h1 {
    margin: 10px 0;
    font-family: "Manrope";
    font-size: 48px;
    letter-spacing: -2.5px;
}

.form-header p,
.dashboard-header p,
.page-heading p {
    color: var(--muted);
    font-size: 14px;
}

.form-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 18px;
}

.form-card-heading {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.form-number {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 10px;
    background: var(--purple-soft);
    color: var(--purple);
    display: grid;
    place-items: center;
    font-size: 10px;
    font-weight: 800;
}

.form-card-heading h2 {
    font-family: "Manrope";
    font-size: 20px;
    margin: 0;
}

.form-card-heading p {
    color: #999;
    font-size: 12px;
    margin: 5px 0 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ticket-types-list {
    display: grid;
    gap: 18px;
}

.ticket-type-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr auto;
    gap: 15px;
    align-items: end;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.ticket-type-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.remove-ticket-type-button {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--surface-soft);
    color: #a73530;
    display: grid;
    place-items: center;
}

.remove-ticket-type-button:hover {
    background: #ffe1df;
}

.remove-ticket-type-button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.ticket-type-sold-note {
    grid-column: 1 / -1;
    color: #999;
    font-size: 10px;
    margin-top: -8px;
}

.ticket-type-options {
    display: grid;
    gap: 8px;
}

.ticket-type-loading {
    color: #999;
    font-size: 11px;
    margin: 0;
}

.additional-attendees-list {
    display: grid;
    gap: 10px;
}

.attendees-purchase-list {
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
}

.attendee-purchase-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 8px;
    align-items: center;
}

.attendee-purchase-row.self {
    grid-template-columns: 1fr auto;
}

.attendee-purchase-row input,
.attendee-purchase-row select {
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
    font-size: 12px;
    color: var(--text);
    font-family: inherit;
}

.attendee-purchase-label {
    font-size: 11px;
    font-weight: 700;
    color: #999;
}

.attendee-purchase-row .remove-attendee-button {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--surface-soft);
    color: #a73530;
    display: grid;
    place-items: center;
}

.attendee-purchase-row .remove-attendee-button:hover {
    background: #ffe1df;
}

.ticket-type-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
}

.ticket-type-option.selected {
    border-color: var(--purple);
    background: var(--purple-soft);
}

.ticket-type-option.disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.ticket-type-option-name {
    font-size: 12px;
    font-weight: 700;
}

.ticket-type-option-remaining {
    display: block;
    color: #999;
    font-size: 10px;
    margin-top: 2px;
}

.ticket-type-option-price {
    font-family: "Manrope";
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    color: #444;
    font-size: 11px;
    font-weight: 700;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid #deded8;
    border-radius: 10px;
    padding: 13px 14px;
    outline: none;
    background: #fbfbf9;
    color: var(--text);
    font-size: 13px;
    transition: border-color .2s, box-shadow .2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(109, 74, 255, .08);
}

.field textarea {
    resize: vertical;
}

.field-help {
    color: #999;
    font-size: 10px;
}

.purchase-sign-in-hint {
    margin: -6px 0 4px;
}

.purchase-sign-in-hint.hidden {
    display: none;
}

.purchase-sign-in-hint .text-button {
    display: inline-flex;
    color: var(--purple-dark);
    text-decoration: underline;
}

.image-upload {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: center;
}

.image-upload-fields {
    display: grid;
    gap: 18px;
}

.upload-preview {
    min-height: 190px;
    border: 1px dashed #d3d3ce;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #999;
    overflow: hidden;
    position: relative;
}

.upload-preview.has-image {
    color: white;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 18px;
}

.upload-preview.has-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, .65));
}

.upload-preview img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-preview strong,
.upload-preview small {
    position: relative;
    z-index: 2;
}

.upload-placeholder {
    font-size: 30px;
    color: var(--purple);
    margin-bottom: 8px;
}

.upload-preview strong {
    font-size: 12px;
}

.upload-preview small {
    margin-top: 4px;
    font-size: 10px;
    color: #aaa;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 25px;
}


/* ================= DASHBOARD ================= */

.dashboard-container {
    padding-top: 55px;
    padding-bottom: 100px;
}

.dashboard-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 35px;
}

.dashboard-header h1 {
    font-size: 42px;
}

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

.metric-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 23px;
}

.metric-card.dark {
    background: #1a1a1a;
    color: white;
    border-color: #1a1a1a;
}

.metric-label {
    display: block;
    color: #999;
    font-size: 9px;
    letter-spacing: 1.2px;
    font-weight: 800;
    margin-bottom: 13px;
}

.metric-card strong {
    display: block;
    font-family: "Manrope";
    font-size: 28px;
    letter-spacing: -1px;
}

.metric-card small {
    display: block;
    color: #999;
    margin-top: 7px;
    font-size: 10px;
}

.metric-card .positive {
    color: var(--green);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 20px;
}

.dashboard-panel {
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 25px;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
}

.export-actions {
    display: flex;
    gap: 16px;
}

.organiser-event {
    display: grid;
    grid-template-columns: 76px 1fr auto auto;
    gap: 15px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid #eee;
}

.organiser-event-actions {
    display: flex;
    gap: 6px;
}

.icon-action-button {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--surface-soft);
    color: #666;
    display: grid;
    place-items: center;
    font-size: 14px;
}

.icon-action-button:hover {
    background: #e8e8e3;
}

.icon-action-button.danger:hover {
    background: #ffe1df;
    color: #c0392b;
}

.paused-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #fff1d6;
    color: #a66a00;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

.organiser-event:last-child {
    border-bottom: 0;
}

.organiser-event img {
    width: 76px;
    height: 65px;
    border-radius: 10px;
    object-fit: cover;
}

.organiser-event h3 {
    margin: 0 0 5px;
    font-size: 13px;
}

.organiser-event p {
    margin: 0;
    color: #999;
    font-size: 10px;
}

.organiser-event .sales {
    text-align: right;
}

.organiser-event .sales strong {
    display: block;
    font-size: 13px;
}

.organiser-event .sales small {
    color: #999;
    font-size: 9px;
}

.scanner-panel {
    background: #f0edff;
    border-color: #e3ddff;
}

.scanner-heading {
    display: flex;
    gap: 13px;
    align-items: center;
}

.scanner-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: var(--purple);
    color: white;
    border-radius: 12px;
    font-size: 20px;
}

.scanner-panel h2 {
    margin: 6px 0 0;
    font-family: "Manrope";
    font-size: 20px;
}

.scanner-panel>p {
    color: #777;
    line-height: 1.5;
    font-size: 11px;
    margin: 18px 0;
}

.scanner-button {
    width: 100%;
    min-height: 50px;
    border-radius: 11px;
    background: #1b1b1b;
    color: white;
    font-weight: 800;
    font-size: 12px;
}

.scanner-button span {
    margin-right: 7px;
}

.recent-checkins {
    margin-top: 28px;
    background: white;
    border-radius: 15px;
    padding: 15px;
}

.recent-heading {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    margin-bottom: 12px;
}

.recent-heading span {
    color: #999;
}

.recent-checkins-empty {
    margin: 0;
    padding: 10px 2px;
    color: #999;
    font-size: 11px;
    line-height: 1.5;
}

.checkin-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-top: 1px solid #f0f0ed;
}

.check-avatar {
    width: 29px;
    height: 29px;
    border-radius: 50%;
    background: #d9d1ff;
    color: #573fd0;
    display: grid;
    place-items: center;
    font-size: 8px;
    font-weight: 800;
}

.check-avatar.blue {
    background: #d5e7ff;
    color: #3970bb;
}

.check-avatar.orange {
    background: #ffe1d5;
    color: #bd5835;
}

.checkin-row>div {
    flex: 1;
}

.checkin-row strong {
    display: block;
    font-size: 10px;
}

.checkin-row small {
    color: #999;
    font-size: 9px;
}

.check-status {
    color: var(--green);
    font-size: 13px;
}


/* ================= ATTENDEES ================= */

.attendees-panel {
    grid-column: 1 / -1;
    margin-top: 20px;
}

.attendees-table-scroll {
    overflow-x: auto;
}

.attendees-table-inner {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 12px;
}

.attendees-table-inner th {
    text-align: left;
    padding: 10px 12px;
    color: #999;
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--line);
}

.attendees-table-inner td {
    padding: 12px;
    border-bottom: 1px solid #f0f0ed;
    vertical-align: middle;
}

.attendees-table-inner tr:last-child td {
    border-bottom: 0;
}

.attendees-table-inner td strong {
    display: block;
    font-size: 12px;
}

.attendees-table-inner td small {
    display: block;
    color: #999;
    font-size: 10px;
    margin-top: 2px;
}

.attendees-table-inner code {
    font-size: 10px;
    background: var(--surface-soft);
    padding: 3px 7px;
    border-radius: 6px;
}

.attendee-status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.attendee-status.checked-in {
    background: #dff5e9;
    color: var(--green);
}

.attendee-status.pending {
    background: var(--surface-soft);
    color: #888;
}


/* ================= MY TICKETS ================= */

.tickets-container {
    padding-top: 60px;
    padding-bottom: 100px;
}

.page-heading {
    margin-bottom: 35px;
}

.my-tickets-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.saved-ticket {
    position: relative;
    display: grid;
    grid-template-columns: 150px 1fr;
    min-height: 180px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    transition: .2s;
}

.saved-ticket:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.saved-ticket.pending-blur .saved-ticket-image,
.saved-ticket.pending-blur .saved-ticket-content {
    filter: blur(6px);
    -webkit-user-select: none;
    user-select: none;
}

.pending-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 20px;
    text-align: center;
    background: rgba(247, 247, 244, .55);
}

.pending-overlay strong {
    font-family: "Manrope";
    font-size: 13px;
}

.pending-overlay small {
    color: #666;
    font-size: 10px;
    max-width: 180px;
}

.saved-ticket-image {
    position: relative;
}

.saved-ticket-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.saved-ticket-content {
    padding: 20px;
}

.saved-ticket-content .section-kicker {
    color: var(--purple);
}

.saved-ticket-content h3 {
    font-family: "Manrope";
    font-size: 18px;
    margin: 7px 0 12px;
}

.saved-ticket-content p {
    color: #888;
    font-size: 10px;
    margin: 5px 0;
}

.ticket-view-button {
    margin-top: 14px;
    color: var(--purple);
    background: transparent;
    font-size: 10px;
    font-weight: 800;
}


/* ================= MODALS ================= */

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(13, 13, 13, .63);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.modal-backdrop.hidden {
    display: none;
}

.modal {
    width: min(100%, 570px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: var(--bg);
    border-radius: 24px;
    position: relative;
    box-shadow: 0 30px 100px rgba(0, 0, 0, .25);
}

.modal-close {
    position: absolute;
    right: 18px;
    top: 18px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: #444;
    font-size: 18px;
    display: grid;
    place-items: center;
    z-index: 10;
}

.event-modal {
    padding: 0;
}

.modal-event-image {
    height: 280px;
    position: relative;
}

.modal-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-event-body {
    padding: 30px;
}

.modal-event-body .detail-category {
    font-size: 9px;
}

.modal-event-body h2 {
    margin: 9px 0;
    font-family: "Manrope";
    font-size: 32px;
    letter-spacing: -1.5px;
}

.modal-event-body p {
    color: #777;
    line-height: 1.6;
    font-size: 12px;
}

.modal-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 20px 0;
}

.modal-info {
    padding: 13px;
    background: white;
    border-radius: 12px;
}

.modal-info small {
    display: block;
    color: #999;
    font-size: 8px;
}

.modal-info strong {
    display: block;
    margin-top: 5px;
    font-size: 11px;
}

.purchase-modal,
.scanner-modal,
.auth-modal {
    padding: 32px;
}

.oauth-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    border-radius: 11px;
    border: 1px solid var(--line);
    background: white;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
}

.oauth-button:hover {
    border-color: #ccc;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    color: #999;
    font-size: 11px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.forgot-password-link {
    display: block;
    margin: -6px 0 4px;
    background: transparent;
    color: var(--purple);
    font-size: 11px;
    font-weight: 700;
    text-align: right;
}

.auth-tabs {
    display: flex;
    gap: 8px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 22px;
}

.auth-tab {
    flex: 1;
    padding: 10px;
    border-radius: 9px;
    background: transparent;
    color: #888;
    font-size: 12px;
    font-weight: 800;
}

.auth-tab.active {
    background: var(--text);
    color: white;
}

.auth-form {
    display: none;
    gap: 17px;
}

.auth-form.active {
    display: grid;
}

.modal-form {
    display: grid;
    gap: 17px;
}

.profile-section-title {
    margin: 28px 0 16px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-family: "Manrope";
    font-size: 16px;
}

.purchase-header {
    padding-right: 35px;
    margin-bottom: 25px;
}

.purchase-header h2 {
    margin: 8px 0;
    font-family: "Manrope";
    font-size: 28px;
    letter-spacing: -1px;
}

.purchase-header p {
    margin: 0;
    color: #888;
    line-height: 1.5;
    font-size: 12px;
}

.purchase-modal form {
    display: grid;
    gap: 17px;
}

.quantity-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
}

.quantity-control strong {
    display: block;
    font-size: 12px;
}

.quantity-control small {
    display: block;
    color: #999;
    margin-top: 4px;
    font-size: 9px;
}

.quantity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quantity button {
    width: 31px;
    height: 31px;
    border-radius: 8px;
    background: #f0f0ed;
    font-size: 14px;
    display: grid;
    place-items: center;
}

.purchase-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.purchase-total span {
    color: #888;
    font-size: 12px;
}

.purchase-total strong {
    font-family: "Manrope";
    font-size: 23px;
}

.secure-note {
    text-align: center;
    color: #aaa;
    font-size: 9px;
}


/* ================= TICKET ================= */

.ticket-modal {
    width: min(100%, 500px);
    padding: 32px;
}

.welcome-modal {
    width: min(100%, 420px);
    padding: 32px;
    text-align: center;
}

.welcome-modal .ticket-success {
    margin-bottom: 26px;
}

#paymentPendingWhatsappLink.hidden {
    display: none;
}

.payment-number-box {
    background: var(--purple-soft);
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 18px;
    text-align: left;
}

.payment-number-label {
    display: block;
    color: var(--purple-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.payment-number-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.payment-number-row strong {
    font-family: "Manrope";
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    word-break: break-word;
}

.copy-button {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: white;
    color: var(--purple-dark);
    display: grid;
    place-items: center;
}

.copy-button.copied {
    background: var(--green);
    color: white;
}

.payment-pending-close {
    margin-top: 10px;
}

.payment-pending-note {
    display: block;
    margin-top: 14px;
}

.ticket-success {
    text-align: center;
    margin: 5px 0 22px;
}

.ticket-success>span {
    width: 45px;
    height: 45px;
    margin: 0 auto 10px;
    display: grid;
    place-items: center;
    background: #dff5e9;
    color: var(--green);
    border-radius: 50%;
    font-weight: 900;
}

.ticket-success strong {
    display: block;
    font-family: "Manrope";
    font-size: 21px;
}

.ticket-success p {
    margin: 5px 0;
    color: #999;
    font-size: 11px;
}

.ticket {
    display: grid;
    grid-template-columns: 1fr 145px;
    min-height: 270px;
    background: #171717;
    color: white;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 15px;
}

.ticket-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.ticket-actions .secondary-button {
    justify-content: center;
}

.ticket-main {
    padding: 23px;
}

.ticket-brand {
    color: #927fff;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.7px;
}

.ticket-category {
    display: inline-block;
    margin-top: 28px;
    color: #999;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.ticket-main h2 {
    font-family: "Manrope";
    font-size: 26px;
    letter-spacing: -1px;
    line-height: 1.1;
    margin: 7px 0 25px;
}

.ticket-meta {
    display: grid;
    gap: 12px;
}

.ticket-meta small,
.ticket-holder small {
    display: block;
    color: #666;
    font-size: 7px;
    letter-spacing: 1px;
}

.ticket-meta strong,
.ticket-holder strong {
    display: block;
    margin-top: 4px;
    font-size: 9px;
}

.ticket-holder {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding-top: 17px;
    margin-top: 17px;
    border-top: 1px solid #303030;
}

.ticket-divider {
    position: relative;
    border-left: 1px dashed #444;
}

.ticket-divider::before,
.ticket-divider::after {
    content: "";
    width: 23px;
    height: 23px;
    background: var(--bg);
    border-radius: 50%;
    position: absolute;
    left: -12px;
}

.ticket-divider::before {
    top: -12px;
}

.ticket-divider::after {
    bottom: -12px;
}

.ticket-qr-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    background: #f7f7f4;
    color: #111;
    padding: 18px;
}

.ticket-qr-section #ticketQr {
    width: 105px;
    height: 105px;
    background: white;
    padding: 6px;
}

.ticket-qr-section #ticketQr img,
.ticket-qr-section #ticketQr svg {
    display: block;
    width: 100%;
    height: 100%;
}

.ticket-qr-section small {
    color: #777;
    font-size: 8px;
}

.ticket-qr-section code {
    font-size: 7px;
    color: #999;
}

.ticket-payment-hint {
    grid-column: 1 / -1;
    text-align: center;
    color: #a66a00;
    font-size: 10px;
    padding: 10px 18px;
    background: #fff1d6;
}

.ticket-payment-hint.hidden {
    display: none;
}


/* ================= SCANNER ================= */

#reader {
    background: #111;
    border-radius: 16px;
    overflow: hidden;
    min-height: 280px;
}

#reader video {
    border-radius: 15px;
}

.scanner-demo {
    margin-top: 15px;
    padding: 13px;
    border-radius: 11px;
    background: #f0f0ed;
}

.scanner-demo span {
    color: var(--purple);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.scanner-demo p {
    color: #888;
    margin: 5px 0 0;
    font-size: 10px;
    line-height: 1.4;
}

.scan-result {
    margin-top: 15px;
    border-radius: 13px;
    padding: 22px 16px;
    text-align: center;
}

.scan-result.hidden {
    display: none;
}

.scan-result.success {
    background: #def5e8;
    color: #217149;
}

.scan-result.invalid {
    background: #ffe1df;
    color: #a73530;
}

.scan-result-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 32px;
    animation: scanResultPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scan-result.success .scan-result-icon {
    background: #217149;
    color: white;
}

.scan-result.invalid .scan-result-icon {
    background: #a73530;
    color: white;
}

@keyframes scanResultPop {
    0% {
        transform: scale(0.4);
        opacity: 0;
    }

    60% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

.scan-result strong {
    display: block;
    font-family: "Manrope";
    font-size: 15px;
    margin-bottom: 4px;
}

.scan-result p {
    margin: 0;
    font-size: 11px;
}


/* ================= TOAST ================= */

.toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #181818;
    color: white;
    padding: 13px 17px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    font-size: 11px;
    font-weight: 700;
}

.toast.hidden {
    display: none;
}

.toast span:first-child {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--green);
    display: grid;
    place-items: center;
    font-size: 10px;
}


/* ================= FOOTER ================= */

.footer {
    border-top: 1px solid var(--line);
    padding: 35px 0;
}

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

.footer-brand {
    font-size: 18px;
}

.footer p {
    margin: 8px 0 0;
    color: #999;
    font-size: 10px;
}

.footer-links {
    display: flex;
    gap: 20px;
    color: #999;
    font-size: 10px;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 1000px) {
    .desktop-nav {
        margin-left: 30px;
    }

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

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

    .hero-visual {
        min-height: 560px;
    }

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

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

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

    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-image {
        height: 450px;
    }
}

@media (max-width: 700px) {
    .container {
        width: min(calc(100% - 30px), var(--container));
    }

    .header {
        height: 68px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-button {
        display: grid;
    }

    .mobile-nav {
        position: absolute;
        left: 15px;
        right: 15px;
        top: 62px;
        background: white;
        border: 1px solid var(--line);
        border-radius: 14px;
        padding: 8px;
        box-shadow: var(--shadow-md);
    }

    .mobile-nav.open {
        display: grid;
    }

    .mobile-nav button {
        text-align: left;
        padding: 13px;
        background: transparent;
        border-radius: 9px;
        font-size: 12px;
        font-weight: 700;
    }

    .mobile-nav button:hover {
        background: #f4f4f1;
    }

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

    .hero h1 {
        font-size: 49px;
        letter-spacing: -2.8px;
    }

    .hero-copy>p {
        font-size: 14px;
    }

    .hero-search {
        height: 56px;
    }

    .hero-search button {
        height: 44px;
        padding: 0 13px;
    }

    .hero-stats {
        gap: 25px;
    }

    .hero-visual {
        min-height: 400px;
    }

    .hero-image-wrap {
        right: 0;
        width: 92%;
        height: 390px;
    }

    .card-one {
        left: 0;
        top: 30px;
    }

    .card-two {
        right: 0;
        bottom: 25px;
    }

    .section-heading h2 {
        font-size: 26px;
    }

    .category-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 7px;
    }

    .category {
        flex: 0 0 auto;
    }

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

    .event-image {
        height: 250px;
    }

    .organiser-card {
        padding: 35px;
        min-height: 450px;
    }

    .organiser-copy h2 {
        font-size: 34px;
    }

    .organiser-art {
        right: -90px;
        top: 210px;
        transform: scale(.8);
    }

    .form-header h1,
    .dashboard-header h1,
    .page-heading h1 {
        font-size: 36px;
    }

    .form-grid,
    .image-upload {
        grid-template-columns: 1fr;
    }

    .dashboard-header {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .metric-card {
        padding: 17px;
    }

    .metric-card strong {
        font-size: 23px;
    }

    .my-tickets-grid {
        grid-template-columns: 1fr;
    }

    .detail-image {
        height: 340px;
    }

    .detail-copy h1 {
        font-size: 42px;
    }

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

    .ticket-main {
        padding: 17px;
    }

    .ticket-main h2 {
        font-size: 21px;
    }

    .ticket-meta {
        gap: 9px;
    }

    .purchase-modal,
    .scanner-modal,
    .ticket-modal,
    .auth-modal {
        padding: 23px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 430px) {
    .hero h1 {
        font-size: 43px;
    }

    .hero-visual {
        min-height: 340px;
    }

    .hero-image-wrap {
        height: 330px;
    }

    .floating-card {
        transform: scale(.82);
    }

    .card-one {
        left: -18px;
    }

    .card-two {
        right: -18px;
    }

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

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

    .ticket-qr-section #ticketQr {
        width: 80px;
        height: 80px;
    }
}