:root {
    --bg: #0d1117;
    --panel: #171d26;
    --panel-2: #222b38;
    --line: #334053;
    --text: #f5f7fb;
    --muted: #a9b2c2;
    --gold: #f2b84b;
    --red: #e04f5f;
    --green: #37c78f;
    --blue: #5aa7ff;
    --shadow: 0 18px 60px rgba(0, 0, 0, .28);
}

* {
    box-sizing: border-box;
    font-family: Verdana, Geneva, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(13, 17, 23, .96), rgba(9, 12, 17, 1)),
        linear-gradient(90deg, rgba(242, 184, 75, .06) 0 1px, transparent 1px 100%),
        linear-gradient(180deg, rgba(90, 167, 255, .045) 0 1px, transparent 1px 100%);
    background-size: auto, 48px 48px, 48px 48px;
    color: var(--text);
    font-family: Verdana, Geneva, sans-serif;
    line-height: 1.5;
}

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

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

.topbar {
    background: #080a0d;
    border-bottom: 1px solid #202632;
    color: var(--muted);
    font-size: 13px;
}

.topbar-inner,
.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(10, 14, 20, .9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
}

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

.brand-mark {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 8px;
    color: #1a1203;
    background: linear-gradient(135deg, #ffe08a, var(--gold));
    font-weight: 900;
}

.brand-logo {
    display: block;
    width: auto;
    max-width: 180px;
    max-height: 52px;
    object-fit: contain;
}

.brand small,
.server-side span,
.price-card span,
.banner small {
    display: block;
    color: var(--muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a {
    padding: 10px 12px;
    color: var(--muted);
    border-radius: 6px;
}

.nav-links a:hover {
    background: var(--panel-2);
    color: var(--text);
}

.main-menu {
    gap: 2px;
}

.nav-item {
    position: relative;
}

.nav-item > a,
.main-menu > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    border-radius: 0;
    color: #f5f7fb;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.nav-item > a::before,
.main-menu > a:not(.nav-cta)::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-right: 10px;
    border: 2px solid #e51414;
    transform: rotate(45deg);
}

.nav-item:hover > a,
.nav-item:focus-within > a,
.main-menu > a:hover {
    background: #e51414;
    color: #fff;
}

.nav-dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 30;
    display: none;
    min-width: 200px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: #062f3d;
    box-shadow: 0 18px 35px rgba(0, 0, 0, .32);
}

.nav-dropdown-wide {
    min-width: 250px;
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
    display: grid;
}

.nav-dropdown a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 0 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    border-radius: 0;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-dropdown a:hover {
    background: #e51414;
}

.nav-cta {
    margin-left: 6px;
    background: linear-gradient(135deg, #f02020, #c50e18);
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(229, 20, 20, .28);
}

.nav-cta::before {
    display: none;
}

.nav-account {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--text);
    border-radius: 6px;
    padding: 8px 11px;
}

.hero {
    background:
        radial-gradient(circle at 18% 0%, rgba(242, 184, 75, .26), transparent 36%),
        linear-gradient(135deg, #151a21 0%, #22161c 52%, #12211b 100%);
    border-bottom: 1px solid var(--line);
}

.hero-grid {
    min-height: 430px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: center;
    gap: 32px;
    padding: 44px 0;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--gold);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 14px;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.02;
}

h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.hero-copy p:not(.eyebrow) {
    max-width: 680px;
    color: #d6dce8;
    font-size: 17px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 7px;
    font-weight: 800;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:disabled {
    cursor: not-allowed;
    opacity: .68;
}

.btn-small {
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
}

.btn-mini {
    min-height: 30px;
    padding: 0 10px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd166, var(--gold));
    color: #211402;
    box-shadow: 0 10px 24px rgba(242, 184, 75, .22);
}

.btn-secondary {
    border-color: var(--line);
    background: var(--panel);
    color: var(--text);
}

.btn-danger {
    border-color: rgba(224, 79, 95, .55);
    background: rgba(224, 79, 95, .14);
    color: #ffd7dc;
}

.btn-danger:hover {
    background: rgba(224, 79, 95, .24);
}

.hero-panel {
    display: grid;
    gap: 12px;
}

.hero-panel div,
.side-box,
.detail-card,
.price-card,
.booking-form {
    background: rgba(24, 29, 36, .92);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.hero-panel div {
    padding: 20px;
}

.hero-panel strong {
    display: block;
    font-size: 32px;
    color: var(--gold);
}

.hero-panel span {
    color: var(--muted);
}

.showcase-strip {
    padding: 24px 0 8px;
}

.showcase-container {
    width: min(1540px, calc(100% - 32px));
    margin: 0 auto;
}

.top-showcase-layout {
    display: grid;
    grid-template-columns: minmax(130px, 1fr) minmax(0, 970px) minmax(130px, 1fr);
    align-items: stretch;
    gap: 12px;
}

.top-showcase-stack,
.small-showcase-grid,
.standard-showcase-grid {
    display: grid;
    gap: 12px;
}

.small-showcase-grid,
.standard-showcase-grid {
    margin-top: 12px;
}

.banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(242, 184, 75, .45);
    border-radius: 8px;
    background:
        linear-gradient(120deg, rgba(242, 184, 75, .95), rgba(224, 79, 95, .86)),
        repeating-linear-gradient(45deg, rgba(255,255,255,.12) 0 8px, transparent 8px 16px);
    color: #170b02;
    box-shadow: var(--shadow);
}

.banner::after {
    content: "";
    position: absolute;
    inset: auto -40px -80px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .22);
}

