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

body {
    font-family: 'PingFang SC', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #fafbfc;
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;
    padding-top: 300px;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 10;
}

/* 全屏推广横幅样式 */
.full-banner-section {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.banner-placeholder {
    background: #fafbfc;
    width: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    z-index: 1;
}

.banner-overlay {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.banner-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.banner-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.header {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px 0;
}

.logo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 50;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

.title {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0;
}

.countdown-section {
    background: #fff;
    border-radius: 8px;
    padding: 12px 20px;
    margin-bottom: 18px;
    border: 1px solid #e8ecef;
}

.countdown-title {
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #6c757d;
    margin-bottom: 10px;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #2c3e50;
    border-radius: 6px;
    padding: 8px 6px;
    min-width: 36px;
    box-shadow: 0 2px 4px rgba(44, 62, 80, 0.1);
}

.number {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
}

.label {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2px;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
}

.separator {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 4px;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
}

.form-section {
    margin-bottom: 25px;
}

.form-container {
    background: #fff;
    border-radius: 16px;
    padding: 35px 30px;
    border: 1px solid #e8ecef;
}

.form-container h2 {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 30px;
}

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

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 10px;
}

.input-group input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background: #fff;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #2c3e50;
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: #2c3e50;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.submit-btn:hover {
    background: #34495e;
    transform: translateY(-1px);
}

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

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.loading {
    display: none;
}

.benefits-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e8ecef;
}

.benefits-section h3 {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #7f8c8d;
    margin-bottom: 15px;
}

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

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #2c3e50;
    border: 1px solid #e8ecef;
}

.benefit-icon {
    font-size: 18px;
    margin-bottom: 6px;
}

.benefit-text {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

.rules-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e8ecef;
}

.rules-section h4 {
    font-size: 14px;
    font-weight: 500;
    color: #7f8c8d;
    margin-bottom: 12px;
}

.rules-list {
    list-style: none;
    padding: 0;
}

.rules-list li {
    font-size: 13px;
    color: #95a5a6;
    margin-bottom: 6px;
    padding-left: 16px;
    position: relative;
}

.rules-list li:before {
    content: '•';
    color: #bdc3c7;
    font-weight: normal;
    position: absolute;
    left: 0;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    max-width: 350px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    margin-bottom: 20px;
}

.modal-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.modal-icon.success {
    color: #4caf50;
}

.modal-icon.error {
    color: #f44336;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.modal-body p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 25px;
}

.modal-btn {
    background: #2c3e50;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn:hover {
    background: #34495e;
    transform: translateY(-1px);
}

.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(44, 62, 80, 0.7);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 1s;
    animation-duration: 8s;
}

.particle:nth-child(3) {
    left: 70%;
    animation-delay: 2s;
    animation-duration: 7s;
}

.particle:nth-child(4) {
    left: 80%;
    animation-delay: 3s;
    animation-duration: 9s;
}

.particle:nth-child(5) {
    left: 90%;
    animation-delay: 4s;
    animation-duration: 5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10%, 90% {
        opacity: 1;
    }
    50% {
        transform: translateY(-10vh) rotate(180deg);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .title {
        font-size: 20px;
    }
    
    .number {
        font-size: 14px;
    }
    
    .time-unit {
        min-width: 32px;
        padding: 6px 4px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .benefit-text {
        font-size: 11px;
    }
    
    .banner-placeholder {
        min-height: 200px;
    }
    
    body {
        padding-top: 200px;
    }
    
    .logo {
        bottom: 15px;
        right: 15px;
    }
    
    .logo img {
        width: 40px;
        height: 40px;
    }
    
    .banner-text h2 {
        font-size: 24px;
    }
    
    .banner-text p {
        font-size: 14px;
    }
}