/* 166win - 独特CSS设计 - 前缀: w166 */
* {margin: 0; padding: 0; box-sizing: border-box;}

:root {
    --w166-purple: #9c27b0;
    --w166-dark: #1a0a2e;
    --w166-gold: #ffd700;
    --w166-light: #f5f5f5;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 100%);
    color: #fff;
    line-height: 1.7;
}

/* 头部 - 固定顶部 */
.w166-header {
    background: rgba(26, 10, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 3px solid var(--w166-purple);
}

.w166-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
}

.w166-nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.w166-logo img {height: 55px;}

.w166-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.w166-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    position: relative;
}

.w166-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--w166-gold);
    transition: width 0.3s;
}

.w166-menu a:hover::after {width: 100%;}
.w166-menu a:hover {color: var(--w166-gold);}

.w166-btn-play {
    background: linear-gradient(135deg, var(--w166-purple), #d500f9);
    color: #fff;
    padding: 0.9rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(156, 39, 176, 0.4);
    transition: all 0.3s;
}

.w166-btn-play:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(156, 39, 176, 0.6);
}

/* Hero区 */
.w166-hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.w166-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 卡片网格 - 新布局 */
.w166-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.w166-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
}

.w166-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--w166-gold);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
}

.w166-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.w166-card-body {
    padding: 2rem;
}

.w166-card-title {
    font-size: 1.6rem;
    color: var(--w166-gold);
    margin-bottom: 1rem;
}

.w166-card-text {
    color: #ddd;
    line-height: 1.7;
}

/* 区块 */
.w166-section {
    padding: 5rem 0;
}

.w166-section-dark {
    background: rgba(0, 0, 0, 0.3);
}

.w166-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--w166-purple), var(--w166-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.w166-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: #bbb;
    margin-bottom: 3rem;
}

/* 图标网格 */
.w166-icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.w166-icon-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    transition: all 0.3s;
}

.w166-icon-item:hover {
    background: rgba(156, 39, 176, 0.2);
    transform: scale(1.05);
}

.w166-icon-item img {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
    border-radius: 50%;
}

.w166-icon-item h3 {
    color: var(--w166-gold);
    margin-bottom: 0.5rem;
}

/* FAQ */
.w166-faq {
    max-width: 900px;
    margin: 0 auto;
}

.w166-faq-item {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 1.5rem;
    border-radius: 15px;
    padding: 2rem;
    border-left: 5px solid var(--w166-purple);
}

.w166-faq-q {
    font-size: 1.3rem;
    color: var(--w166-gold);
    margin-bottom: 1rem;
    font-weight: bold;
}

.w166-faq-a {
    color: #ddd;
    line-height: 1.8;
}

/* 评价 */
.w166-reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.w166-review {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    border-top: 4px solid var(--w166-gold);
}

.w166-review-author {
    font-weight: bold;
    color: var(--w166-purple);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.w166-review-stars {
    color: var(--w166-gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.w166-review-text {
    color: #ddd;
    font-style: italic;
    line-height: 1.7;
}

/* 页脚 */
.w166-footer {
    background: #0d0520;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

.w166-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.w166-footer h3 {
    color: var(--w166-gold);
    margin-bottom: 1.5rem;
}

.w166-footer ul {
    list-style: none;
}

.w166-footer a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.w166-footer a:hover {
    color: var(--w166-gold);
}

.w166-footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #777;
}

/* 浮动吉祥物 */
.w166-mascot {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 110px;
    height: 110px;
    z-index: 998;
    animation: w166-bounce 3s ease-in-out infinite;
}

@keyframes w166-bounce {
    0%, 100% {transform: translateY(0) rotate(0deg);}
    50% {transform: translateY(-25px) rotate(5deg);}
}

/* 响应式 */
@media (max-width: 768px) {
    .w166-menu {display: none;}
    .w166-title {font-size: 2rem;}
    .w166-card-grid {grid-template-columns: 1fr;}
    .w166-hero {height: 400px;}
}

.w166-text-center {text-align: center;}
.w166-mt-3 {margin-top: 3rem;}
.w166-mb-3 {margin-bottom: 3rem;}

.w166-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--w166-purple), #d500f9);
    color: #fff;
    padding: 1.2rem 3rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(156, 39, 176, 0.4);
    transition: all 0.3s;
}

.w166-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(156, 39, 176, 0.6);
}
