:root {
    --bg: #f0f6ff;
    --surface: rgba(255, 255, 255, 0.78);
    --surface-solid: #ffffff;
    --surface-blue: #f4f9ff;
    --blue: #149dff;
    --blue-deep: #127bd6;
    --cyan: #2edee0;
    --blue-soft: #e8f6ff;
    --ink: #243047;
    --ink-blue: #263f67;
    --text: #7c86ad;
    --muted: #9aa7c5;
    --line: rgba(114, 151, 188, 0.22);
    --glow-line: rgba(255, 255, 255, 0.9);
    --shadow: 0 18px 46px rgba(68, 113, 163, 0.12);
    --radius: 18px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans SC", sans-serif;
    font-size: 14px;
    line-height: 1.572;
    background:
        linear-gradient(180deg, #fbfdff 0, var(--bg) 410px, #eef5ff 100%);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

input,
button {
    font: inherit;
}

.container {
    width: min(100% - 48px, var(--container));
    margin: 0 auto;
}

.skip-link,
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
    width: auto;
    height: auto;
    clip: auto;
    left: 16px;
    top: 16px;
    z-index: 50;
    padding: 10px 14px;
    color: #fff;
    background: var(--blue-deep);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: 90px;
    background: rgba(247, 251, 255, 0.92);
    border-bottom: 1px solid rgba(138, 163, 194, 0.18);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: grid;
    grid-template-columns: 174px minmax(410px, 1fr) 238px 352px;
    align-items: center;
    gap: 8px;
    min-height: 90px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    min-width: 0;
}

.brand img,
.custom-logo {
    width: 160px;
    height: auto;
    max-height: 58px;
    object-fit: contain;
}

.brand strong {
    display: block;
    color: #253b63;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.05;
}

.brand small {
    display: block;
    margin-top: 3px;
    color: #6c7ba8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
}

.primary-nav .menu {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.primary-nav a {
    position: relative;
    display: block;
    padding: 31px 0 27px;
    color: #7981a4;
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
    color: var(--blue);
}

.primary-nav .current-menu-item > a::after,
.primary-nav li:first-child > a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 17px;
    width: 28px;
    height: 3px;
    transform: translateX(-50%);
    border-radius: 99px;
    background: linear-gradient(90deg, #7dd9ff, var(--blue));
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 7px;
}

.header-tools a {
    position: relative;
    display: grid;
    width: 42px;
    min-height: 90px;
    place-items: center;
    gap: 3px;
    color: #7981a4;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
}

.header-tools span {
    display: block;
    width: 1em;
    line-height: 1.05;
    word-break: break-all;
}

.header-tool-icon {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: drop-shadow(0 7px 12px rgba(20, 157, 255, 0.16));
}

.header-login {
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-btn,
.register-btn,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    font-weight: 600;
    white-space: nowrap;
}

.login-btn,
.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #67cfff, #179cff);
    box-shadow: 0 8px 18px rgba(23, 156, 255, 0.18);
}

.btn-gold {
    color: #fff;
    background: linear-gradient(135deg, #5fd1ff, #149dff);
    box-shadow: 0 8px 18px rgba(23, 156, 255, 0.18);
}

.register-btn {
    color: #6c7ba8;
    background: linear-gradient(180deg, #ffffff, #edf4ff);
    box-shadow: 0 8px 18px rgba(108, 123, 168, 0.12);
}

.btn-ghost {
    color: #258ed5;
    background: rgba(255, 255, 255, 0.64);
    border: 1px solid rgba(74, 155, 214, 0.25);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.nav-toggle span:not(.screen-reader-text) {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--blue-deep);
}

.sky-hero {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.sky-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 74% 18%, rgba(144, 212, 246, 0.28), transparent 28%),
        radial-gradient(circle at 17% 12%, rgba(255, 255, 255, 0.92), transparent 25%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
}

.hero-shell {
    position: relative;
}

.hero-canvas {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    border-radius: 0 0 34px 34px;
    background:
        linear-gradient(110deg, rgba(255, 255, 255, 0.66) 0 34%, rgba(232, 243, 255, 0.5) 34% 100%),
        radial-gradient(circle at 74% 40%, rgba(161, 220, 247, 0.32), transparent 31%),
        linear-gradient(180deg, #f8fcff, #eef6ff);
}

.hero-canvas::before,
.hero-canvas::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(93, 171, 224, 0.18);
    border-radius: 50%;
}

.hero-canvas::before {
    right: 118px;
    top: 78px;
    width: 420px;
    height: 420px;
}

.hero-canvas::after {
    left: -170px;
    bottom: -210px;
    width: 460px;
    height: 460px;
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 470px;
    padding: 98px 0 0 76px;
}

.hero-logo {
    width: min(100%, 360px);
    height: auto;
    margin: 0 0 24px;
    object-fit: contain;
}

.hero-copy p {
    margin: 0;
    color: #7981a4;
    font-size: 18px;
}

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

.hero-actions .btn {
    min-width: 126px;
    min-height: 42px;
}

.hero-entry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(128px, 1fr));
    gap: 10px;
    width: min(100%, 370px);
    margin-top: 26px;
}

.hero-entry-card {
    position: relative;
    display: grid;
    min-height: 58px;
    align-content: center;
    overflow: hidden;
    padding: 10px 16px 10px 18px;
    border: 1px solid rgba(129, 174, 215, 0.18);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(239, 248, 255, 0.72));
    box-shadow: 0 12px 26px rgba(56, 106, 161, 0.1);
}