.banner-top {
    min-height: 190px;
    padding: 28px;
}

.banner-small {
    min-height: 130px;
    padding: 18px;
}

.banner-standard {
    min-height: 110px;
    padding: 16px;
}

.banner-vertical {
    min-height: 0;
    padding: 16px;
}

.banner-top strong {
    max-width: 780px;
    font-size: clamp(24px, 4vw, 42px);
    line-height: 1.08;
}

.banner-small strong {
    font-size: 22px;
}

.banner-standard strong {
    font-size: 20px;
}

.banner-vertical strong {
    font-size: 22px;
}

.showcase-image-link {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(242, 184, 75, .45);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.showcase-image-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.showcase-slot-large {
    width: 100%;
    aspect-ratio: 970 / 250;
    margin-inline: auto;
}

.showcase-slot-small {
    width: min(100%, 900px);
    aspect-ratio: 900 / 130;
    margin-inline: auto;
}

.showcase-slot-standard {
    width: min(100%, 780px);
    aspect-ratio: 780 / 110;
    margin-inline: auto;
}

.vertical-showcase-rail {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
}

.showcase-slot-vertical {
    width: 100%;
    height: 100%;
    min-height: 0;
}

.banner-kicker,
.banner-side span {
    font-weight: 900;
    text-transform: uppercase;
    font-size: 13px;
}

.layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    max-width: 980px;
    padding: 24px 0 54px;
}

.section {
    margin-top: 30px;
}

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

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

.section-heading a,
.text-link,
.back-link {
    color: var(--gold);
    font-weight: 800;
}

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

.vip-card,
.server-row {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.vip-card {
    display: flex;
    flex-direction: column;
}

.vip-art {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px;
    background:
        linear-gradient(135deg, rgba(90, 167, 255, .95), rgba(55, 199, 143, .82)),
        repeating-linear-gradient(-45deg, rgba(255,255,255,.15) 0 6px, transparent 6px 13px);
    color: #06111b;
}

.vip-art span {
    align-self: flex-start;
    background: #071014;
    color: var(--gold);
    border-radius: 5px;
    padding: 5px 8px;
    font-weight: 900;
}

.vip-art strong {
    font-size: 24px;
}

.vip-body {
    padding: 16px;
}

.vip-body p,
.server-main p,
.booking p,
.detail-card p {
    color: var(--muted);
}

.vip-body ul {
    display: grid;
    gap: 6px;
    padding-left: 18px;
    color: #d9deea;
}

.filters {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 12px;
    padding: 14px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 14px;
}

label span,
.booking-form label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    margin-top: 6px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #0f1319;
    color: var(--text);
    padding: 12px;
    font: inherit;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(242, 184, 75, .72);
    box-shadow: 0 0 0 3px rgba(242, 184, 75, .14);
    background: #111821;
}

input[type="file"] {
    background: #17202b;
}

