:root {
    --bg: #060606;
    --bg-soft: #111111;
    --bg-card: rgba(18, 18, 18, 0.88);
    --text: #f8f5ee;
    --muted: #b9b0a2;
    --line: rgba(255, 255, 255, 0.12);
    --gold: #c9973a;
    --gold-strong: #f0b643;
    --danger: #ef4444;
    --success: #25d366;
    --shadow: 0 22px 70px rgba(0, 0, 0, 0.55);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 5%, rgba(201, 151, 58, 0.18), transparent 34%),
        radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.07), transparent 28%),
        linear-gradient(135deg, #020202 0%, #101010 45%, #050505 100%);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(115deg, transparent 0 58%, rgba(201, 151, 58, 0.10) 58% 59%, transparent 59%),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 90px);
}

.noise-layer {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 20;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px clamp(18px, 4vw, 64px);
    background: rgba(5, 5, 5, 0.78);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-logo {
    width: 74px;
    height: 48px;
    object-fit: cover;
    border: 1px solid rgba(201, 151, 58, 0.45);
    box-shadow: 0 0 22px rgba(201, 151, 58, 0.18);
}

.brand-text,
.hero h1,
.section-header h2,
.cart-header h2 {
    font-family: "Bebas Neue", Impact, sans-serif;
    letter-spacing: 0.04em;
}

.brand-text {
    font-size: 1.7rem;
}

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

.main-nav a {
    padding: 10px 14px;
    color: var(--muted);
    border-radius: 999px;
    transition: 0.2s ease;
}

.main-nav a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}

.main-nav a.is-active {
    color: var(--text);
    background: rgba(201, 151, 58, 0.18);
    border: 1px solid rgba(201, 151, 58, 0.35);
}

.cart-toggle,
.icon-btn {
    border: 1px solid rgba(201, 151, 58, 0.42);
    background: #0f0f0f;
    color: var(--text);
    cursor: pointer;
}

.cart-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
}

.cart-toggle strong {
    display: inline-grid;
    place-items: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    color: #090909;
    background: var(--gold-strong);
    border-radius: 999px;
}

.hero,
.section {
    padding-inline: clamp(18px, 4vw, 64px);
}

.hero {
    min-height: calc(100vh - 82px);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    align-items: center;
    gap: clamp(28px, 5vw, 70px);
    padding-block: 72px;
}

.hero--storefront {
    position: relative;
    isolation: isolate;
    background-image:
        linear-gradient(90deg, rgba(5, 5, 5, 0.84) 0%, rgba(5, 5, 5, 0.56) 48%, rgba(5, 5, 5, 0.18) 100%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.30), rgba(5, 5, 5, 0.55)),
        url("../img/home.png");
    background-position: center;
    background-size: cover;
}

.hero--about {
    position: relative;
    isolation: isolate;
    grid-template-columns: minmax(0, 1fr);
    background-image:
        linear-gradient(90deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.72) 42%, rgba(5, 5, 5, 0.22) 100%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.28), rgba(5, 5, 5, 0.62)),
        url("../img/sobre.png");
    background-position: center;
    background-size: cover;
}

.hero--shop {
    position: relative;
    isolation: isolate;
    grid-template-columns: minmax(0, 1fr);
    background-image:
        linear-gradient(90deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.72) 42%, rgba(5, 5, 5, 0.22) 100%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.28), rgba(5, 5, 5, 0.62)),
        url("../img/loja.webp");
    background-position: center;
    background-size: cover;
}

.hero--events {
    position: relative;
    isolation: isolate;
    grid-template-columns: minmax(0, 1fr);
    background-image:
        linear-gradient(90deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.72) 42%, rgba(5, 5, 5, 0.22) 100%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.28), rgba(5, 5, 5, 0.62)),
        url("../img/eventos.webp");
    background-position: center;
    background-size: cover;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold-strong);
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
}

.hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(4rem, 10vw, 9.5rem);
    line-height: 0.82;
    text-transform: uppercase;
    text-shadow: 0 10px 0 rgba(201, 151, 58, 0.16);
}

.hero-description {
    max-width: 660px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.hero-actions,
.cart-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 900;
    transition: 0.2s ease;
}