.hero-entry-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    width: 28px;
    height: 28px;
    transform: translateY(-50%);
    object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(20, 157, 255, 0.2));
}

.hero-entry-card span,
.hero-entry-card strong {
    position: relative;
    z-index: 1;
    display: block;
}

.hero-entry-card span {
    color: #6ea0c8;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-entry-card strong {
    margin-top: 2px;
    color: #263f67;
    font-size: 17px;
    line-height: 1.15;
}

.hero-entry-card.is-recommended {
    border-color: rgba(26, 159, 250, 0.34);
    background: linear-gradient(135deg, rgba(92, 204, 255, 0.96), rgba(20, 157, 255, 0.96));
    box-shadow: 0 14px 28px rgba(20, 157, 255, 0.2);
}

.hero-entry-card.is-recommended span,
.hero-entry-card.is-recommended strong {
    color: #fff;
}

.hero-entry-card.is-recommended .hero-entry-icon {
    filter: drop-shadow(0 9px 16px rgba(0, 84, 170, 0.2));
}

.hero-visual {
    position: absolute;
    z-index: 1;
    right: 7%;
    top: 70px;
    width: 480px;
    height: 390px;
}

.glass-card {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(235, 248, 255, 0.5)),
        linear-gradient(135deg, rgba(82, 191, 237, 0.16), rgba(255, 255, 255, 0.42));
    box-shadow: 0 24px 52px rgba(78, 125, 172, 0.14);
    backdrop-filter: blur(10px);
}

.glass-card-main {
    right: 130px;
    top: 16px;
    width: 242px;
    height: 310px;
    padding: 28px;
}

.glass-card-sub {
    right: 0;
    top: 105px;
    width: 206px;
    height: 245px;
    padding: 23px;
}

.glass-card::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 24px;
    width: 82px;
    height: 82px;
    border-radius: 26px;
    background:
        url("../img/62a0c9c4-e83b-4d6f-91d8-2c9cf57df05d.png") center / 58px 58px no-repeat,
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(224, 244, 255, 0.72));
    box-shadow: 0 18px 32px rgba(20, 157, 255, 0.14);
}

.glass-card span {
    color: #50aede;
    font-size: 12px;
    font-weight: 900;
}

.glass-card strong {
    color: #263f67;
    font-size: 24px;
    font-weight: 700;
}

.glass-card em {
    color: #7981a4;
    font-size: 13px;
    font-style: normal;
}

.orbit {
    position: absolute;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(112, 205, 240, 0.4));
    box-shadow: 0 20px 50px rgba(64, 139, 195, 0.14);
}

.orbit-one {
    left: 20px;
    top: 30px;
    width: 84px;
    height: 84px;
}

.orbit-two {
    right: 56px;
    bottom: 0;
    width: 54px;
    height: 54px;
}

.carousel-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 28px;
    display: flex;
    justify-content: space-between;
    gap: 0;
    padding: 0 18px;
}

.carousel-dots span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #808aab;
}

.carousel-dots .is-active {
    width: 10px;
    background: #179cff;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px #179cff;
}

