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

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    line-height: 1.5;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    color: #fff;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.header .subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.main-content {
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 40px;
}

.terms-section h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.terms-content {
    padding: 0;
}

.terms-content p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
}

.terms-content .indent {
    text-indent: 2em;
}

.agreement-section {
    margin: 30px 0;
}

.agreement-section label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: #444;
}

.agreement-section input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
}

.button-section {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.btn {
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #f5f5f5;
    color: #555;
    border: 1px solid #ddd;
}

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

.btn:not(:disabled):hover {
    transform: translateY(-2px);
}

.btn-primary:not(:disabled):hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-secondary:not(:disabled):hover {
    background: #eee;
    border-color: #ccc;
}

.footer {
    text-align: center;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }

    .header h1 {
        font-size: 1.8rem;
    }

    .main-content {
        padding: 25px 20px;
    }

    .button-section {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
    }
}