* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: #f7f7f7;
    color: #333;
    line-height: 1.6;
    padding: 0;
    margin: 0 auto;
    max-width: 720px;
}

.container {
    max-width: 100%;
    padding: 15px;
    margin: 0 auto;
}

header {
    background: linear-gradient(135deg, #07C160 0%, #09BB07 100%);
    color: white;
    padding: 20px 15px;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 12px rgba(7, 193, 96, 0.2);
    margin-bottom: 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.logo {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.logo i {
    color: #07C160;
    font-size: 28px;
}

h1 {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}

.breadcrumb {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 5px;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
}

.card-title i {
    margin-right: 10px;
    color: #07C160;
}

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

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: #07C160;
    box-shadow: 0 0 0 2px rgba(7, 193, 96, 0.2);
}

.recharge-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
    list-style: none;
    padding: 0;
}

.option {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px 10px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.option:hover {
    border-color: #07C160;
    background-color: rgba(7, 193, 96, 0.05);
}

.option.selected {
    border-color: #07C160;
    background-color: rgba(7, 193, 96, 0.1);
    position: relative;
}

.option.selected::after {
    content: '';
    display: none;
}

.hot {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(45deg, #ff3434, #ff6b6b);
    color: white;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: bold;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}


.beans {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.price {
    font-size: 14px;
    color: #07C160;
    font-weight: bold;
    text-align: right;
    align-self: flex-end;
}

.bonus {
    font-size: 12px;
    color: #555;
    text-align: left;
}

.payment-toggle-checkbox {
    display: none;
}

.payment-methods {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:10px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background-color: #fafafa;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 5px;
    margin-bottom: -5px;
}

.payment-methods:hover {
    border-color: #07C160;
    background-color: rgba(7, 193, 96, 0.05);
}

.current-payment {
    display: flex;
    align-items: center;
}

.current-payment .payment-icon {
    width: 24px;
    height: 24px;
    font-size: 16px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    transform: translateY(5px);
}

.payment-text {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.2;
    display: flex;
    align-items: center;
}

.more-arrow {
    color: #999;
    font-size: 16px;
    transition: transform 0.3s;
}

.payment-toggle-checkbox:checked ~ .payment-methods .more-arrow {
    transform: rotate(90deg);
}

.payment-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 12px;
}

.payment-toggle-checkbox:checked ~ .payment-list {
    max-height: 200px;
}

.payment-method {
    flex: 1;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
}

.payment-method:hover {
    border-color: #07C160;
}

.payment-method.selected {
    border-color: #07C160;
    background-color: rgba(7, 193, 96, 0.1);
}

.payment-icon {
    font-size: 30px;
    margin-bottom: 8px;
    display: block;
}

.alipay-icon {
    color: #1677ff;
}

.wechat-icon {
    color: #07C160;
}

.payment-method .text {
    font-size: 14px;
    font-weight: 500;
}

.btn-recharge {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #07C160 0%, #09BB07 100%);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 16px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 25px;
    box-shadow: 0 4px 10px rgba(7, 193, 96, 0.3);
    transition: all 0.3s;
}

.btn-recharge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(7, 193, 96, 0.4);
}

.btn-recharge:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(7, 193, 96, 0.3);
}

.btn-recharge[disabled] {
    opacity: .7;
    cursor: not-allowed;
}

.agreement-text {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 12px;
    line-height: 1.4;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 6px;
    border: none;
    border-radius: 8px;
    margin-bottom: 6px;
    cursor: pointer;
    transition: all 0.3s;
    background-color: #fff;
    min-height: 16px;
    
}

.payment-option:hover {
    border-color: #07C160;
    background-color: rgba(7, 193, 96, 0.05);
}

.payment-option:last-child {
    margin-bottom: 0;
}

.payment-option .payment-icon {
    width: 28px;
    height: 28px;
    font-size: 18px;
    margin-right: 10px;
    text-align: center;
    line-height: 28px;
    align-self: center;
    transform: translateY(5px);
}

.payment-info {
    flex: 1;
    display: flex;
    align-items: center;
    align-self: center;
}

.payment-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.2;
    display: flex;
    align-items: center;
}

.check-icon {
    color: #07C160;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s;
}

.check-icon.selected {
    opacity: 1;
}

.floating-payment-card {
    position: fixed;
    bottom: -20px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    max-width: 720px;
    width: 100%;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    background: white;
    z-index: 10;
}

.info-box {
    background-color: #f8f9fa;
    border-left: 4px solid #07C160;
    padding: 12px 15px;
    font-size: 13px;
    border-radius: 4px;
    margin-top: 20px;
}

.features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

.feature {
    display: flex;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #07C160 0%, #09BB07 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-icon i {
    color: white;
    font-size: 20px;
}

.feature-content h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.feature-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

footer {
    text-align: center;
    padding: 25px 15px;
    color: #666;
    font-size: 12px;
    background-color: #f1f1f1;
    border-radius: 12px 12px 0 0;
    margin-top: 30px;
    margin-bottom:280px;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    color: #07C160;
    text-decoration: underline;
}

.copyright {
    margin-bottom: 8px;
}

.icp {
    margin-top: 8px;
}

.faq-list {
    margin-top: 20px;
    margin: 0;
    padding: 0;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e8e8e8;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.faq-question i {
    color: #07C160;
    margin-right: 12px;
    font-size: 16px;
}

.faq-answer {
    background: white;
    margin: 0;
}

.faq-answer p {
    margin: 0;
    padding: 20px;
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

@media (min-width: 768px) {
    .features {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 769px) {
    .floating-payment-card {
        position: static;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        margin-top: 20px;
        margin-bottom: 20px;
        transform: none;
        left: auto;
        max-width: 100%;
        width: auto;
    }
}

@media (max-width: 768px) {
    .recharge-options {
        grid-template-columns: repeat(2, 1fr);
    }
}