.field-help {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.banner-preview {
    display: block;
    width: min(100%, 900px);
    max-height: 120px;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #0f1319;
}

.logo-preview {
    display: block;
    width: 76px;
    height: 76px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #0f1319;
}

.gif-preview {
    display: grid;
    place-items: center;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #0f1319;
}

.gif-preview img {
    display: block;
    width: min(100%, 900px);
    max-height: 120px;
    object-fit: contain;
}

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

.server-row {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 180px;
    gap: 16px;
    align-items: center;
    padding: 14px;
}

.server-post-row {
    display: block;
}

.server-post-row summary {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 230px;
    gap: 16px;
    align-items: center;
    cursor: pointer;
    list-style: none;
}

.server-post-row summary::-webkit-details-marker {
    display: none;
}

.server-post-row .server-side em {
    display: inline-flex;
    margin-top: 6px;
    color: var(--gold);
    font-style: normal;
    font-weight: 900;
}

.server-post-detail {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.server-post-detail p {
    color: #d6dce8;
}

.rank {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 8px;
    background: var(--panel-2);
    color: var(--muted);
    font-weight: 900;
}

.rank-vip {
    background: var(--gold);
    color: #160c01;
}

.server-logo {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    object-fit: cover;
}

.server-main h3 {
    margin-bottom: 5px;
}

.server-main h3 a:hover {
    color: var(--gold);
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.meta span {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px 8px;
    color: #d6dce8;
    font-size: 12px;
}

.server-side {
    text-align: right;
}

.server-side strong {
    color: var(--green);
}

.server-schedule {
    display: grid;
    gap: 2px;
    margin-top: 4px;
}

.server-schedule span {
    color: #d7e1f0;
    font-size: 13px;
    line-height: 1.25;
    white-space: nowrap;
}

.sidebar {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 16px;
}

.banner-side {
    min-height: 250px;
    padding: 22px;
}

.banner-side strong {
    font-size: 28px;
    line-height: 1.08;
}

.side-box {
    padding: 16px;
}

.side-box h3 {
    margin-bottom: 12px;
}

.slot-mini {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
}

.slot-mini span {
    color: var(--gold);
}

.side-box ol {
    color: var(--muted);
    padding-left: 18px;
}

.detail-card {
    padding: 24px;
    margin-bottom: 22px;
}

.detail-card,
.booking-form,
.server-row,
.admin-table,
.price-card,
.side-box {
    backdrop-filter: blur(10px);
}

.server-badge {
    display: inline-flex;
    background: var(--gold);
    color: #1a1002;
    border-radius: 5px;
    padding: 5px 8px;
    font-weight: 900;
    margin: 16px 0 10px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 0;
}

.detail-grid div {
    background: #11161d;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
}

dt {
    color: var(--muted);
    font-size: 12px;
}

dd {
    margin: 4px 0 0;
    font-weight: 800;
}

.pricing,
.booking {
    padding: 54px 0;
    border-top: 1px solid var(--line);
    background: #12171e;
}

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

.price-card {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-card strong {
    font-size: 22px;
    color: var(--gold);
}

.booking {
    background:
        linear-gradient(135deg, rgba(18, 23, 30, .97), rgba(21, 34, 30, .96)),
        radial-gradient(circle at 80% 20%, rgba(55, 199, 143, .22), transparent 30%);
}

.booking-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(320px, 1fr);
    gap: 32px;
    align-items: start;
}

#booking .booking-grid {
    display: block;
    max-width: 1040px;
    margin: 0 auto;
}

#booking .booking-grid > div {
    text-align: center;
    margin: 0 auto 20px;
}

#booking .booking-grid > div p:not(.eyebrow) {
    display: none;
}

#booking .booking-grid h2 {
    font-size: clamp(34px, 5vw, 54px);
}

.booking-form {
    display: grid;
    gap: 12px;
    padding: 20px;
}

.mu-submit-form {
    max-width: 980px;
    margin: 0 auto;
    padding: 28px;
}

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

.form-row-quad {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.form-status {
    min-height: 22px;
    margin: 0;
    color: var(--green);
    font-weight: 800;
}

.form-status.error {
    color: var(--red);
}

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

.member-auth {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(320px, 1.15fr);
    gap: 20px;
    align-items: start;
}

.member-auth-single {
    display: grid;
    grid-template-columns: minmax(320px, 560px);
    justify-content: center;
}

.auth-card {
    align-items: stretch;
}

.auth-card-single {
    display: grid;
    gap: 12px;
}

.auth-switch {
    border: 0;
    background: transparent;
    color: var(--gold);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    padding: 4px 0 0;
    text-align: center;
}

.member-dashboard {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.account-card {
    box-sizing: border-box;
    min-height: 190px;
    margin-bottom: 0;
    padding: 14px 20px;
}

.account-card h1,
.account-card h2 {
    margin-bottom: 6px;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.1;
}

.account-card p,
.account-card label,
.account-card input,
.account-card button,
.password-box summary {
    font-size: 12px;
}

.wallet-balance {
    margin: 6px 0;
    color: var(--gold);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 900;
    line-height: 1;
}

.deposit-box {
    box-shadow: var(--shadow);
}

.account-card input {
    padding: 8px 10px;
}

.account-card .btn {
    min-height: 34px;
}

.password-box {
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px solid var(--line);
}

.password-box summary {
    color: var(--gold);
    cursor: pointer;
    font-weight: 800;
}

.password-box form {
    display: grid;
    gap: 8px;
    margin-top: 8px;
}

.compact-form-row {
    gap: 10px;
}

.deposit-result {
    display: grid;
    gap: 14px;
}

.qr-box {
    display: grid;
    place-items: center;
    gap: 8px;
    min-height: 220px;
    border: 1px dashed rgba(242, 184, 75, .55);
    border-radius: 8px;
    background: #0f1319;
    color: var(--gold);
    text-align: center;
}

.qr-box strong {
    font-size: 28px;
}

.qr-box span {
    color: var(--muted);
}

.qr-box img {
    display: block;
    max-width: 260px;
    width: 100%;
    height: auto;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    background: var(--panel-2);
    color: var(--muted);
}

.status-pending {
    color: var(--gold);
}

.status-approved {
    color: var(--green);
}

.status-active {
    color: var(--green);
}

.status-cancelled {
    color: var(--red);
}

.inline-form {
    margin: 0;
}

.admin-page {
    padding: 32px 0 64px;
}

.admin-page .section {
    margin-top: 24px;
}

.admin-page .section-heading {
    margin-bottom: 12px;
}

.admin-page .section-heading h1 {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.04;
}

.admin-page .eyebrow {
    font-size: 12px;
}

.admin-tabs {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0 2px;
    background: var(--bg);
}

.admin-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--panel);
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
}

