:root {
    --bg: #07111f;
    --surface: #0d1b2e;
    --surface-2: #12243a;
    --card: #ffffff;
    --text: #eaf2ff;
    --muted: #93a7c2;
    --dark-text: #0b1524;
    --dark-muted: #5f6f85;
    --blue: #1d8cff;
    --blue-2: #0b5ed7;
    --cyan: #40c9ff;
    --line: rgba(148, 163, 184, 0.22);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #07111f;
    color: var(--text);
}

a {
    color: inherit;
}

#main {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(29, 140, 255, 0.24), transparent 34%),
        linear-gradient(180deg, #07111f 0%, #0a1424 44%, #edf4ff 44%, #f5f8fc 100%);
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    min-height: 82px;
    background: rgba(6, 16, 31, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 14px 48px;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(16px);
}

.header-logo a {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0;
}

.nav-bar {
    margin-left: 18px;
}

.nav-bar .list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-bar .list-item a {
    display: inline-flex;
    color: #dbeafe;
    text-decoration: none;
    padding: 11px 15px;
    border-radius: 8px;
    transition: 0.2s ease;
    white-space: nowrap;
    font-weight: 700;
    font-size: 14px;
}

.nav-bar .list-item a:hover,
.nav-bar .list-item a.is-active {
    background-color: rgba(29, 140, 255, 0.16);
    color: #ffffff;
}

.header-user {
    position: relative;
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: auto;
}

.user-greeting {
    color: #ffffff;
    font-weight: 700;
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(64, 201, 255, 0.8);
}

.dropdown {
    position: absolute;
    top: 58px;
    right: 0;
    min-width: 220px;
    background: #ffffff;
    color: var(--dark-text);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.2s ease;
}

.header-user:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    color: var(--dark-text);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
}

.dropdown a:hover {
    background: #eef6ff;
    color: var(--blue-2);
}

.btn-login,
.btn-register,
.cta-btn-primary,
.cta-btn-secondary,
.court-btn,
.booking-box button,
.profile-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 800;
    border: 1px solid transparent;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn-login,
.cta-btn-secondary {
    color: #eaf2ff;
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.06);
}

.btn-login:hover,
.cta-btn-secondary:hover {
    border-color: rgba(64, 201, 255, 0.72);
    background: rgba(64, 201, 255, 0.14);
}

.btn-register,
.cta-btn-primary,
.court-btn,
.booking-box button,
.profile-form button {
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(29, 140, 255, 0.28);
}

.btn-register:hover,
.cta-btn-primary:hover,
.court-btn:hover,
.booking-box button:hover,
.profile-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(29, 140, 255, 0.34);
}

.hero {
    min-height: 680px;
    padding: 150px 48px 72px;
    display: flex;
    align-items: flex-end;
    background:
        linear-gradient(90deg, rgba(7, 17, 31, 0.88), rgba(7, 17, 31, 0.44)),
        url('./img/475482378_122203562042064041_8052016067975501943_n.jpg') center/cover no-repeat;
}

.hero-overlay {
    max-width: 760px;
}

.hero h1,
.page-hero h1 {
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.04;
    letter-spacing: 0;
    margin: 12px 0 18px;
}

.hero p,
.page-hero p {
    max-width: 660px;
    color: #c8d7eb;
    font-size: 18px;
    line-height: 1.7;
}

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

#content,
.page-shell {
    color: var(--dark-text);
}

.page-shell {
    padding: 118px 48px 64px;
    background: #f5f8fc;
}

.page-section {
    max-width: 1180px;
    margin: 0 auto;
}

.compact-hero {
    max-width: 1180px;
    margin: 0 auto 34px;
    padding: 54px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(9, 25, 46, 0.96), rgba(15, 54, 98, 0.92)),
        linear-gradient(135deg, #07111f, #0b5ed7);
    color: #fff;
    box-shadow: var(--shadow);
}

.section-heading {
    max-width: 780px;
    margin: 0 auto 38px;
    text-align: center;
}