.notice-bar {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    margin-top: -18px;
    padding: 10px 22px;
    border: 1px solid rgba(117, 160, 202, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 30px rgba(55, 107, 160, 0.12);
}

.notice-icon {
    width: 28px;
    height: 28px;
    background: url("../img/62a0c9c4-e83b-4d6f-91d8-2c9cf57df05d.png") center / contain no-repeat;
    filter: drop-shadow(0 8px 14px rgba(20, 157, 255, 0.16));
}

.notice-bar p {
    margin: 0;
    min-width: 0;
    color: #7981a4;
    font-size: 14px;
    font-weight: 500;
}

.notice-more {
    min-width: 72px;
    padding: 4px 18px;
    color: #179cff;
    text-align: center;
    border: 1px solid rgba(23, 156, 255, 0.48);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    font-weight: 500;
}

.quick-panel,
.channel-section,
.section {
    padding: 34px 0;
}

.premium-service {
    position: relative;
    padding: 58px 0 42px;
}

.ornate-heading {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 34px;
    margin-bottom: 48px;
    text-align: center;
}

.ornate-heading > span {
    position: relative;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(73, 156, 255, 0.26));
}

.ornate-heading > span:last-child {
    background: linear-gradient(90deg, rgba(73, 156, 255, 0.26), transparent);
}

.ornate-heading > span::after {
    content: "";
    position: absolute;
    top: 0;
    width: 36px;
    height: 22px;
    border-top: 8px solid rgba(73, 156, 255, 0.28);
}

.ornate-heading > span:first-child::after {
    right: -24px;
    transform: skew(42deg);
}

.ornate-heading > span:last-child::after {
    left: -24px;
    transform: skew(-42deg);
}

.ornate-heading h2 {
    margin: 0;
    font-size: clamp(46px, 5vw, 76px);
    line-height: 1;
    color: transparent;
    background: linear-gradient(180deg, #20e0eb 0%, #139dff 62%, #1b7fe6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 10px 24px rgba(20, 157, 255, 0.16);
}

.ornate-heading p {
    margin: 12px 0 0;
    color: #7f8bae;
    font-size: 20px;
}

.service-meter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px;
    margin-bottom: 56px;
}

.meter-card {
    display: grid;
    justify-items: center;
    text-align: center;
}

.meter-ring {
    position: relative;
    display: grid;
    width: 150px;
    height: 150px;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle, #eef6ff 0 52%, transparent 53%),
        conic-gradient(from -140deg, #35dfe0 calc(var(--value) * 1%), #c8d5ea 0 76%, transparent 76% 100%);
}

.meter-ring::before {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: repeating-conic-gradient(from -140deg, rgba(128, 143, 183, 0.24) 0 1.4deg, transparent 1.4deg 5.8deg);
    mask: radial-gradient(circle, transparent 0 74px, #000 75px 85px, transparent 86px);
}

.meter-ring::after {
    content: "";
    position: absolute;
    inset: 23px;
    border: 2px solid rgba(151, 167, 204, 0.28);
    border-radius: 50%;
}

.meter-ring small,
.meter-ring strong,
.meter-ring em {
    position: relative;
    z-index: 1;
    display: block;
}

.meter-ring small {
    align-self: end;
    color: #aab4cf;
    font-size: 11px;
    font-weight: 700;
}

.meter-ring strong {
    margin-top: -6px;
    color: #169cff;
    font-size: 62px;
    font-weight: 800;
    line-height: 0.9;
}

.meter-ring em {
    align-self: start;
    color: #7f8bae;
    font-size: 18px;
    font-style: normal;
    font-weight: 800;
}

.meter-card h3 {
    margin: 28px 0 4px;
    color: #243047;
    font-size: 24px;
    line-height: 1.2;
}

.meter-card p {
    margin: 0;
    color: #7f8bae;
    font-size: 15px;
    text-transform: uppercase;
}

.service-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 34px;
}

.service-card {
    display: grid;
    grid-template-columns: 152px 1fr;
    align-items: center;
    min-height: 142px;
    padding: 28px 34px 28px 36px;
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(247, 251, 255, 0.74));
    box-shadow:
        0 20px 46px rgba(61, 106, 160, 0.1),
        inset 0 0 0 1px rgba(110, 151, 205, 0.12);
}

.service-asset {
    width: 130px;
    height: 130px;
    object-fit: contain;
    filter: drop-shadow(0 12px 18px rgba(18, 111, 218, 0.16));
}

