:root {
    --dpl-navy: #061226;
    --dpl-navy-2: #0a1d3d;
    --dpl-blue: #0d6efd;
    --dpl-sky: #1fa6ff;
    --dpl-orange: #ff7a00;
    --dpl-gold: #ffc247;
    --dpl-ink: #111827;
    --dpl-muted: #667085;
    --dpl-soft: #f3f7fc;
    --dpl-line: #dde6f3;
    --dpl-white: #ffffff;
    --shadow-soft: 0 18px 45px rgba(8, 28, 58, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--dpl-ink);
    background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 48%, #ffffff 100%);
}

a {
    text-decoration: none;
}

.site-navbar,
.admin-navbar {
    background: rgba(3, 12, 28, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.brand-logo {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.brand-copy {
    display: grid;
    line-height: 1.05;
}

.brand-copy span {
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0;
}

.brand-copy small {
    font-size: 16px;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.72);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
    font-size: 0.92rem;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: var(--dpl-gold);
}

.btn-primary {
    --bs-btn-bg: var(--dpl-blue);
    --bs-btn-border-color: var(--dpl-blue);
    --bs-btn-hover-bg: #085bd7;
    --bs-btn-hover-border-color: #085bd7;
    box-shadow: 0 10px 24px rgba(13, 110, 253, 0.28);
    font-weight: 800;
}

.flash-wrap {
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    z-index: 1040;
    pointer-events: none;
}

.flash-wrap .alert {
    pointer-events: auto;
}

.hero-section {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    background:url("../images/hero-banner.png") center / cover no-repeat;
    color: var(--dpl-white);
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 120px;
    background: linear-gradient(180deg, rgba(247, 251, 255, 0) 0%, #f7fbff 96%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 28%, rgba(31, 166, 255, 0.3), transparent 28%),
        linear-gradient(135deg, transparent 0 70%, rgba(255, 122, 0, 0.2) 70% 100%);
}

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

.hero-section h1 {
    max-width: 760px;
    margin: 0;
    font-size: 56px;
    line-height: 0.96;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-copy {
    max-width: 620px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.22rem;
}

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

.hero-badges span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.88);
    font-weight: 800;
    font-size: 0.9rem;
}

.hero-badges i {
    color: var(--dpl-gold);
}

.hero-logo-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 480px);
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.hero-logo-panel img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.intro-panel {
    position: relative;
    z-index: 2;
    margin-top: -70px;
}

.feature-shell,
.registration-form,
.admin-panel,
.login-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--dpl-line);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.feature-shell {
    padding: clamp(22px, 4vw, 42px);
}

.feature-shell h2,
.section-heading h2,
.about-band h2,
.faq-list h2 {
    margin: 0 0 12px;
    color: var(--dpl-navy);
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: 0;
}

.feature-shell p,
.section-heading p,
.about-band p,
.faq-list p {
    color: var(--dpl-muted);
}

.feature-shell span,
.section-heading span,
.about-band span,
.faq-list span {
    color: var(--dpl-blue);
}

.league-card {
    min-height: 360px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    color: var(--dpl-white);
    background: var(--dpl-navy);
}

.league-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.58;
}

.league-card div {
    position: absolute;
    inset: auto 24px 24px 24px;
}

.league-card span {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--dpl-gold);
    font-weight: 900;
    text-transform: uppercase;
}

.league-card h3 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 950;
    line-height: 1;
}

.section-pad {
    padding: clamp(54px, 7vw, 96px) 0;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 34px;
}

.stat-card,
.training-card,
.testimonial-card,
.admin-stat {
    height: 100%;
    border: 1px solid var(--dpl-line);
    border-radius: 8px;
    background: var(--dpl-white);
    box-shadow: 0 14px 34px rgba(8, 28, 58, 0.08);
}

.stat-card {
    display: grid;
    place-items: center;
    min-height: 168px;
    text-align: center;
    padding: 22px;
}

.stat-card i {
    color: var(--dpl-blue);
    font-size: 2rem;
}

.stat-card strong {
    color: var(--dpl-navy);
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1;
    font-weight: 950;
}

.stat-card span {
    color: var(--dpl-muted);
    font-weight: 800;
}

.training-card {
    overflow: hidden;
}

.training-img {
    height: 160px;
    overflow: hidden;
    background: var(--dpl-navy);
}

.training-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.12);
}

.training-body {
    padding: 22px;
}

.training-body i {
    color: var(--dpl-orange);
    font-size: 1.8rem;
}

.training-body h3 {
    margin: 12px 0 8px;
    color: var(--dpl-navy);
    font-size: 1.12rem;
    font-weight: 900;
}

.training-body p {
    margin: 0;
    color: var(--dpl-muted);
    font-size: 0.95rem;
}

.program-tile {
    min-height: 260px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--dpl-navy);
    box-shadow: var(--shadow-soft);
}

.program-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.62;
}

.program-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 12, 28, 0.05) 0%, rgba(3, 12, 28, 0.88) 100%);
}