.btn-primary {
    color: #070707;
    background: linear-gradient(135deg, var(--gold-strong), #fff2c6);
    box-shadow: 0 12px 34px rgba(201, 151, 58, 0.25);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(201, 151, 58, 0.34);
}

.btn-primary:disabled {
    opacity: 0.42;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-secondary,
.btn-ghost {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line);
}

.btn-ghost:hover,
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
}

.hero-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(201, 151, 58, 0.35);
    background: var(--bg-card);
    box-shadow: var(--shadow);
}

.hero-card::after {
    content: "GIRAMUNDO";
    position: absolute;
    right: -24px;
    bottom: 18px;
    color: rgba(255, 255, 255, 0.05);
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 6rem;
    letter-spacing: 0.08em;
}

.hero-card img {
    width: 100%;
    display: block;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.hero-card div {
    position: relative;
    z-index: 1;
    padding: 22px;
    border-top: 1px solid var(--line);
}

.hero-card span {
    display: block;
    color: var(--gold-strong);
    font-weight: 900;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
}

.hero-card strong {
    display: block;
    margin-top: 6px;
    font-size: 1.2rem;
}

.section {
    padding-block: 72px;
}

.section-header {
    margin-bottom: 28px;
}

.section-header.split {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.shop-tools {
    display: grid;
    gap: 12px;
    justify-items: end;
}

.search-field {
    display: grid;
    gap: 8px;
    min-width: min(100%, 360px);
}

.search-field-label {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.search-field input {
    min-height: 48px;
}

.section-header h2 {
    margin: 0;
    max-width: 780px;
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: 0.92;
}

.section-note,
.about-card p,
.contact-card p,
.address-box p,
.cart-footer small {
    color: var(--muted);
    line-height: 1.6;
}

.about-grid,
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

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

.events-tools {
    display: grid;
    gap: 12px;
    justify-items: end;
}

.events-search {
    min-width: min(100%, 380px);
}

.events-empty {
    margin-top: 18px;
    padding: 22px;
    color: var(--muted);
    border: 1px dashed rgba(201, 151, 58, 0.35);
    border-radius: var(--radius);
    background: rgba(18, 18, 18, 0.55);
    text-align: center;
}

.events-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.events-pagination-info {
    color: var(--muted);
    font-weight: 700;
    letter-spacing: 0.03em;
}

.shop-pagination {
    margin-top: 22px;
}

.about-card,
.product-card,
.event-card,
.contact-card,
.address-box {
    border: 1px solid var(--line);
    background: rgba(18, 18, 18, 0.76);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-card {
    padding: 26px;
}

.about-card h3,
.product-card h3,
.address-box h3 {
    margin: 0 0 10px;
}

.product-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.event-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.event-card-link {
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.event-card-link:hover {
    transform: translateY(-3px);
    border-color: rgba(201, 151, 58, 0.45);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.62);
}

.event-media {
    min-height: 240px;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle, rgba(240, 182, 67, 0.24), transparent 50%),
        linear-gradient(135deg, #171717, #050505);
}

.event-media img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    display: block;
}

.event-card .event-media img {
    min-height: 240px;
}

.event-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.event-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 0.84rem;
}

.event-meta time {
    font-weight: 700;
}

.event-tag {
    color: var(--gold-strong);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
}

.event-body h3 {
    margin: 0 0 12px;
    font-size: 1.6rem;
}

.event-body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.event-link-hint {
    margin-top: 16px;
    color: var(--gold-strong);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.events-hero-card {
    align-self: stretch;
}

.event-detail-card {
    align-self: stretch;
}

.event-detail-card img {
    width: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}

.event-detail-content {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(18, 18, 18, 0.76);
    box-shadow: var(--shadow);
}

.event-detail-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.event-detail-share-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.btn-small {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.9rem;
}

.event-card.is-hidden {
    display: none;
}

.product-media {
    min-height: 210px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle, rgba(240, 182, 67, 0.28), transparent 50%),
        linear-gradient(135deg, #171717, #050505);
    border-bottom: 1px solid var(--line);
}

.product-media.has-image {
    background: linear-gradient(135deg, #111, #050505);
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-media span {
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 10px 0 rgba(201, 151, 58, 0.24);
}

.product-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.product-stock {
    color: var(--gold-strong);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.product-body p {
    color: var(--muted);
    line-height: 1.6;
}

.product-empty {
    grid-column: 1 / -1;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.price {
    color: var(--gold-strong);
    font-weight: 900;
    font-size: 1.25rem;
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 28px;
    padding: 32px;
}

.contact-list {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
}

code {
    color: var(--gold-strong);
}

.cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 30;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
}

.cart-drawer::backdrop {
    background: rgba(0, 0, 0, 0.72);
}

.cart-drawer:not([open]) {
    display: none;
}

.cart-drawer[open] {
    display: flex;
    justify-content: flex-end;
}

.cart-panel {
    width: min(100%, 580px);
    height: 100%;
    overflow-y: auto;
    background: #090909;
    border-left: 1px solid rgba(201, 151, 58, 0.38);
    box-shadow: var(--shadow);
    padding: 22px;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.cart-header h2 {
    margin: 0;
    font-size: 3rem;
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
}

.cart-items {
    display: grid;
    gap: 14px;
    padding: 20px 0;
}

.empty-cart {
    padding: 22px;
    color: var(--muted);
    text-align: center;
    border: 1px dashed var(--line);
    border-radius: 18px;
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
}

.cart-item h4,
.cart-item p {
    margin: 0;
}

.cart-item h4 {
    color: #fff;
}

.cart-item p {
    margin-top: 6px;
    color: var(--muted);
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-control button {
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--text);
    background: rgba(255,255,255,0.08);
    cursor: pointer;
}

.remove-btn {
    grid-column: 1 / -1;
    color: #ffb4b4;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
    padding: 0;
}

.address-box {
    padding: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.form-grid label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

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

input {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 14px;
    padding: 0 14px;
    color: var(--text);
    background: #111;
    outline: none;
}

input:focus {
    border-color: var(--gold-strong);
    box-shadow: 0 0 0 3px rgba(201, 151, 58, 0.18);
}

.cart-footer {
    position: sticky;
    bottom: -22px;
    margin-top: 18px;
    padding: 18px 0 22px;
    background: linear-gradient(180deg, rgba(9,9,9,0.74), #090909 34%);
}

.total-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
    border: 1px solid rgba(201, 151, 58, 0.35);
    border-radius: 18px;
    background: rgba(201, 151, 58, 0.08);
}

.total-line strong {
    color: var(--gold-strong);
    font-size: 1.6rem;
}

.cart-actions .btn {
    flex: 1;
}

.auth-page {
    display: grid;
    place-items: center;
    padding: 28px;
}

.auth-shell {
    width: min(1180px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
    gap: 24px;
    align-items: stretch;
}

.auth-hero,
.auth-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 4px);
    background: rgba(10, 10, 10, 0.78);
    box-shadow: var(--shadow);
}

.auth-hero {
    padding: clamp(28px, 5vw, 56px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 680px;
}

.auth-hero::after {
    content: "GIRA MUNDO";
    position: absolute;
    right: -8px;
    bottom: 16px;
    color: rgba(255, 255, 255, 0.05);
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: clamp(5rem, 14vw, 11rem);
    letter-spacing: 0.08em;
    line-height: 0.9;
    pointer-events: none;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    margin-bottom: 30px;
}

.auth-brand-logo {
    width: 74px;
    height: 48px;
    object-fit: cover;
    border: 1px solid rgba(201, 151, 58, 0.45);
    box-shadow: 0 0 22px rgba(201, 151, 58, 0.18);
}

.auth-brand span {
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 1.9rem;
    letter-spacing: 0.06em;
}

.auth-hero h1 {
    margin: 0;
    max-width: 720px;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: clamp(3.2rem, 6vw, 6.4rem);
    line-height: 0.9;
    text-transform: uppercase;
}

.auth-copy {
    max-width: 600px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.8;
}

.auth-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
}

.auth-points article {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
}

.auth-points strong {
    display: block;
    color: var(--gold-strong);
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.auth-points span {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.55;
}

.auth-card {
    align-self: center;
    padding: clamp(24px, 4vw, 40px);
}

.auth-card-header h2 {
    margin: 0;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 0.95;
    text-transform: uppercase;
}

.auth-card-header p:last-child,
.auth-footer-note {
    color: var(--muted);
    line-height: 1.65;
}

.auth-alert {
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    font-weight: 700;
}

.auth-alert-error {
    color: #fff4f4;
    background: #3d1116;
    border-color: rgba(239, 68, 68, 0.55);
}

.auth-alert-success {
    color: #f0fff6;
    background: #12301c;
    border-color: rgba(37, 211, 102, 0.55);
}

.auth-form {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.auth-form label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.auth-form .auth-submit {
    width: 100%;
    margin-top: 8px;
}

.auth-footer-note {
    margin: 18px 0 0;
}

.admin-page {
    display: grid;
    gap: 22px;
    padding-block: 64px;
    padding-inline: clamp(18px, 4vw, 64px);
}

.admin-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 18px;
    align-items: stretch;
}

.admin-hero h1 {
    margin: 0;
    max-width: 780px;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: clamp(3rem, 7vw, 6.2rem);
    line-height: 0.9;
    text-transform: uppercase;
}

.admin-hero-copy {
    max-width: 700px;
    margin: 18px 0 0;
    color: var(--muted);
    line-height: 1.75;
}

.admin-hero-card,
.admin-card,
.panel-message,
.admin-tabs a {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(18, 18, 18, 0.84);
    box-shadow: var(--shadow);
}

.admin-hero-card {
    padding: 24px;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

.admin-hero-label {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--gold-strong);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 900;
}

.admin-hero-card strong {
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.95;
}

.admin-hero-card p {
    margin: 18px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    color: var(--muted);
    transition: 0.2s ease;
}

.admin-tabs a:hover,
.admin-tabs a.is-active {
    color: var(--text);
    border-color: rgba(201, 151, 58, 0.5);
    background: rgba(201, 151, 58, 0.12);
}

.panel-message {
    padding: 16px 18px;
    font-weight: 700;
}

.panel-message-success {
    color: #f0fff6;
    background: #12301c;
    border-color: rgba(37, 211, 102, 0.55);
}

.panel-message-error {
    color: #fff4f4;
    background: #3d1116;
    border-color: rgba(239, 68, 68, 0.55);
}

.admin-section {
    display: grid;
    gap: 18px;
    scroll-margin-top: 112px;
    padding-bottom: 72px;
}

.admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 18px;
    align-items: start;
}

.admin-grid-single {
    grid-template-columns: minmax(0, 1fr);
}

.admin-card {
    padding: 24px;
}

.admin-card h3,
.admin-card-header h3 {
    margin: 0 0 18px;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 2.2rem;
    letter-spacing: 0.04em;
}

.admin-form {
    display: grid;
    gap: 16px;
}

.admin-form label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 14px;
    padding: 0 14px;
    color: var(--text);
    background: #111;
    outline: none;
    font: inherit;
}

.admin-form textarea {
    min-height: 120px;
    padding: 12px 14px;
    resize: vertical;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
    border-color: var(--gold-strong);
    box-shadow: 0 0 0 3px rgba(201, 151, 58, 0.18);
}

.financial-summary-card {
    position: relative;
    overflow: hidden;
}

.financial-summary-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(201, 151, 58, 0.14), transparent 38%);
    pointer-events: none;
}

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

.financial-filter-form {
    margin-bottom: 18px;
}

.financial-month-selector {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.financial-month-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.financial-month-pill:hover {
    transform: translateY(-1px);
    border-color: rgba(201, 151, 58, 0.45);
    background: rgba(201, 151, 58, 0.12);
}

.financial-month-pill.is-active {
    border-color: rgba(201, 151, 58, 0.9);
    background: linear-gradient(135deg, rgba(201, 151, 58, 0.92), rgba(201, 151, 58, 0.72));
    color: #141414;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.financial-filter-actions {
    display: flex;
    align-items: end;
    gap: 12px;
    flex-wrap: wrap;
}

.financial-filter-actions .btn {
    min-width: 160px;
}

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

.financial-summary-item {
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
}

.financial-summary-item span {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.financial-summary-item strong {
    font-size: 1.4rem;
    line-height: 1.1;
}

.financial-summary-item.highlight {
    border-color: rgba(201, 151, 58, 0.36);
    background: rgba(201, 151, 58, 0.1);
}

@media (max-width: 980px) {
    .financial-month-selector {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .financial-summary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .financial-month-selector {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .financial-filter-actions {
        width: 100%;
    }

    .financial-filter-actions .btn {
        width: 100%;
        min-width: 0;
    }
}

.admin-form input[readonly] {
    opacity: 0.78;
    cursor: not-allowed;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.input-hint {
    margin: 0;
    color: var(--muted);
}

.admin-actions,
.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-card-list {
    overflow: hidden;
}

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

.admin-card-header span {
    color: var(--muted);
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: top;
}

.admin-table th {
    color: var(--gold-strong);
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.admin-table td strong,
.admin-table td small {
    display: block;
}

.product-cell {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.product-thumb-wrap {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.product-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-thumb-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.admin-table td small {
    margin-top: 6px;
    color: var(--muted);
    line-height: 1.5;
}

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

.table-actions form {
    margin: 0;
}

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

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

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

    .events-tools {
        justify-items: start;
        width: 100%;
    }

    .shop-tools {
        justify-items: start;
        width: 100%;
    }

    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-hero {
        min-height: auto;
    }

    .auth-points {
        grid-template-columns: 1fr;
    }

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

    .event-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 680px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .main-nav {
        justify-content: flex-start;
    }

    .search-field {
        min-width: 100%;
    }

    .events-search {
        min-width: 100%;
    }

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

    .hero {
        padding-top: 44px;
    }

    .hero--about {
        background-image:
            linear-gradient(90deg, rgba(5, 5, 5, 0.94) 0%, rgba(5, 5, 5, 0.82) 58%, rgba(5, 5, 5, 0.68) 100%),
            linear-gradient(180deg, rgba(5, 5, 5, 0.36), rgba(5, 5, 5, 0.68)),
            url("../img/sobre.png");
        background-position: 56% center;
    }

    .hero--shop {
        background-image:
            linear-gradient(90deg, rgba(5, 5, 5, 0.94) 0%, rgba(5, 5, 5, 0.82) 58%, rgba(5, 5, 5, 0.68) 100%),
            linear-gradient(180deg, rgba(5, 5, 5, 0.36), rgba(5, 5, 5, 0.68)),
            url("../img/loja.webp");
        background-position: center;
    }

    .hero--events {
        background-image:
            linear-gradient(90deg, rgba(5, 5, 5, 0.94) 0%, rgba(5, 5, 5, 0.82) 58%, rgba(5, 5, 5, 0.68) 100%),
            linear-gradient(180deg, rgba(5, 5, 5, 0.36), rgba(5, 5, 5, 0.68)),
            url("../img/eventos.webp");
        background-position: center;
    }

    .about-grid,
    .product-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .auth-page {
        padding: 14px;
    }

    .auth-hero,
    .auth-card {
        border-radius: 20px;
    }

    .admin-page {
        padding-block: 40px;
        padding-inline: clamp(14px, 3vw, 28px);
    }

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

    .admin-tabs a {
        width: 100%;
        justify-content: center;
    }

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

    .form-grid .full {
        grid-column: auto;
    }

    .hero h1 {
        font-size: 4.2rem;
    }
}

/* Footer styles */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 28px clamp(18px, 4vw, 64px);
    background: linear-gradient(180deg, rgba(9,9,9,0.6), #050505);
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-logo {
    width: 56px;
    height: 36px;
    object-fit: cover;
    border: 1px solid rgba(201,151,58,0.35);
}
.footer-copy {
    color: var(--muted);
}
.footer-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-meta .btn {
    gap: 8px;
}

.footer-dev {
    color: var(--muted);
}

@media (max-width: 680px) {
    .footer-inner { flex-direction: column; align-items: flex-start; }
    .footer-meta { width: 100%; justify-content: space-between; }
}
