/* 科技感抽奖活动样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0a192f 0%, #172a45 100%);
    color: #e6f1ff;
    min-height: 100vh;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #64ffda, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header p {
    font-size: 1.2rem;
    color: #a8b2d1;
}

.lottery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
}

.lottery-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    
    .form-row .form-group {
        margin-bottom: 20px;
    }
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #a8b2d1;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #e6f1ff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #64ffda;
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
}

.btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #64ffda, #00bfff);
    border: none;
    border-radius: 8px;
    color: #0a192f;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(100, 255, 218, 0.3);
}

.btn:active {
    transform: translateY(0);
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.prize-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.prize-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(100, 255, 218, 0.2);
    border-color: #64ffda;
}

.prize-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.prize-card h3 {
    margin-bottom: 10px;
    color: #e6f1ff;
}

.prize-card p {
    font-size: 0.9rem;
    color: #a8b2d1;
    margin-bottom: 10px;
}

.prize-card .probability {
    font-size: 0.8rem;
    color: #64ffda;
    font-weight: 600;
}

.result-container {
    text-align: center;
    padding: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin: 30px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.result-container h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #64ffda, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-container .prize-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.result-container .prize-name {
    font-size: 2rem;
    margin: 20px 0;
    color: #e6f1ff;
}

.result-container .prize-description {
    font-size: 1.2rem;
    color: #a8b2d1;
    margin-bottom: 30px;
}

.records-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    margin-top: 30px;
}

.records-container h2 {
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #64ffda, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.records-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.records-table th,
.records-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.records-table th {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
    color: #64ffda;
}

.records-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: #e6f1ff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: rgba(100, 255, 218, 0.2);
    color: #64ffda;
}

/* 动画效果 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .lottery-container {
        flex-direction: column;
        align-items: center;
    }
    
    .lottery-box {
        width: 100%;
        max-width: 100%;
    }
    
    .prizes-grid {
        grid-template-columns: 1fr;
    }
    
    .result-container {
        padding: 30px;
    }
    
    .result-container .prize-image {
        width: 150px;
        height: 150px;
    }
}

/* 漂浮客服按钮 */
.floating-service-btn {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #64ffda, #00bfff);
    color: #0a192f;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.4);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
}

.floating-service-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.6);
}

/* 页面内客服按钮 */
.service-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(45deg, #64ffda, #00bfff);
    color: #0a192f;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.3);
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(100, 255, 218, 0.4);
}