* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: #0f0f1e;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 119, 198, 0.3), transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(138, 180, 248, 0.3), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* 头部 */
.header {
    text-align: center;
    color: white;
    margin-bottom: 50px;
    padding: 40px 20px;
}

.header h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 0 0 40px rgba(102, 126, 234, 0.5);
}

.subtitle {
    font-size: 1.3em;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    letter-spacing: 1px;
}

.header-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 奖品卡片 */
.prize-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.prize-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.prize-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.prize-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.prize-card:hover::before {
    opacity: 1;
}

.prize-card.grand {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.2) 0%, rgba(245, 87, 108, 0.2) 100%);
    border: 2px solid rgba(245, 87, 108, 0.5);
}

.prize-card.consolation {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.2) 0%, rgba(0, 242, 254, 0.2) 100%);
    border: 2px solid rgba(79, 172, 254, 0.5);
}

.prize-icon {
    font-size: 3em;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.prize-title {
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
    letter-spacing: 1px;
}

.prize-amount {
    font-size: 2em;
    font-weight: 900;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.prize-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1em;
    font-weight: 300;
}

/* 倒计时 */
.countdown-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.countdown-label {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    font-weight: 300;
    letter-spacing: 1px;
}

.countdown {
    font-size: 2em;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

/* 开始按钮 */
.start-section {
    text-align: center;
    margin-bottom: 60px;
}

.start-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    border: none;
    padding: 25px 80px;
    font-size: 1.6em;
    font-weight: 700;
    border-radius: 60px;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.start-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.start-btn:hover::before {
    width: 300px;
    height: 300px;
}

.start-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.7);
}

.start-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.start-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* 获奖者展示 */
.winners-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.winners-section h2 {
    color: white;
    margin-bottom: 30px;
    text-align: center;
    font-size: 2em;
    font-weight: 700;
    letter-spacing: 1px;
}

.winners-display {
    display: grid;
    gap: 20px;
}

.winner-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 25px 30px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
}

.winner-card:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.winner-card.grand-prize {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.3) 0%, rgba(245, 87, 108, 0.3) 100%);
    border: 2px solid rgba(245, 87, 108, 0.6);
}

.winner-card.consolation-prize {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.2) 0%, rgba(0, 242, 254, 0.2) 100%);
    border: 1px solid rgba(79, 172, 254, 0.4);
}

.winner-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 0.95em;
    font-weight: 600;
    color: white;
    white-space: nowrap;
}

.winner-info {
    flex: 1;
}

.winner-name {
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.winner-time {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95em;
}

.no-winners {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    padding: 60px;
    font-size: 1.2em;
    font-weight: 300;
}

/* 公开对话 */
.public-conversations {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.public-conversations h2 {
    color: white;
    margin-bottom: 15px;
    text-align: center;
    font-size: 2em;
    font-weight: 700;
    letter-spacing: 1px;
}

.section-desc {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 35px;
    font-size: 1.05em;
}

.conversations-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.conversation-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.conversation-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.conversation-card.success {
    border: 2px solid rgba(245, 87, 108, 0.6);
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.15) 0%, rgba(245, 87, 108, 0.15) 100%);
}

.conversation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.conversation-user {
    font-weight: 600;
    color: white;
    font-size: 1.1em;
}

.conversation-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85em;
}

.conversation-preview {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.95em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.success-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    margin-left: 10px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(245, 87, 108, 0.4);
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-content h2 {
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.modal-desc {
    color: #666;
    text-align: center;
    margin-bottom: 25px;
}

.modal-content input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1em;
    margin-bottom: 15px;
    transition: border-color 0.3s;
}

.modal-content input:focus {
    outline: none;
    border-color: #667eea;
}

.cf-turnstile {
    margin: 20px auto;
    display: flex;
    justify-content: center;
}

.submit-btn, .cancel-btn, .btn-secondary {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    font-weight: 600;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.5);
}

.cancel-btn, .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cancel-btn:hover, .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* 聊天界面 */
.chat-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-title h2 {
    margin-bottom: 5px;
}

.turn-counter {
    font-size: 0.9em;
    opacity: 0.9;
}

.back-btn, .home-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.back-btn:hover, .home-btn:hover {
    background: rgba(255,255,255,0.3);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
}

.message {
    margin-bottom: 20px;
    display: flex;
}

.message.user {
    justify-content: flex-end;
}

.message-content {
    max-width: 70%;
    padding: 15px 20px;
    border-radius: 18px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.message.user .message-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 18px 18px 0 18px;
}

.message.assistant .message-content {
    background: white;
    color: #333;
    border: 1px solid #e0e0e0;
    border-radius: 18px 18px 18px 0;
}

