/* SlotG-析盘网 统一样式表 */
/* 响应式设计 - 电脑和手机自适应 */

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "SimSun", Arial, sans-serif;
    background: linear-gradient(180deg, #ffffff 0%, #e8f4fc 50%, #d0e8f5 100%);
    min-height: 100vh;
    color: #333;
    font-size: 16px;
}

/* 导航栏 */
.navbar {
    background: #ffffff;
    padding: 8px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 78px;
}

.nav-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-links a {
    display: flex;
    align-items: center;
    padding: 3px;
    transition: all 0.3s;
}

.nav-links a:hover {
    transform: scale(1.05);
}

.nav-links img {
    height: 65px;
}

/* 主容器 */
.container {
    max-width: 1200px;
    margin: 15px auto;
    padding: 0 15px;
}

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

.container-medium {
    max-width: 900px;
    margin: 20px auto;
    padding: 0 15px;
}

/* 左侧栏 */
.sidebar {
    background: linear-gradient(180deg, #1a2a4a 0%, #0d1b2a 100%);
    border-radius: 10px;
    padding: 15px;
    color: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.sidebar-title {
    color: #ffd700;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ffd700;
}

/* 登录表单 */
.login-form {
    margin-bottom: 15px;
}

.login-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 8px;
    border: 1px solid #2a4a6a;
    border-radius: 5px;
    background: #0d1b2a;
    color: #fff;
    font-size: 16px;
}

.login-form input:focus {
    outline: none;
    border-color: #ffd700;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #e85a4f, #e98074);
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.login-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(232,90,79,0.4);
}

.register-link {
    text-align: center;
    margin-top: 8px;
}

.register-link a {
    color: #ffd700;
    text-decoration: none;
    font-size: 16px;
}

/* 联系信息 */
.contact-info {
    margin-top: 15px;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
}

.contact-info p {
    margin-bottom: 6px;
    font-size: 15px;
    color: #b0c4de;
}

.contact-info .phone {
    color: #ffd700;
    font-weight: bold;
    font-size: 18px;
}

/* 友情链接 */
.friend-links {
    margin-top: 15px;
}

/* 电脑端友情链接 */
.friend-links-desktop {
    display: block;
}

/* 移动端友情链接 - 默认隐藏 */
.friend-links-mobile {
    display: none;
}

.friend-links-title {
    color: #ffd700;
    font-size: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.friend-links a {
    display: block;
    padding: 6px 10px;
    margin: 3px 0;
    background: rgba(255,255,255,0.1);
    color: #87ceeb;
    text-decoration: none;
    border-radius: 3px;
    font-size: 18px;
    transition: all 0.3s;
}

.friend-links a:hover {
    background: rgba(255,215,0,0.2);
    color: #ffd700;
}

/* 主内容区 */
.main-content {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* 标题样式 */
.section-title {
    background: linear-gradient(90deg, #e85a4f, #e98074);
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

/* 免费推介说明 */
.free-notice {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border: 1px solid #e85a4f;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

/* 推介表格 */
.advice-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.advice-table th {
    background: linear-gradient(90deg, #1a3a5c, #2a5a8c);
    color: #fff;
    padding: 12px 8px;
    font-size: 16px;
    text-align: center;
}

.advice-table td {
    padding: 12px 8px;
    border-bottom: 1px dashed #ddd;
    font-size: 15px;
    text-align: center;
}

.advice-table tr:hover {
    background: #f8f9fa;
}

.advice-table .team-name {
    color: #1a3a5c;
    font-weight: bold;
}

.advice-table .recommend {
    color: #e85a4f;
    font-weight: bold;
}

.advice-table .result-win {
    color: #28a745;
    font-weight: bold;
}

.advice-table .result-lose {
    color: #dc3545;
}

.advice-table .result-draw {
    color: #ffc107;
}

/* 结果图标 */
.result-icon {
    width: 24px;
    height: 24px;
}

/* 合作详情 */
.cooperation {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    border: 1px solid #1a3a5c;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.cooperation h3 {
    color: #1a3a5c;
    margin-bottom: 12px;
    text-align: center;
    font-size: 18px;
}

.cooperation p {
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

.cooperation .price {
    color: #e85a4f;
    font-weight: bold;
}

/* 合作详情 - 单独背景框 */
.cooperation-box {
    background: linear-gradient(135deg, #1a3a5c 0%, #0d1b2a 100%);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cooperation-box h3 {
    color: #ffd700;
    margin-bottom: 15px;
    text-align: center;
    font-size: 20px;
    border-bottom: 2px solid #ffd700;
    padding-bottom: 10px;
}

.cooperation-box p {
    line-height: 1.8;
    font-size: 16px;
    color: #fff;
}

.cooperation-box .price {
    color: #ffd700;
    font-weight: bold;
}

/* 声明 */
.disclaimer {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.disclaimer strong {
    color: #e85a4f;
}

/* 注册表单 */
.register-box {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.register-title {
    background: linear-gradient(90deg, #e85a4f, #e98074);
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #1a3a5c;
    font-weight: bold;
    font-size: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a3a5c;
    box-shadow: 0 0 5px rgba(26,58,92,0.3);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.required {
    color: #e85a4f;
}

.form-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.form-buttons button {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit {
    background: linear-gradient(90deg, #1a3a5c, #2a5a8c);
    color: #fff;
}

.btn-submit:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(26,58,92,0.4);
}

.btn-reset {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #ddd;
}

.btn-reset:hover {
    background: #e9ecef;
}

/* 响应式布局 */
.grid-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 15px;
}

/* 响应式适配 */
@media (max-width: 900px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
    .nav-container {
        flex-direction: column;
        gap: 10px;
    }
    .nav-links {
        justify-content: center;
    }
    .nav-logo img {
        height: 60px;
    }
    .nav-links img {
        height: 50px;
    }
    .advice-table {
        font-size: 13px;
    }
    .advice-table th, .advice-table td {
        padding: 8px 4px;
    }
    /* 移动端友情链接显示 */
    .friend-links-desktop {
        display: none;
    }
    .friend-links-mobile {
        display: block;
        background: linear-gradient(180deg, #1a2a4a 0%, #0d1b2a 100%);
        border-radius: 10px;
        padding: 15px;
        margin-top: 15px;
    }
}

@media (max-width: 600px) {
    .nav-logo img {
        height: 50px;
    }
    .nav-links img {
        height: 40px;
    }
    .section-title {
        font-size: 18px;
    }
    .register-box {
        padding: 15px;
    }
    .form-buttons {
        flex-direction: column;
    }
    .container,
    .container-small,
    .container-medium {
        margin: 10px auto;
    }
    .main-content,
    .sidebar,
    .register-box {
        padding: 12px;
    }
    .advice-table th, .advice-table td {
        font-size: 12px;
        padding: 6px 3px;
    }
    /* 移动端友情链接显示 */
    .friend-links-desktop {
        display: none;
    }
    .friend-links-mobile {
        display: block;
        background: linear-gradient(180deg, #1a2a4a 0%, #0d1b2a 100%);
        border-radius: 10px;
        padding: 12px;
        margin-top: 10px;
    }
}