@font-face {
    font-family: myFont;
    src: url('../fonts/Vito Bold.otf');
}

@font-face {
    font-family: myFont01;
    letter-spacing: 2px;
    src: url('../fonts/Vito Bold.otf');
}

:root {
    --kl-primary-purple: #7c3aed;
    --kl-light-purple: #a855f7;
    --kl-dark-bg: #1a1025;
    --kl-card-bg: rgba(124, 58, 237, 0.15);
    --kl-neon-blue: #22d3ee;
}

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,
h4,
h5,
h6,
p,
ul,
li,
a,
span {
    font-family: myFont01 !important;
}

body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0 auto;
}

html {
    scroll-behavior: smooth;
}

.uk-font-01 {
    font-family: myFont01 !important;
}

.my-radius {
    border-radius: 15px;
}

.my-radius2 {
    border-radius: 50px;
}

.my-radius3 {
    border-radius: 30px;
}



.z_download {
    width: 100%;
    padding: 20px 40px;
    font-size: 2rem;
    font-weight: 500;
    color: #fff;
    border: none;
    cursor: pointer;
    outline: none;
    border: 4px solid #949b41;
    background-color: #bac15a;
    border-radius: 15px;
    margin-bottom: 50px;
    z-index: 1;
    transition: all ease-in-out .3s;
}

.z_download:hover {
    background-color: #6d722b;
    text-decoration: none;
    color: #FFF;
}

.uk-text-white {
    color: #FFF;
}
.g-scrollbar{ margin-right:20px; }
.g-scrollbar::-webkit-scrollbar {
    width: 15px;
}

.g-scrollbar::-webkit-scrollbar-track {
    background: #6334b5;
    border-radius: 25px;
}

.g-scrollbar::-webkit-scrollbar-thumb {
    background: #c681ff;
    border-radius: 25px;
    border: solid 1px #9da3ef;
}

.g-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #c681ff;
}

/* 页面加载动画 */
.kl-page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0f0a18;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.kl-loader-circle {
    width: 60px;
    height: 60px;
    border: 3px solid var(--kl-primary-purple);
    border-top: 3px solid var(--kl-neon-blue);
    border-radius: 50%;
    animation: kl-spin 1s linear infinite;
}

@keyframes kl-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Hero Section */
.kl-hero-section {
    min-height: 800px;
    background: url('../img/h_bg.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kl-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 16, 37, 0.3) 0%, rgba(26, 16, 37, 0.9) 100%);
}

.kl-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    padding: 2rem;
    opacity: 0;
    transform: translateY(30px);
}

.kl-hero-title {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    background: linear-gradient(90deg, #fff 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(124, 58, 237, 0.5);
}

.kl-hero-subtitle {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: #e0e7ff;
    margin-bottom: 2rem;
}

.kl-pre-register-btn {
    background: linear-gradient(90deg, #22d3ee 0%, #a855f7 100%);
    color: #000;
    font-weight: bold;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    color: #FFF;
}

.kl-pre-register-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.7);
    color: #FFF;
    text-decoration: none;
}

.kl-pre-register-btn:active {
    transform: scale(0.98);
}

.kl-app-store-badges img {
    height: 40px;
    margin: 0 0.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.kl-app-store-badges img:hover {
    transform: translateY(-3px);
}

/* Progress Section */
.kl-progress-section {
    padding: 5rem 2rem;
    background: #0f0a18;
    position: relative;
}

.kl-section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 3rem;
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
}

.kl-section-title::before {
    content: attr(data-num);
    position: absolute;
    top: -2rem;
    left: 0;
    font-size: 6rem;
    opacity: 0.1;
    color: var(--kl-primary-purple);
}

.kl-progress-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.kl-progress-timeline::before {
    content: '';
    position: absolute;
    top: 80%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--kl-primary-purple) 0%, var(--kl-neon-blue) 100%);
    transform: translateY(-50%);
}

.kl-progress-step {
    text-align: center;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    cursor: pointer;
}

.kl-progress-step .kl-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--kl-card-bg);
    border: 2px solid var(--kl-primary-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.kl-progress-step.kl-active .kl-circle {
    background: var(--kl-primary-purple);
    box-shadow: 0 0 15px var(--kl-neon-blue);
}

.kl-progress-step .kl-reward-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 0 auto 0.5rem;
    transition: all 0.3s ease;
}

.kl-reward-icon:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

/* Invite & Follow Section */
.kl-invite-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, #7c3aed 0%, #a855f7 100%);
    position: relative;
    overflow: hidden;
}

.kl-invite-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease;
}

.kl-invite-card:hover {
    transform: translateY(-5px);
}

.kl-invite-rewards {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
}

.kl-reward-item {
    text-align: center;
}

.kl-reward-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    transition: all 0.3s ease;
}

.kl-reward-icon:hover {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.2);
}

.kl-follow-goals {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
}

.kl-goal-item {
    text-align: center;
}

.kl-goal-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.kl-goal-icon:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

/* Features Section */
.kl-features-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, #1a1025 0%, #2d1b47 100%);
}

.kl-feature-carousel {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
}

.kl-feature-slide {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    background-size: cover !important;
    background-position: center !important;
}

/* Footer Section */
.kl-footer-section {
    padding: 5rem 2rem;
    background: #0f0a18;
    text-align: center;
}

.kl-social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
}

.kl-social-link {
    width: 60px;
    height: 60px;
    background: var(--kl-card-bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.kl-social-link:hover {
    background: var(--kl-primary-purple);
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 0 15px var(--kl-primary-purple);
}

/* UIkit Overrides */
.uk-slider-nav {
    filter: invert(1);
}

/* 轮播图动画 */
.uk-slider-items {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* 元素显示动画 */
.kl-fade-in {
    animation: kl-fadeIn 0.8s ease forwards;
}

@keyframes kl-fadeIn {
    to {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
}

/* 奖励详情弹层 - 独立多弹窗样式 */
.kl-reward-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9998;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kl-reward-modal.kl-show {
    display: flex;
    opacity: 1;
}

.kl-modal-content {
    background: #1a1025;
    border: 2px solid var(--kl-primary-purple);
    border-radius: 16px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    padding: 2.5rem;
    position: relative;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.kl-reward-modal.kl-show .kl-modal-content {
    transform: scale(1);
}

.kl-close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--kl-primary-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.kl-close-modal:hover {
    background: var(--kl-neon-blue);
    transform: rotate(90deg);
}

.kl-modal-title {
    color: var(--kl-neon-blue);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.kl-modal-desc {
    color: #e0e7ff;
    line-height: 1.8;
    font-size: 1rem;
}
.kl-modal-desc p,span{ color:#FFF!important; }
/* Responsive */
@media (max-width: 768px) {
    .kl-hero-title {
        font-size: 2rem;
    }

    .kl-progress-timeline {
        flex-direction: column;
        gap: 2rem;
    }

    .kl-progress-timeline::before {
        width: 2px;
        height: 100%;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
    }
}