/* style.css - BBIN真人 顶级正规真人游戏平台 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background: #f8f9fa;
    color: #333;
    transition: background .3s, color .3s;
    line-height: 1.7;
}
body.dark {
    background: #0f0f1a;
    color: #ddd;
}
a {
    color: #e94560;
    text-decoration: none;
}
a:hover {
    opacity: .8;
}
img {
    max-width: 100%;
    display: block;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    background: linear-gradient(135deg, #e94560, #0f3460);
    color: #fff;
    font-weight: 600;
    transition: transform .3s, box-shadow .3s;
    border: none;
    cursor: pointer;
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(233, 69, 96, .4);
}
.glass {
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 20px;
    padding: 30px;
    transition: all .3s;
}
.dark .glass {
    background: rgba(15, 15, 26, .6);
    border-color: rgba(255, 255, 255, .05);
}
.glass:hover {
    box-shadow: 0 15px 45px rgba(0, 0, 0, .15);
    transform: translateY(-5px);
}
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
}
h1 {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #e94560, #0f3460);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}
h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #e94560, #0f3460);
    margin-top: 10px;
    border-radius: 2px;
}
h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}
section {
    padding: 80px 0;
}
.grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}
.text-center {
    text-align: center;
}
.mt-20 {
    margin-top: 20px;
}
.mb-20 {
    margin-bottom: 20px;
}
.card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: all .4s;
    border: 1px solid rgba(0, 0, 0, .05);
}
.dark .card {
    background: #1a1a2e;
    border-color: rgba(255, 255, 255, .05);
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .15);
}
.banner {
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 50%, #16213e 100%);
}
.banner .glass {
    max-width: 650px;
}
.banner h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
}
.banner p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, .8);
    margin-bottom: 30px;
}
.dark .banner {
    background: linear-gradient(135deg, #0a0a15, #1a1a2e);
}
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    transition: all .3s;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
}
.dark .nav {
    background: rgba(15, 15, 26, .9);
    border-color: rgba(255, 255, 255, .05);
}
.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}
.nav-links a {
    color: #333;
    font-weight: 500;
    transition: color .3s;
    position: relative;
}
.dark .nav-links a {
    color: #ddd;
}
.nav-links a.active,
.nav-links a:hover {
    color: #e94560;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e94560;
    transition: width .3s;
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}
.menu-toggle span {
    width: 28px;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: all .3s;
}
.dark .menu-toggle span {
    background: #ddd;
}
.footer {
    background: #1a1a2e;
    color: rgba(255, 255, 255, .8);
    padding: 60px 0 30px;
}
.dark .footer {
    background: #0a0a15;
}
.footer a {
    color: rgba(255, 255, 255, .7);
}
.footer a:hover {
    color: #e94560;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 20px;
    text-align: center;
    font-size: .9rem;
}
.svg-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
    fill: currentColor;
}
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e94560, #0f3460);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    border: none;
    z-index: 999;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    transform: scale(1.1);
}
.banner-slider {
    position: relative;
    width: 100%;
}
.slide {
    display: none;
    animation: fadeIn .8s ease;
}
.slide.active {
    display: block;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e94560;
    margin: 10px 0;
}
.dark .counter {
    color: #ff6b81;
}
.faq-item {
    margin-bottom: 15px;
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .05);
}
.dark .faq-item {
    background: #1a1a2e;
}
.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background .3s;
}
.faq-question:hover {
    background: rgba(233, 69, 96, .05);
}
.faq-question .icon {
    transition: transform .3s;
    font-size: 1.2rem;
}
.faq-item.open .faq-question .icon {
    transform: rotate(45deg);
}
.faq-answer {
    padding: 0 20px 20px;
    display: none;
    line-height: 1.8;
    color: #555;
}
.dark .faq-answer {
    color: #bbb;
}
.faq-item.open .faq-answer {
    display: block;
}
.article-card .date {
    color: #999;
    font-size: .9rem;
    margin-bottom: 10px;
    display: block;
}
.article-card h3 {
    margin-bottom: 10px;
}
.article-card p {
    color: #666;
    margin-bottom: 15px;
}
.dark .article-card p {
    color: #aaa;
}
.search-box {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 20px auto;
}
.search-box input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, .1);
    background: rgba(255, 255, 255, .8);
    font-size: 1rem;
    outline: none;
    transition: border .3s;
}
.dark .search-box input {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
    color: #fff;
}
.search-box input:focus {
    border-color: #e94560;
}
.search-box button {
    padding: 12px 25px;
    border-radius: 50px;
    background: linear-gradient(135deg, #e94560, #0f3460);
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
}
.qrcode {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #e94560, #0f3460);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    text-align: center;
    padding: 10px;
    margin: 10px auto;
}
.tag {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    background: rgba(233, 69, 96, .1);
    color: #e94560;
    font-size: .85rem;
    margin: 5px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}
.stats-grid .stat {
    padding: 30px;
    background: rgba(255, 255, 255, .05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, .98);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    }
    .dark .nav-links {
        background: rgba(15, 15, 26, .98);
    }
    .nav-links.open {
        display: flex;
    }
    .menu-toggle {
        display: flex;
    }
    .banner h1 {
        font-size: 2rem;
    }
    .banner {
        min-height: 60vh;
        padding: 80px 0;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .container {
        padding: 0 15px;
    }
    section {
        padding: 50px 0;
    }
}
@media (max-width: 480px) {
    .banner h1 {
        font-size: 1.6rem;
    }
    .btn {
        padding: 10px 20px;
    }
    .grid {
        grid-template-columns: 1fr;
    }
}
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all .6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all .7s ease;
}
.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}