.service-card h3 {
    margin: 0 0 8px;
    color: #243047;
    font-size: 24px;
    line-height: 1.24;
}

.service-card p {
    margin: 0;
    color: #7c86ad;
    font-size: 17px;
    font-weight: 600;
}

.app-download-section {
    position: relative;
    padding: 62px 0 56px;
}

.app-download-heading {
    margin-bottom: 28px;
}

.app-download-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.72fr);
    align-items: center;
    gap: 58px;
    min-height: 660px;
}

.app-tab-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.app-device-stage {
    position: relative;
    display: grid;
    min-height: 620px;
    place-items: center;
}

.app-device-stage::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 6%;
    bottom: 46px;
    height: 78px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(31, 52, 68, 0.22), rgba(31, 52, 68, 0.09) 42%, transparent 70%);
    filter: blur(8px);
}

.app-device-visual {
    position: relative;
    z-index: 1;
    display: none;
    width: min(100%, 760px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 24px 32px rgba(51, 82, 120, 0.14));
}

.app-device-login {
    width: min(100%, 760px);
}

.app-download-card {
    position: relative;
    min-height: 590px;
    padding: 40px 38px 34px;
    border: 2px solid rgba(255, 255, 255, 0.95);
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(247, 251, 255, 0.72));
    box-shadow:
        0 26px 58px rgba(57, 102, 155, 0.13),
        inset 0 0 0 1px rgba(122, 160, 210, 0.13);
}

.app-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 66px;
}

