:root {
    --black: #050606;
    --ink: #0b0f0d;
    --surface: rgba(13, 17, 15, 0.78);
    --surface-solid: #111713;
    --line: rgba(255, 255, 255, 0.14);
    --muted: #a8b0aa;
    --text: #f5f7f1;
    --green: #36b975;
    --green-dark: #0f6f45;
    --magenta: #e05a98;
    --amber: #dca752;
    --radius: 8px;
    --shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    background: var(--black);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

body.shadowbox-open {
    overflow: hidden;
}

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

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    min-height: 72px;
    padding: max(14px, env(safe-area-inset-top)) clamp(18px, 4vw, 56px) 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(5, 6, 6, 0.94), rgba(5, 6, 6, 0.36) 72%, rgba(5, 6, 6, 0));
    transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
    background: rgba(5, 6, 6, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.brand img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.brand span {
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 28px);
    color: rgba(245, 247, 241, 0.82);
    font-size: 0.92rem;
    font-weight: 700;
}

.site-nav a {
    transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--text);
}

.nav-login {
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
}

.hero {
    position: relative;
    min-height: 84svh;
    padding: clamp(104px, 13vh, 136px) clamp(18px, 4vw, 56px) clamp(34px, 6vw, 72px);
    overflow: hidden;
}

.hero-media,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-media {
    background-image: url("/assets/img/hero-social-club.png");
    background-position: center;
    background-size: cover;
    transform: scale(1.01);
}

.hero-shade {
    background:
        radial-gradient(circle at 78% 30%, rgba(54, 185, 117, 0.2), transparent 28%),
        linear-gradient(90deg, rgba(5, 6, 6, 0.96) 0%, rgba(5, 6, 6, 0.82) 37%, rgba(5, 6, 6, 0.44) 69%, rgba(5, 6, 6, 0.58) 100%),
        linear-gradient(180deg, rgba(5, 6, 6, 0.32), #050606 96%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    max-width: 100%;
}

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

.hero-photo {
    width: min(100%, 580px);
    margin: 0;
    aspect-ratio: 3 / 2;
    overflow: visible;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% center;
    filter: saturate(1.08) contrast(1.04);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 46%, rgba(0, 0, 0, 0.92) 58%, transparent 82%);
    mask-image: radial-gradient(ellipse at center, #000 41%, rgba(0, 0, 0, 0.92) 78%, transparent 92%);
}

.hero-description {
    width: min(100%, 580px);
    margin-top: clamp(14px, 2.8vw, 28px);
}

.hero-description p:last-child {
    margin: 0;
    color: rgba(245, 247, 241, 0.8);
    font-size: clamp(0.98rem, 1.7vw, 1.1rem);
    line-height: 1.65;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0;
    max-width: 11ch;
    font-size: clamp(3.35rem, 9vw, 7rem);
    line-height: 0.9;
    letter-spacing: 0;
    text-transform: uppercase;
}

h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 0.98;
    letter-spacing: 0;
}

h3 {
    margin: 0;
    font-size: 1.03rem;
    line-height: 1.2;
}

.hero-text {
    max-width: 560px;
    margin: 24px 0 0;
    color: rgba(245, 247, 241, 0.78);
    font-size: clamp(1.02rem, 2vw, 1.22rem);
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-actions {
    margin-top: 30px;
}

.button,
.mini-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    font-weight: 900;
    letter-spacing: 0;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button {
    padding: 12px 18px;
}

.button:hover,
.mini-button:hover,
.button:focus-visible,
.mini-button:focus-visible {
    transform: translateY(-1px);
}

.button-primary,
.mini-button.ticket {
    background: var(--green);
    color: #04100a;
}

.button-ghost {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
}

.button-outline {
    border-color: rgba(54, 185, 117, 0.56);
}

.events-panel {
    --events-list-max-height: 462px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(8, 11, 10, 0.72);
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
    overflow: hidden;
    max-width: 100%;
}

.panel-heading {
    padding: 22px 22px 12px;
    border-bottom: 1px solid var(--line);
}

.panel-heading span {
    display: block;
    margin-bottom: 7px;
    color: var(--amber);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.panel-heading h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.event-list {
    display: grid;
    max-height: var(--events-list-max-height);
    overflow-y: auto;
    overscroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: rgba(54, 185, 117, 0.72) rgba(255, 255, 255, 0.08);
    scrollbar-width: thin;
}

.event-list::-webkit-scrollbar {
    width: 8px;
}

.event-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
}

.event-list::-webkit-scrollbar-thumb {
    background: rgba(54, 185, 117, 0.72);
    border-radius: 999px;
}

.event-card {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 16px;
    padding: 18px 22px;
}

.event-card + .event-card {
    border-top: 1px solid var(--line);
}

.event-date {
    display: grid;
    align-content: center;
    justify-items: center;
    align-self: stretch;
    min-height: 76px;
    border: 1px solid rgba(54, 185, 117, 0.4);
    border-radius: var(--radius);
    background: rgba(54, 185, 117, 0.08);
}

.event-date strong {
    font-size: 1rem;
    line-height: 1;
}

.event-date span,
.event-info p {
    color: var(--muted);
    font-size: 0.86rem;
}

.event-info p {
    margin: 7px 0 13px;
}

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

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

.mini-button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 9px 11px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.055);
    color: rgba(245, 247, 241, 0.92);
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.mini-button:hover,
.mini-button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.1);
}

