:root {
    --pz-red: #e1112c;
    --pz-red-dark: #8c0016;
    --pz-red-soft: rgba(225, 17, 44, 0.18);
    --pz-black: #050505;
    --pz-black-soft: #121212;
    --pz-panel: rgba(255, 255, 255, 0.05);
    --pz-line: rgba(255, 255, 255, 0.08);
    --pz-text: #f7f7f7;
    --pz-muted: #b9b9b9;
    --pz-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f7f7fb;
    font-family: "Inter", sans-serif;
}

.admin-body,
.member-body {
    background:
        radial-gradient(circle at top right, rgba(225, 17, 44, 0.18), transparent 22%),
        linear-gradient(180deg, #0a0a0a 0%, #111111 12rem, #f5f5f5 12rem, #ffffff 100%);
    color: #111;
}

h1,
h2,
h3,
h4,
.site-brand {
    font-family: "Archivo Black", sans-serif;
    letter-spacing: 0.01em;
}

.card {
    border: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.dashboard-shell {
    position: relative;
}

.dashboard-topbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.dashboard-kicker {
    display: inline-block;
    margin-bottom: 0.45rem;
    color: #ffb2bc;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.dashboard-heading {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.1rem);
    text-transform: uppercase;
}

.dashboard-topbar-mark {
    width: 92px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--pz-red), #ffffff);
    box-shadow: 0 0 20px rgba(225, 17, 44, 0.4);
}

.admin-nav,
.member-nav {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.admin-body .navbar-brand,
.member-body .navbar-brand {
    font-family: "Archivo Black", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.admin-body .nav-link,
.member-body .nav-link {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
}

.admin-body .nav-link:hover,
.member-body .nav-link:hover,
.admin-body .nav-link:focus,
.member-body .nav-link:focus {
    color: #ffb3bd;
}

.admin-body .card,
.member-body .card {
    border: 1px solid rgba(225, 17, 44, 0.08);
    border-radius: 1.35rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.dashboard-card {
    background:
        linear-gradient(135deg, rgba(225, 17, 44, 0.12), rgba(255, 255, 255, 0.96)),
        #fff;
    border: 1px solid rgba(225, 17, 44, 0.14);
}

.dashboard-card h2,
.dashboard-card h3,
.dashboard-card h6 {
    color: #111;
}

.dashboard-card small {
    color: #6b7280;
}

.report-mini-card {
    height: 100%;
    padding: 1rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff, #fff5f6);
    border: 1px solid rgba(225, 17, 44, 0.12);
}

.report-mini-card span {
    display: block;
    font-size: 0.85rem;
    color: #6c757d;
}

.report-mini-card strong {
    display: block;
    margin-top: 0.35rem;
    font-size: 1.25rem;
    color: #111;
}

.dashboard-notification-list,
.member-detail-list {
    display: grid;
    gap: 0.9rem;
}

.notification-item {
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff, #fff1f3);
    border: 1px solid rgba(225, 17, 44, 0.16);
    display: grid;
    gap: 0.15rem;
}

.notification-item strong {
    color: #111;
}

.notification-item span,
.notification-item small {
    color: #6c757d;
}

.member-body {
    color: #111;
}

.member-detail-list div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(225, 17, 44, 0.12);
}

.member-detail-list div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.member-detail-list strong {
    color: #111;
}

.member-detail-list span {
    color: #6c757d;
    text-align: right;
}

.login-wrap {
    min-height: 100vh;
}

.attendance-member-box {
    padding: 1rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(225, 17, 44, 0.11), rgba(255, 255, 255, 0.96));
    border: 1px solid rgba(225, 17, 44, 0.14);
}

.attendance-stat {
    height: 100%;
    padding: 0.9rem;
    border-radius: 0.9rem;
    background: linear-gradient(180deg, #ffffff, #fff7f8);
    border: 1px solid rgba(225, 17, 44, 0.12);
}

.attendance-stat strong {
    display: block;
    font-size: 1rem;
    color: #111;
}

.attendance-stat span {
    display: block;
    font-size: 0.85rem;
    color: #6c757d;
}

.attendance-calendar th {
    background: linear-gradient(135deg, #0a0a0a, #202020);
    color: #fff;
    font-size: 0.82rem;
}

.calendar-cell-wrap {
    min-width: 88px;
    padding: 0.35rem;
}

.calendar-day {
    min-height: 78px;
    border-radius: 0.9rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
}

.calendar-day strong {
    font-size: 1rem;
}

.calendar-day small {
    color: inherit;
}

.calendar-present {
    background: rgba(25, 135, 84, 0.14);
    color: #0f5132;
}

.calendar-today {
    background: rgba(220, 53, 69, 0.14);
    color: #842029;
}

.calendar-missed {
    background: rgba(255, 193, 7, 0.14);
    color: #7a5a00;
}

.calendar-future {
    background: rgba(13, 110, 253, 0.1);
    color: #0a58ca;
}

.calendar-inactive,
.calendar-empty {
    background: #f8f9fa;
    color: #adb5bd;
}

.site-body {
    background:
        radial-gradient(circle at top right, rgba(225, 17, 44, 0.28), transparent 25%),
        linear-gradient(180deg, #040404 0%, #0b0b0b 45%, #111111 100%);
    color: var(--pz-text);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(5, 5, 5, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--pz-line);
}

.site-brand {
    color: #fff;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.site-header .nav-link {
    color: #ececec;
    font-weight: 600;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus {
    color: #ff8fa2;
}

.site-nav-btn,
.site-primary-btn,
.whatsapp-float {
    background: linear-gradient(135deg, var(--pz-red), var(--pz-red-dark)) !important;
    border-color: transparent !important;
    box-shadow: 0 10px 28px rgba(225, 17, 44, 0.28);
}

.site-secondary-btn {
    border-color: rgba(255, 255, 255, 0.28);
}

.site-primary-btn:hover,
.site-secondary-btn:hover,
.site-nav-btn:hover,
.whatsapp-float:hover {
    transform: translateY(-2px);
}

.hero-section {
    position: relative;
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.78)),
        url("https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(225, 17, 44, 0.18), transparent 45%),
        radial-gradient(circle at 80% 20%, rgba(225, 17, 44, 0.22), transparent 30%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-kicker,
.section-kicker {
    display: inline-block;
    color: #ff9dad;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 5.8rem);
    line-height: 0.98;
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-shadow: 0 0 28px rgba(225, 17, 44, 0.2);
}

.hero-subtext {
    font-size: clamp(1.15rem, 2vw, 1.6rem);
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.hero-copy,
.section-copy {
    color: var(--pz-muted);
    font-size: 1.02rem;
    line-height: 1.9;
    max-width: 62ch;
}

.hero-stat,
.hero-side-card,
.about-card,
.service-card,
.plan-card,
.trainer-card,
.testimonial-card,
.timing-card,
.quote-panel,
.contact-card,
.contact-form-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
    border: 1px solid var(--pz-line);
    border-radius: 1.35rem;
    box-shadow: var(--pz-shadow);
}

.hero-stat {
    padding: 1.25rem;
    text-align: center;
}

.hero-stat strong {
    display: block;
    font-size: 2rem;
    color: #fff;
}

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

.hero-side-card {
    padding: 2rem;
}

.hero-side-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero-side-card p {
    color: var(--pz-muted);
}

.quote-stack {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.quote-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: rgba(225, 17, 44, 0.16);
    border: 1px solid rgba(225, 17, 44, 0.24);
    font-weight: 700;
}

.site-section {
    padding: 5rem 0;
}

.site-section-dark {
    background: rgba(255, 255, 255, 0.015);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.05;
    margin-bottom: 1rem;
}

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

.about-card,
.service-card,
.plan-card,
.trainer-card,
.testimonial-card,
.timing-card,
.quote-panel,
.contact-card,
.contact-form-card {
    padding: 1.75rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-card:hover,
.service-card:hover,
.plan-card:hover,
.trainer-card:hover,
.testimonial-card:hover,
.timing-card:hover,
.quote-panel:hover,
.contact-card:hover,
.contact-form-card:hover,
.gallery-card:hover {
    transform: translateY(-4px);
    border-color: rgba(225, 17, 44, 0.26);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.36);
}

.about-card h3,
.service-card h3,
.plan-card h3,
.trainer-card h3,
.testimonial-card strong,
.contact-card strong,
.contact-form-card h2,
.timing-card strong,
.quote-panel blockquote {
    color: #fff;
}

.about-card p,
.service-card p,
.plan-card p,
.trainer-card p,
.testimonial-card p,
.contact-card span,
.contact-card a {
    color: var(--pz-muted);
}

.service-card {
    height: 100%;
}

.plan-card {
    position: relative;
    height: 100%;
}

.plan-card-highlight {
    border-color: rgba(225, 17, 44, 0.42);
    background: linear-gradient(180deg, rgba(225, 17, 44, 0.18), rgba(255, 255, 255, 0.03));
}

.plan-badge {
    display: inline-block;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(225, 17, 44, 0.18);
    color: #ffb7c1;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.plan-duration {
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: #ffadb8 !important;
}

.plan-price {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.85rem;
}

.plan-copy {
    margin-bottom: 1.4rem;
}

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

.location-chip-grid,
.faq-grid {
    display: grid;
    gap: 1rem;
}

.location-chip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.location-chip {
    padding: 1rem 1.15rem;
    border-radius: 999px;
    text-align: center;
    font-weight: 800;
    color: #fff;
    background: rgba(225, 17, 44, 0.16);
    border: 1px solid rgba(225, 17, 44, 0.22);
    box-shadow: var(--pz-shadow);
}

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

.faq-card {
    padding: 1.6rem;
    border-radius: 1.25rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
    border: 1px solid var(--pz-line);
    box-shadow: var(--pz-shadow);
}

.faq-card h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.85rem;
}

.faq-card p {
    color: var(--pz-muted);
    margin-bottom: 0;
    line-height: 1.8;
}

.gallery-card {
    min-height: 280px;
    border-radius: 1.3rem;
    overflow: hidden;
    display: flex;
    align-items: end;
    padding: 1.2rem;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--pz-line);
    box-shadow: var(--pz-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card span {
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

.trainer-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--pz-red), var(--pz-red-dark));
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(225, 17, 44, 0.26);
}

.trainer-specialization {
    color: #fff !important;
    font-weight: 700;
}

.trainer-experience {
    margin-bottom: 0;
}

.testimonial-card p {
    font-size: 1.02rem;
    line-height: 1.9;
}

.timing-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.timing-row:last-child {
    border-bottom: 0;
}

.quote-panel {
    height: 100%;
    display: grid;
    align-content: center;
    gap: 1rem;
}

.quote-panel blockquote {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.3;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
    display: grid;
    gap: 1rem;
}

.contact-list li {
    display: grid;
    gap: 0.3rem;
}

.contact-list strong {
    font-size: 0.92rem;
    text-transform: uppercase;
    color: #fff;
}

.contact-list a {
    text-decoration: none;
}

.contact-map {
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: 1rem;
}

.site-input {
    border-radius: 1rem;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
}

.site-input:focus {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-color: rgba(225, 17, 44, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(225, 17, 44, 0.18);
}

.site-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

select.site-input {
    color: #fff;
}

select.site-input option {
    color: #111;
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.25rem;
    border-radius: 999px;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.site-footer {
    padding: 2rem 0 2.5rem;
    border-top: 1px solid var(--pz-line);
    background: rgba(0, 0, 0, 0.36);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 2rem;
}

.site-footer h3,
.site-footer h4 {
    color: #fff;
}

.site-footer p,
.footer-links a {
    color: var(--pz-muted);
    text-decoration: none;
}

.footer-links {
    display: grid;
    gap: 0.65rem;
}

.footer-links a:hover {
    color: #fff;
}

.reveal-hidden {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-show {
    opacity: 1;
    transform: translateY(0);
}

.btn-danger {
    background: linear-gradient(135deg, var(--pz-red), var(--pz-red-dark)) !important;
    border-color: transparent !important;
}

.admin-body .btn-primary,
.admin-body .btn-success,
.admin-body .btn-danger,
.member-body .btn-primary,
.member-body .btn-success,
.member-body .btn-danger {
    background: linear-gradient(135deg, var(--pz-red), var(--pz-red-dark)) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(225, 17, 44, 0.24);
}

.admin-body .btn-outline-primary,
.admin-body .btn-outline-success,
.admin-body .btn-outline-dark,
.admin-body .btn-outline-danger,
.member-body .btn-outline-primary,
.member-body .btn-outline-success,
.member-body .btn-outline-dark,
.member-body .btn-outline-danger {
    border-width: 1px;
    border-color: rgba(225, 17, 44, 0.26);
    color: #8c0016;
    background: #fff;
}

.admin-body .btn-outline-primary:hover,
.admin-body .btn-outline-success:hover,
.admin-body .btn-outline-dark:hover,
.admin-body .btn-outline-danger:hover,
.member-body .btn-outline-primary:hover,
.member-body .btn-outline-success:hover,
.member-body .btn-outline-dark:hover,
.member-body .btn-outline-danger:hover {
    background: linear-gradient(135deg, var(--pz-red), var(--pz-red-dark));
    border-color: transparent;
    color: #fff;
}

.admin-body .form-control,
.admin-body .form-select,
.member-body .form-control,
.member-body .form-select {
    border-radius: 0.95rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.8rem 0.95rem;
    box-shadow: none;
}

.admin-body .form-control:focus,
.admin-body .form-select:focus,
.member-body .form-control:focus,
.member-body .form-select:focus {
    border-color: rgba(225, 17, 44, 0.46);
    box-shadow: 0 0 0 0.2rem rgba(225, 17, 44, 0.12);
}

.admin-body .table,
.member-body .table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(225, 17, 44, 0.035);
    --bs-table-hover-bg: rgba(225, 17, 44, 0.055);
    margin-bottom: 0;
}

.admin-body .table thead th,
.member-body .table thead th {
    border-bottom: 0;
    background: linear-gradient(135deg, #121212, #2a2a2a);
    color: #fff;
    font-weight: 700;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

.admin-body .table tbody td,
.member-body .table tbody td {
    vertical-align: middle;
    border-color: rgba(0, 0, 0, 0.06);
}

.admin-body .badge.text-bg-dark,
.member-body .badge.text-bg-dark {
    background: #111 !important;
    color: #fff !important;
}

.admin-body .badge.text-bg-success,
.member-body .badge.text-bg-success {
    background: var(--pz-red) !important;
    color: #fff !important;
}

.admin-body .badge.text-bg-warning,
.member-body .badge.text-bg-warning {
    background: #1b1b1b !important;
    color: #fff !important;
}

.admin-body .badge.text-bg-secondary,
.member-body .badge.text-bg-secondary {
    background: #444 !important;
    color: #fff !important;
}

.admin-body .alert,
.member-body .alert {
    border: 1px solid rgba(225, 17, 44, 0.14);
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff, #fff5f6);
}

.admin-body .text-muted,
.member-body .text-muted {
    color: #6b7280 !important;
}

.admin-body a,
.member-body a {
    color: var(--pz-red-dark);
}

.admin-body .card h5,
.admin-body .card h4,
.admin-body .card h3,
.member-body .card h5,
.member-body .card h4,
.member-body .card h3 {
    color: #111;
}

.btn-outline-light:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.navbar-dark.bg-dark {
    background: linear-gradient(135deg, #111 0%, #1d1d1d 100%) !important;
}

@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding: 6rem 0 4rem;
    }

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

    .about-grid,
    .gallery-grid,
    .footer-grid,
    .location-chip-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .site-header .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        right: 14px;
        bottom: 14px;
    }

    .hero-title {
        font-size: 2.7rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .timing-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .member-detail-list div {
        flex-direction: column;
    }
}
