/* main.css - 主样式文件 */

/* --- 促销横幅 --- */
.promo-banner {
    max-width: 600px;
    margin: 0 auto 15px;
    padding: 0 10px;
    opacity: 0;
    animation: promoBannerFadeIn 0.8s ease-out 0.3s forwards;
}

@keyframes promoBannerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.promo-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 107, 53, 0.15));
    border: 1.5px solid rgba(255, 215, 0, 0.4);
    border-radius: 12px;
    padding: 14px 18px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.2);
}

.promo-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffd700;
    letter-spacing: 0.8px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    line-height: 1.4;
    margin-bottom: 6px;
}

.promo-subtitle {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-top: 4px;
    font-weight: 500;
}

.promo-icon {
    font-size: 1rem;
    display: inline-block;
    animation: promoIconBounce 2s ease-in-out infinite;
}

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

/* --- 网络提示模块 --- */
.network-section {
    max-width: 600px;
    margin: 15px auto 20px;
    padding: 0 10px;
}

.network-tool-card {
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.12), rgba(16, 185, 129, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    backdrop-filter: blur(10px);
    animation: networkNoticeFadeIn 0.6s ease-out 0.4s forwards;
    opacity: 0;
}

@keyframes networkNoticeFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.network-tool-card:hover {
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.15);
    transform: translateY(-2px);
}

.network-tool-card:active {
    transform: translateY(0);
}

.network-tool-card:focus {
    outline: 2px solid rgba(16, 185, 129, 0.5);
    outline-offset: 2px;
}

.network-tool-icon {
    font-size: 1.35rem;
    flex-shrink: 0;
    line-height: 1;
}

.network-tool-body {
    flex: 1;
    min-width: 0;
}

.network-tool-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.network-tool-tip {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.45;
    margin: 0 0 12px;
}

.network-tool-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    margin: 0 -4px 0 0;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.28);
}

.network-tool-card:hover .network-tool-cta {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
}

.network-tool-cta-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.network-tool-cta-text {
    flex: 1;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
}

.network-tool-cta-arrow {
    font-size: 1.1rem;
    color: rgba(52, 211, 153, 0.95);
    font-weight: 700;
    transition: transform 0.25s ease;
}

.network-tool-card:hover .network-tool-cta-arrow {
    transform: translateX(4px);
}

/* --- 品牌网格 --- */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 10px;
}

.brand-item {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px 12px 14px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    animation: brandItemFadeIn 0.6s ease-out forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    will-change: transform, box-shadow;
}

.brand-item:nth-child(1) { animation-delay: 0.1s; }
.brand-item:nth-child(2) { animation-delay: 0.15s; }
.brand-item:nth-child(3) { animation-delay: 0.2s; }
.brand-item:nth-child(4) { animation-delay: 0.25s; }

@keyframes brandItemFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.brand-reg-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 280px;
    margin-top: 10px;
    position: relative;
    z-index: 3;
}

.brand-reg-btn {
    display: block;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    border: none;
    cursor: pointer;
}

.brand-reg-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.brand-reg-btn:active {
    transform: scale(0.97);
}

.brand-reg-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* 品牌特定按钮颜色 */
.item-lewan .brand-reg-btn {
    background: linear-gradient(135deg, var(--lewan), #ffb84d);
}

.item-touhao .brand-reg-btn {
    background: linear-gradient(135deg, var(--touhao), #67e8f9);
}

.item-ued .brand-reg-btn {
    background: linear-gradient(135deg, var(--ued), #60a5fa);
}

.item-jxf .brand-reg-btn {
    background: linear-gradient(135deg, var(--jxf), #f87171);
}

.brand-rotate-hint {
    margin-top: 8px;
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
    pointer-events: none;
    z-index: 1;
}

.brand-item .title {
    font-size: 1.05rem;
    font-weight: 700;
    display: block;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 8px;
    position: relative;
    z-index: 1;
}

.brand-item:hover .title {
    transform: scale(1.02);
}

.brand-item .vip-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    box-shadow: 0 1px 4px rgba(255, 215, 0, 0.3);
    z-index: 2;
}

/* 品牌悬停效果 */
.brand-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px) scale(1.03);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 40px rgba(255, 255, 255, 0.1);
}

.brand-item:active {
    transform: scale(0.96);
}

/* 品牌特定颜色 */
.item-lewan .title { color: var(--lewan); }
.item-lewan:hover { border-color: var(--lewan); }

.item-touhao .title { 
    color: var(--touhao);
    text-shadow: 0 0 15px rgba(34, 211, 238, 0.5);
}
.item-touhao:hover { 
    border-color: var(--touhao);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(34, 211, 238, 0.2),
        inset 0 0 30px rgba(34, 211, 238, 0.2);
}

.item-ued .title { color: var(--ued); }
.item-ued:hover { border-color: var(--ued); }

.item-jxf .title { 
    color: var(--jxf);
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}
.item-jxf:hover { border-color: var(--jxf); }

/* --- 信任保障模块 --- */
.trust-section {
    max-width: 600px;
    margin: 30px auto 25px;
    padding: 0 10px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.trust-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.trust-icon {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.trust-text {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* --- 客服模块 --- */
.service-section {
    max-width: 600px;
    margin: 30px auto 25px;
    padding: 0 10px;
}

.service-title {
    text-align: center;
    font-size: 0.95rem;
    color: #94a3b8;
    margin-bottom: 15px;
    opacity: 0.9;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
}

.service-title::before,
.service-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.service-title::before { left: 0; }
.service-title::after { right: 0; }

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.service-item {
    background: var(--glass);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 18px 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: serviceItemFadeIn 0.6s ease-out 0.5s forwards;
}

.service-item:nth-child(2) {
    animation-delay: 0.6s;
}

@keyframes serviceItemFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-item:hover {
    background: var(--glass-hover);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.service-item:active {
    transform: scale(0.96);
}

.service-item:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.service-wangwang {
    border-color: rgba(255, 107, 53, 0.4);
}

.service-wangwang:hover {
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.5), 0 8px 32px rgba(0, 0, 0, 0.4);
    border-color: var(--wangwang);
}

.service-feiyu {
    border-color: rgba(0, 212, 255, 0.4);
}

.service-feiyu:hover {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5), 0 8px 32px rgba(0, 0, 0, 0.4);
    border-color: var(--feiyu);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    line-height: 1;
    transition: transform 0.3s;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* 旺旺图标样式 */
.service-wangwang .service-icon {
    width: