/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #e6f3ff 100%);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 0px;
	background: url(images/BJ.jpg) no-repeat;
	background-size: 100% 100%;
}

/* Header Section */
.header {
    text-align: center;
    padding: 30px 0;
    position: relative;
}


@keyframes logoGlow {
    from {
        filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
    }
    to {
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
    }
}


@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Banner Section */
.banner-section {
    margin: 0px 0;
    text-align: center;
    position: relative;
}

.banner-image {
    max-width: 100%;
    height: auto;
    /* transition: transform 0.3s ease; */
}

.banner-image:hover {
    /* transform: scale(1.02); */
}

/* Main Visual Section */
.main-visual {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, #e6f3ff 0%, #ffffff 100%);
    border-radius: 20px;
    margin: 30px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/top1.gif') center/cover;
    opacity: 0.8;
    z-index: 1;
    animation: backgroundFloat 20s ease-in-out infinite;
}

@keyframes backgroundFloat {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.05) rotate(1deg);
    }
}

.game-elements {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 2;
    flex-wrap: wrap;
    justify-content: center;
}

.game-element {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    animation: bounceIn 0.6s ease-out;
}

.game-element:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Feature Icons Section */
.features {
	display: flex;
	justify-content: space-between;
	padding: 0 20px;
    /* display: grid; */
    /* grid-template-columns: repeat(6, 1fr); */
    /* gap: 20px; */
    /* margin: 40px 0; */
}

.feature-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.feature-label {
    font-size: 0.9rem;
    color: #2c3e50;
    font-weight: 500;
}


@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}


/* Trust Indicators */
.trust-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.trust-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.trust-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.trust-item:hover .trust-icon {
    transform: scale(1.1);
}

.trust-label {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 500;
}

/* Popular Games */
.popular-games {
    margin: 0px 10px 20px 10px;
	
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #e67e22;
    margin-bottom: 30px;
    position: relative;
}

.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e67e22, transparent);
}

.section-title::before {
    left: -120px;
}

.section-title::after {
    right: -120px;
}

.games-grid{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.game-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
	width: 24%;
	margin-bottom: 10px;
}

.game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.game-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-item:hover::before {
    opacity: 1;
}

.game-image {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    position: relative;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-item:hover .game-image img {
    transform: scale(1.1);
}


/* Footer Buttons */
.footer-buttons {
    display: grid;
	margin: 0 auto;
    padding-bottom: 30px;
	display: flex;
	justify-content: space-between;
	width: 94%;
	
}

.button-group {
    display: flex;
    flex-direction: column;
	width: 49%;
}

.main-btn {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 20px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.3);
    position: relative;
    overflow: hidden;
}

.main-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.5);
}

.main-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.main-btn:hover::before {
    left: 100%;
}

.sub-btn {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sub-btn.orange {
    background: linear-gradient(45deg, #f39c12, #e67e22);
}

.sub-btn:hover {
    transform: translateY(-2px);
}

.sub-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.sub-btn:hover::before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .features {
        grid-template-columns: repeat(3, 1fr);
    }

    .trust-section {
        grid-template-columns: 1fr;
    }


    .section-title::before,
    .section-title::after {
        display: none;
    }

    .main-visual {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }


    .main-slogan {
        font-size: 1.4rem;
    }

    .main-visual {
        height: 300px;
    }

    .game-elements {
        gap: 10px;
    }

    .game-element {
        width: 50px;
        height: 50px;
        font-size: 0.8rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Ripple effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

button {
    position: relative;
    overflow: hidden;
}

/* Floating animation for game elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.game-element:nth-child(1) { animation-delay: 0s; }
.game-element:nth-child(2) { animation-delay: 0.2s; }
.game-element:nth-child(3) { animation-delay: 0.4s; }
.game-element:nth-child(4) { animation-delay: 0.6s; }
.game-element:nth-child(5) { animation-delay: 0.8s; }
.game-element:nth-child(6) { animation-delay: 1s; }
.game-element:nth-child(7) { animation-delay: 1.2s; }

.game-element {
    animation: float 3s ease-in-out infinite;
}

/* Pulse animation for feature icons */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(79, 172, 254, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
    }
}

.feature-icon {
    /* animation: pulse 2s ease-in-out infinite; */
}

/* Stagger animation for trust items */
.trust-item:nth-child(1) { animation-delay: 0s; }
.trust-item:nth-child(2) { animation-delay: 0.2s; }
.trust-item:nth-child(3) { animation-delay: 0.4s; }

/* Hover effects for better interactivity */
.feature-item:hover .feature-icon {
    animation: none;
}


/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #667eea, #764ba2);
} 
.promo-banner{
	width:100% ;
	margin: 20px 0;
}

.promo-banner2{
	width:90% ;
	margin: 0px auto;
	display: block;
	
}

.btn1{
	width:50% ;
	margin: 20px auto;
	display: block;
	
}

.section-title{
	width:90% ;
	margin: 0px auto;
	display: block;
}

.kf {
				position: fixed;
				right: 0px;
				top: 30%;
				z-index: 1112;
				width: 90px;
			}
.kf img{
	width: 90px;
}