.program-tile h3 {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 1;
    margin: 0;
    color: var(--dpl-white);
    text-transform: uppercase;
    font-size: 1.3rem;
    line-height: 1.05;
    font-weight: 950;
    text-align: center;
}

.sports-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin-top: 28px;
}

.sports-strip span {
    min-height: 74px;
    display: grid;
    place-items: center;
    padding: 12px;
    border: 1px solid var(--dpl-line);
    border-radius: 8px;
    background: var(--dpl-white);
    color: var(--dpl-navy);
    font-weight: 900;
}

.about-band {
    padding: clamp(58px, 8vw, 110px) 0;
    color: var(--dpl-white);
    background:
        linear-gradient(90deg, rgba(3, 12, 28, 0.97), rgba(8, 41, 88, 0.9)),
        url("../../logo.jpeg") center / cover no-repeat;
}

.about-band h2 {
    color: var(--dpl-white);
}

.about-band p {
    color: rgba(255, 255, 255, 0.78);
}

.about-images {
    /* display: grid; */
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-images img {
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
}

.about-images img:nth-child(2) {
    margin-top: 48px;
}

.registration-tabs {
    gap: 12px;
}

.registration-tabs .nav-link,
.admin-tabs .nav-link {
    border-radius: 999px;
    color: var(--dpl-navy);
    background: var(--dpl-white);
    border: 1px solid var(--dpl-line);
    font-weight: 900;
    padding: 12px 18px;
}

.registration-tabs .nav-link.active,
.admin-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--dpl-blue), #073a96);
    color: var(--dpl-white);
    border-color: transparent;
}

.registration-form {
    padding: clamp(16px, 3vw, 32px);
}

.form-banner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 230px;
    margin-bottom: 24px;
    padding: clamp(18px, 4vw, 34px);
    border-radius: 8px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(3, 12, 28, 0.94), rgba(7, 45, 105, 0.82)),
        url("../../logo.jpeg") center / cover no-repeat;
    color: var(--dpl-white);
}

.form-banner img {
    width: min(34vw, 210px);
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.form-banner p {
    margin: 0 0 8px;
    color: var(--dpl-gold);
    text-transform: uppercase;
    font-weight: 950;
}

.form-banner h3 {
    margin: 0;
    font-size: clamp(2rem, 7vw, 4.4rem);
    line-height: 0.96;
    text-transform: uppercase;
    font-weight: 950;
    letter-spacing: 0;
}

.form-banner span {
    display: inline-block;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 900;
}

.form-section {
    padding: clamp(18px, 3vw, 26px);
    border: 1px solid var(--dpl-line);
    border-radius: 8px;
    background: #ffffff;
}

.form-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eef3f9;
    color: var(--dpl-navy);
    font-size: 1.05rem;
    text-transform: uppercase;
    font-weight: 950;
}

.form-section h3 i {
    color: var(--dpl-orange);
}

.form-label {
    color: var(--dpl-navy);
    font-weight: 800;
}

.form-control,
.form-select {
    min-height: 46px;
    border-color: #cbd8e7;
    border-radius: 8px;
    font-weight: 650;
}

textarea.form-control {
    min-height: auto;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--dpl-blue);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.12);
}

.form-check-input:checked {
    background-color: var(--dpl-blue);
    border-color: var(--dpl-blue);
}

.declaration-section p {
    color: var(--dpl-muted);
}

.team-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--dpl-line);
    border-radius: 8px;
    background: var(--dpl-white);
}

.team-table {
    min-width: 760px;
}