.section-tag {
    display: inline-flex;
    color: var(--cyan);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.section-heading h2,
.about-content h2,
.video-content h2,
.cta-content h2 {
    color: var(--dark-text);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    margin: 10px 0 14px;
}

.section-desc,
.about-desc,
.court-text,
.video-content p,
.utility-card p,
.step-card p,
.cta-content p,
.contact-card p,
.booking-summary p {
    color: var(--dark-muted);
    line-height: 1.7;
}

.court-list,
.about-system,
.court-video,
.court-utilities,
.booking-steps,
.cta-booking {
    padding: 88px 48px;
    background: #f5f8fc;
}

.court-grid,
.utilities-grid,
.steps-grid,
.contact-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.court-card,
.utility-card,
.step-card,
.contact-card,
.profile-card,
.booking-box,
.booking-summary {
    background: var(--card);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.court-card {
    overflow: hidden;
}

.court-image {
    min-height: 170px;
    background:
        linear-gradient(135deg, rgba(7, 17, 31, 0.16), rgba(29, 140, 255, 0.2)),
        url('./img/475482378_122203562042064041_8052016067975501943_n.jpg') center/cover no-repeat;
}

.court-image-2,
.court-image-4 {
    background-position: center right;
}

.court-body,
.utility-card,
.step-card,
.contact-card {
    padding: 22px;
}

.court-status,
.summary-label,
.status {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e7f3ff;
    color: var(--blue-2);
    font-size: 12px;
    font-weight: 900;
}

.court-body h3,
.utility-card h3,
.step-card h3,
.contact-card h3 {
    margin: 14px 0 8px;
    color: var(--dark-text);
}

.court-price {
    color: var(--blue-2);
    font-weight: 900;
    margin-bottom: 10px;
}

.court-btn {
    width: 100%;
    margin-top: 18px;
}

.about-layout,
.video-layout,
.cta-box,
.booking-layout {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 28px;
    align-items: center;
}

.about-points,
.video-features {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.about-point,
.video-feature,
.about-box,
.summary-result,
.empty-box,
.alert {
    border-radius: 8px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.about-highlight {
    display: grid;
    gap: 18px;
}

.about-box {
    background: linear-gradient(135deg, #07111f, #123e70);
    color: #fff;
}

.about-number {
    display: block;
    color: var(--cyan);
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 8px;
}

.about-box p {
    color: #dbeafe;
    line-height: 1.6;
}

.video-frame {
    overflow: hidden;
    border-radius: 8px;
    background: #07111f;
    box-shadow: var(--shadow);
}

.training-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.utility-icon,
.step-number {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #07111f;
    color: var(--cyan);
    font-weight: 900;
}

.cta-box {
    padding: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #07111f, #0b3767);
    color: #fff;
}

.cta-content h2 {
    color: #fff;
}

.cta-content p {
    color: #c8d7eb;
}

#footer {
    background: #07111f;
    color: #dbeafe;
    padding: 54px 48px 24px;
}

.footer-layout {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 28px;
}

.footer-layout h3,
.footer-layout h4 {
    color: #fff;
    margin-bottom: 14px;
}

.footer-layout p,
.footer-layout li,
.footer-layout a {
    color: #9fb2cc;
    line-height: 1.8;
    text-decoration: none;
}

.footer-layout ul {
    list-style: none;
}

.footer-bottom {
    max-width: 1180px;
    margin: 34px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #8ba1bd;
}

.booking-layout {
    align-items: start;
}

.booking-box,
.booking-summary,
.profile-card {
    padding: 28px;
}

.booking-box h2,
.profile-card h2 {
    margin-bottom: 22px;
}

.booking-box label,
.profile-form label {
    display: block;
    margin: 14px 0 8px;
    color: var(--dark-text);
    font-weight: 800;
}

.booking-box input,
.booking-box select,
.profile-form input {
    width: 100%;
    min-height: 46px;
    padding: 10px 13px;
    border-radius: 8px;
    border: 1px solid #d7e1ee;
    outline: none;
    background: #f8fbff;
}

.booking-box input:focus,
.booking-box select:focus,
.profile-form input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(29, 140, 255, 0.12);
}

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

.booking-box button,
.profile-form button {
    width: 100%;
    margin-top: 22px;
}

.booking-summary {
    position: sticky;
    top: 108px;
}

.booking-summary h3 {
    margin: 16px 0 10px;
    font-size: 30px;
    color: var(--blue-2);
}

.summary-result {
    margin-top: 22px;
    background: #eef6ff;
}

.alert {
    margin-bottom: 18px;
    font-weight: 800;
}

.alert-success {
    color: #0f766e;
    background: #e7fffa;
    border-color: #b8f2e6;
}

.alert-error {
    color: #b42318;
    background: #fff1f0;
    border-color: #ffd0cc;
}

.profile-page {
    max-width: 980px;
    margin: 0 auto;
}

.top-bar {
    margin-bottom: 18px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #ffffff;
    color: var(--blue-2);
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 22px;
    background: linear-gradient(135deg, #07111f, #123e70);
    color: white;
    padding: 34px;
    border-radius: 8px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.profile-header h1 {
    font-size: clamp(30px, 5vw, 46px);
    margin: 8px 0;
}

.profile-header p:not(.section-tag) {
    color: #c8d7eb;
}

.profile-avatar {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(64, 201, 255, 0.8);
}

.profile-form {
    display: grid;
    gap: 12px;
}

.booking-item {
    border: 1px solid #dbe6f2;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 16px;
    background: #f8fbff;
}

.booking-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.booking-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
    color: var(--dark-muted);
}

.booking-invoice-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: var(--blue-2);
    font-weight: 900;
    text-decoration: none;
}

.contact-card {
    text-align: center;
}

.contact-card i {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #07111f;
    color: var(--cyan);
    font-size: 22px;
}

.shop-hero {
    display: block;
}

.shop-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
    gap: 28px;
    align-items: start;
}

.shop-heading {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

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

.product-card,
.shop-panel,
.bridge-card {
    background: var(--card);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.product-card {
    overflow: hidden;
}

.product-media {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 30% 20%, rgba(64, 201, 255, 0.24), transparent 34%),
        linear-gradient(135deg, #07111f, #123e70);
    color: var(--cyan);
    font-size: 46px;
}

.product-body {
    padding: 22px;
}

.product-category {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e7f3ff;
    color: var(--blue-2);
    font-size: 12px;
    font-weight: 900;
}

.product-body h3 {
    margin: 14px 0 8px;
    color: var(--dark-text);
}

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

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

.product-footer strong {
    color: var(--blue-2);
    font-size: 18px;
}

.product-action {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    color: #fff;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(29, 140, 255, 0.28);
}

.shop-panel {
    position: sticky;
    top: 108px;
    padding: 28px;
}

.shop-panel h2 {
    margin: 16px 0 12px;
}

.shop-panel p {
    color: var(--dark-muted);
    line-height: 1.7;
}

.shop-checklist {
    display: grid;
    gap: 14px;
    margin: 22px 0;
}

.shop-checklist div {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--dark-text);
    line-height: 1.6;
    padding: 14px;
    border-radius: 8px;
    background: #f2f7ff;
}

.shop-checklist i {
    color: var(--blue-2);
    margin-top: 3px;
}

.shop-panel-btn {
    width: 100%;
}

.shop-bridge {
    margin-top: 32px;
}

.bridge-card {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 18px;
    align-items: center;
    padding: 28px;
}

.bridge-card > i {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #07111f;
    color: var(--cyan);
    font-size: 28px;
}

.bridge-card h2 {
    margin-bottom: 8px;
}

.bridge-card p {
    color: var(--dark-muted);
    line-height: 1.7;
}

.legacy-placeholder {
    min-height: 100vh;
}

.shop-main-section {
    padding-bottom: 42px;
}

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

.bestseller-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.bestseller-media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background: #f3f7fc;
    overflow: hidden;
}

.bestseller-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
    transition: transform 0.25s ease;
}

.bestseller-card:hover .bestseller-media img {
    transform: scale(1.06);
}

.bestseller-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #0b5ed7;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.bestseller-actions {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    opacity: 0;
    transform: translateY(12px);
    transition: 0.22s ease;
}

