/* 51动漫联系客服页面样式 - 13285168675.com */
:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --accent-color: #ffe66d;
    --anime-purple: #9c88ff;
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --text-muted: #95a5a6;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --border-color: #e9ecef;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 8px 25px rgba(0,0,0,0.15);
    --shadow-heavy: 0 15px 35px rgba(0,0,0,0.2);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--anime-purple));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --info-color: #3498db;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.anime-container {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    box-shadow: 0 0 50px rgba(0,0,0,0.3);
}

.anime-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-section h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-link {
    text-decoration: none;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-style: italic;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-item:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.join-btn {
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
}

.main-content {
    margin-top: 80px;
}

.contact-hero {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.service-quality-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.quality-metric {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.quality-metric:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.metric-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.metric-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.metric-unit {
    font-size: 1rem;
    margin-left: 0.2rem;
}

.metric-label {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.contact-methods {
    background: white;
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contact-method {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
}

.contact-method:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.contact-method.primary {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.05);
    z-index: 2;
}

.method-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.method-icon {
    font-size: 1.8rem;
}

.method-title {
    font-size: 1.3rem;
    font-weight: 600;
}

.status-indicator {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
}

.status-indicator.online {
    background: var(--success-color);
    animation: pulse 2s infinite;
}

.queue-info, .response-stats, .group-stats {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.8rem;
}

.contact-method.primary .queue-info {
    color: rgba(255, 255, 255, 0.9);
}

.method-description {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-method.primary .method-description {
    color: rgba(255, 255, 255, 0.9);
}

.method-features {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.feature {
    padding: 0.2rem 0.6rem;
    background: white;
    color: var(--text-dark);
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
}

.contact-method.primary .feature {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.chat-preview {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    min-height: 150px;
}

.chat-message {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.chat-message.outgoing {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.message-content {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    padding: 0.5rem 0.8rem;
    border-radius: 10px;
    max-width: 70%;
    font-size: 0.8rem;
}

.chat-message.outgoing .message-content {
    background: var(--accent-color);
    color: var(--text-dark);
}

.message-sender {
    font-weight: 600;
    font-size: 0.7rem;
    display: block;
    margin-bottom: 0.2rem;
}

.message-text {
    display: block;
    margin-bottom: 0.2rem;
}

.message-time {
    font-size: 0.6rem;
    opacity: 0.7;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
}

.typing-dots {
    display: flex;
    gap: 0.2rem;
}

.typing-dots span {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

.typing-text {
    font-size: 0.7rem;
    opacity: 0.7;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.email-input, .email-content {
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.9rem;
    resize: vertical;
}

.email-input:focus, .email-content:focus {
    outline: none;
    border-color: var(--primary-color);
}

.qq-group-info {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.group-qr {
    text-align: center;
}

.qr-code {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.qr-text {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.group-details {
    flex: 1;
}

.group-number, .group-name {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.contact-action-btn {
    background: var(--gradient-secondary);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-action-btn.primary {
    background: white;
    color: var(--primary-color);
}

.contact-action-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.contact-action-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.service-team {
    background: var(--bg-secondary);
    padding: 4rem 0;
}

.team-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.member-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 4px solid var(--accent-color);
}

.member-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.member-specialty {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.member-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.member-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success-color);
}

.member-status.away .status-dot {
    background: var(--warning-color);
}

.status-text {
    font-size: 0.8rem;
    font-weight: 600;
}

.member-status.online .status-text {
    color: var(--success-color);
}

.member-status.away .status-text {
    color: var(--warning-color);
}

.chat-with-member {
    background: var(--gradient-primary);
    color: white;
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-with-member:hover:not(:disabled) {
    transform: scale(1.05);
}

.chat-with-member:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.success-cases {
    background: white;
    padding: 4rem 0;
}

.cases-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.case-item {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    border-left: 4px solid var(--success-color);
}

.case-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
}

.case-timestamp {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.case-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.case-user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.case-user-name {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.case-problem-type {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
}

.case-status {
    margin-left: auto;
}

.case-status.solved {
    background: var(--success-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.case-description {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
}

.problem-title, .solution-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.problem-text, .solution-text {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.case-result {
    display: flex;
    gap: 2rem;
    font-size: 0.8rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.resolution-time {
    color: var(--info-color);
    font-weight: 600;
}

.user-feedback {
    color: var(--success-color);
    font-weight: 600;
}

.contact-form-section {
    background: var(--bg-secondary);
    padding: 4rem 0;
}

.ticket-form-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.ticket-form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

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

.textarea-counter {
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

.priority-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.priority-option {
    display: flex;
    cursor: pointer;
}

.priority-option input {
    display: none;
}

.priority-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    width: 100%;
    transition: all 0.3s ease;
}

.priority-option:hover .priority-content {
    border-color: var(--primary-color);
}

.priority-option input:checked + .priority-content {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.priority-icon {
    font-size: 1.2rem;
}

.priority-name {
    font-weight: 600;
    display: block;
}

.priority-desc {
    font-size: 0.8rem;
    opacity: 0.8;
    display: block;
}

.submit-ticket-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-ticket-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.support-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.quick-links, .response-time-chart {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.quick-link-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.quick-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.link-icon {
    font-size: 1.2rem;
}

.link-text {
    flex: 1;
    font-weight: 600;
}

.link-arrow {
    font-size: 1.2rem;
}

.time-chart {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.time-label {
    font-size: 0.8rem;
    min-width: 60px;
    color: var(--text-dark);
}

.time-bar {
    flex: 1;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.time-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 2s ease;
}

.time-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    min-width: 50px;
}

.user-feedback-section {
    background: white;
    padding: 4rem 0;
}

.service-feedback-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-feedback-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.service-feedback-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.feedback-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feedback-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.feedback-username {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.feedback-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
}

.feedback-date {
    color: var(--text-muted);
}

.problem-type {
    color: var(--primary-color);
    font-weight: 600;
}

.feedback-rating {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.feedback-content {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-highlights {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.highlight {
    padding: 0.2rem 0.6rem;
    background: var(--gradient-secondary);
    color: white;
    border-radius: 10px;
    font-size: 0.75rem;
}

.contact-emergency {
    background: #fff3cd;
    border: 2px solid #ffeaa7;
    padding: 2rem 0;
}

.emergency-notice {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.notice-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.notice-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.emergency-contacts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.emergency-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
}

.contact-method {
    font-weight: 600;
    color: var(--text-dark);
}

.contact-detail {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.anime-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: var(--text-light);
    padding: 3rem 0 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-description {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #bdc3c7;
}

.footer-copyright {
    color: #95a5a6;
    font-size: 0.8rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .service-quality-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .team-showcase {
        grid-template-columns: 1fr;
    }
    
    .ticket-form-layout {
        grid-template-columns: 1fr;
    }
    
    .support-sidebar {
        order: -1;
    }
    
    .service-feedback-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* 动画效果 */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
}