:root {
    --sg-app-height: 100dvh;
    --sg-bg: #d8e5ef;
    --sg-panel: rgba(70, 88, 40, 0.44);
    --sg-panel-strong: rgba(54, 68, 31, 0.68);
    --sg-panel-soft: rgba(247, 241, 224, 0.72);
    --sg-border: rgba(246, 234, 191, 0.22);
    --sg-line: rgba(255, 255, 255, 0.12);
    --sg-gold: #d7b25a;
    --sg-gold-soft: #f2da98;
    --sg-cream: #f6f0dd;
    --sg-text: #f9f5e7;
    --sg-dark: #233018;
    --sg-shadow: 0 24px 48px rgba(10, 18, 18, 0.22);
    --sg-star-outline-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4E8BF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.25l2.72 5.51 6.08.88-4.4 4.28 1.04 6.05L12 17.14l-5.44 2.83 1.04-6.05-4.4-4.28 6.08-.88L12 3.25z'/%3E%3C/svg%3E");
    --sg-star-active-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23D7B25A' fill-opacity='0.18' stroke='%23D7B25A' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.25l2.72 5.51 6.08.88-4.4 4.28 1.04 6.05L12 17.14l-5.44 2.83 1.04-6.05-4.4-4.28 6.08-.88L12 3.25z'/%3E%3C/svg%3E");
}

@font-face {
    font-family: "Top Gun";
    src: url("../Font/TOP GUN.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Peyda";
    src: url("../Font/Peyda-Regular.ttf") format("truetype");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Peyda";
    src: url("../Font/Peyda-Medium.ttf") format("truetype");
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Peyda";
    src: url("../Font/Peyda-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Peyda";
    src: url("../Font/Peyda-Bold.ttf") format("truetype");
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Peyda";
    src: url("../Font/Peyda-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-display: swap;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Peyda", Tahoma, Arial, sans-serif;
    color: var(--sg-text);
    background: var(--sg-bg);
}

button,
input,
select,
textarea {
    font-family: "Peyda", Tahoma, Arial, sans-serif;
}

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

img,
video {
    display: block;
    max-width: 100%;
}

body.home {
    height: var(--sg-app-height);
    overflow: hidden;
}

.sky-gate-site {
    position: relative;
    height: var(--sg-app-height);
    overflow: hidden;
    background-image:
        linear-gradient(180deg, rgba(235, 242, 248, 0.28) 0%, rgba(228, 236, 243, 0.1) 25%, rgba(27, 37, 18, 0.18) 72%, rgba(11, 15, 10, 0.4) 100%),
        var(--sky-gate-bg);
    background-position: center;
    background-size: cover;
}

.sky-gate-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.18), transparent 32%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0, transparent 5%, transparent 95%, rgba(255, 255, 255, 0.12) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0, transparent 12%, transparent 88%, rgba(255, 255, 255, 0.08) 100%);
    opacity: 0.9;
}

.sky-gate-shell {
    position: relative;
    z-index: 1;
    width: min(1480px, calc(100% - 36px));
    height: 100%;
    margin: 0 auto;
    padding: clamp(16px, 2.2vh, 26px) 0;
}

.sky-gate-subheadline {
    margin: 0;
    direction: rtl;
    font-size: clamp(22px, 2.1vw, 34px);
    letter-spacing: 0;
    font-weight: 700;
    color: #f6f0de;
    text-align: center;
}

.sky-gate-layout {
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.85fr) minmax(250px, 0.9fr);
    grid-template-areas: "leader main reviews";
    gap: clamp(12px, 1vw, 18px);
    align-items: stretch;
}

.sky-gate-panel,
.sky-gate-media-card,
.sky-gate-video-frame,
.review-submit-card,
.mission-item,
.feature-bar {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.sky-gate-panel {
    min-height: 0;
    border-radius: 26px;
    padding: 18px;
    background: linear-gradient(180deg, rgba(86, 103, 51, 0.52), rgba(54, 67, 31, 0.72));
    border: 1px solid var(--sg-border);
    box-shadow: var(--sg-shadow);
}

.sky-gate-panel-leaderboard {
    grid-area: leader;
    display: grid;
    grid-template-rows: auto auto auto minmax(0, 1fr);
    gap: 8px;
    padding: 14px;
}

.sky-gate-panel-leaderboard .panel-heading-stack {
    align-items: center;
    text-align: center;
    padding-top: 2px;
}

.leaderboard-title-box {
    display: grid;
    gap: 6px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 247, 224, 0.12), rgba(214, 188, 112, 0.06));
    border: 1px solid rgba(255, 243, 208, 0.16);
    box-shadow: 0 10px 22px rgba(8, 14, 8, 0.16);
}