.bestseller-card:hover .bestseller-actions {
    opacity: 1;
    transform: translateY(0);
}

.bestseller-btn {
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: rgba(7, 17, 31, 0.92);
    font-weight: 900;
    cursor: pointer;
}

.bestseller-btn:hover {
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
}

.bestseller-body {
    padding: 20px;
}

.bestseller-body h3 {
    min-height: 48px;
    margin: 12px 0 10px;
    color: var(--dark-text);
    line-height: 1.35;
}

.bestseller-meta,
.bestseller-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.bestseller-meta {
    color: var(--dark-muted);
    font-size: 13px;
}

.bestseller-price {
    margin-top: 14px;
}

.bestseller-price del {
    color: #94a3b8;
}

.bestseller-price strong {
    color: var(--blue-2);
    font-size: 19px;
}

.shop-full-link {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.floating-cart {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1002;
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 18px 44px rgba(29, 140, 255, 0.34);
}

.floating-cart span {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #07111f;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    border: 2px solid #fff;
}

.floating-cart.is-bumping {
    animation: cartBump 0.45s ease;
}

.fly-to-cart {
    position: fixed;
    z-index: 2000;
    object-fit: contain;
    border-radius: 8px;
    pointer-events: none;
    transition: transform 0.72s cubic-bezier(.2, .8, .2, 1), opacity 0.72s ease;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
}

.cart-drawer {
    position: fixed;
    right: 24px;
    bottom: 100px;
    z-index: 1003;
    width: min(380px, calc(100vw - 32px));
    max-height: min(620px, calc(100vh - 130px));
    display: flex;
    flex-direction: column;
    background: #ffffff;
    color: var(--dark-text);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: 0.22s ease;
}

.cart-drawer.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cart-drawer-header,
.cart-drawer-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 18px;
    border-bottom: 1px solid #d7e1ee;
}

