:root {
    --isp-blue: #1167d8;
    --isp-red: #d92332;
    --isp-orange: #ff8a00;
    --isp-dark: #091b3a;
    --isp-ink: #17223b;
    --isp-muted: #667085;
    --isp-soft: #fff6ed;
    --isp-line: #f1d9c7;
    --fiber-watermark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520' viewBox='0 0 520 520'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M34 112 C120 40 208 56 270 128 S404 232 486 154' stroke='%231167d8' stroke-opacity='.055' stroke-width='8'/%3E%3Cpath d='M22 354 C112 292 196 312 258 378 S380 474 496 386' stroke='%23d92332' stroke-opacity='.05' stroke-width='7'/%3E%3Cpath d='M86 248 C158 178 252 190 318 252 S418 326 492 268' stroke='%23ff8a00' stroke-opacity='.06' stroke-width='6'/%3E%3Ccircle cx='116' cy='86' r='12' stroke='%231167d8' stroke-opacity='.075' stroke-width='5'/%3E%3Ccircle cx='274' cy='130' r='10' stroke='%23ff8a00' stroke-opacity='.075' stroke-width='5'/%3E%3Ccircle cx='404' cy='230' r='11' stroke='%23d92332' stroke-opacity='.065' stroke-width='5'/%3E%3Ccircle cx='180' cy='318' r='9' stroke='%231167d8' stroke-opacity='.07' stroke-width='5'/%3E%3Ccircle cx='376' cy='454' r='13' stroke='%23ff8a00' stroke-opacity='.06' stroke-width='5'/%3E%3C/g%3E%3C/svg%3E");
}

body {
    color: var(--isp-ink);
    background-color: #ffffff;
    background-image: var(--fiber-watermark);
    background-size: 520px 520px;
    background-attachment: fixed;
    background-repeat: repeat;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-navbar {
    background-color: var(--isp-dark);
    box-shadow: 0 10px 24px rgba(9, 27, 58, 0.22);
}

.brand-logo {
    width: auto;
    height: auto;
    max-width: 190px;
    max-height: 54px;
    object-fit: contain;
    border-radius: 6px;
    background-color: #ffffff;
    padding: 6px 10px;
    box-sizing: border-box;
}

.login-card .brand-logo {
    max-height: 64px;
}

.navbar .nav-link {
    font-weight: 600;
}

.navbar .nav-link.active {
    color: #ffffff;
}

.btn-primary {
    background-color: var(--isp-red);
    border-color: var(--isp-red);
    color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--isp-orange);
    border-color: #b91c2c;
    color: #ffffff;
}

.btn-outline-primary {
    color: var(--isp-blue);
    border-color: var(--isp-red);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--isp-red);
    border-color: var(--isp-red);
    color: #ffffff;
}

.text-primary {
    color: var(--isp-red) !important;
}

.bg-primary {
    background-color: var(--isp-blue) !important;
}

.hero-slide {
    min-height: 560px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(9, 27, 58, 0.28);
}

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

.hero-slide h1,
.hero-slide p {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.section-pad {
    padding: 80px 0;
}

.section-soft {
    background-color: var(--isp-soft);
    background-image: var(--fiber-watermark);
    background-size: 520px 520px;
}

.section-title {
    color: var(--isp-dark);
    font-weight: 800;
}

.eyebrow {
    color: var(--isp-red);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 0.82rem;
}

.plan-card,
.info-card,
.gallery-card,
.channel-card,
.coverage-card,
.notice-card {
    border: 1px solid var(--isp-line);
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 12px 30px rgba(9, 27, 58, 0.08);
}

.plan-card {
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-card:hover,
.channel-card:hover,
.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(217, 35, 50, 0.14);
}

.speed-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    color: #ffffff;
    background-color: var(--isp-blue);
    font-weight: 700;
}

.price {
    font-size: 2.1rem;
    font-weight: 900;
    color: var(--isp-dark);
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
    color: var(--isp-muted);
}

.feature-list li::before {
    content: "\F26A";
    font-family: "bootstrap-icons";
    color: var(--isp-orange);
}

.cta-band {
    background-color: var(--isp-red);
    color: #ffffff;
}

.gallery-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.gallery-card {
    overflow: hidden;
}

.gallery-card img {
    transition: transform 0.25s ease;
}

.gallery-card:hover img {
    transform: scale(1.04);
}

.live-player-wrap {
    background-color: #000000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(9, 27, 58, 0.28);
}

.live-player-wrap video {
    width: 100%;
    min-height: 320px;
    background-color: #000000;
}

.channel-card {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.channel-card.active {
    border-color: var(--isp-red);
}

.channel-logo {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    background-color: var(--isp-soft);
}

.map-embed iframe {
    width: 100%;
    border-radius: 8px;
}

.site-footer {
    background-color: var(--isp-dark);
}

.footer-text,
.footer-bottom {
    color: rgba(255, 255, 255, 0.76);
}

.footer-links a,
.footer-bottom a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.footer-links a:hover,
.footer-bottom a:hover {
    color: #ffffff;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    color: #ffffff;
    background-color: var(--isp-red);
    text-decoration: none;
}

.admin-body {
    background-color: #fff3e7;
    background-image: var(--fiber-watermark);
    background-size: 520px 520px;
    background-attachment: fixed;
}

.admin-shell {
    min-height: 100vh;
    display: flex;
}

.admin-sidebar {
    width: 270px;
    flex: 0 0 270px;
    background-color: var(--isp-dark);
    color: #ffffff;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.admin-sidebar a {
    color: rgba(255, 255, 255, 0.76);
    text-decoration: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.72rem 0.9rem;
}

.admin-sidebar a.active,
.admin-sidebar a:hover {
    color: #ffffff;
    background-color: var(--isp-red);
}

.admin-content {
    min-width: 0;
    flex: 1;
}

.admin-topbar {
    background-color: #ffffff;
    border-bottom: 1px solid var(--isp-line);
    position: sticky;
    top: 0;
    z-index: 10;
}

.admin-card {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(9, 27, 58, 0.09);
}

.table-thumb {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 8px;
    background-color: var(--isp-soft);
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background-color: var(--isp-blue);
    background-image: var(--fiber-watermark);
    background-size: 520px 520px;
}

.login-card {
    width: min(430px, calc(100% - 32px));
    border: 0;
    border-radius: 8px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
}

@media (max-width: 991.98px) {
    .hero-slide {
        min-height: 470px;
    }

    .admin-shell {
        display: block;
    }

    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

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

@media (max-width: 575.98px) {
    .section-pad {
        padding: 56px 0;
    }

    .hero-slide {
        min-height: 430px;
    }

    .price {
        font-size: 1.8rem;
    }

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