@charset "UTF-8";

/* =========================================================
   Base
========================================================= */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    color: #f3f7fb;
    background: #071522;
}

body {
    position: relative;
    height: 100vh;
    overflow: hidden;
    isolation: isolate;
}

/* =========================================================
   Background
========================================================= */
.page-bg {
    position: fixed;
    inset: 0;
    background: url("/images/bkscreen/Franchise1.png") center center / cover no-repeat;
    z-index: 0;
    transform: none;
}

.page-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            135deg,
            rgba(4, 15, 28, 0.42) 0%,
            rgba(8, 28, 48, 0.22) 35%,
            rgba(7, 20, 34, 0.40) 100%
        );
}

/* =========================================================
   Foreground Layer
========================================================= */
.page-shell {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-rows: 82px 1fr;
    overflow: hidden;
}

/* =========================================================
   Topbar
========================================================= */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 28px 0;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
}

/* =========================================================
   Logo Card
========================================================= */
.logo-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 16px;
    background: rgba(20, 40, 70, 0.62);
    border: 1px solid rgba(180, 220, 255, 0.35);
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.logo-card img {
    width: 76%;
    height: 76%;
    object-fit: contain;
    display: block;
}

.logo-card:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.35),
        0 0 18px rgba(150, 210, 255, 0.22);
}

/* =========================================================
   Top Link
========================================================= */
.top-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 12px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #eff8ff;
    background: rgba(13, 49, 73, 0.62);
    border: 1px solid rgba(186, 224, 255, 0.38);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.top-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.30);
}

/* =========================================================
   Hero
========================================================= */
.hero {
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 14px 64px 28px;
    overflow: hidden;
}

.hero-content {
    width: min(900px, 100%);
    max-height: 100%;
    padding: 28px 32px 24px;
    border-radius: 28px;
    background:
        linear-gradient(
            160deg,
            rgba(9, 28, 49, 0.72) 0%,
            rgba(7, 22, 36, 0.54) 100%
        );
    border: 1px solid rgba(184, 224, 255, 0.18);
    backdrop-filter: blur(10px);
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.hero-kicker {
    margin: 0 0 10px;
    color: #bedfff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(54px, 6.4vw, 82px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: 0.02em;
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}

.hero-subtitle {
    margin: 20px 0 0;
    color: #e4f1ff;
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.75;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.20);
}

.hero-divider {
    width: 110px;
    height: 4px;
    margin: 22px 0 24px;
    border-radius: 999px;
    background: linear-gradient(90deg, #9fd0ff 0%, #ffffff 100%);
    box-shadow: 0 0 18px rgba(159, 208, 255, 0.45);
}

/* =========================================================
   Cards
========================================================= */
.link-grid {
    display: grid;
    gap: 14px;
}

.nav-card {
    display: grid;
    grid-template-columns: 74px 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    border-radius: 22px;
    text-decoration: none;
    color: #f5fbff;
    background:
        linear-gradient(
            135deg,
            rgba(195, 226, 255, 0.14) 0%,
            rgba(90, 153, 209, 0.08) 100%
        );
    border: 1px solid rgba(196, 228, 255, 0.18);
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition:
        transform 0.24s ease,
        border-color 0.24s ease,
        background 0.24s ease,
        box-shadow 0.24s ease;
}

.nav-card:hover {
    transform: translateY(-4px);
    border-color: rgba(214, 236, 255, 0.40);
    background:
        linear-gradient(
            135deg,
            rgba(213, 234, 255, 0.22) 0%,
            rgba(101, 170, 232, 0.14) 100%
        );
    box-shadow:
        0 20px 36px rgba(0, 0, 0, 0.24),
        0 0 22px rgba(165, 215, 255, 0.10);
}

.nav-card-icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.96), rgba(176,214,255,0.86));
    color: #0f2940;
    font-size: 24px;
    font-weight: 900;
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.65);
}

.nav-card-body h2 {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.nav-card-body p {
    margin: 0;
    color: #d7e9f8;
    font-size: 13px;
    line-height: 1.65;
}

.nav-card-arrow {
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(221, 238, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    white-space: nowrap;
}

/* =========================================================
   Footer
========================================================= */
.footer {
    display: none;
}

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 1200px) {
    .hero {
        padding: 12px 28px 24px;
    }

    .hero-content {
        width: min(820px, 100%);
        padding: 24px 24px 20px;
    }

    .hero-title {
        font-size: clamp(46px, 6vw, 70px);
    }

    .nav-card {
        grid-template-columns: 66px 1fr auto;
        gap: 14px;
        padding: 16px 18px;
    }

    .nav-card-icon {
        width: 58px;
        height: 58px;
        font-size: 22px;
    }

    .nav-card-body h2 {
        font-size: 20px;
    }

    .nav-card-body p {
        font-size: 12px;
    }
}

@media (max-width: 700px) {
    html,
    body {
        height: auto;
        min-height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
    }

    body {
        min-height: 100vh;
    }

    .page-shell {
        height: auto;
        min-height: 100vh;
        display: block;
        overflow: visible;
    }

    .topbar {
        padding: 14px 14px 0;
    }

    .logo-card {
        width: 56px;
        height: 56px;
    }

    .top-link {
        min-width: 146px;
        padding: 11px 18px;
        font-size: 12px;
    }

    .hero {
        padding: 18px 14px 30px;
        align-items: flex-start;
        overflow: visible;
    }

    .hero-content {
        width: 100%;
        max-height: none;
        padding: 22px 18px 18px;
        border-radius: 24px;
        overflow: visible;
    }

    .hero-title {
        font-size: clamp(34px, 11vw, 52px);
        line-height: 1.0;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 1.8;
    }

    .hero-divider {
        margin: 20px 0 22px;
    }

    .link-grid {
        gap: 12px;
    }

    .nav-card {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px 14px;
    }

    .nav-card-icon {
        width: 56px;
        height: 56px;
        font-size: 20px;
        border-radius: 16px;
    }

    .nav-card-body h2 {
        font-size: 20px;
    }

    .nav-card-arrow {
        justify-self: start;
    }
}