/* ============================================================
   STEEL TITANS - Game Landing Page Styles
   All custom classes use 'st-' prefix to avoid conflicts
   ============================================================ */

/* ============ Font & Reset ============ */
@font-face {
    font-family: myFont;
    src: url('../fonts/Montserrat-Regular.ttf');
}
html,
.uk-h1,
.uk-h2,
.uk-h3,
.uk-h4,
.uk-h5,
.uk-h6,
.uk-heading-2xlarge,
.uk-heading-large,
.uk-heading-medium,
.uk-heading-small,
.uk-heading-xlarge,
.uk-button,
.uk-navbar-nav>li>a,
h1,
h2,
h3,uk-navbar-nav
h4,
h5,
h6,
p,
ul,
li,
a,
span {
font-family: myFont!important;
}
html {
    scroll-behavior: smooth;
}

/* ============ CSS Variables (Theme) ============ */
:root {
    --st-bg: #0a0a1a;
    --st-bg-secondary: #12122a;
    --st-bg-card: #1a1a35;
    --st-bg-card-hover: #25254a;
    --st-primary: #ff6b00;
    --st-primary-dark: #cc5500;
    --st-accent: #00d4ff;
    --st-accent-dark: #0099cc;
    --st-text: #ffffff;
    --st-text-muted: #aaaacc;
    --st-text-dark: #666680;
    --st-border: #2a2a4a;
    --st-gold: #ffd700;
    --st-glow-primary: 0 0 20px rgba(255, 107, 0, 0.5);
    --st-glow-accent: 0 0 20px rgba(0, 212, 255, 0.5);
    --st-radius: 12px;
    --st-radius-lg: 20px;
    --st-transition: all 0.3s ease;
}

/* ============ Body ============ */
body.st-body {
    margin: 0;
    padding: 0;
    background-color: var(--st-bg);
    color: var(--st-text);
    font-family: 'Montserrat', myFont, sans-serif !important;
    overflow-x: hidden;
    min-width: 1440px;
}

/* ============ Typography ============ */
.st-body h1,
.st-body h2,
.st-body h3,
.st-body h4 {
    font-weight: 800;
    letter-spacing: 0.02em;
    margin: 0;
}

/* ============ Buttons ============ */
.st-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--st-transition);
    text-decoration: none;
    white-space: nowrap;
}

.st-btn--primary {
    background: linear-gradient(135deg, var(--st-primary), var(--st-primary-dark));
    color: #fff;
    box-shadow: var(--st-glow-primary);
}

.st-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 30px rgba(255, 107, 0, 0.6);
    text-decoration: none;
    color: #fff;
}

.st-btn--ghost {
    background: transparent;
    color: var(--st-text);
    border-color: var(--st-accent);
}

.st-btn--ghost:hover {
    background: rgba(0, 212, 255, 0.1);
    box-shadow: var(--st-glow-accent);
    text-decoration: none;
    color: var(--st-accent);
}

.st-btn--sm {
    padding: 8px 20px;
    font-size: 12px;
}

.st-btn--lg {
    padding: 18px 48px;
    font-size: 16px;
}

.st-btn--block {
    display: flex;
    width: 100%;
}

/* ============ Navigation ============ */
.st-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(10, 10, 26, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--st-border);
}

.st-navbar__inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 0 ;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.st-navbar__logo img {
   width: 130px;
}

.st-navbar__center {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* 导航栏政策链接样式 */
.st-navbar .uk-navbar-nav > li > a {
    color: var(--st-text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--st-transition);
    cursor: pointer;
}

.st-navbar .uk-navbar-nav > li > a:hover,
.st-navbar .uk-navbar-nav > li > a.active {
    color: var(--st-accent);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.st-navbar__right {
    display: flex;
    align-items: center;
}

/* ============ Hero Section ============ */
.st-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    overflow: hidden;
}

.st-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(255, 107, 0, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, #0a0a1a 0%, #1a1a35 100%);
    z-index: 0;
}

.st-hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.3;
    mix-blend-mode: screen;
}

.st-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.st-hero__inner {
    text-align: center;
    padding: 40px 20px;
}

.st-hero__title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 16px;
}

.st-hero__title-main {
    background: linear-gradient(135deg, #ffffff 0%, var(--st-primary) 50%, var(--st-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 20px rgba(255, 107, 0, 0.3));
}

.st-hero__subtitle {
    font-size: clamp(14px, 1.5vw, 18px);
    color: var(--st-text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
}

.st-hero__actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

/* Hero Tanks */
.st-hero__tanks {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
    margin-top: 40px;
}

.st-hero__tank {
    width: 280px;
    border-radius: var(--st-radius);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: var(--st-transition);
}

.st-hero__tank:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.st-hero__tank img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.st-hero__tank--1 {
    transform: rotate(-3deg);
}

.st-hero__tank--3 {
    transform: rotate(3deg);
}

/* ============ Section Common ============ */
.st-section {
    padding: 80px 0;
    position: relative;
}

.st-section--features {
    background: var(--st-bg-secondary);
}

.st-section--collection {
    background: var(--st-bg-secondary);
    overflow: visible;
    padding-bottom: 120px;
}

.st-section__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    text-align: center;
    margin-bottom: 50px;
    color: var(--st-text);
    position: relative;
    display: inline-block;
    width: 100%;
}

.st-section__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--st-primary), var(--st-accent));
    margin: 16px auto 0;
    border-radius: 2px;
}