.topgun-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-top: 6px;
}

.topgun-medal {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.22));
}

.sky-gate-panel-leaderboard .panel-kicker-topgun {
    font-size: clamp(20px, 2vw, 30px);
    margin-top: 6px;
}

.sky-gate-panel-leaderboard .members-title {
    font-size: clamp(20px, 1.7vw, 26px) !important;
    margin: 0;
}

.sky-gate-panel-reviews {
    grid-area: reviews;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 14px;
}

.sky-gate-panel-reviews .panel-heading {
    justify-content: center;
}

.sky-gate-panel-reviews .panel-heading > div {
    width: 100%;
    text-align: center;
}

.reviews-title-box {
    display: grid;
    gap: 6px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 247, 224, 0.1), rgba(219, 227, 204, 0.08));
    border: 1px solid rgba(255, 243, 208, 0.14);
    box-shadow: 0 10px 22px rgba(8, 14, 8, 0.14);
}

.reviews-title-box .panel-kicker {
    margin: 0;
}

.reviews-title-box h2 {
    margin: 0;
}

.panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.panel-heading-stack {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.panel-kicker {
    display: inline-block;
    color: rgba(249, 245, 230, 0.9);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.panel-kicker-topgun {
    font-family: "Top Gun", Impact, sans-serif;
    font-size: clamp(24px, 2.4vw, 38px);
    line-height: 0.9;
    letter-spacing: 2px;
    color: #fff5d8;
    margin-top: 4px;
}

.members-title {
    font-size: clamp(24px, 2.1vw, 32px) !important;
}

.panel-heading h2 {
    margin: 2px 0 0;
    color: #fff8e8;
    font-size: clamp(24px, 1.9vw, 34px);
    line-height: 1.05;
}

.sky-gate-main {
    grid-area: main;
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 14px;
}

.sky-gate-media-card {
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 0;
    padding: 16px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(47, 58, 29, 0.58), rgba(23, 30, 15, 0.82));
    border: 1px solid rgba(255, 245, 216, 0.12);
    box-shadow: var(--sg-shadow);
    overflow: hidden;
}

.sky-gate-video-frame {
    min-height: 0;
    padding: 0;
    border-radius: 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.sky-gate-video-shell {
    height: 100%;
    min-height: 0;
    border-radius: 19px;
    overflow: hidden;
    border: 0;
    background: rgba(22, 28, 17, 0.2);
}

.sky-gate-video-caption {
    display: grid;
    place-items: center;
    padding: 18px 20px 8px;
    margin-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sky-gate-video-shell video,
.video-placeholder,
.video-placeholder img {
    width: 100%;
    height: 100%;
}

.sky-gate-video-shell video,
.video-placeholder img {
    object-fit: cover;
}

.video-placeholder {
    position: relative;
}

.video-placeholder::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 15, 10, 0.02), rgba(10, 15, 10, 0.18));
}

.video-placeholder-note {
    position: absolute;
    inset-inline: 22px;
    bottom: 22px;
    z-index: 1;
    display: grid;
    gap: 6px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(18, 26, 14, 0.64);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-placeholder-note strong,
.video-placeholder-note span {
    direction: rtl;
    text-align: right;
}

.feature-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 14px 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(40, 52, 24, 0.56), rgba(23, 30, 15, 0.74));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--sg-shadow);
}

.feature-bar span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 6px 8px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(247, 243, 227, 0.94);
    font-size: 14px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(8, 12, 8, 0.16);
}

.leaderboard-head {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 28px 28px 56px;
    align-items: center;
    gap: 6px;
}

.leaderboard-head {
    padding: 0 6px 8px;
    color: rgba(246, 241, 224, 0.78);
    font-size: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.leaderboard-podium {
    display: grid;
    gap: 5px;
}

.podium-card {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 6px;
    align-items: center;
    min-height: 28px;
    padding: 4px 7px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, rgba(255, 248, 229, 0.18), rgba(255, 248, 229, 0.08));
    box-shadow: 0 8px 18px rgba(8, 12, 8, 0.16);
}

.podium-rank {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #2c2914;
    font-weight: 700;
    font-size: 10px;
    background: linear-gradient(180deg, #f1d584, #c6942c);
}

.podium-card-2 .podium-rank {
    background: linear-gradient(180deg, #efefef, #a9a9a9);
}

.podium-card-3 .podium-rank {
    background: linear-gradient(180deg, #e4b080, #b56b36);
}

.podium-meta {
    display: grid;
    gap: 1px;
}

.podium-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 248, 229, 0.9);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.podium-card-1 .podium-label {
    background: rgba(241, 213, 132, 0.18);
    color: #f8df92;
}

.podium-card-2 .podium-label {
    background: rgba(239, 239, 239, 0.14);
    color: #f2f2f2;
}

.podium-card-3 .podium-label {
    background: rgba(228, 176, 128, 0.15);
    color: #efbc95;
}

.podium-meta strong {
    font-size: 12px;
    color: #fff7e5;
    line-height: 1.1;
}

.podium-summary {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.podium-meta span,
.podium-stats span {
    color: rgba(246, 241, 225, 0.8);
    font-size: 10px;
}

.podium-stats {
    display: flex;
    gap: 6px;
}

.leaderboard-scroll,
.reviews-scroll {
    min-height: 0;
    overflow: auto;
    padding-inline-end: 6px;
}

.leaderboard-scroll {
    display: grid;
    gap: 6px;
    padding-inline-end: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.leaderboard-scroll::-webkit-scrollbar {
    display: none;
}

.leaderboard-row {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 5px 9px;
    border-radius: 13px;
    background: rgba(245, 239, 220, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 18px rgba(8, 12, 8, 0.14);
}

.leaderboard-row .rank {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff8e8;
    font-weight: 700;
    font-size: 11px;
}

.leaderboard-player {
    min-width: 0;
    display: grid;
    gap: 1px;
}

.leaderboard-row .pilot {
    display: block;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.leaderboard-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    color: rgba(246, 241, 225, 0.8);
    font-size: 11px;
    line-height: 1.2;
}

.leaderboard-row .score {
    color: var(--sg-gold-soft);
    font-weight: 700;
}

.reviews-scroll {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-inline-end: 0;
}

.loop-track {
    display: grid;
    gap: 9px;
    width: 100%;
    will-change: transform;
    animation: sgReviewsLoop 28s linear infinite;
}

.loop-scroller:hover .loop-track {
    animation-play-state: paused;
}

.review-card {
    display: grid;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    padding: 11px;
    border-radius: 15px;
    background: linear-gradient(180deg, rgba(246, 240, 223, 0.96), rgba(229, 221, 199, 0.94));
    border: 1px solid rgba(87, 101, 53, 0.16);
    color: #263116;
    box-shadow: 0 14px 28px rgba(17, 23, 14, 0.14);
}

.review-card-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.review-meta h3,
.review-meta p {
    margin: 0;
}

.review-meta h3 {
    font-size: 13px;
}

.review-meta p {
    margin-top: 2px;
    color: #54613c;
    font-size: 11px;
}

.review-stars {
    display: inline-flex;
    gap: 4px;
    white-space: nowrap;
    line-height: 1;
}

.review-stars span {
    width: 16px;
    height: 16px;
    display: inline-block;
    font-size: 0;
    background-image: var(--sg-star-outline-icon);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.review-stars .filled {
    background-image: var(--sg-star-active-icon);
}

.review-content {
    direction: rtl;
    text-align: right;
    line-height: 1.75;
    font-size: 13px;
    color: #223018;
}

.reviews-cta {
    padding-top: 4px;
}

.reviews-cta-card {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(245, 240, 223, 0.16), rgba(217, 205, 168, 0.08));
    border: 1px solid rgba(255, 245, 216, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 26px rgba(8, 14, 8, 0.2);
}

.reviews-cta-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
    direction: rtl;
    text-align: right;
    color: #fff7e2;
}

.reviews-cta-copy strong {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

.reviews-cta-copy span {
    color: rgba(255, 247, 226, 0.76);
    font-size: 12px;
    line-height: 1.6;
}

.reviews-qr-frame {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    padding: 5px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 22px rgba(5, 10, 6, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reviews-qr-frame img {
    width: 60px;
    height: 60px;
}

.reviews-qr-frame:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 14px 26px rgba(5, 10, 6, 0.28);
}

.custom-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(244, 228, 173, 0.75) rgba(255, 255, 255, 0.08);
}

.custom-scroll::-webkit-scrollbar {
    width: 8px;
}

.custom-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background: rgba(244, 228, 173, 0.75);
    border-radius: 999px;
}

.review-submit-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 40px 20px;
    background-image:
        linear-gradient(180deg, rgba(219, 232, 242, 0.7), rgba(25, 29, 20, 0.56)),
        url("../images/background.png");
    background-position: center;
    background-size: cover;
}

.review-submit-shell {
    width: min(760px, 100%);
}

.review-submit-card {
    background: rgba(39, 51, 23, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 34px;
    box-shadow: var(--sg-shadow);
}

.submit-kicker,
.submit-intro,
.review-submit-card h1,
.submit-message {
    direction: rtl;
    text-align: right;
}

.submit-kicker {
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #d5c182;
}

.review-submit-card h1 {
    margin: 0 0 12px;
    font-size: clamp(28px, 5vw, 42px);
}

.submit-intro {
    margin: 0 0 20px;
    color: rgba(245, 239, 220, 0.9);
    line-height: 1.9;
}

.submit-message {
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 18px;
}

.submit-message.is-success {
    background: rgba(111, 152, 88, 0.2);
    border: 1px solid rgba(143, 215, 111, 0.35);
}

.submit-message.is-error {
    background: rgba(150, 81, 81, 0.22);
    border: 1px solid rgba(231, 139, 139, 0.32);
}

.review-submit-form {
    display: grid;
    gap: 12px;
}

.review-submit-form label {
    direction: rtl;
    text-align: right;
    color: #f5efdc;
    font-weight: 700;
}

.review-submit-form input,
.review-submit-form select,
.review-submit-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 14px 16px;
    font: inherit;
}

.review-rating-field {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.review-rating-field legend {
    width: 100%;
    margin-bottom: 10px;
    direction: rtl;
    text-align: right;
    color: #f5efdc;
    font-weight: 700;
}

.review-rating-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 6px;
}

.review-rating-stars input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.review-rating-stars label {
    cursor: pointer;
    width: 34px;
    height: 34px;
    display: inline-block;
    font-size: 0;
    line-height: 1;
    background-image: var(--sg-star-outline-icon);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: background-image 0.2s ease, transform 0.2s ease;
}

.review-rating-stars label:hover,
.review-rating-stars label:hover ~ label,
.review-rating-stars input:checked + label,
.review-rating-stars input:checked + label ~ label {
    background-image: var(--sg-star-active-icon);
}

.review-rating-stars label:active {
    transform: scale(0.96);
}

.review-rating-stars input:focus-visible + label {
    outline: 2px solid rgba(219, 196, 109, 0.85);
    outline-offset: 4px;
    border-radius: 6px;
}

.review-submit-form textarea {
    resize: vertical;
    min-height: 180px;
    direction: rtl;
    text-align: right;
    line-height: 1.9;
}

.review-submit-form button {
    margin-top: 10px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(180deg, #dbc46d, #bc9232);
    color: #2b2a18;
    padding: 15px 18px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.review-submit-form button:hover {
    filter: brightness(1.03);
}

.leaderboard-mobile-page {
    position: relative;
    min-height: 100vh;
    padding: 20px 0 28px;
    background:
        linear-gradient(180deg, rgba(8, 12, 8, 0.72), rgba(14, 20, 11, 0.92)),
        var(--leaderboard-mobile-bg) center/cover no-repeat;
    color: #f7f0df;
}

.leaderboard-mobile-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top, rgba(215, 178, 71, 0.16), transparent 40%),
        linear-gradient(180deg, rgba(8, 12, 8, 0.18), rgba(8, 12, 8, 0.44));
    pointer-events: none;
}

.leaderboard-mobile-shell {
    position: relative;
    z-index: 1;
    width: min(100% - 24px, 460px);
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.leaderboard-mobile-hero,
.leaderboard-mobile-card {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.leaderboard-mobile-hero {
    display: grid;
    gap: 8px;
    padding: 10px 0 2px;
    border-radius: 24px;
    background: transparent;
    border: 0;
    box-shadow: none;
    text-align: center;
}

.leaderboard-mobile-title-row {
    padding-top: 0;
}

.leaderboard-mobile-title-row .topgun-medal {
    width: 36px;
    height: 36px;
}

.leaderboard-mobile-kicker {
    display: inline-flex;
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #f9e3a1;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.leaderboard-mobile-hero h1,
.leaderboard-mobile-hero p,
.leaderboard-mobile-name,
.leaderboard-mobile-score {
    margin: 0;
}

.leaderboard-mobile-hero h1 {
    font-size: clamp(28px, 7vw, 38px);
    line-height: 1.05;
}

.leaderboard-mobile-hero p {
    direction: rtl;
    color: rgba(247, 240, 223, 0.84);
    font-size: 14px;
    line-height: 1.8;
}

.leaderboard-mobile-top3,
.leaderboard-mobile-list {
    display: grid;
    gap: 10px;
}

.leaderboard-mobile-card {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(248, 241, 224, 0.11), rgba(248, 241, 224, 0.05));
    box-shadow: 0 16px 32px rgba(8, 12, 8, 0.18);
}

.leaderboard-mobile-card-top {
    background: linear-gradient(180deg, rgba(116, 92, 25, 0.38), rgba(45, 36, 13, 0.6));
    border-color: rgba(240, 209, 125, 0.2);
}

.leaderboard-mobile-card-list {
    background: linear-gradient(180deg, rgba(136, 142, 152, 0.22), rgba(66, 72, 82, 0.42));
    border-color: rgba(214, 220, 230, 0.12);
}

.leaderboard-mobile-card-head,
.leaderboard-mobile-list-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.leaderboard-mobile-list-head {
    align-items: flex-start;
}

.leaderboard-mobile-rank {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(180deg, #f1d584, #c6942c);
    color: #2f2812;
    font-size: 17px;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.leaderboard-mobile-card-list .leaderboard-mobile-rank {
    background: linear-gradient(180deg, rgba(218, 224, 232, 0.28), rgba(108, 116, 128, 0.34));
    color: #eef2f6;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 6px 14px rgba(10, 14, 18, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.leaderboard-mobile-medal {
    width: 26px;
    height: 26px;
    object-fit: contain;
    margin-inline-start: auto;
    opacity: 0.92;
}

.leaderboard-mobile-title-wrap {
    display: grid;
    gap: 8px;
}

.leaderboard-mobile-medal-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.leaderboard-mobile-medal-group .leaderboard-mobile-medal {
    width: 16px;
    height: 16px;
    margin-inline-start: 0;
    opacity: 0.95;
}

.leaderboard-mobile-player {
    min-width: 0;
    display: grid;
    gap: 4px;
    flex: 1 1 auto;
}

.leaderboard-mobile-name {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    color: #fff6df;
}

.leaderboard-mobile-card-list .leaderboard-mobile-name {
    font-size: 16px;
}

.leaderboard-mobile-score {
    color: #f5d57a;
    font-size: 16px;
    font-weight: 700;
}

.leaderboard-mobile-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.leaderboard-mobile-stats span {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(247, 240, 223, 0.86);
    font-size: 12px;
    line-height: 1;
}

.leaderboard-mobile-card-top.rank-1 {
    border-color: rgba(241, 213, 132, 0.32);
}

.leaderboard-mobile-card-top.rank-2 .leaderboard-mobile-rank {
    background: linear-gradient(180deg, #efefef, #a9a9a9);
}

.leaderboard-mobile-card-top.rank-3 .leaderboard-mobile-rank {
    background: linear-gradient(180deg, #e4b080, #b56b36);
}

@media (max-width: 767px) {
    .leaderboard-mobile-hero {
        text-align: justify;
        text-align-last: right;
    }

    .leaderboard-mobile-hero h1,
    .leaderboard-mobile-name,
    .leaderboard-mobile-score,
    .leaderboard-mobile-stats {
        text-align: right;
    }

    .leaderboard-mobile-hero p {
        text-align: justify;
        text-align-last: right;
    }
}

@media (max-width: 420px) {
    .leaderboard-mobile-page {
        padding: 14px 0 24px;
    }

    .leaderboard-mobile-shell {
        width: min(100% - 16px, 100%);
        gap: 12px;
    }

    .leaderboard-mobile-hero,
    .leaderboard-mobile-card {
        padding: 12px;
        border-radius: 18px;
    }

    .leaderboard-mobile-hero {
        padding: 6px 0 0;
    }

    .leaderboard-mobile-hero p {
        font-size: 13px;
    }

    .leaderboard-mobile-rank {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        font-size: 15px;
    }

    .leaderboard-mobile-name {
        font-size: 16px;
    }

    .leaderboard-mobile-card-list .leaderboard-mobile-name,
    .leaderboard-mobile-score {
        font-size: 14px;
    }
}

@keyframes sgReviewsLoop {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

@media (max-width: 1280px) {
    .sky-gate-layout {
        grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1.7fr) minmax(220px, 0.88fr);
    }
}

@media (max-width: 980px) {
    .sky-gate-shell {
        width: min(100% - 22px, 100%);
    }

    .sky-gate-subheadline {
        font-size: clamp(18px, 2.8vw, 28px);

    .sky-gate-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: minmax(0, 1.15fr) minmax(240px, 0.85fr);
        grid-template-areas:
            "main main"
            "leader reviews";
    }

    .panel-heading h2 {
        font-size: 26px;
    }

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

@media (max-width: 640px) {
    .sky-gate-shell {
        padding: 12px 0;
        gap: 10px;
    }

    .sky-gate-subheadline {
        font-size: 16px;
    }

    .sky-gate-layout {
        gap: 10px;
        grid-template-rows: minmax(0, 1.08fr) minmax(220px, 0.92fr);
    }

    .sky-gate-panel,
    .sky-gate-media-card {
        padding: 12px;
        border-radius: 20px;
    }

    .sky-gate-video-frame {
        padding: 0;
        border-radius: 16px;
    }

    .sky-gate-video-shell {
        border-radius: 15px;
    }

    .sky-gate-video-caption {
        padding: 14px 10px 4px;
    }

    .video-placeholder-note {
        inset-inline: 12px;
        bottom: 12px;
        padding: 12px 14px;
    }

    .panel-heading {
        padding-bottom: 10px;
    }

    .panel-kicker {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .panel-heading h2 {
        font-size: 22px;
    }

    .panel-kicker-topgun {
        font-size: 22px;
    }

    .members-title {
        font-size: 20px !important;
    }

    .leaderboard-head {
        grid-template-columns: 30px minmax(0, 1fr) 26px 26px 58px;
        gap: 6px;
        font-size: 11px;
    }

    .leaderboard-row {
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 8px;
    }

    .podium-card {
        grid-template-columns: 30px minmax(0, 1fr);
        min-height: 34px;
        padding: 5px 8px;
        border-radius: 12px;
    }

    .podium-rank {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .podium-meta strong {
        font-size: 12px;
    }

    .podium-meta span,
    .podium-stats span,
    .review-meta p,
    .review-stars,
    .review-content {
        font-size: 11px;
    }

    .review-card {
        padding: 8px;
        gap: 6px;
        border-radius: 12px;
    }

    .review-card-head {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 6px;
    }

    .review-meta h3 {
        font-size: 12px;
    }

    .review-content {
        line-height: 1.65;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        overflow: hidden;
    }

    .reviews-cta {
        padding-top: 2px;
    }

    .reviews-cta-card {
        gap: 10px;
        padding: 10px 12px;
    }

    .leaderboard-title-box {
        padding: 8px 10px;
        border-radius: 15px;
    }

    .reviews-title-box {
        padding: 8px 10px;
        border-radius: 15px;
    }

    .topgun-title-row {
        gap: 6px;
        padding-top: 4px;
    }

    .topgun-medal {
        width: 32px;
        height: 32px;
    }

    .reviews-cta-copy strong {
        font-size: 13px;
    }

    .reviews-cta-copy span {
        font-size: 11px;
    }

    .reviews-qr-frame img {
        width: 52px;
        height: 52px;
    }

    .feature-bar {
        gap: 8px;
    }

    .feature-bar span {
        padding: 10px 12px;
        border-radius: 14px;
    }

    .feature-bar span {
        min-height: 34px;
        font-size: 12px;
    }
}
