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

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

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

/* Header */
.header {
    text-align: center;
    margin-bottom: 30px;
    color: white;
}

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

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

/* Features Section */
.features-section {
    margin-bottom: 30px;
}

.features-section h2 {
    color: white;
    text-align: center;
    margin-bottom: 25px;
    font-size: 2rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: #1f2937;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.feature-card p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Notice Card */
.notice-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fcd34d 100%);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.notice-card h3 {
    color: #92400e;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.notice-content ul {
    margin: 15px 0;
    padding-left: 0;
}

.notice-content li {
    list-style: none;
    margin: 8px 0;
    color: #78350f;
    font-size: 0.95rem;
}

.notice-card p {
    color: #92400e;
    font-size: 0.95rem;
    margin: 10px 0;
}

/* Main Content */
.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

/* Panel Base Style */
.recharge-panel, .account-panel {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

.recharge-panel h2, .account-panel h2 {
    color: #3b82f6;
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: 600;
}

/* Input Sections */
.input-section, .cdk-input-section {
    margin-bottom: 25px;
}

.input-section label, .cdk-input-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.input-section input, .cdk-input-section input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.input-section input:focus, .cdk-input-section input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* CDK Section */
.cdk-section {
    background: #f8fafc;
    padding: 20px;
    border-radius: 15px;
    margin-top: 20px;
}

.cdk-section h3 {
    color: #1f2937;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.cdk-section p {
    color: #6b7280;
    margin-bottom: 15px;
}

.tips {
    background: #eff6ff;
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    border-left: 4px solid #3b82f6;
}

.tips p {
    margin: 5px 0;
    color: #1e40af;
    font-size: 0.9rem;
}

/* Buttons */
.cdk-buy-btn, .verify-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.cdk-buy-btn:hover, .verify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.4);
}

.cdk-buy-btn {
    width: 100%;
    margin-bottom: 20px;
}

.verify-btn {
    margin-top: 10px;
    width: 100%;
}

/* Account Info */
.account-info {
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item label {
    font-weight: 500;
    color: #374151;
}

.info-item span {
    color: #6b7280;
    font-weight: 400;
}

/* Operation Logs */
.operation-logs h3 {
    color: #1f2937;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.logs-container {
    background: #f8fafc;
    padding: 15px;
    border-radius: 10px;
    min-height: 100px;
    max-height: 200px;
    overflow-y: auto;
}

.no-logs {
    color: #9ca3af;
    text-align: center;
    font-style: italic;
}

/* Quick Links Section */
.quick-links-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

.quick-links-section h2 {
    color: #3b82f6;
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.link-card {
    display: flex;
    align-items: center;
    padding: 25px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 15px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
    text-decoration: none;
    color: white;
}

.link-icon {
    font-size: 2rem;
    margin-right: 20px;
}

.link-card h3 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.link-card p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.link-arrow {
    margin-left: auto;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Tutorial Section */
.tutorial-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

.tutorial-section h2 {
    color: #3b82f6;
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
}

.tutorial-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateX(5px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-content h3 {
    color: #1f2937;
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.step-content p {
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* Warranty Section */
.warranty-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

.warranty-section h2 {
    color: #3b82f6;
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
}

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

.warranty-card {
    text-align: center;
    padding: 25px 20px;
    background: #f8fafc;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.warranty-card:hover {
    transform: translateY(-5px);
}

.warranty-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.warranty-card h3 {
    color: #1f2937;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.warranty-card p {
    color: #6b7280;
    margin-bottom: 8px;
    line-height: 1.5;
}

.warranty-card small {
    color: #9ca3af;
    font-size: 0.85rem;
}

/* Customer Service */
.customer-service {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    text-align: center;
}

.customer-service h2 {
    color: #3b82f6;
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: 600;
}

.service-info {
    max-width: 500px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f0f9ff;
    border-radius: 10px;
}

.service-label {
    color: #1f2937;
    font-weight: 500;
    font-size: 1.1rem;
}

.service-value {
    color: #3b82f6;
    font-weight: 600;
    font-size: 1.2rem;
}

.service-note {
    text-align: left;
    background: #eff6ff;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #3b82f6;
}

.service-note p {
    color: #1e40af;
    margin: 8px 0;
    font-size: 0.95rem;
}

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
}

.close:hover {
    color: #333;
}

.modal-body {
    text-align: center;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .recharge-panel, .account-panel {
        padding: 20px;
    }
    
    .recharge-panel h2, .account-panel h2 {
        font-size: 1.5rem;
    }
    
    .tutorial-section {
        padding: 20px;
    }
    
    .video-placeholder {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.8rem;
    }
    
    .header p {
        font-size: 1rem;
    }
    
    .recharge-panel, .account-panel, .tutorial-section {
        padding: 15px;
    }
    
    .notice-card {
        padding: 15px;
    }
    
    .modal-content {
        padding: 20px;
        margin: 20% auto;
    }
}