.st-section__title--left {
    text-align: left;
}

.st-section__title--left::after {
    margin-left: 0;
}

/* ============ Feature Cards ============ */
.st-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.st-feature-card {
    background: var(--st-bg-card);
    border-radius: var(--st-radius);
    overflow: hidden;
    border: 1px solid var(--st-border);
    transition: var(--st-transition);
    cursor: pointer;
}

.st-feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--st-primary);
    box-shadow: 0 10px 40px rgba(255, 107, 0, 0.2);
}

.st-feature-card__image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.st-feature-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(26, 26, 53, 0.9) 100%);
}

.st-feature-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.st-feature-card__info {
    padding: 20px;
}

.st-feature-card__info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--st-text);
    letter-spacing: 0.03em;
    min-height: 60px;
    text-align: center;
    display: grid;
    place-items: center; 
}

.st-feature-card__stats {
    display: flex;
    gap: 10px;
}

.st-stat-tag {
    background: rgba(0, 212, 255, 0.15);
    color: var(--st-accent);
    padding: 12px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    border: 1px solid rgba(0, 212, 255, 0.3);
    min-height: 90px;
    display: grid;
    place-items: center;
    text-align: center;
}

.st-stat-tag b {
    color: var(--st-gold);
    font-weight: 700;
}

/* ============ Campaign Map Gallery ============ */
.st-maps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.st-map-card {
    position: relative;
    border-radius: var(--st-radius);
    overflow: hidden;
    cursor: zoom-in;
    transition: var(--st-transition);
    aspect-ratio: 16 / 10;
    text-decoration: none;
    color: inherit;
    display: block;
}

.st-map-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    text-decoration: none;
}

.st-map-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.st-map-card:hover img {
    transform: scale(1.08);
}

.st-map-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%);
    transition: var(--st-transition);
}

.st-map-card:hover .st-map-card__overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.95) 100%);
}

.st-map-card__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: #fff;
    z-index: 2;
}

.st-map-card__info h3 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 1);
}

.st-map-card__info span {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--st-gold);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 1);
}

/* 放大镜图标提示 */
.st-map-card::after {
    content: '\f42e';
    font-family: 'remixicon';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    opacity: 0;
    transition: var(--st-transition);
    z-index: 3;
}

.st-map-card:hover::after {
    opacity: 1;
}

/* ============ Tank Collection Scene ============ */
.st-scene {
    position: relative;
    min-height: 720px;
    margin: 40px auto 0;
    max-width: 1200px;
    overflow: visible;
}

/* 散落卡片基础样式 */
.st-scene-card {
    position: absolute;
    width: 160px;
    background: var(--st-bg-card);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    z-index: 1;
}

.st-scene-card:hover {
    z-index: 20;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.st-scene-card__img {
    width: 100%;
    height: 110px;
    overflow: hidden;
}

.st-scene-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.st-scene-card:hover .st-scene-card__img img {
    transform: scale(1.08);
}

.st-scene-card__body {
    padding: 10px 12px;
}

.st-scene-card__body h4 {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 3px;
    color: #fff;
}

.st-scene-card__body span {
    font-size: 10px;
    color: var(--st-accent);
    letter-spacing: 0.04em;
}

/* 各卡片位置 - 左右对称布局，间距一致 */
/* REAPER - 左上 */
.st-scene-card--1 {
    top: 0;
    left: 6%;
    transform: rotate(-8deg);
    border-color: var(--st-gold);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.3);
}

.st-scene-card--1:hover {
    transform: rotate(-2deg) translateY(-8px);
}

/* VANGUARD - 左中 */
.st-scene-card--2 {
    top: 240px;
    left: 0;
    transform: rotate(6deg);
    border-color: var(--st-gold);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.3);
}

.st-scene-card--2:hover {
    transform: rotate(0deg) translateY(-8px);
}

/* THUNDERBOLT - 左下 */
.st-scene-card--4 {
    bottom: 60px;
    left: 6%;
    transform: rotate(-6deg);
    border-color: var(--st-gold);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.3);
}

.st-scene-card--4:hover {
    transform: rotate(-1deg) translateY(-8px);
}

/* DESTROYER - 右上 */
.st-scene-card--3 {
    top: 0;
    right: 6%;
    transform: rotate(8deg);
    border-color: var(--st-gold);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.3);
}

.st-scene-card--3:hover {
    transform: rotate(2deg) translateY(-8px);
}