.mini-button.ticket {
    border-color: rgba(54, 185, 117, 0.82);
    background: var(--green);
    color: #06100b;
}

.mini-button.ticket:hover,
.mini-button.ticket:focus-visible {
    background: #58d891;
    color: #06100b;
}

.mini-button.list {
    border-color: rgba(224, 90, 152, 0.46);
    background: rgba(224, 90, 152, 0.08);
    color: #f4b7d0;
}

.mini-button.table {
    border-color: rgba(220, 167, 82, 0.5);
    background: rgba(220, 167, 82, 0.08);
    color: #f2d09a;
}

.section {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(58px, 9vw, 112px) 0;
    scroll-margin-top: 88px;
}

.events-panel {
    scroll-margin-top: 88px;
}

.experience-section {
    padding-top: clamp(40px, 5vw, 70px);
}

.section-heading {
    max-width: 730px;
    margin-bottom: 30px;
}

.section-heading p:not(.eyebrow),
.contact-section p {
    color: var(--muted);
    font-size: 1.02rem;
}

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

.feature-card,
.contact-link,
.login-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-solid);
}

.feature-card {
    min-height: 220px;
    padding: 24px;
}

.feature-card span,
.contact-link span {
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.feature-card h3 {
    margin-top: 18px;
    font-size: 1.35rem;
}

.feature-card p {
    color: var(--muted);
}

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

.club-gallery-item {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    cursor: zoom-in;
    overflow: hidden;
}

.club-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.34));
    opacity: 0;
    transition: opacity 180ms ease;
}

.club-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease, filter 220ms ease;
}

.club-gallery-item:hover img,
.club-gallery-item:focus-visible img {
    transform: scale(1.035);
    filter: saturate(1.08) contrast(1.04);
}

.club-gallery-item:hover::after,
.club-gallery-item:focus-visible::after {
    opacity: 1;
}

.club-gallery-item:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
}

.shadowbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(24px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(14px);
}

.shadowbox[hidden] {
    display: none;
}

.shadowbox-image {
    max-width: min(1180px, 88vw);
    max-height: 84svh;
    border-radius: var(--radius);
    object-fit: contain;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.7);
}

.shadowbox-close,
.shadowbox-nav {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    background: rgba(9, 12, 10, 0.76);
    color: var(--text);
    font-weight: 900;
    cursor: pointer;
}

.shadowbox-close {
    top: max(18px, env(safe-area-inset-top));
    right: max(18px, env(safe-area-inset-right));
    width: 46px;
    height: 46px;
    font-size: 1.9rem;
    line-height: 1;
}

.shadowbox-nav {
    top: 50%;
    width: 48px;
    height: 58px;
    font-size: 2.4rem;
    transform: translateY(-50%);
}

.shadowbox-prev {
    left: max(18px, env(safe-area-inset-left));
}

.shadowbox-next {
    right: max(18px, env(safe-area-inset-right));
}

.gallery-drive-card {
    width: 100%;
    min-height: 300px;
    display: grid;
    grid-template-columns: minmax(120px, 0.28fr) minmax(0, 1fr);
    gap: clamp(20px, 4vw, 44px);
    align-items: center;
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(50, 132, 230, 0.14), rgba(30, 163, 98, 0.12) 46%, rgba(244, 197, 66, 0.08)),
        var(--surface-solid);
    overflow: hidden;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.gallery-drive-card:hover,
