/* 全局样式重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #F8F9FA;
}

/* 容器样式 */
.container {
    max-width: 1440px;
    min-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 40px;
    width: auto;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #E8F4FD;
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

/* 按钮样式 */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #7ED321, #5CB816);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5CB816, #4A9C12);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(126, 211, 33, 0.4);
}

.btn-secondary {
    background: #6C757D;
    color: white;
}

.btn-secondary:hover {
    background: #5A6268;
}

.btn-merchant {
    background: linear-gradient(135deg, #F5A623, #E8940E);
    color: white;
}

.btn-merchant:hover {
    background: linear-gradient(135deg, #E8940E, #D08506);
}

.btn-login {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-login:hover {
    background: white;
    color: #4A90E2;
}

.btn-register {
    background: white;
    color: #4A90E2;
}

.btn-register:hover {
    background: #E8F4FD;
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

/* 主内容区域 */
.main-content {
    padding-top: 2rem;
}

/* 英雄区域样式 */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.business-badge {
    margin-bottom: 2rem;
}

.badge {
    background: linear-gradient(135deg, #F5A623, #E8940E);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 500;
    display: inline-block;
}

.value-props {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.prop-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.prop-icon {
    font-size: 1.5rem;
}

.prop-text {
    font-size: 1rem;
}

/* 双栏布局样式 */
.dual-section {
    padding: 3rem 0;
    background: white;
}

.dual-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.section-card {
    background: #F8F9FA;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.section-card:hover {
    transform: translateY(-5px);
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.feature-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.feature-list li {
    padding: 0.5rem 0;
    color: #666;
}

.action-buttons {
    margin-bottom: 1.5rem;
}

.action-buttons .btn {
    margin-right: 1rem;
    margin-bottom: 0.5rem;
}

.link {
    color: #4A90E2;
    text-decoration: none;
    margin-right: 1rem;
    font-size: 14px;
}

.link:hover {
    text-decoration: underline;
}

.advantages h5 {
    margin-bottom: 0.5rem;
    color: #333;
}

.advantages ul {
    list-style: none;
}

.advantages li {
    padding: 0.3rem 0;
    color: #666;
    font-size: 14px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem;
    background: white;
    border-radius: 10px;
}

.feature-icon {
    font-size: 1.5rem;
}

.feature-text {
    font-size: 14px;
    color: #666;
}

/* 演示区域样式 */
.demo-section {
    padding: 3rem 0;
    background: #F8F9FA;
}

.section-main-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.demo-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.demo-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #333;
}

/* 表单样式 */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #E9ECEF;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #4A90E2;
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.price-estimate {
    background: #E8F4FD;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
}

.price-label {
    color: #666;
    margin-right: 10px;
}

.price-value {
    color: #7ED321;
    font-weight: bold;
    font-size: 1.1rem;
}

/* 分配列表样式 */
.allocation-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.allocation-item {
    background: #F8F9FA;
    border-radius: 10px;
    padding: 1rem;
}

.allocation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.game-name {
    font-weight: 500;
}

.price {
    color: #7ED321;
    font-weight: bold;
}

.allocation-detail p {
    margin-bottom: 0.3rem;
    font-size: 14px;
}

.status.matching {
    color: #F5A623;
}

.status.assigned {
    color: #7ED321;
}

.status.pending {
    color: #4A90E2;
}

/* 接单大厅新样式 */
.order-hall-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.order-hall-item {
    background: #F8F9FA;
    border: 1px solid #E8E8E8;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.order-hall-item h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.order-hall-item .price {
    margin: 5px 0;
    font-size: 20px;
    font-weight: bold;
    color: #E74C3C;
}

.order-hall-item .requirement {
    margin: 8px 0;
    font-size: 14px;
    color: #666;
}

.order-hall-item .status {
    margin: 8px 0 0 0;
    font-size: 14px;
    color: #4A90E2;
    font-weight: 500;
}

.progress {
    color: #7ED321;
}

/* 订单样式 */
.order-item {
    background: #F8F9FA;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.order-header {
    margin-bottom: 0.5rem;
}

.order-id {
    font-size: 12px;
    color: #666;
}

.order-title {
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.order-status {
    color: #7ED321;
    font-size: 14px;
    margin-bottom: 0.5rem;
}

.order-actions {
    display: flex;
    gap: 0.5rem;
}

.order-stats {
    border-top: 1px solid #E9ECEF;
    padding-top: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    background: #F8F9FA;
    border-radius: 6px;
}

.stat-label {
    color: #666;
    font-size: 14px;
}

.stat-value {
    font-weight: bold;
    color: #333;
}

/* 支付样式 */
.payment-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.amount-display {
    text-align: center;
    padding: 1rem;
    background: #E8F4FD;
    border-radius: 10px;
}

.amount-label {
    color: #666;
    margin-right: 10px;
}

.amount-value {
    font-size: 1.3rem;
    font-weight: bold;
    color: #4A90E2;
}

.payment-methods h4 {
    margin-bottom: 1rem;
    color: #333;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem;
    background: #F8F9FA;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.payment-option:hover {
    background: #E9ECEF;
}

.payment-option input[type="radio"] {
    margin: 0;
}

.balance-info {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: #E8F4FD;
    border-radius: 8px;
}

.balance-label {
    color: #666;
}

.balance-value {
    font-weight: bold;
    color: #7ED321;
}

.payment-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.payment-note {
    font-size: 12px;
    color: #999;
    margin-left: 10px;
    white-space: nowrap;
}

/* 价格区域样式 */
.pricing-section {
    padding: 3rem 0;
    background: white;
}

.pricing-card {
    background: #F8F9FA;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.pricing-card h3 {
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
}

.pricing-table {
    margin-bottom: 2rem;
}

.pricing-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #E9ECEF;
    align-items: center;
}

.pricing-row:last-child {
    border-bottom: none;
}

.game-name {
    color: #333;
    font-weight: 500;
}

.price-range {
    color: #7ED321;
    font-weight: bold;
    text-align: center;
}

.commission {
    color: #F5A623;
    font-weight: 500;
    text-align: right;
}

.service-info {
    border-top: 1px solid #E9ECEF;
    padding-top: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.info-icon {
    font-size: 1.2rem;
}

.info-text {
    color: #666;
}

/* 登录注册展示区样式 */
.auth-display-section {
    padding: 3rem 0;
    background: #F8F9FA;
}

.auth-display-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.auth-display-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.auth-display-card:hover {
    transform: translateY(-5px);
}

.auth-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.form-preview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-preview {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-preview label {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.input-demo {
    padding: 10px 12px;
    border: 2px solid #E9ECEF;
    border-radius: 6px;
    background: #F8F9FA;
    color: #999;
    font-size: 14px;
}

.input-row-demo {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.input-demo.small {
    flex: 1;
}

.btn-demo {
    padding: 10px 16px;
    border: 2px solid #4A90E2;
    border-radius: 6px;
    background: white;
    color: #4A90E2;
    font-size: 12px;
    white-space: nowrap;
}

/* 登录方式切换预览 */
.login-tabs-preview {
    display: flex;
    margin-bottom: 1rem;
    background: #F8F9FA;
    border-radius: 6px;
    padding: 3px;
    gap: 3px;
}

.tab-preview {
    flex: 1;
    padding: 8px 12px;
    text-align: center;
    font-size: 12px;
    color: #666;
    border-radius: 4px;
}

.tab-preview.active {
    background: white;
    color: #4A90E2;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* 登录选项预览 */
.login-options-preview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #666;
}

.remember-preview {
    color: #666;
}

.forgot-preview {
    color: #4A90E2;
    text-decoration: underline;
}

/* 协议预览 */
.agreement-preview {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

.link-preview {
    color: #4A90E2;
    text-decoration: underline;
}

/* 商家入驻展示区样式 */
.merchant-display-section {
    padding: 3rem 0;
    background: white;
}

.merchant-display-card {
    background: #F8F9FA;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.merchant-display-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: center;
}

.merchant-info-text h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.merchant-info-text p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.merchant-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.merchant-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
    color: #666;
    font-size: 1rem;
}

.merchant-qr-display {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.merchant-qr-image {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.qr-text {
    color: #4A90E2;
    font-weight: 500;
    margin: 0;
    font-size: 1rem;
}

/* 底部样式 */
.footer {
    background: #333333;
    color: white;
    padding: 3rem 0 2rem;
}

.footer-content h3 {
    margin-bottom: 2rem;
    text-align: center;
}

.company-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-row {
    display: flex;
    gap: 10px;
}

.info-label {
    color: #999;
    min-width: 120px;
}

.info-value {
    color: white;
}

.legal-info {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #555;
}

.legal-info p {
    margin-bottom: 0.5rem;
    color: #999;
}

/* 备案号链接样式 */
.legal-info a {
    color: #4A90E2;
    text-decoration: none;
    transition: all 0.3s ease;
}

.legal-info a:hover {
    color: #5BA0F2;
    text-decoration: underline;
}

/* 接单大厅行动按钮样式 */
.order-hall-action {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #E8E8E8;
}

/* 底部导航样式 */
.footer-nav {
    text-align: center;
    padding-top: 1.5rem;
}

.footer-link {
    color: #4A90E2;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-link:hover {
    color: #5BA0F2;
    text-decoration: underline;
}

.footer-nav .separator {
    color: #999;
    margin: 0 15px;
}

.footer-links {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: #4A90E2;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
} 