.admin-tabs a:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.admin-card {
    max-width: 920px;
    margin-bottom: 0;
}

.admin-card-wide {
    max-width: none;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.admin-stat-card {
    padding: 18px;
}

.admin-stat-card span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-stat-card strong {
    display: block;
    margin-top: 6px;
    color: var(--gold);
    font-size: 30px;
    line-height: 1.1;
}

.member-editor {
    gap: 14px;
}

.admin-login {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 178px);
    padding: 24px 0;
}

.admin-login-card {
    width: min(520px, 100%);
    padding: 30px;
    border: 1px solid rgba(242, 184, 75, .28);
    background:
        linear-gradient(180deg, rgba(28, 35, 46, .98), rgba(17, 22, 31, .98)),
        linear-gradient(135deg, rgba(242, 184, 75, .12), transparent 46%);
}

.admin-login-card h1 {
    margin-bottom: 18px;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1;
}

.admin-login-card .eyebrow {
    margin-bottom: 10px;
}

.admin-table {
    overflow-x: auto;
    background: rgba(23, 29, 38, .96);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.admin-table input {
    min-width: 120px;
    margin-top: 0;
    padding: 8px 10px;
    font-size: 13px;
}

.admin-table-actions {
    display: flex;
    justify-content: flex-end;
    padding: 14px;
}

.compact-table {
    margin-top: 14px;
}

.member-post-list {
    margin-top: 14px;
}

.detail-card summary,
.post-panel summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
}

.member-post-card {
    display: grid;
    gap: 14px;
}

.member-post-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.member-post-head p {
    margin: 4px 0 0;
}

.member-post-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.member-post-buttons {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.member-post-buttons form {
    margin: 0;
}

.post-action-menu {
    position: relative;
    z-index: 20;
}

.post-action-menu > summary {
    display: grid;
    place-items: center;
    width: 36px;
    height: 32px;
    list-style: none;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--panel-2);
    color: var(--text);
    font-weight: 900;
}

.post-action-menu > summary::-webkit-details-marker {
    display: none;
}