.cart-drawer-footer {
    border-top: 1px solid #d7e1ee;
    border-bottom: 0;
}

.cart-drawer-header h3 {
    margin-top: 4px;
}

.cart-drawer-header button {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 8px;
    background: #eef6ff;
    color: var(--blue-2);
    cursor: pointer;
}

.cart-drawer-body {
    padding: 8px 18px;
    overflow: auto;
}

.cart-drawer-item {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #edf2f7;
}

.cart-drawer-item img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #d7e1ee;
}

.cart-drawer-item strong {
    display: block;
    line-height: 1.35;
}

.cart-drawer-item p,
.cart-empty {
    color: var(--dark-muted);
    margin-top: 5px;
}

.cart-drawer-item a,
.cart-drawer-shop-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 11px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    color: #fff;
    text-decoration: none;
    font-weight: 900;
}

.cart-drawer-shop-link {
    margin: 0 18px 18px;
}

@keyframes cartBump {
    0%, 100% { transform: scale(1); }
    45% { transform: scale(1.14); }
}

.checkout-page {
    color: var(--dark-text);
}

.checkout-alert {
    max-width: 1180px;
    margin: 0 auto 22px;
}

.checkout-layout {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    gap: 26px;
    align-items: start;
}

.checkout-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.checkout-card h2 {
    margin-bottom: 20px;
}

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

.checkout-info-grid p,
.bill-row,
.bill-total {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border-radius: 8px;
    background: #f4f8fd;
}

.checkout-info-grid p {
    flex-direction: column;
}

.checkout-info-grid span,
.bill-row span,
.bill-total span {
    color: var(--dark-muted);
}

.checkout-info-grid strong,
.bill-row strong {
    color: var(--dark-text);
}

.checkout-bill {
    position: sticky;
    top: 108px;
}

.bill-row {
    margin-bottom: 12px;
}

.bill-total {
    margin: 18px 0 24px;
    background: #e7f3ff;
    align-items: center;
}

.bill-total strong {
    color: var(--blue-2);
    font-size: 24px;
}

.checkout-bill h3 {
    margin: 10px 0 14px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    margin-bottom: 10px;
    border: 1px solid #d7e1ee;
    border-radius: 8px;
    cursor: pointer;
    background: #fff;
    font-weight: 800;
}

.payment-option input {
    width: 18px;
    height: 18px;
    accent-color: var(--blue-2);
}

.qr-panel {
    display: none;
    margin: 16px 0 20px;
    padding: 18px;
    border-radius: 8px;
    background: #07111f;
    color: #eaf2ff;
}

.qr-panel.is-visible {
    display: block;
}

.qr-panel img {
    display: block;
    width: min(100%, 320px);
    margin: 0 auto 16px;
    border-radius: 8px;
    background: #fff;
}

.qr-panel p {
    margin: 8px 0;
    line-height: 1.5;
}

.qr-fallback {
    display: none;
    padding: 18px;
    margin-bottom: 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    text-align: center;
}

.checkout-submit {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.checkout-back {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin-top: 12px;
    color: var(--blue-2);
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 1080px) {
    #header {
        padding: 14px 24px;
        flex-wrap: wrap;
    }

    .nav-bar {
        order: 3;
        width: 100%;
        margin-left: 0;
        overflow-x: auto;
    }

    .court-grid,
    .utilities-grid,
    .steps-grid,
    .contact-grid,
    .bestseller-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-layout,
    .video-layout,
    .cta-box,
    .booking-layout,
    .shop-layout,
    .checkout-layout,
    .footer-layout {
        grid-template-columns: 1fr;
    }

    .shop-panel {
        position: static;
    }
}

@media (max-width: 640px) {
    #header {
        align-items: flex-start;
    }

    .header-logo a {
        font-size: 20px;
    }

    .header-user {
        width: 100%;
        margin-left: 0;
        justify-content: space-between;
    }

    .user-greeting {
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hero,
    .page-shell,
    .court-list,
    .about-system,
    .court-video,
    .court-utilities,
    .booking-steps,
    .cta-booking,
    #footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero {
        min-height: 620px;
        padding-top: 190px;
    }

    .compact-hero {
        padding: 30px 22px;
    }

    .court-grid,
    .utilities-grid,
    .steps-grid,
    .contact-grid,
    .product-grid,
    .bestseller-grid,
    .form-grid,
    .checkout-info-grid,
    .booking-info {
        grid-template-columns: 1fr;
    }

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

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