.app-tab-label {
    display: grid;
    min-height: 50px;
    place-items: center;
    border-radius: 18px;
    color: #7c86a8;
    background: linear-gradient(180deg, #f8fbff, #e7eff9);
    box-shadow:
        0 10px 18px rgba(72, 111, 163, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    cursor: pointer;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    transition: transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.app-tab-label:hover {
    transform: translateY(-1px);
}

.app-download-panel {
    display: none;
}

.app-download-panel h3 {
    margin: 0 0 20px;
    color: #7d86a8;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.12;
}

.app-download-panel p {
    margin: 0;
    color: #7e88aa;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.68;
}

.download-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 34px;
}

.download-options.one-option {
    grid-template-columns: minmax(220px, 300px);
}

.qr-box,
.direct-box,
.platform-tile {
    display: grid;
    align-content: center;
    justify-items: center;
    min-height: 238px;
    padding: 22px 18px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    background: rgba(247, 251, 255, 0.5);
    box-shadow: inset 0 0 0 1px rgba(120, 154, 202, 0.09);
    text-align: center;
}

.qr-box img {
    display: block;
    width: 152px;
    height: 152px;
    margin-bottom: 20px;
    object-fit: contain;
    background: #fff;
}

.qr-box strong,
.direct-box strong,
.platform-tile strong {
    display: block;
    color: #7b86aa;
    font-size: 19px;
    font-weight: 800;
}

.qr-box span,
.direct-box span {
    display: block;
    margin-top: 8px;
    color: #7f8bae;
    font-size: 15px;
    font-weight: 700;
}

.direct-box {
    justify-items: start;
    color: #179cff;
    text-align: left;
}

.direct-box em {
    display: block;
    min-height: 92px;
    margin: 0 0 28px;
    color: #179cff;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.55;
    text-decoration: underline;
    word-break: break-all;
}

.direct-box strong,
.direct-box span {
    justify-self: center;
    text-align: center;
}

.platform-downloads {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 38px;
}

.platform-tile {
    min-height: 150px;
    gap: 8px;
    padding: 18px 14px;
}

.platform-icon {
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 10px 16px rgba(20, 157, 255, 0.16));
}

.platform-tile strong {
    color: #7f8bae;
    font-size: 15px;
    line-height: 1.25;
    white-space: nowrap;
}

.platform-tile span {
    min-width: 78px;
    padding: 4px 16px 6px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(180deg, #22e0e4, #1199ff 68%, #147ee8);
    box-shadow: 0 7px 14px rgba(19, 136, 234, 0.24);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.app-panel-login h3 {
    font-size: 40px;
    font-weight: 700;
}

.app-panel-login p {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.62;
}

.app-panel-login .platform-tile strong {
    color: #7f8bae;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
}

.app-panel-login .platform-tile span {
    font-size: 12px;
    font-weight: 600;
}

#app-tab-all:checked ~ .app-device-stage .app-device-all,
#app-tab-sports:checked ~ .app-device-stage .app-device-sports,
#app-tab-casino:checked ~ .app-device-stage .app-device-casino,
#app-tab-login:checked ~ .app-device-stage .app-device-login,
#app-tab-all:checked ~ .app-download-card .app-panel-all,
#app-tab-sports:checked ~ .app-download-card .app-panel-sports,
#app-tab-casino:checked ~ .app-download-card .app-panel-casino,
#app-tab-login:checked ~ .app-download-card .app-panel-login {
    display: block;
}

#app-tab-all:checked ~ .app-download-card label[for="app-tab-all"],
#app-tab-sports:checked ~ .app-download-card label[for="app-tab-sports"],
#app-tab-casino:checked ~ .app-download-card label[for="app-tab-casino"],
#app-tab-login:checked ~ .app-download-card label[for="app-tab-login"] {
    color: #fff;
    background: linear-gradient(180deg, #25e2e6, #119cff 72%, #177be6);
    box-shadow:
        0 12px 22px rgba(18, 145, 239, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.quick-card {
    position: relative;
    min-height: 172px;
    overflow: hidden;
    padding: 22px 24px;
    border: 1px solid rgba(117, 160, 202, 0.18);
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(239, 247, 255, 0.9));
    box-shadow: var(--shadow);
}

.quick-card span,
.quick-card strong,
.quick-card em {
    position: relative;
    z-index: 1;
    display: block;
}

.quick-card span {
    color: #6e9ec4;
    font-size: 13px;
    font-weight: 700;
}

.quick-card strong {
    margin-top: 12px;
    color: #263f67;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.quick-card em {
    margin-top: 16px;
    color: #218ed9;
    font-style: normal;
    font-weight: 700;
}

.section-title-bar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.section-title-bar h2 {
    margin: 0;
    color: #263f67;
    font-size: 30px;
    line-height: 1.2;
}

.section-title-bar span {
    color: var(--muted);
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.channel-card,
.post-card,
.faq-list details,
.article-cta,
.error-page {
    border: 1px solid rgba(117, 160, 202, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 16px 38px rgba(55, 107, 160, 0.1);
}

.channel-card {
    position: relative;
    display: block;
    min-height: 154px;
    overflow: hidden;
    padding: 20px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.channel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 44px rgba(55, 107, 160, 0.16);
}

.channel-card::before {
    content: "";
    position: absolute;
    right: 16px;
    top: 16px;
    width: 40px;
    height: 40px;
    background: url("../img/62a0c9c4-e83b-4d6f-91d8-2c9cf57df05d.png") center / contain no-repeat;
    filter: drop-shadow(0 12px 20px rgba(20, 157, 255, 0.16));
}

.channel-card i {
    position: relative;
    z-index: 1;
    color: #9eb0c3;
    font-style: normal;
    font-weight: 900;
}

.channel-card strong {
    position: relative;
    z-index: 1;
    display: block;
    margin: 18px 0 8px;
    color: #263f67;
    font-size: 24px;
}

.channel-card span {
    position: relative;
    z-index: 1;
    display: block;
    color: #74879d;
    font-size: 13px;
    line-height: 1.55;
}

.platform-overview {
    padding-top: 46px;
}

.channel-overview {
    padding-top: 18px;
}

.update-log-section {
    padding-top: 18px;
}

.update-log-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.update-log-grid article {
    min-height: 168px;
    padding: 24px;
    border: 1px solid rgba(117, 160, 202, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 16px 38px rgba(55, 107, 160, 0.1);
}

.update-log-grid time {
    color: #50aede;
    font-size: 13px;
    font-weight: 700;
}

.update-log-grid h3 {
    margin: 12px 0 10px;
    color: #263f67;
    font-size: 20px;
    line-height: 1.28;
}

.update-log-grid p {
    margin: 0;
    color: #74879d;
    font-size: 14px;
}

.support-hub-section,
.content-section,
.app-section,
.help-section {
    padding: 34px 0;
}

.content-grid,
.help-grid,
.support-hub-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 18px;
    align-items: stretch;
}

.intro-panel,
.guide-list a,
.app-grid article,
.safe-panel,
.support-copy,
.support-link-list a {
    border: 1px solid rgba(117, 160, 202, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 16px 38px rgba(55, 107, 160, 0.1);
}

.intro-panel,
.support-copy {
    position: relative;
    overflow: hidden;
    padding: 30px;
}

.section-kicker {
    display: inline-flex;
    color: #50aede;
    font-size: 12px;
    font-weight: 700;
}

.intro-panel h2,
.safe-panel h2 {
    margin: 10px 0 14px;
    color: #263f67;
    font-size: 30px;
    line-height: 1.18;
}

.intro-panel p {
    margin: 0 0 13px;
    color: #7180a0;
    font-size: 15px;
}

.metric-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 22px;
}

.metric-row div {
    padding: 16px 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(240, 248, 255, 0.9), rgba(255, 255, 255, 0.7));
}

.metric-row strong,
.metric-row span {
    display: block;
}

.metric-row strong {
    color: #179cff;
    font-size: 28px;
    line-height: 1;
}

.metric-row span {
    margin-top: 6px;
    color: #7981a4;
}

.guide-list {
    display: grid;
    gap: 14px;
}

.support-hub-section {
    padding-top: 42px;
}

.support-copy h2 {
    margin: 10px 0 14px;
    color: #263f67;
    font-size: 28px;
    line-height: 1.18;
}

.support-copy p {
    margin: 0 0 13px;
    color: #7180a0;
    font-size: 15px;
}

.support-link-list {
    display: grid;
    gap: 14px;
}

.support-link-list a {
    position: relative;
    display: grid;
    grid-template-columns: 62px 1fr;
    align-content: center;
    align-items: center;
    min-height: 116px;
    overflow: hidden;
    padding: 20px 24px;
}

.support-icon {
    grid-row: span 2;
    width: 58px;
    height: 58px;
    object-fit: contain;
    margin: 0 16px 0 0;
    filter: drop-shadow(0 12px 22px rgba(20, 157, 255, 0.18));
}

.support-link-list strong,
.support-link-list span {
    position: relative;
    z-index: 1;
    display: block;
}

.support-link-list strong {
    color: #263f67;
    font-size: 20px;
}

.support-link-list span {
    margin-top: 8px;
    color: #7981a4;
}

.guide-list a {
    position: relative;
    display: grid;
    grid-template-columns: 62px 1fr;
    align-content: center;
    align-items: center;
    min-height: 126px;
    overflow: hidden;
    padding: 22px 24px;
}

.guide-list a::after {
    content: "";
    position: absolute;
    right: -34px;
    bottom: -54px;
    width: 142px;
    height: 142px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(118, 215, 247, 0.34), rgba(39, 124, 196, 0.08));
}

.guide-list strong,
.guide-list span {
    position: relative;
    z-index: 1;
    display: block;
}

.guide-list strong {
    color: #263f67;
    font-size: 21px;
}

.guide-list span {
    margin-top: 10px;
    color: #7981a4;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.app-grid article {
    position: relative;
    overflow: hidden;
    min-height: 230px;
    padding: 24px;
}

.app-grid span {
    color: #50aede;
    font-size: 13px;
    font-weight: 700;
}

.app-grid h3 {
    margin: 14px 0 10px;
    color: #263f67;
    font-size: 22px;
    line-height: 1.22;
}

.app-grid p {
    margin: 0;
    color: #7981a4;
    font-size: 14px;
}

.compact-title {
    margin-bottom: 14px;
}

.safe-panel {
    position: relative;
    overflow: hidden;
    padding: 30px;
}

.panel-icon {
    float: right;
    width: 74px;
    height: 74px;
    object-fit: contain;
    margin-left: 18px;
    filter: drop-shadow(0 14px 26px rgba(20, 157, 255, 0.18));
}

.safe-panel ul {
    display: grid;
    gap: 13px;
    padding-left: 20px;
    margin: 18px 0 0;
    list-style: disc;
}

.safe-panel li {
    color: #7180a0;
}

.latest-posts .post-grid,
.page-shell .post-grid,
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.post-card {
    position: relative;
    overflow: hidden;
}

.post-card-media {
    display: grid;
    min-height: 184px;
    place-items: center;
    background: linear-gradient(135deg, rgba(93, 200, 239, 0.18), rgba(255, 255, 255, 0.66));
}

.post-card-media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.media-placeholder {
    display: grid;
    width: 100%;
    min-height: 184px;
    place-items: center;
}

.media-placeholder-logo {
    width: 74px;
    height: 74px;
    object-fit: contain;
    opacity: 0.82;
    filter: drop-shadow(0 18px 26px rgba(20, 157, 255, 0.16));
}

.post-card-body {
    padding: 20px;
}

.post-card h2,
.access-card h3 {
    margin: 12px 0 8px;
    color: #263f67;
    line-height: 1.25;
}

.post-card p,
.access-card p,
.faq-list p,
.article-cta p {
    color: var(--text);
}

.post-meta,
.article-header p {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.text-link {
    color: #238bd1;
    font-weight: 900;
}

.page-shell,
.article-shell {
    padding: 64px 0 80px;
}

.archive-header,
.article-header {
    max-width: 820px;
    margin-bottom: 32px;
}

.archive-header h1,
.article h1,
.error-page h1 {
    margin: 10px 0 16px;
    color: #244c72;
    line-height: 1.08;
}

.article {
    max-width: 860px;
}

.article h1 {
    font-size: clamp(36px, 5vw, 62px);
}

.article-media {
    overflow: hidden;
    margin-bottom: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.article-content {
    color: #425974;
    font-size: 18px;
}

.article-content h2,
.article-content h3 {
    margin-top: 36px;
    color: #244c72;
    line-height: 1.22;
}

.article-content a {
    color: #238bd1;
    border-bottom: 1px solid rgba(35, 139, 209, 0.35);
}

.article-content blockquote {
    margin: 30px 0;
    padding: 18px 22px;
    border-left: 4px solid var(--blue);
    background: rgba(255, 255, 255, 0.66);
}

.article-cta {
    margin-top: 44px;
    padding: 26px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    padding: 18px 20px;
}

.faq-list summary {
    position: relative;
    cursor: pointer;
    color: #244c72;
    font-weight: 900;
    padding-left: 30px;
}

.faq-list summary::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 18px;
    height: 18px;
    background: url("../img/62a0c9c4-e83b-4d6f-91d8-2c9cf57df05d.png") center / contain no-repeat;
    filter: drop-shadow(0 7px 12px rgba(20, 157, 255, 0.14));
}

.navigation.pagination {
    margin-top: 32px;
}

.nav-links {
    display: flex;
    gap: 10px;
}

.page-numbers {
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.page-numbers.current {
    color: #fff;
    background: var(--blue-deep);
}

.empty-state,
.error-page {
    padding: 28px;
    color: var(--muted);
}

.site-footer {
    padding: 52px 0 26px;
    color: #c3d1df;
    background: linear-gradient(180deg, #254d72, #183653);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr;
    gap: 34px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand img {
    width: 150px;
    height: auto;
}

.footer-brand strong,
.site-footer h2 {
    color: #fff;
}

.site-footer h2 {
    margin: 0 0 14px;
    font-size: 16px;
}

.site-footer p,
.footer-bottom {
    color: #c3d1df;
    font-size: 14px;
}

.footer-menu {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-menu a,
.footer-link {
    display: block;
    margin: 8px 0;
    color: #d6e4f0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 1240px) {
    .header-inner {
        grid-template-columns: auto 1fr auto;
    }

    .header-login {
        grid-column: 1 / -1;
        justify-self: end;
        padding-bottom: 12px;
    }

    .site-header {
        min-height: 118px;
    }

    .header-inner {
        min-height: 78px;
    }

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

    .service-meter-grid,
    .update-log-grid,
    .app-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .app-download-shell {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        min-height: 0;
    }

    .app-device-stage {
        min-height: 520px;
    }

    .app-device-visual {
        width: min(100%, 680px);
    }

    .app-download-card {
        max-width: 760px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 960px) {
    .container {
        width: min(100% - 32px, var(--container));
    }

    .header-inner {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .nav-toggle {
        display: block;
    }

    .primary-nav,
    .header-tools,
    .header-login {
        display: none;
    }

    .primary-nav.is-open {
        display: block;
        grid-column: 1 / -1;
        width: 100%;
    }

    .primary-nav .menu {
        display: grid;
        gap: 0;
        padding: 8px 0 18px;
    }

    .primary-nav a {
        padding: 10px 0;
    }

    .site-header {
        min-height: 76px;
    }

    .hero-canvas {
        min-height: 540px;
    }

    .hero-copy {
        max-width: 520px;
        padding: 72px 34px 0;
    }

    .hero-logo {
        width: min(100%, 330px);
    }

    .hero-entry-grid {
        width: min(100%, 352px);
    }

    .hero-visual {
        right: 30px;
        top: 250px;
        transform: scale(0.72);
        transform-origin: top right;
    }

    .quick-grid,
    .content-grid,
    .help-grid,
    .support-hub-grid,
    .service-card-grid,
    .update-log-grid,
    .latest-posts .post-grid,
    .page-shell .post-grid,
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ornate-heading {
        gap: 18px;
    }

    .ornate-heading h2 {
        font-size: 48px;
    }

    .app-download-section {
        padding: 46px 0 40px;
    }

    .app-device-stage {
        min-height: 440px;
    }

    .app-device-visual {
        width: min(100%, 560px);
    }

    .app-download-card {
        min-height: 0;
        padding: 28px 24px;
        border-radius: 26px;
    }

    .app-tabs {
        gap: 10px;
        margin-bottom: 36px;
    }

    .app-tab-label {
        min-height: 44px;
        font-size: 15px;
    }

    .app-download-panel h3 {
        font-size: 38px;
    }

    .app-download-panel p {
        font-size: 17px;
    }

    .platform-downloads {
        margin-top: 32px;
    }

    .service-card {
        grid-template-columns: 122px 1fr;
        padding: 24px;
    }

    .service-asset {
        width: 106px;
        height: 106px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .brand {
        min-width: 0;
    }

    .brand strong {
        font-size: 18px;
    }

    .brand img,
    .custom-logo {
        width: 138px;
        max-height: 50px;
    }

    .sky-hero {
        padding-top: 14px;
    }

    .hero-canvas {
        min-height: 520px;
        border-radius: 0 0 24px 24px;
    }

    .hero-copy {
        padding: 38px 18px 0;
    }

    .hero-logo {
        width: min(100%, 280px);
        margin-bottom: 18px;
    }

    .hero-copy p {
        max-width: 310px;
        font-size: 14px;
        line-height: 1.65;
    }

    .hero-actions {
        gap: 10px;
        margin-top: 20px;
    }

    .hero-actions .btn {
        min-width: 116px;
        min-height: 38px;
        padding: 0 14px;
    }

    .hero-entry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        margin-top: 22px;
    }

    .hero-entry-card {
        min-height: 52px;
        padding: 8px 12px;
        border-radius: 16px;
    }

    .hero-entry-icon {
        right: 10px;
        width: 24px;
        height: 24px;
    }

    .hero-entry-card span {
        font-size: 11px;
    }

    .hero-entry-card strong {
        font-size: 15px;
    }

    .hero-visual {
        display: none;
    }

    .notice-bar {
        grid-template-columns: 30px 1fr;
        border-radius: 22px;
        padding: 12px 14px;
    }

    .notice-more {
        grid-column: 2;
        justify-self: start;
        margin-top: 6px;
    }

    .carousel-dots span:nth-child(n+18) {
        display: none;
    }

    .quick-grid,
    .content-grid,
    .metric-row,
    .help-grid,
    .support-hub-grid,
    .app-grid,
    .download-options,
    .platform-downloads,
    .service-meter-grid,
    .service-card-grid,
    .update-log-grid,
    .channel-grid,
    .latest-posts .post-grid,
    .page-shell .post-grid,
    .post-grid {
        grid-template-columns: 1fr;
    }

    .ornate-heading {
        grid-template-columns: 1fr;
    }

    .ornate-heading > span {
        display: none;
    }

    .app-download-heading {
        margin-bottom: 16px;
    }

    .app-device-stage {
        min-height: 330px;
    }

    .app-device-stage::after {
        bottom: 26px;
        height: 52px;
    }

    .app-device-visual {
        width: min(100%, 390px);
    }

    .app-device-login {
        width: min(100%, 390px);
    }

    .app-download-card {
        padding: 22px 16px;
        border-radius: 22px;
    }

    .app-tabs {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 28px;
    }

    .app-download-panel h3 {
        margin-bottom: 16px;
        font-size: 30px;
    }

    .app-download-panel p {
        font-size: 15px;
        line-height: 1.68;
    }

    .download-options {
        gap: 14px;
        margin-top: 22px;
    }

    .download-options.one-option {
        grid-template-columns: 1fr;
    }

    .qr-box,
    .direct-box {
        min-height: 198px;
    }

    .direct-box em {
        min-height: 0;
        font-size: 15px;
    }

    .service-card {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .section-title-bar,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}