.loading-dots {
    display: flex;
    gap: 5px;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background: #667eea;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

.chat-input-section {
    padding: 20px;
    background: white;
    border-radius: 0 0 20px 20px;
    border-top: 1px solid #e0e0e0;
}

.chat-status {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9em;
}

.chat-status.success {
    background: #d4edda;
    color: #155724;
}

.chat-status.error {
    background: #f8d7da;
    color: #721c24;
}

.chat-status.warning {
    background: #fff3cd;
    color: #856404;
}

.chat-input-wrapper {
    display: flex;
    gap: 10px;
}

#messageInput {
    flex: 1;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1em;
    resize: none;
    font-family: inherit;
    transition: border-color 0.3s;
}

#messageInput:focus {
    outline: none;
    border-color: #667eea;
}

.send-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s;
}

.send-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 用户页面 */
.user-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.new-chat-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    border: none;
    padding: 20px;
    border-radius: 16px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 30px;
    transition: all 0.3s;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.new-chat-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.6);
}

.user-conversations {
    display: grid;
    gap: 15px;
}

.user-conversation-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-conversation-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(5px);
}

.user-conversation-card.success {
    border: 2px solid rgba(245, 87, 108, 0.6);
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.15) 0%, rgba(245, 87, 108, 0.15) 100%);
}

.user-conversation-card.inactive {
    opacity: 0.6;
}

.conversation-header {
    color: white;
    margin-bottom: 10px;
}

.conversation-preview {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95em;
}

/* 管理员页面 */
.admin-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.admin-section h2 {
    color: white;
    margin-bottom: 30px;
    font-size: 1.8em;
}

.admin-conversations {
    display: grid;
    gap: 20px;
}

.admin-conversation-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.admin-conversation-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.admin-conversation-card.success {
    border: 2px solid rgba(245, 87, 108, 0.6);
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.15) 0%, rgba(245, 87, 108, 0.15) 100%);
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.admin-user-section {
    flex: 1;
}

.admin-user-name {
    font-size: 1.3em;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-icon {
    font-size: 1.2em;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.7em;
    font-weight: 600;
}

.status-badge.success {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.status-badge.active {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.status-badge.inactive {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

.admin-user-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95em;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
}

.info-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.admin-password-info {
    background: rgba(245, 87, 108, 0.2);
    padding: 10px 15px;
    border-radius: 10px;
    color: white;
    font-size: 0.95em;
    margin-top: 10px;
}

.admin-password-info strong {
    color: #f5576c;
    font-size: 1.1em;
}

.admin-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 120px;
}

.view-btn, .hide-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.view-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5);
}

.hide-btn {
    background: rgba(220, 53, 69, 0.8);
    color: white;
}

.hide-btn:hover {
    background: rgba(220, 53, 69, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.5);
}

.hidden-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    font-size: 0.9em;
    text-align: center;
}

.admin-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    animation: slideInRight 0.3s;
    font-weight: 600;
}

.admin-alert.fade-out {
    animation: fadeOut 0.3s;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.no-data {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    padding: 60px;
    font-size: 1.2em;
}

/* 页脚 */
.footer {
    text-align: center;
    color: white;
    padding: 30px;
    opacity: 0.8;
}

.footer p {
    margin: 5px 0;
}

/* 加载动画 */
.loading {
    text-align: center;
    color: #999;
    padding: 40px;
}

/* 自定义弹窗 */
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.custom-alert {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    text-align: center;
    animation: slideUp 0.3s;
}

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

.custom-alert.success {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.95) 0%, rgba(245, 87, 108, 0.95) 100%);
    color: white;
}

.custom-alert-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.custom-alert-message {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 30px;
    white-space: pre-line;
}

.custom-alert.success .custom-alert-message {
    color: white;
}

.custom-alert-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 50px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.custom-alert.success .custom-alert-btn {
    background: white;
    color: #f5576c;
}

.custom-alert-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .header h1 {
        font-size: 1.8em;
    }
    
    .subtitle {
        font-size: 1em;
    }
    
    .prize-section {
        grid-template-columns: 1fr;
    }
    
    .start-btn {
        padding: 15px 40px;
        font-size: 1.2em;
    }
    
    .modal-content {
        padding: 25px;
    }
    
    .message-content {
        max-width: 85%;
    }
    
    .chat-container {
        border-radius: 0;
        height: 100vh;
    }
    
    .chat-header {
        border-radius: 0;
    }
}

/* 响应式 */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .header h1 {
        font-size: 2em;
    }
    
    .subtitle {
        font-size: 1em;
    }
    
    .prize-section {
        grid-template-columns: 1fr;
    }
    
    .start-btn {
        padding: 20px 50px;
        font-size: 1.3em;
    }
    
    .modal-content {
        padding: 25px;
    }
    
    .message-content {
        max-width: 85%;
    }
    
    .chat-container {
        border-radius: 0;
        height: 100vh;
    }
    
    .chat-header {
        border-radius: 0;
    }
    
    .conversations-list {
        grid-template-columns: 1fr;
    }
}