.post-action-menu > div {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 100;
    display: grid;
    min-width: 180px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.post-action-menu[open] > div {
    animation: menuFadeIn .12s ease-out;
}

@keyframes menuFadeIn {
    from {
        opacity: 0;
        transform: translate3d(0, -4px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.post-action-menu a,
.post-action-menu button {
    display: block;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.post-action-menu a:hover,
.post-action-menu button:hover {
    background: var(--panel-2);
}

.post-panel {
    display: none;
    border-top: 1px solid var(--line);
    padding-top: 12px;
    background: transparent;
    box-shadow: none;
}

.post-panel[open] {
    display: block;
}

.inline-edit-form {
    margin-top: 16px;
    box-shadow: none;
}

.create-post-panel {
    display: block;
    margin-top: 22px;
}

.home-post-panel {
    margin-top: 26px;
}

.home-login-card {
    margin-top: 14px;
}

.member-create-panel {
    display: block;
    margin-top: 22px;
}

.account-post-link {
    width: max-content;
    margin-bottom: 10px;
}

.mu-post-form input[type="date"],
.mu-post-form input[type="datetime-local"] {
    color-scheme: dark;
}

.delete-post-form {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.slot-map {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.slot-map-rent {
    margin-top: 14px;
}

.slot-map-rent form {
    margin: 0;
}

.slot-map-item {
    display: grid;
    align-content: center;
    gap: 5px;
    width: 100%;
    min-height: 78px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    color: var(--text);
    font: inherit;
    text-align: left;
}

.slot-map-item strong {
    font-size: 13px;
}

.slot-map-item span,
.slot-map-item em {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.slot-map-item.is-open {
    border-color: rgba(55, 199, 143, .5);
}

button.slot-map-item.is-open {
    cursor: pointer;
}

button.slot-map-item.is-open:hover {
    background: var(--panel-2);
}

.slot-map-item.is-open em {
    color: var(--green);
}

.slot-map-item.is-taken {
    opacity: .55;
}

.slot-map-item.is-taken em {
    color: var(--red);
}

.slot-map-large {
    grid-column: span 3;
}

.slot-map-small,
.slot-map-standard {
    grid-column: span 2;
}

.slot-map-vertical {
    grid-row: span 2;
    min-height: 166px;
}

.rent-slot-schematic {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.rent-slot-schematic .small-banner-grid,
.rent-slot-schematic .standard-banner-grid {
    justify-items: center;
}

.slot-choice-form {
    margin: 0;
}

.slot-choice,
.slot-choice-placeholder {
    width: 100%;
    height: 100%;
    min-height: 0;
}

.slot-choice {
    display: grid;
    align-content: center;
    gap: 6px;
    padding: 12px;
    border: 1px solid rgba(55, 199, 143, .55);
    border-radius: 8px;
    background: var(--panel);
    color: var(--text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.slot-choice:hover {
    background: var(--panel-2);
}

.slot-choice strong {
    font-size: 13px;
}

.slot-choice span,
.slot-choice em {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.slot-choice em {
    color: var(--green);
}

.slot-choice-placeholder {
    visibility: hidden;
}

.rent-sample-grid {
    display: grid;
    grid-template-columns: minmax(150px, 190px) minmax(340px, 1fr) minmax(150px, 190px);
    grid-template-rows: minmax(170px, auto) minmax(125px, auto) minmax(105px, auto);
    gap: 12px 14px;
    align-items: stretch;
}

.active-rental-list {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.active-rental-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(242, 184, 75, .35);
    border-radius: 6px;
    background: rgba(242, 184, 75, .08);
}

.active-rental-item strong,
.active-rental-item span {
    display: block;
}

.active-rental-item span {
    color: var(--muted);
    font-size: 13px;
}

.rent-sample-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    min-height: 120px;
    padding: 18px;
    border: 1px solid rgba(55, 199, 143, .6);
    border-radius: 4px;
    background: #061f2a;
}

.rent-sample-left {
    grid-column: 1;
    grid-row: 1 / span 3;
    min-height: 430px;
}

.rent-sample-right {
    grid-column: 3;
    grid-row: 1 / span 3;
    min-height: 430px;
}

.rent-sample-top {
    grid-column: 2;
    grid-row: 1;
    min-height: 180px;
}

.rent-sample-small {
    grid-column: 2;
    grid-row: 2;
    min-height: 130px;
}

.rent-sample-standard {
    grid-column: 2;
    grid-row: 3;
    min-height: 110px;
}

.rent-sample-card strong {
    display: block;
    color: #ffe700;
    font-size: 22px;
    line-height: 1.18;
    text-align: center;
}

.rent-sample-card span {
    display: block;
    margin-top: 6px;
    color: #ffff5a;
    font-size: 13px;
}

.rent-sample-card form {
    display: grid;
    gap: 10px;
    text-align: center;
}

.rent-duration-select {
    display: grid;
    gap: 5px;
    text-align: left;
}

.rent-duration-select span {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.rent-duration-select select {
    margin-top: 0;
    padding: 8px 10px;
    font-size: 12px;
}

.rent-countdown {
    margin: 0;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

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

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

th {
    color: var(--gold);
    font-size: 11px;
    text-transform: uppercase;
}

td {
    color: #dce3ef;
}

.quick-member-link {
    display: none;
}

.footer {
    border-top: 1px solid var(--line);
    background: #080a0d;
    color: var(--muted);
}

.footer-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
}

.is-hidden {
    display: none !important;
}

@media (max-width: 980px) {
    .container,
    .showcase-container {
        width: min(100% - 24px, 1180px);
    }

    .nav {
        gap: 14px;
    }

    .brand-logo {
        max-width: 150px;
    }

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

    .vertical-showcase-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }

    .showcase-slot-vertical {
        aspect-ratio: 320 / 180;
        height: auto;
    }

    .slot-choice-form.banner-slot-vertical,
    .slot-choice-placeholder.banner-slot-vertical {
        aspect-ratio: 320 / 180;
        height: auto;
    }

    .hero-grid,
    .layout,
    .booking-grid,
    .member-auth,
    .member-dashboard {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

    .rent-sample-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .rent-sample-left,
    .rent-sample-right,
    .rent-sample-top,
    .rent-sample-small,
    .rent-sample-standard {
        grid-column: auto;
        grid-row: auto;
        min-height: 150px;
    }

    .slot-map-large,
    .slot-map-small,
    .slot-map-standard,
    .slot-map-vertical {
        grid-column: span 1;
        grid-row: auto;
        min-height: 86px;
    }

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

    .admin-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        scrollbar-width: thin;
    }

    .admin-tabs a {
        flex: 0 0 auto;
    }
}

@media (max-width: 720px) {
    .topbar-inner,
    .footer-inner,
    .section-heading,
    .server-row {
        align-items: stretch;
        flex-direction: column;
    }

    .nav {
        min-height: 68px;
    }

    .brand {
        min-width: 0;
    }

    .brand span {
        min-width: 0;
    }

    .brand strong,
    .brand small {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .brand-logo,
    .brand-mark {
        width: 44px;
        height: 44px;
        max-width: 130px;
        flex: 0 0 auto;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        left: 12px;
        right: 12px;
        top: 70px;
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        background: rgba(23, 29, 38, .98);
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow);
    }

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

    .nav-item > a,
    .main-menu > a {
        width: 100%;
        justify-content: flex-start;
        min-height: 40px;
        border-radius: 6px;
    }

    .nav-dropdown {
        position: static;
        display: grid;
        min-width: 0;
        margin: 0 0 8px 18px;
        box-shadow: none;
    }

    .nav-dropdown a {
        min-height: 36px;
        white-space: normal;
    }

    .nav-account {
        max-width: none;
    }

    .hero-grid {
        min-height: auto;
        padding: 34px 0;
    }

    .hero-actions,
    .topbar-inner,
    .footer-inner {
        flex-direction: column;
    }

    .vip-grid,
    .price-grid,
    .filters,
    .sidebar,
    .detail-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

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

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

    .server-row {
        display: flex;
    }

    .server-post-row summary {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .rank {
        width: 52px;
        height: 44px;
    }

    .member-post-head {
        align-items: stretch;
        flex-direction: column;
    }

    .member-post-actions {
        justify-content: space-between;
        margin-left: 0;
    }

    .member-post-buttons {
        justify-content: flex-start;
    }

    .server-side {
        text-align: left;
    }

    .admin-page {
        padding: 20px 0 44px;
    }

    .admin-login {
        min-height: calc(100vh - 132px);
        padding: 18px 0;
    }

    .admin-login-card,
    .booking-form,
    .detail-card {
        padding: 16px;
    }

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

    .filters {
        padding: 12px;
    }

    input,
    select,
    textarea {
        min-height: 44px;
        padding: 10px 11px;
    }

    .btn {
        width: 100%;
    }

    .post-action-menu > summary {
        width: 42px;
    }

    .banner-top {
        min-height: 150px;
        padding: 20px;
    }

    .quick-member-link {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 25;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        min-height: 64px;
        padding: 12px 14px;
        border-radius: 8px;
        background: var(--gold);
        color: #1c1102;
        box-shadow: var(--shadow);
    }

    body {
        padding-bottom: 86px;
    }
}

@media (max-width: 480px) {
    .container,
    .showcase-container {
        width: min(100% - 16px, 1180px);
    }

    h1 {
        font-size: 34px;
    }

    h2 {
        font-size: 24px;
    }

    .nav-links {
        left: 8px;
        right: 8px;
    }

    .section-heading {
        gap: 8px;
    }

    .wallet-balance {
        font-size: 28px;
    }

    .rent-sample-card strong {
        font-size: 19px;
    }

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

/* Visual polish layer */
:root {
    --bg: #06090f;
    --panel: rgba(17, 23, 33, .92);
    --panel-2: rgba(28, 38, 53, .96);
    --line: rgba(129, 164, 218, .26);
    --text: #f8fbff;
    --muted: #b7c2d6;
    --gold: #ffd166;
    --red: #ff3d4f;
    --green: #38f2a5;
    --blue: #58c7ff;
    --violet: #a78bfa;
    --shadow: 0 22px 70px rgba(0, 0, 0, .42);
    --glow-gold: 0 0 24px rgba(255, 209, 102, .22);
    --glow-blue: 0 0 26px rgba(88, 199, 255, .18);
}

* {
    font-family: "Segoe UI", Arial, Verdana, sans-serif;
}

body {
    position: relative;
    overflow-x: hidden;
    background:
        linear-gradient(180deg, rgba(7, 11, 18, .9), rgba(5, 8, 13, 1)),
        repeating-linear-gradient(90deg, rgba(88, 199, 255, .05) 0 1px, transparent 1px 72px),
        repeating-linear-gradient(0deg, rgba(255, 209, 102, .035) 0 1px, transparent 1px 72px);
    background-size: auto, 72px 72px, 72px 72px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 0 18%, rgba(88, 199, 255, .08) 19%, transparent 30%),
        linear-gradient(245deg, transparent 0 24%, rgba(255, 209, 102, .08) 25%, transparent 38%),
        linear-gradient(180deg, rgba(255, 61, 79, .045), transparent 42%, rgba(56, 242, 165, .035));
    animation: stageShift 18s ease-in-out infinite alternate;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .28;
    background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(255, 255, 255, .04) 4px);
    mix-blend-mode: screen;
}

@keyframes stageShift {
    from {
        transform: translate3d(-1.5%, -1%, 0);
        filter: saturate(1);
    }
    to {
        transform: translate3d(1.5%, 1%, 0);
        filter: saturate(1.25);
    }
}

.site-header {
    background: rgba(5, 8, 13, .82);
    border-bottom: 1px solid rgba(88, 199, 255, .22);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .42), inset 0 -1px 0 rgba(255, 209, 102, .1);
}

.brand-logo,
.brand-mark {
    filter: drop-shadow(0 0 14px rgba(88, 199, 255, .42));
}

.brand strong {
    color: #fff;
    text-shadow: 0 0 16px rgba(88, 199, 255, .32);
}

.nav-item > a,
.main-menu > a {
    position: relative;
    overflow: hidden;
}

.nav-item > a::after,
.main-menu > a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--red), var(--gold), var(--blue));
    box-shadow: 0 0 14px rgba(255, 209, 102, .45);
    transition: transform .22s ease;
}

.nav-item:hover > a::after,
.nav-item:focus-within > a::after,
.main-menu > a:hover::after {
    transform: scaleX(1);
}

.nav-cta,
.btn-primary {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffe08a, #ffbd3d 48%, #ff4d5f);
    color: #190d02 !important;
    box-shadow: 0 12px 28px rgba(255, 61, 79, .24), var(--glow-gold);
}

.nav-cta::after,
.btn-primary::after {
    content: "";
    position: absolute;
    inset: -40% auto -40% -70%;
    width: 46%;
    transform: skewX(-18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .62), transparent);
    transition: left .52s ease;
}

.nav-cta:hover::after,
.btn-primary:hover::after {
    left: 125%;
}

.btn-secondary,
.btn-danger,
.admin-tabs a,
.post-action-menu > summary {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.showcase-image-link,
.banner,
.filters,
.server-row,
.detail-card,
.booking-form,
.admin-table,
.price-card,
.side-box,
.account-card,
.member-post-card {
    position: relative;
    border-color: rgba(88, 199, 255, .24);
    background:
        linear-gradient(180deg, rgba(24, 32, 46, .94), rgba(12, 17, 25, .96)),
        linear-gradient(135deg, rgba(255, 209, 102, .08), rgba(88, 199, 255, .07));
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .055);
}

.showcase-image-link::before,
.server-row::before,
.detail-card::before,
.booking-form::before,
.admin-table::before,
.price-card::before,
.side-box::before,
.account-card::before,
.member-post-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(255, 255, 255, .12), transparent 22%, transparent 78%, rgba(88, 199, 255, .1));
    opacity: .52;
}

.showcase-image-link {
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, filter .22s ease;
}

.showcase-image-link:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 209, 102, .72);
    box-shadow: 0 22px 70px rgba(0, 0, 0, .5), 0 0 32px rgba(255, 209, 102, .25), 0 0 28px rgba(88, 199, 255, .16);
    filter: saturate(1.12);
}

.showcase-image-link img {
    transition: transform .35s ease, filter .35s ease;
}

.showcase-image-link:hover img {
    transform: scale(1.018);
    filter: contrast(1.06) saturate(1.1);
}

.section-heading h1,
.section-heading h2,
h1,
h2 {
    color: #fff;
    text-shadow: 0 0 22px rgba(88, 199, 255, .22), 0 2px 0 rgba(0, 0, 0, .42);
}

.eyebrow {
    color: var(--gold);
    letter-spacing: .1em;
    text-shadow: 0 0 18px rgba(255, 209, 102, .32);
}

.filters {
    border-color: rgba(88, 199, 255, .28);
    box-shadow: 0 16px 44px rgba(0, 0, 0, .32), var(--glow-blue);
}

input,
select,
textarea {
    border-color: rgba(129, 164, 218, .28);
    background: rgba(5, 9, 15, .88);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

input:hover,
select:hover,
textarea:hover {
    border-color: rgba(88, 199, 255, .42);
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(255, 209, 102, .82);
    box-shadow: 0 0 0 3px rgba(255, 209, 102, .13), 0 0 24px rgba(88, 199, 255, .12);
}

.server-post-row summary {
    position: relative;
}

.server-row {
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.server-row:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 209, 102, .5);
    box-shadow: 0 20px 54px rgba(0, 0, 0, .42), var(--glow-gold);
}

.rank-vip {
    background: linear-gradient(135deg, #fff0a6, #ffbd3d 52%, #ff5263);
    box-shadow: 0 0 20px rgba(255, 209, 102, .28);
}

.server-main h3 {
    color: #fff;
}

.meta span {
    border-color: rgba(88, 199, 255, .34);
    background: rgba(88, 199, 255, .06);
    color: #dcecff;
}

.server-side strong,
.form-status {
    text-shadow: 0 0 18px rgba(56, 242, 165, .3);
}

.admin-tabs {
    padding: 10px;
    border: 1px solid rgba(88, 199, 255, .2);
    border-radius: 8px;
    background: rgba(9, 14, 22, .72);
    box-shadow: var(--shadow);
}

.admin-tabs a {
    border: 1px solid rgba(88, 199, 255, .18);
    background: rgba(22, 31, 45, .82);
}

.admin-tabs a:hover {
    border-color: rgba(255, 209, 102, .48);
    background: rgba(255, 209, 102, .1);
    color: #fff;
}

.admin-table table {
    background: rgba(7, 11, 18, .46);
}

th {
    color: #ffe2a3;
    background: rgba(255, 209, 102, .06);
}

td {
    border-bottom-color: rgba(129, 164, 218, .18);
}

tr:hover td {
    background: rgba(88, 199, 255, .035);
}

.footer {
    border-top-color: rgba(88, 199, 255, .22);
    background:
        linear-gradient(180deg, rgba(8, 12, 19, .96), rgba(4, 7, 11, 1)),
        repeating-linear-gradient(90deg, rgba(255, 209, 102, .04) 0 1px, transparent 1px 64px);
    box-shadow: inset 0 1px 0 rgba(255, 209, 102, .08);
}

.footer-inner span:first-child {
    color: #dfe8f8;
}

.footer-inner span:last-child {
    color: #95a4bd;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* FPS tuning */
body::before {
    animation: stageShift 24s linear infinite alternate;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

body::after {
    opacity: .14;
}

@keyframes stageShift {
    from {
        transform: translate3d(-1%, -.7%, 0);
    }
    to {
        transform: translate3d(1%, .7%, 0);
    }
}

.section,
.admin-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 620px;
}

.detail-card,
.booking-form,
.server-row,
.admin-table,
.price-card,
.side-box {
    backdrop-filter: none;
}

.showcase-image-link,
.server-row,
.btn,
.nav-cta {
    backface-visibility: hidden;
    transform: translateZ(0);
}

.showcase-image-link {
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.showcase-image-link:hover {
    filter: none;
    transform: translate3d(0, -2px, 0);
}

.showcase-image-link img {
    transition: transform .24s ease;
}

.showcase-image-link:hover img {
    filter: none;
    transform: scale(1.012);
}

.server-row:hover {
    transform: translate3d(0, -2px, 0);
}

/* Rent banner preview proportions */
.rent-sample-grid {
    grid-template-columns: minmax(130px, 190px) minmax(360px, 1fr) minmax(130px, 190px);
    grid-template-rows: auto auto auto;
    align-items: start;
}

.rent-sample-left,
.rent-sample-right {
    grid-row: 1;
    min-height: 0;
    height: 100%;
}

.rent-sample-left {
    grid-column: 1;
}

.rent-sample-right {
    grid-column: 3;
}

.rent-sample-top,
.rent-sample-small,
.rent-sample-standard {
    grid-column: 2;
    justify-self: center;
}

.rent-sample-top {
    grid-row: 1;
    width: 100%;
    min-height: 170px;
}

.rent-sample-small {
    grid-row: 2;
    width: 92%;
    min-height: 132px;
}

.rent-sample-standard {
    grid-row: 3;
    width: 80%;
    min-height: 112px;
}

.rent-sample-card {
    justify-content: center;
}

.rent-sample-card form {
    margin-top: 10px;
}

/* Header alignment */
@media (min-width: 981px) {
    .site-header .container.nav {
        width: min(1240px, calc(100% - 24px));
    }

    .nav {
        display: grid;
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 22px;
    }

    .brand {
        justify-self: start;
    }

    .nav-links {
        justify-self: stretch;
        justify-content: center;
    }
}

@media (max-width: 980px) {
    .rent-sample-top,
    .rent-sample-small,
    .rent-sample-standard {
        width: 100%;
    }
}
