/* 渐变背景 */
.has-gradient-background {
    /*background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #4a69bd 100%);*/
    background-image: url(bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.has-gradient-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* 不透明，有点雾
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
        */
    pointer-events: none;
}

/* 购买卡片样式 */
.purchase-card {
    /* background: rgba(255, 255, 255, 0.95);*/
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

/* 单选按钮样式 - 简化版，只保留选中状态 */
.radio-option {
    display: block;
    width: 100%;
    padding: 1rem;
    border: 2px solid #3273dc;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9ff;
}

.radio-option:hover {
    border-color: #3273dc;
    background: #f8f9ff;
}

/* 确保选中状态的持久化样式 */
.radio-option.is-selected {
    border-color: #3273dc !important;
    background: #f8f9ff !important;
    box-shadow: 0 0 0 2px rgba(50, 115, 220, 0.25);
}

/* 确保选中的选项在悬停时保持蓝色边框和背景 */
.radio-option.is-selected:hover {
    border-color: #3273dc !important;
    background: #f8f9ff !important;
}

.radio-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
    border-left: 4px solid #3273dc;
    padding-left: 1rem;
}

.option-left {
    display: flex;
    align-items: center;
}
.option-left span{font-size: 1.25rem;}

.option-right .price {
    font-size: 1.7rem;
    font-weight: 600;
    color: #3273dc !important;
}

/* 可点击价格样式 */
.clickable {
    cursor: pointer;
    transition: color 0.3s ease;
}

.clickable:hover {
    color: #2366d1 !important;
    text-decoration: none;
}

/* 支付图标 */
.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.payment-icons i {
    font-size: 1.5rem;
    color: #b5b5b5;
    transition: color 0.3s ease;
}

.payment-icons i:hover {
    color: #363636;
}

/* 特性项目 */
.feature-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.feature-bottom {
    padding: 1rem;
}

/* 模态框样式 */
.modal-card {
    max-width: 500px;
    margin: 0 auto;
}

.modal-card-foot,.modal-card-head {
    padding: 16px;
}

/* 防止模态框被背景点击关闭 */
.modal-background {
    pointer-events: none;
}

.modal-is-active {
    overflow: hidden;
}

/* 加载动画 */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3273dc;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 通知动画 */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* 按钮悬停效果 */
.button.is-primary {
    background: linear-gradient(45deg, #3273dc, #4285f4);
    border: none;
    transition: all 0.3s ease;
}

.button.is-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(50, 115, 220, 0.4);
}

.button.is-info {
    background: linear-gradient(45deg, #3273dc, #4285f4);
    border: none;
    transition: all 0.3s ease;
}

.button.is-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(50, 115, 220, 0.4);
}

/* 输入框聚焦效果 */
.input:focus, .textarea:focus, .select select:focus {
    border-color: #3273dc;
    box-shadow: 0 0 0 0.125em rgba(50, 115, 220, 0.25);
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #3273dc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2366d1;
}

/* 域名字体自适应样式 */
#domain-name {
    transition: font-size 0.3s ease;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-all;
    hyphens: auto;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .hero-body .container .columns {
        flex-direction: column;
    }
    
    .purchase-card {
        margin-top: 2rem;
    }
    
    .title.is-1 {
        font-size: 2.5rem !important;
    }
    
    /* 移动端域名字体调整 */
    #domain-name {
        font-size: 2rem !important;
        line-height: 1.1 !important;
    }
}

@media screen and (max-width: 480px) {
    #domain-name {
        font-size: 1.5rem !important;
        line-height: 1.1 !important;
    }
}