/* 域名授权查询页面样式 */

/* 全局样式 */
:root {
    --primary-color: #3498db;
    --secondary-color: #e74c3c;
    --text-dark: #333333;
    --text-medium: #666666;
    --text-light: #999999;
    --bg-white: #ffffff;
    --bg-gray-light: #f5f5f5;
    --border-color: #dddddd;
    --radius-sm: 4px;
    --radius-md: 8px;
    --transition: all 0.3s ease;
}

/* 授权查询Banner */
.domain-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: #0a2463;
    display: flex;
    align-items: center;
    justify-content: center;
}

.domain-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=close%20up%20of%20hands%20using%20laptop%2C%20business%20professional%2C%20office%20setting%2C%20blurred%20background%2C%20blue%20tone&image_size=landscape_16_9');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 1;
}

.banner-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
}

.banner-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.banner-content h1 {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 搜索表单 */
.search-form {
    display: flex;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 跳转按钮 */
.jump-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    color: #3498db;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.jump-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.form-group {
    flex: 1;
    position: relative;
}

.domain-input {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
    background: transparent;
    outline: none;
}

.domain-input::placeholder {
    color: #999;
}

.search-btn {
    background: transparent;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    margin-left: 4px;
}

.search-btn:hover {
    transform: scale(1.05);
}

.search-btn svg {
    width: 18px;
    height: 18px;
}

/* 举报区域 */
.report-section {
    padding: 40px 0;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

/* 电脑端优化 */
@media (min-width: 769px) {
    .report-section {
        padding: 50px 0;
    }
    
    .report-content {
        gap: 20px;
    }
    
    .report-item {
        min-width: 250px;
        max-width: 300px;
        padding: 20px 24px;
        gap: 12px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .report-icon {
        width: 36px;
        height: 36px;
    }
    
    .report-icon img {
        width: 24px;
        height: 24px;
    }
    
    .report-text {
        font-size: 14px;
        font-weight: 500;
    }
    
    .report-btn {
        padding: 8px 18px;
        font-size: 12px;
        border-radius: 4px;
        font-weight: 500;
    }
    
    .report-email {
        font-size: 14px;
        margin-top: 20px;
    }
}

.report-content {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.report-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 300px;
}

.report-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.report-text {
    flex: 1;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.report-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.report-btn:hover {
    background: #c82333;
}

.report-email {
    text-align: center;
    font-size: 14px;
    color: #666;
}

/* 为什么要商业授权 */
.why-license {
    padding: 60px 0;
    background: white;
}

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

.why-license .section-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 12px;
}

.why-license .section-subtitle {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.license-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 电脑端授权卡片优化 */
@media (min-width: 769px) {
    .why-license {
        padding: 80px 0;
    }
    
    .why-license .section-title {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .why-license .section-subtitle {
        font-size: 16px;
        margin-bottom: 60px;
    }
    
    .license-cards {
        gap: 30px;
    }
    
    .license-card {
        min-width: 280px;
        max-width: 320px;
        padding: 35px;
        border-radius: 10px;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
        transition: all 0.3s ease;
    }
    
    .license-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    }
    
    .license-icon {
        width: 90px;
        height: 90px;
        margin-bottom: 25px;
    }
    
    .license-icon img {
        width: 40px;
        height: 40px;
    }
    
    .license-title {
        font-size: 20px;
        margin-bottom: 16px;
        font-weight: 600;
    }
    
    .license-desc {
        font-size: 14px;
        line-height: 1.6;
    }
}

.license-card {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
}

.license-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.license-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

.license-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.license-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 模态弹窗 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 500px;
    overflow: hidden;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.close-btn:hover {
    background: #e9ecef;
    color: #333;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 16px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    text-align: right;
}

.btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background: #0069d9;
}

.result-item {
    display: flex;
    margin-bottom: 12px;
    align-items: flex-start;
}

.result-item:last-child {
    margin-bottom: 0;
}

.result-item .label {
    font-weight: 500;
    color: #333;
    min-width: 100px;
    flex-shrink: 0;
}

.result-item .value {
    color: #666;
    flex: 1;
    word-break: break-all;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* Banner 优化 */
    .domain-banner {
        height: 300px;
    }
    
    .banner-content h1 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .banner-content p {
        font-size: 12px;
        margin-bottom: 20px;
    }
    
    /* 搜索表单优化 */
    .search-form {
        max-width: 90%;
        padding: 3px;
        border-radius: 20px;
    }
    
    .domain-input {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .search-btn {
        width: 36px;
        height: 36px;
    }
    
    /* 跳转按钮优化 */
    .jump-btn {
        padding: 10px 20px;
        font-size: 14px;
        border-radius: 20px;
    }
    
    /* 举报区域优化 */
    .report-section {
        padding: 30px 0;
    }
    
    .report-content {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 5px;
        margin-bottom: 15px;
    }
    
    .report-item {
        min-width: 140px;
        max-width: 180px;
        padding: 12px 10px;
        gap: 6px;
        flex: 1;
        border-radius: 6px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    }
    
    .report-icon {
        width: 24px;
        height: 24px;
    }
    
    .report-icon img {
        width: 18px;
        height: 18px;
    }
    
    .report-text {
        font-size: 11px;
        flex: 1;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .report-btn {
        padding: 4px 10px;
        font-size: 10px;
        border-radius: 3px;
        white-space: nowrap;
    }
    
    .report-email {
        font-size: 11px;
        margin-top: 10px;
    }
    
    /* 授权卡片优化 */
    .license-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        max-width: 100%;
    }
    
    .license-card {
        min-width: auto;
        max-width: none;
        padding: 12px;
        width: 100%;
        border-radius: 6px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    }
    
    .license-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }
    
    .license-icon img {
        width: 25px;
        height: 25px;
    }
    
    .license-title {
        font-size: 14px;
        margin-bottom: 8px;
        font-weight: 600;
    }
    
    .license-desc {
        font-size: 11px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* 为什么要商业授权区域优化 */
    .why-license {
        padding: 25px 0;
    }
    
    .why-license .section-title {
        font-size: 16px;
        margin-bottom: 8px;
        font-weight: 600;
    }
    
    .why-license .section-subtitle {
        font-size: 11px;
        margin-bottom: 20px;
        line-height: 1.4;
        padding: 0 10px;
    }
    
    /* 模态弹窗优化 */
    .modal-content {
        width: 95%;
        max-width: 400px;
    }
    
    .modal-header h3 {
        font-size: 16px;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .result-item {
        margin-bottom: 10px;
    }
    
    .result-item .label {
        min-width: 80px;
        font-size: 12px;
    }
    
    .result-item .value {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    /* Banner 优化 */
    .domain-banner {
        height: 250px;
    }
    
    .banner-content h1 {
        font-size: 18px;
    }
    
    .banner-content p {
        font-size: 11px;
        margin-bottom: 15px;
    }
    
    /* 搜索表单优化 */
    .search-form {
        max-width: 95%;
    }
    
    .domain-input {
        padding: 8px 12px;
        font-size: 11px;
    }
    
    /* 跳转按钮优化 */
    .jump-btn {
        padding: 8px 16px;
        font-size: 12px;
        border-radius: 18px;
    }
    
    /* 举报区域优化 */
    .report-item {
        flex-direction: row;
        text-align: left;
        gap: 6px;
        padding: 8px 12px;
        min-width: 130px;
        max-width: 180px;
    }
    
    .report-text {
        font-size: 11px;
    }
    
    .report-btn {
        padding: 4px 10px;
        font-size: 10px;
    }
    
    /* 授权卡片优化 */
    .license-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .license-card {
        padding: 12px;
    }
    
    .license-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 10px;
    }
    
    .license-icon img {
        width: 22px;
        height: 22px;
    }
    
    .license-title {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .license-desc {
        font-size: 10px;
    }
    
    /* 为什么要商业授权区域优化 */
    .why-license {
        padding: 20px 0;
    }
    
    .why-license .section-title {
        font-size: 16px;
    }
    
    .why-license .section-subtitle {
        font-size: 11px;
        margin-bottom: 20px;
    }
    
    /* 模态弹窗优化 */
    .modal-header {
        padding: 12px 15px;
    }
    
    .modal-body {
        padding: 12px;
    }
    
    .result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
        margin-bottom: 8px;
    }
    
    .result-item .label {
        min-width: auto;
        font-weight: 600;
    }
    
    .modal-footer {
        padding: 12px 15px;
    }
    
    .btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}