/* ==========================================================================
   推广页面专用样式 - promo.css
   ========================================================================== */

/* ==========================================================================
   Header 导航栏样式修复
   ========================================================================== */

.header {
    z-index: 1000;
}

/* ==========================================================================
   按钮和交互元素
   ========================================================================== */

/* 推广按钮样式 */
.promo-btn {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    cursor: pointer;
}

.promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    color: white;
    text-decoration: none;
}

/* 脉冲动画 */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ==========================================================================
   金光文字特效
   ========================================================================== */

/* 金光闪过特效 */
.golden-shine {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        90deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 215, 0, 0.8) 50%,
        transparent 60%,
        transparent 100%
    );
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    animation: golden-shine 3s ease-in-out infinite;
}

.golden-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 215, 0, 0.3) 25%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 215, 0, 0.3) 75%,
        transparent 100%
    );
    animation: shine-sweep 3s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes golden-shine {
    0% {
        background-position: -200% 0;
    }
    50% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@keyframes shine-sweep {
    0% {
        left: -100%;
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    50% {
        left: 100%;
        opacity: 1;
    }
    75% {
        opacity: 0;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

/* 主标题金光特效 */
.hero-title-shine {
    position: relative;
    display: inline-block;
}

.hero-title-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 215, 0, 0.4) 20%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(255, 215, 0, 0.4) 80%,
        transparent 100%
    );
    animation: title-shine 4s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes title-shine {
    0% {
        left: -100%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        left: 100%;
        opacity: 1;
    }
    90% {
        opacity: 0;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

/* 描述文字金光特效 */
.hero-desc-shine {
    position: relative;
    display: inline-block;
}

.hero-desc-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 215, 0, 0.3) 30%,
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 215, 0, 0.3) 70%,
        transparent 100%
    );
    animation: desc-shine 5s ease-in-out infinite 1s;
    z-index: 1;
    pointer-events: none;
}

@keyframes desc-shine {
    0% {
        left: -100%;
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    50% {
        left: 100%;
        opacity: 1;
    }
    85% {
        opacity: 0;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

/* ==========================================================================
   布局组件
   ========================================================================== */

/* 浮动奖金提示 */
.floating-bonus {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    z-index: 1000;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(-10px); }
}

/* 主横幅区域 */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* 背景视频样式 */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.7;
    background: #000;
}

/* 视频加载失败时的备用背景 */
.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(12, 12, 13, 0.6) 0%,
        rgba(255, 107, 53, 0.2) 50%,
        rgba(12, 12, 13, 0.7) 100%
    );
    z-index: 2;
}

.hero-banner {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

/* 确保内容在视频之上 */
.hero-content,
.banner-image {
    position: relative;
    z-index: 3;
}

.hero-banner .container-fluid {
    position: relative;
    z-index: 3;
}

/* ==========================================================================
   品牌和支付方式样式
   ========================================================================== */

.brand-logo {
    max-height: 60px;
    opacity: 0.8;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.brand-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

.payment-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-item:hover {
    background: rgba(255, 107, 53, 0.2);
    transform: translateY(-5px);
}

.payment-item img {
    max-height: 40px;
}

.brand-section, .payment-section, .features-section {
    background: rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   特色展示样式
   ========================================================================== */

.feature-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    transition: all 0.4s ease;
    cursor: pointer;
    border: 2px solid transparent;
    height: 100%;
}

.feature-item:hover {
    background: rgba(255, 107, 53, 0.15);
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.2);
}

.feature-item img {
    transition: all 0.3s ease;
    filter: brightness(0.9);
}

.feature-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.feature-item h6 {
    font-weight: 600;
    font-size: 16px;
}

.feature-item p {
    font-weight: 500;
    font-size: 14px;
}

.feature-item small {
    font-size: 12px;
    line-height: 1.4;
}

/* ==========================================================================
   游戏相关样式
   ========================================================================== */

/* 游戏缩略图样式 */
.game-thumb {
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

.game-thumb:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 107, 53, 0.1);
    text-decoration: none;
}

.game-thumb img {
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.game-thumb:hover img {
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.more-games {
    background: rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   社交媒体链接样式
   ========================================================================== */

.social-media-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
}

.social-links {
    gap: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 14px;
    font-weight: 500;
}

.social-link:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.social-link.google:hover {
    background: linear-gradient(45deg, #4285f4, #34a853);
    border-color: #4285f4;
}

.social-link.facebook:hover {
    background: linear-gradient(45deg, #1877f2, #42a5f5);
    border-color: #1877f2;
}

.social-link.tiktok:hover {
    background: linear-gradient(45deg, #ff0050, #000);
    border-color: #ff0050;
}

.social-link.youtube:hover {
    background: linear-gradient(45deg, #ff0000, #ff4444);
    border-color: #ff0000;
}

.social-link.twitter:hover {
    background: linear-gradient(45deg, #1da1f2, #0d8bd9);
    border-color: #1da1f2;
}

.social-link svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.1);
}

/* ==========================================================================
   响应式设计 - 移动端优化
   ========================================================================== */

@media (max-width: 768px) {
    /* 浮动奖金提示移动端调整 */
    .floating-bonus {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin: 20px auto;
        display: block;
        width: fit-content;
    }
    
    /* 社交媒体链接移动端调整 */
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .social-link span {
        display: none;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
    
    /* 移动端主横幅优化 */
    .hero-banner {
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
    
    .hero-banner .row {
        align-items: center !important;
        justify-content: center;
        min-height: 100vh;
    }
    
    .hero-content {
        padding-top: 60px;
        padding-bottom: 40px;
    }
    
    .banner-content h1 {
        font-size: 1.8rem !important;
        line-height: 1.3;
        margin-bottom: 1.5rem !important;
    }
    
    .banner-content p {
        font-size: 14px !important;
        margin-bottom: 2rem !important;
    }
    
    .banner-image {
        margin-top: 20px;
    }
    
    .banner-image img {
        max-width: 280px;
    }
}

/* ==========================================================================
   预加载器样式
   ========================================================================== */

/* 删除以下预加载器样式：
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
}

.preloader.fade-out {
    opacity: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transform: scale(1.1);
}

.preloader.loading {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.preloader.almost-done {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.preloader-inner {
    text-align: center;
}

.preloader-gif {
    max-width: 150px;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}
*/

/* ==========================================================================
   返回顶部按钮样式
   ========================================================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #ffed4e, #ffd700);
    transform: translateY(0) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top i {
    color: #1a1a2e;
    font-size: 18px;
    font-weight: bold;
}

/* ==========================================================================
   品牌轮播样式
   ========================================================================== */

.brand-slider {
    margin: 0 auto;
}

.brand-slider .slick-slide {
    padding: 0 15px;
}

.brand-slider .slick-list {
    margin: 0 -15px;
}

.brand-slider .slick-dots {
    bottom: -50px;
}

.brand-slider .slick-dots li button:before {
    color: #ffd700;
    font-size: 12px;
}

.brand-slider .slick-dots li.slick-active button:before {
    color: #ffd700;
}

/* 移动端预加载器和返回顶部按钮适配 */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .back-to-top i {
        font-size: 16px;
    }
    
    .preloader-gif {
        max-width: 100px;
        max-height: 100px;
    }
}