.gallery-drive-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(54, 185, 117, 0.42);
}

.drive-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 180px);
    aspect-ratio: 1 / 1;
}

.drive-icon svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.38));
}

.gallery-drive-copy {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.gallery-drive-copy span {
    color: var(--green);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.gallery-drive-copy strong {
    font-size: clamp(2rem, 5vw, 4.6rem);
    line-height: 0.95;
    text-transform: uppercase;
}

.gallery-drive-copy small {
    max-width: 620px;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.55;
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
    gap: 32px;
    align-items: start;
}

.contact-main {
    display: grid;
}

.contact-main .eyebrow {
    margin-bottom: 6px;
}

.contact-main > p:not(.eyebrow) {
    margin: 0 0 18px;
}

.contact-actions {
    flex-direction: column;
}

.contact-link {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
}

.contact-link > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(54, 185, 117, 0.1);
    color: var(--green);
    font-size: 1.15rem;
}

.contact-link strong {
    display: block;
    margin-top: 4px;
    font-size: clamp(0.96rem, 1.8vw, 1.08rem);
}

.whatsapp-groups {
    display: grid;
    gap: 0;
    padding: 8px 0 8px 22px;
    border-left: 1px solid rgba(54, 185, 117, 0.32);
}

.group-link {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 46px;
    gap: 14px;
    align-items: center;
    min-height: 86px;
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.group-link:last-child {
    border-bottom: 0;
}

.group-link:hover,
.group-link:focus-visible {
    transform: translateX(2px);
    background: rgba(54, 185, 117, 0.06);
}

.group-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid rgba(54, 185, 117, 0.45);
    background: #101713;
    overflow: hidden;
}

.group-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.group-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.group-copy strong {
    color: var(--text);
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.group-copy small {
    color: var(--muted);
    font-size: 0.86rem;
}

.group-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(54, 185, 117, 0.1);
    color: var(--green);
    font-size: 1.55rem;
    font-weight: 900;
}

.group-icon i {
    line-height: 1;
}

.site-footer {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 34px 0 40px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.75fr) minmax(260px, 1fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.88rem;
}

.footer-brand {
    display: grid;
    justify-items: center;
    text-align: center;
}

.footer-brand img {
    width: clamp(68px, 8vw, 96px);
    height: auto;
    margin-bottom: 12px;
}

.footer-brand strong {
    display: block;
    color: var(--text);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
}

.footer-brand span {
    margin-top: 4px;
    font-size: 0.78rem;
}

.footer-links,
.footer-address {
    display: grid;
    gap: 10px;
}

.footer-links h2,
.footer-address h2 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-links a,
.footer-address a {
    color: var(--muted);
    font-style: normal;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.45;
    transition: color 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-address a:hover,
.footer-address a:focus-visible {
    color: var(--green);
}

.footer-address {
    font-style: normal;
}

.footer-map {
    width: 100%;
    height: 120px;
    margin-top: 4px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    filter: grayscale(1) invert(0.92) contrast(0.85);
}

.footer-credit {
    grid-column: 1 / -1;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(168, 176, 170, 0.58);
    font-size: 0.74rem;
    text-align: center;
}

.footer-credit a {
    color: rgba(245, 247, 241, 0.68);
    font-weight: 700;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
    color: var(--green);
}

.restricted-page {
    min-height: 100svh;
    background:
        linear-gradient(90deg, rgba(5, 6, 6, 0.96), rgba(5, 6, 6, 0.74)),
        url("/assets/img/hero-social-club.png") center / cover;
}

.restricted-shell {
    min-height: 100svh;
    padding: max(22px, env(safe-area-inset-top)) 18px max(28px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-rows: auto 1fr auto;
    align-content: stretch;
    justify-items: center;
    gap: 24px;
}

.restricted-dashboard-shell {
    grid-template-rows: auto auto auto;
}

.restricted-brand {
    justify-self: start;
    width: min(440px, calc(100vw - 36px));
}

.login-panel {
    align-self: center;
    width: min(440px, calc(100vw - 36px));
    padding: 28px;
    box-shadow: var(--shadow);
}

.restricted-dashboard-shell .dashboard-panel {
    align-self: start;
}

.login-panel h1 {
    max-width: none;
    font-size: clamp(2.3rem, 9vw, 4.4rem);
}

.login-panel p {
    color: var(--muted);
}

.login-alert {
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid rgba(224, 90, 152, 0.42);
    border-radius: var(--radius);
    background: rgba(224, 90, 152, 0.12);
    color: #ffd4e7;
    font-weight: 800;
}

.login-form {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

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

.login-form input {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    padding: 10px 12px;
}

.captcha-field {
    min-height: 78px;
    overflow: hidden;
}

.captcha-field .h-captcha {
    transform-origin: left top;
}

.back-link {
    display: inline-flex;
    margin-top: 20px;
    color: var(--green);
    font-weight: 900;
}

.restricted-credit {
    width: min(980px, calc(100vw - 36px));
    color: rgba(168, 176, 170, 0.58);
    font-size: 0.74rem;
    text-align: center;
}

.restricted-credit a {
    color: rgba(245, 247, 241, 0.68);
    font-weight: 700;
}

.restricted-credit a:hover,
.restricted-credit a:focus-visible {
    color: var(--green);
}

.dashboard-panel {
    width: min(980px, calc(100vw - 36px));
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(13, 17, 15, 0.82);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

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

.dashboard-header h1 {
    max-width: none;
    font-size: clamp(2rem, 6vw, 4rem);
}

.dashboard-header p:not(.eyebrow) {
    color: var(--muted);
}

.dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.dashboard-message {
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: var(--radius);
    font-weight: 800;
}

.dashboard-message.success {
    border: 1px solid rgba(54, 185, 117, 0.42);
    background: rgba(54, 185, 117, 0.12);
    color: #bff4d6;
}

.dashboard-message.error {
    border: 1px solid rgba(224, 90, 152, 0.42);
    background: rgba(224, 90, 152, 0.12);
    color: #ffd4e7;
}

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

.dashboard-card {
    min-height: 160px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
}

.dashboard-card span {
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dashboard-card strong {
    display: block;
    margin-top: 12px;
    color: var(--text);
    font-size: 1.25rem;
}

.dashboard-card p {
    color: var(--muted);
}

.dashboard-card-link {
    display: block;
    transition: transform 160ms ease, border-color 160ms ease;
}

.dashboard-card-link:hover,
.dashboard-card-link:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(54, 185, 117, 0.42);
}

.admin-section {
    display: grid;
    gap: 22px;
    margin-top: 22px;
}

.admin-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.admin-section-heading span {
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-section-heading h2 {
    margin-top: 6px;
    font-size: clamp(1.6rem, 4vw, 2.6rem);
}

.admin-form {
    display: grid;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
}

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

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

.admin-form label small {
    color: rgba(168, 176, 170, 0.72);
    font-weight: 700;
}

.admin-form input,
.admin-form select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    padding: 10px 12px;
}

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

.date-field {
    position: relative;
    display: block;
}

.native-date-picker {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.admin-checkbox {
    align-content: end;
    grid-template-columns: 18px 1fr;
    align-items: center;
}

.admin-checkbox input {
    width: 18px;
    min-height: 18px;
}

.admin-check-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.admin-check-card {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.035);
    color: rgba(245, 247, 241, 0.86);
    font-size: 0.82rem;
    font-weight: 850;
}

.admin-form .admin-check-card input {
    width: 18px;
    min-height: 18px;
}

.admin-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 8px;
    border: 1px solid rgba(148, 255, 183, 0.32);
    border-radius: 999px;
    color: var(--green);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-badge.muted {
    border-color: rgba(255, 255, 255, 0.14);
    color: var(--muted);
}

.admin-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.admin-table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.035);
}

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

.admin-table th {
    color: var(--green);
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.admin-table td {
    color: rgba(245, 247, 241, 0.82);
    font-size: 0.9rem;
}

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

.admin-row-actions a,
.admin-row-actions button {
    border: 0;
    background: transparent;
    color: var(--green);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    padding: 0;
}

@media (max-width: 980px) {
    .hero {
        min-height: auto;
    }

    .hero-content,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .events-panel {
        max-width: 680px;
    }

}

@media (max-width: 760px) {
    .site-header {
        min-height: 66px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .brand span {
        font-size: 0.9rem;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        inset: 66px 12px auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: rgba(8, 11, 10, 0.96);
        box-shadow: var(--shadow);
        backdrop-filter: blur(18px);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 13px 12px;
    }

    .nav-login {
        border-radius: 6px;
    }

    .hero {
        padding: 92px 20px 34px;
    }

    .hero-content {
        width: calc(100vw - 40px);
    }

    .hero-shade {
        background:
            linear-gradient(180deg, rgba(5, 6, 6, 0.48), rgba(5, 6, 6, 0.72) 22%, #050606 92%),
            linear-gradient(90deg, rgba(5, 6, 6, 0.8), rgba(5, 6, 6, 0.32));
    }

    .hero-media {
        background-position: 62% center;
    }

    h1 {
        max-width: 9ch;
        font-size: clamp(2.85rem, 17vw, 4.5rem);
    }

    .hero-photo {
        width: 100%;
        aspect-ratio: 16 / 11;
    }

    h2 {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
        line-height: 1.04;
    }

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

    .events-panel {
        --events-list-max-height: 980px;
        width: 100%;
    }

    .event-card {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 15px;
        width: 100%;
    }

    .event-date {
        min-height: 64px;
        align-self: start;
        justify-items: start;
        width: 82px;
        padding: 10px 12px;
    }

    .event-date strong {
        font-size: 0.86rem;
    }

    .event-actions {
        grid-template-columns: 1fr;
    }

    .mini-button {
        min-height: 40px;
    }

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

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

    .gallery-drive-card {
        min-height: 0;
        grid-template-columns: 1fr;
        justify-items: start;
        padding: 26px;
    }

    .drive-icon {
        width: 112px;
    }

    .section {
        width: calc(100vw - 40px);
        padding: 54px 0;
    }

    .feature-card {
        min-height: auto;
    }

    .shadowbox {
        padding-left: 12px;
        padding-right: 12px;
    }

    .shadowbox-image {
        max-width: 100%;
        max-height: 78svh;
    }

    .shadowbox-nav {
        top: auto;
        bottom: max(18px, env(safe-area-inset-bottom));
        width: 48px;
        height: 48px;
        transform: none;
    }

    .shadowbox-prev {
        left: calc(50% - 58px);
    }

    .shadowbox-next {
        right: calc(50% - 58px);
    }

    .contact-section {
        gap: 20px;
    }

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

    .dashboard-header {
        display: grid;
    }

    .dashboard-actions,
    .admin-section-heading {
        justify-content: flex-start;
    }

    .admin-section-heading {
        display: grid;
    }

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

    .admin-form-wide {
        grid-column: auto;
    }

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

    .admin-table-wrap {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .admin-table {
        min-width: 0;
        background: transparent;
    }

    .admin-table,
    .admin-table thead,
    .admin-table tbody,
    .admin-table tr,
    .admin-table th,
    .admin-table td {
        display: block;
    }

    .admin-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .admin-table tbody {
        display: grid;
        gap: 12px;
    }

    .admin-table tr {
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: rgba(255, 255, 255, 0.04);
    }

    .admin-table td {
        display: grid;
        grid-template-columns: minmax(96px, 34%) minmax(0, 1fr);
        gap: 12px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        word-break: break-word;
    }

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

    .admin-table td::before {
        content: attr(data-label);
        color: var(--green);
        font-size: 0.7rem;
        font-weight: 900;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .admin-table-empty {
        display: block;
    }

    .admin-table-empty::before {
        display: none;
    }

    .captcha-field {
        max-width: 100%;
        overflow-x: auto;
    }

    .group-link {
        grid-template-columns: 54px minmax(0, 1fr) 40px;
        min-height: 76px;
        gap: 12px;
        padding: 11px 12px 11px 11px;
    }

    .group-avatar {
        width: 54px;
        height: 54px;
    }

    .group-icon {
        width: 40px;
        height: 40px;
        font-size: 1.35rem;
    }

    .site-footer {
        width: calc(100vw - 40px);
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand {
        justify-items: start;
        text-align: left;
    }

    .footer-brand img {
        width: 74px;
    }
}

@media (max-width: 380px) {
    .brand img {
        width: 38px;
        height: 38px;
    }

    .brand span {
        max-width: 124px;
        white-space: normal;
        line-height: 1.05;
    }

    .panel-heading,
    .event-card {
        padding-left: 12px;
        padding-right: 12px;
    }

    .event-date {
        min-height: 54px;
    }
}
