/* Reset & Basic Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    /* 深色诱惑背景：暗紫/红黑渐变 */
    background: #1a0b1f; /* Fallback */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* 手机端顶部对齐 */
    color: #fff;
    overflow-x: hidden;
    position: relative;
}

/* 动态背景层 */
.bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0f0518 0%, #220a24 50%, #15001d 100%);
    overflow: hidden;
}

/* 背景光斑动画 */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: floatShape 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: #ff0055;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: #7b4397;
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: #00d2ff;
    top: 40%;
    left: 60%;
    opacity: 0.4;
    animation-delay: -10s;
}

/* 网格纹理 */
.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    pointer-events: none;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, 50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* 容器 */
.container {
    width: 100%;
    max-width: 600px;
    min-height: 100vh;
    padding: 40px 20px;
    
    /* 深色玻璃拟态 */
    background: rgba(20, 10, 25, 0.25); /* 更加透明，透出背景动画 */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

/* PC端微调 */
@media (min-width: 601px) {
    .container {
        min-height: auto;
        border-radius: 30px;
        background: rgba(20, 10, 25, 0.5);
        border: 1px solid rgba(255, 0, 128, 0.2);
        box-shadow: 0 0 40px rgba(255, 0, 85, 0.15);
        margin: 50px 0;
        padding: 50px 30px;
    }
    
    body {
        align-items: center; /* PC端居中 */
    }
}

/* Logo Styles */
.logo-container {
    margin-bottom: 30px;
    margin-top: 10px;
    position: relative;
}

/* Logo光晕 */
.logo-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 0, 85, 0.4) 0%, transparent 70%);
    z-index: -1;
    animation: glow 3s infinite alternate;
}

.logo-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.5); /* 霓虹发光 */
    transition: all 0.5s ease;
}

.logo-img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 0, 85, 0.8);
    border-color: #ff0055;
}

@keyframes glow {
    0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.9); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* Announcement Styles */
.announcement-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-left: 4px solid #ff9f43;
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 10px;
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
    color: #ffcccc; /* 浅粉色文字 */
    width: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    backdrop-filter: blur(5px);
}

.announcement-title {
    font-weight: bold;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    color: #ff9f43; /* 橙色标题 */
    font-size: 15px;
}

/* Button Container */
.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}

/* Base Button Styles */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.btn:active {
    transform: scale(0.96);
}

/* Primary Button: 诱惑红/粉渐变 + 呼吸灯效 */
.btn-primary {
    background: linear-gradient(90deg, #ff0055 0%, #ff00cc 100%);
    color: white;
    box-shadow: 0 5px 20px rgba(255, 0, 85, 0.4);
    animation: pulseBtn 2s infinite;
    font-size: 18px; /* 主按钮更大 */
    padding: 18px;
}

@keyframes pulseBtn {
    0% { box-shadow: 0 0 0 0 rgba(255, 0, 85, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 0, 85, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 0, 85, 0); }
}

.btn-primary:hover {
    background: linear-gradient(90deg, #ff00cc 0%, #ff0055 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 85, 0.6);
}

/* Secondary Button: 深邃蓝紫 */
.btn-secondary {
    background: linear-gradient(90deg, #7b4397 0%, #dc2430 100%); /* 这里的渐变更有夜店感 */
    color: white;
    box-shadow: 0 5px 15px rgba(123, 67, 151, 0.4);
}

.btn-secondary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(123, 67, 151, 0.6);
}

/* VIP/Gold Button: 黑金尊贵 */
.btn-vip {
    background: linear-gradient(90deg, #d4af37 0%, #f1c40f 100%); /* 金色 */
    color: #333; /* 金底黑字 */
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    position: relative;
}

/* 流光效果 */
.btn-vip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

/* Outline Button: 幽灵按钮 */
.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ccc;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Fade In Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .logo-img {
        width: 130px;
        height: 130px;
    }
    
    .btn {
        font-size: 15px;
        padding: 15px;
    }
    
    .btn-primary {
        font-size: 17px;
    }
    
    .container {
        padding-top: 60px; /* 留出更多顶部空间 */
    }
}