/* 中心主卡片 PHANTOM - 右中 */
.st-scene-card--center {
    top: 240px;
    right: 0;
    transform: rotate(-6deg);
    width: 170px;
    z-index: 5;
    border-color: var(--st-gold);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.3);
}

.st-scene-card--center:hover {
    transform: rotate(-1deg) translateY(-8px);
    box-shadow: 0 25px 70px rgba(255, 215, 0, 0.5);
}

.st-scene-card--center .st-scene-card__img {
    height: 120px;
}

.st-scene-card--center .st-scene-card__body h4 {
    color: var(--st-gold);
    font-size: 14px;
}

/* OMEGA - 右下 */
.st-scene-card--5 {
    bottom: 60px;
    right: 6%;
    transform: rotate(10deg);
    border-color: var(--st-gold);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.3);
}

.st-scene-card--5:hover {
    transform: rotate(3deg) translateY(-8px);
}

/* 中心内容 - 位于卡片之上，确保文字可读 */
.st-scene-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 15;
    width: 500px;
    padding: 0 30px;
}

.st-scene-content__title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #fff;
}

.st-scene-content__title span {
    display: block;
}

.st-scene-content__highlight {
    background: linear-gradient(135deg, var(--st-primary), var(--st-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.st-scene-content__desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--st-text-muted);
    margin-bottom: 28px;
}

.st-scene-content__actions {
    display: flex;
    gap: 14px;
    justify-content: center;
}

/* ============ Footer ============ */
.st-footer {
    background: var(--st-bg);
    border-top: 1px solid var(--st-border);
    padding: 40px 0;
}

/* 支付方式图标 */
.st-footer__pay {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.st-footer__pay img {
    width: 60px;
    transition: var(--st-transition);
}

.st-footer__pay img:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.st-footer__links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.st-footer__links a {
    color: var(--st-text-muted);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.05em;
    transition: var(--st-transition);
    cursor: pointer;
}

.st-footer__links a:hover,
.st-footer__links a.active {
    color: var(--st-accent);
}

.st-footer__copy {
    text-align: center;
    font-size: 12px;
    color: var(--st-text-dark);
    margin: 0;
    letter-spacing: 0.05em;
}

/* ============ Policy Panel ============ */
.st-panel {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.st-panel__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.st-panel__content {
    position: relative;
    background: var(--st-bg-card);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius-lg);
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 40px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

.st-panel__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: var(--st-bg-secondary);
    border: 1px solid var(--st-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--st-text-muted);
    font-size: 20px;
    transition: var(--st-transition);
}

.st-panel__close:hover {
    background: var(--st-primary);
    color: #fff;
}

.st-panel__title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    padding-right: 50px;
    color: var(--st-text);
}

/* 使用高优先级选择器确保样式不被覆盖 */
#policy-panel .st-panel__body,
.st-panel .st-panel__body,
.st-panel__body {
    line-height: 1.7 !important;
    color: var(--st-text-muted) !important;
    font-size: 14px !important;
    font-family: inherit !important;
    font-weight: 700 !important;
    background: transparent !important;
    background-color: transparent !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    -webkit-text-size-adjust: 100% !important;
}

#policy-panel .st-panel__body p,
#policy-panel .st-panel__body span,
#policy-panel .st-panel__body div,
#policy-panel .st-panel__body li,
.st-panel .st-panel__body p,
.st-panel .st-panel__body span,
.st-panel .st-panel__body div,
.st-panel .st-panel__body li {
    margin-bottom: 16px !important;
    margin-top: 0 !important;
    padding: 0 !important;
    color: var(--st-text-muted) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.7 !important;
    background: transparent !important;
    background-color: transparent !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

#policy-panel .st-panel__body *,
.st-panel .st-panel__body * {
    background: transparent !important;
    background-color: transparent !important;
    font-weight: 700 !important;
}

#policy-panel .st-panel__body strong,
#policy-panel .st-panel__body b,
.st-panel .st-panel__body strong,
.st-panel .st-panel__body b {
    color: var(--st-text) !important;
    font-weight: 700 !important;
    background: transparent !important;
}

/* ============ Custom Scrollbar ============ */
.st-body::-webkit-scrollbar {
    width: 10px;
}

.st-body::-webkit-scrollbar-track {
    background: var(--st-bg);
}

.st-body::-webkit-scrollbar-thumb {
    background: var(--st-border);
    border-radius: 5px;
}

.st-body::-webkit-scrollbar-thumb:hover {
    background: var(--st-primary);
}

/* Panel scrollbar */
.st-panel__content::-webkit-scrollbar {
    width: 8px;
}

.st-panel__content::-webkit-scrollbar-track {
    background: var(--st-bg-secondary);
}

.st-panel__content::-webkit-scrollbar-thumb {
    background: var(--st-border);
    border-radius: 4px;
}


/* ============ Animations ============ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.st-section__title,
.st-feature-card,
.st-map-card,
.st-scene-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* ============ Responsive ============ */

/* ============ Utility ============ */
.uk-container-large {
    max-width: 1280px;
}