.team-table thead th {
    background: linear-gradient(135deg, var(--dpl-navy), #073a96);
    color: var(--dpl-white);
    text-align: center;
    font-weight: 950;
}

.team-table tbody td:first-child {
    width: 86px;
    text-align: center;
    color: var(--dpl-navy);
    font-size: 1.1rem;
    font-weight: 950;
}

.testimonial-card {
    padding: 26px;
}

.stars {
    color: var(--dpl-gold);
    letter-spacing: 0;
    font-size: 1.1rem;
}

.testimonial-card p {
    min-height: 78px;
    margin: 14px 0 18px;
    color: var(--dpl-muted);
}

.testimonial-card strong {
    display: block;
    color: var(--dpl-navy);
    font-weight: 950;
}

.testimonial-card span {
    color: var(--dpl-muted);
    font-size: 0.9rem;
}

.faq-list,
.question-form {
    height: 100%;
}

.accordion-item {
    border: 1px solid var(--dpl-line);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.accordion-button {
    color: var(--dpl-navy);
    font-weight: 900;
}

.accordion-button:not(.collapsed) {
    color: var(--dpl-blue);
    background: #eef6ff;
}

.question-form {
    padding: clamp(24px, 4vw, 36px);
    border-radius: 8px;
    color: var(--dpl-white);
    background: linear-gradient(135deg, var(--dpl-blue), #053076);
    box-shadow: var(--shadow-soft);
}

.question-form h2 {
    margin: 0 0 8px;
    font-weight: 950;
}

.question-form p {
    color: rgba(255, 255, 255, 0.78);
}

.site-footer {
    padding: 0 0 26px;
    background:
        linear-gradient(180deg, rgba(3, 12, 28, 0.98), rgba(3, 12, 28, 1)),
        url("../../logo.jpeg") center / cover no-repeat;
    color: rgba(255, 255, 255, 0.82);
}

.footer-gallery {
    position: relative;
    top: -36px;
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr 1.3fr 1fr;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    background: var(--dpl-white);
    box-shadow: var(--shadow-soft);
}

.gallery-shot {
    height: 94px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--dpl-navy);
}

.gallery-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-brand img {
    width: 86px;
    height: 86px;
    object-fit: cover;
    border-radius: 8px;
}

.footer-brand h3,
.site-footer h4 {
    color: var(--dpl-white);
    font-weight: 950;
}

.footer-brand p {
    margin: 0;
    color: var(--dpl-gold);
    font-weight: 900;
}

.site-footer a {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover {
    color: var(--dpl-gold);
}

.footer-line {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.92rem;
}

.admin-login-body,
.admin-body {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(3, 12, 28, 0.92), rgba(5, 46, 112, 0.82)),
        url("../../logo.jpeg") center / cover fixed no-repeat;
}

.admin-login {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px;
}

.login-card {
    width: min(100%, 440px);
    padding: 32px;
}

.login-card img {
    width: 112px;
    height: 112px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 18px;
}

.login-card h1 {
    margin: 0 0 22px;
    color: var(--dpl-navy);
    font-size: 2rem;
    font-weight: 950;
}

.login-hint {
    margin-top: 18px;
    padding: 12px;
    border-radius: 8px;
    background: #eef6ff;
    color: var(--dpl-muted);
    text-align: center;
    font-weight: 800;
}

.admin-dashboard {
    padding: 94px 18px 42px;
}

.admin-title {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    margin-bottom: 22px;
    color: var(--dpl-white);
}

.admin-title h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 950;
}

.admin-title span {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
}

.admin-stat {
    padding: 22px;
}

.admin-stat i {
    color: var(--dpl-orange);
    font-size: 1.8rem;
}

.admin-stat strong {
    display: block;
    margin-top: 10px;
    color: var(--dpl-navy);
    font-size: 2.2rem;
    line-height: 1;
    font-weight: 950;
}

.admin-stat span {
    color: var(--dpl-muted);
    font-weight: 800;
}

.admin-panel {
    overflow: hidden;
}

.panel-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--dpl-line);
}

.panel-head h2 {
    margin: 0;
    color: var(--dpl-navy);
    font-size: 1.35rem;
    font-weight: 950;
}

.panel-head span {
    color: var(--dpl-muted);
    font-weight: 800;
}

.admin-table {
    min-width: 980px;
    margin: 0;
}

.admin-table thead th {
    background: #eef4fb;
    color: var(--dpl-navy);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-table tbody td {
    vertical-align: top;
}

.status-form {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) auto;
    gap: 8px;
    max-width: 250px;
}

.admin-details {
    width: min(520px, 52vw);
}

.admin-details summary {
    cursor: pointer;
    color: var(--dpl-blue);
    font-weight: 950;
}

.details-grid {
    display: grid;
    gap: 8px;
    margin-top: 12px;
    padding: 14px;
    border-radius: 8px;
    background: #f8fbff;
}

.details-grid p {
    margin: 0;
}

.team-admin-table {
    min-width: 520px;
    margin-top: 12px;
}

@media (max-width: 991.98px) {
    .site-navbar {
        background: rgba(3, 12, 28, 0.97);
    }

    .hero-section {
        min-height: auto;
        margin-top: 74px;
        padding: 150px 0 120px;
    }

    .hero-logo-panel {
        margin: 44px auto 0;
    }

    .intro-panel {
        margin-top: -50px;
    }

    .sports-strip {
        grid-template-columns: repeat(3, 1fr);
    }

    .form-banner {
        align-items: flex-start;
    }

    .footer-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-shot-wide {
        display: none;
    }

    .admin-title {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .brand-logo {
        width: 46px;
        height: 46px;
    }

    .brand-copy small {
        max-width: 150px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .hero-badges {
        display: grid;
    }

    .feature-shell,
    .registration-form {
        padding: 16px;
    }

    .sports-strip,
    .footer-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-images {
        grid-template-columns: 1fr;
    }

    .about-images img:nth-child(2) {
        margin-top: 0;
    }

    .form-banner {
        display: grid;
        min-height: auto;
    }

    .form-banner img {
        width: 138px;
    }

    .admin-dashboard {
        padding-left: 10px;
        padding-right: 10px;
    }

    .admin-details {
        width: 72vw;
    }
}

@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 2.45rem;
    }

    .hero-copy {
        font-size: 1rem;
    }

    .stat-card {
        min-height: 146px;
        padding: 16px;
    }

    .stat-card strong {
        font-size: 2rem;
    }

    .registration-tabs .nav-link {
        width: 100%;
    }

    .registration-tabs {
        display: grid;
    }

    .footer-gallery {
        top: -20px;
        grid-template-columns: 1fr 1fr;
    }

    .gallery-shot {
        height: 78px;
    }
}
