/* ============================================
   黑料视频 - gkqst.cn 主样式表
   Modern 流媒体站 | Glassmorphism | 响应式网格
   ============================================ */

/* CSS Variables */
:root {
    --gkqst-primary: #667eea;
    --gkqst-secondary: #764ba2;
    --gkqst-accent: #f093fb;
    --gkqst-dark: #0f0f23;
    --gkqst-darker: #080816;
    --gkqst-card-bg: rgba(255, 255, 255, 0.05);
    --gkqst-glass-bg: rgba(255, 255, 255, 0.08);
    --gkqst-glass-border: rgba(255, 255, 255, 0.12);
    --gkqst-text: #e8e8f0;
    --gkqst-text-muted: #9a9ab0;
    --gkqst-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gkqst-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --gkqst-radius: 16px;
    --gkqst-radius-sm: 10px;
    --gkqst-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gkqst-max-width: 1400px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

.gkqst-body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background: var(--gkqst-darker);
    color: var(--gkqst-text);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(118, 75, 162, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(240, 147, 251, 0.04) 0%, transparent 50%);
}

.gkqst-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header */
.gkqst-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 15, 35, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gkqst-glass-border);
    transition: var(--gkqst-transition);
}

.gkqst-header-inner {
    max-width: var(--gkqst-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    height: 70px;
    gap: 24px;
}

.gkqst-brand a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.gkqst-logo-wrap {
    display: flex;
    align-items: center;
    font-size: 0;
    margin: 0;
}

.gkqst-logo-svg {
    height: 40px;
    width: auto;
}

/* Navigation */
.gkqst-nav {
    flex: 1;
}

.gkqst-nav-list {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
}

.gkqst-nav-item a {
    display: block;
    padding: 8px 16px;
    color: var(--gkqst-text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--gkqst-transition);
    white-space: nowrap;
}

.gkqst-nav-item a:hover {
    color: var(--gkqst-text);
    background: var(--gkqst-glass-bg);
}

.gkqst-nav-active a {
    color: #fff !important;
    background: var(--gkqst-gradient) !important;
}

/* Search */
.gkqst-search-box {
    flex-shrink: 0;
}

.gkqst-search-form {
    display: flex;
    align-items: center;
    background: var(--gkqst-glass-bg);
    border: 1px solid var(--gkqst-glass-border);
    border-radius: 24px;
    padding: 4px 4px 4px 16px;
    transition: var(--gkqst-transition);
}

.gkqst-search-form:focus-within {
    border-color: var(--gkqst-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.gkqst-search-input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--gkqst-text);
    font-size: 14px;
    width: 160px;
    padding: 6px 0;
}

.gkqst-search-input::placeholder {
    color: var(--gkqst-text-muted);
}

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

.gkqst-search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Mobile Toggle */
.gkqst-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.gkqst-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gkqst-text);
    border-radius: 2px;
    transition: var(--gkqst-transition);
}

/* Main Content */
.gkqst-main {
    max-width: var(--gkqst-max-width);
    margin: 0 auto;
    padding: 94px 24px 40px;
}

/* Breadcrumb */
.gkqst-breadcrumb {
    margin-bottom: 24px;
}

.gkqst-breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
    font-size: 13px;
}

.gkqst-breadcrumb-list li::after {
    content: '/';
    margin-left: 8px;
    color: var(--gkqst-text-muted);
}

.gkqst-breadcrumb-list li:last-child::after {
    display: none;
}

.gkqst-breadcrumb-list a {
    color: var(--gkqst-text-muted);
    text-decoration: none;
    transition: var(--gkqst-transition);
}

.gkqst-breadcrumb-list a:hover {
    color: var(--gkqst-primary);
}

/* Hero Section */
.gkqst-hero-section {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 40px;
    background: var(--gkqst-glass-bg);
    border: 1px solid var(--gkqst-glass-border);
    border-radius: var(--gkqst-radius);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.gkqst-channel-title {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gkqst-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.gkqst-channel-desc {
    color: var(--gkqst-text-muted);
    font-size: 15px;
    max-width: 700px;
    margin: 0 auto;
}

/* Video Grid */
.gkqst-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.gkqst-video-card {
    background: var(--gkqst-card-bg);
    border: 1px solid var(--gkqst-glass-border);
    border-radius: var(--gkqst-radius);
    overflow: hidden;
    transition: var(--gkqst-transition);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.gkqst-video-card:hover {
    transform: translateY(-4px);
    border-color: var(--gkqst-primary);
    box-shadow: var(--gkqst-shadow), 0 0 20px rgba(102, 126, 234, 0.15);
}

.gkqst-card-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.gkqst-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gkqst-video-card:hover .gkqst-thumb-img {
    transform: scale(1.05);
}

.gkqst-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: var(--gkqst-transition);
}

.gkqst-video-card:hover .gkqst-card-overlay {
    opacity: 1;
}

.gkqst-play-icon {
    width: 56px;
    height: 56px;
    transition: var(--gkqst-transition);
}

.gkqst-video-card:hover .gkqst-play-icon {
    transform: scale(1.1);
}

.gkqst-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.gkqst-card-info {
    padding: 16px;
}

.gkqst-card-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gkqst-card-title a {
    color: var(--gkqst-text);
    text-decoration: none;
    transition: var(--gkqst-transition);
}

.gkqst-card-title a:hover {
    color: var(--gkqst-primary);
}

.gkqst-card-desc {
    font-size: 13px;
    color: var(--gkqst-text-muted);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.gkqst-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--gkqst-text-muted);
}

/* Section Titles */
.gkqst-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-left: 16px;
    border-left: 4px solid var(--gkqst-primary);
    background: var(--gkqst-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Reviews */
.gkqst-reviews-section {
    margin-bottom: 60px;
}

.gkqst-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gkqst-review-card {
    background: var(--gkqst-glass-bg);
    border: 1px solid var(--gkqst-glass-border);
    border-radius: var(--gkqst-radius-sm);
    padding: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--gkqst-transition);
}

.gkqst-review-card:hover {
    border-color: var(--gkqst-primary);
    transform: translateY(-2px);
}

.gkqst-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.gkqst-review-avatar {
    font-size: 28px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gkqst-card-bg);
    border-radius: 50%;
}

.gkqst-review-name {
    font-weight: 600;
    font-size: 14px;
    display: block;
}

.gkqst-review-stars {
    color: #fbbf24;
    font-size: 12px;
}

.gkqst-review-content {
    font-size: 13px;
    color: var(--gkqst-text-muted);
    line-height: 1.7;
    margin-bottom: 8px;
}

.gkqst-review-date {
    font-size: 12px;
    color: var(--gkqst-text-muted);
    opacity: 0.7;
}

/* Contact */
.gkqst-contact-section {
    margin-bottom: 60px;
}

.gkqst-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.gkqst-contact-card {
    background: var(--gkqst-glass-bg);
    border: 1px solid var(--gkqst-glass-border);
    border-radius: var(--gkqst-radius-sm);
    padding: 24px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.gkqst-contact-card h3 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--gkqst-text);
}

.gkqst-contact-info p,
.gkqst-community-links p {
    font-size: 14px;
    color: var(--gkqst-text-muted);
    margin-bottom: 8px;
    line-height: 1.8;
}

.gkqst-contact-info a,
.gkqst-community-links a {
    color: var(--gkqst-primary);
    text-decoration: none;
}

/* Share */
.gkqst-share-section {
    margin-bottom: 60px;
}

.gkqst-share-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.gkqst-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gkqst-glass-bg);
    border: 1px solid var(--gkqst-glass-border);
    color: var(--gkqst-text);
    text-decoration: none;
    transition: var(--gkqst-transition);
}

.gkqst-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.gkqst-share-wechat:hover {
    background: #07c160;
    border-color: #07c160;
    color: white;
}

.gkqst-share-weibo:hover {
    background: #e6162d;
    border-color: #e6162d;
    color: white;
}

.gkqst-share-douyin:hover {
    background: #000;
    border-color: #fe2c55;
    color: #fe2c55;
}

.gkqst-share-bilibili:hover {
    background: #00a1d6;
    border-color: #00a1d6;
    color: white;
}

/* FAQ */
.gkqst-faq-section {
    margin-bottom: 60px;
}

.gkqst-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gkqst-faq-item {
    background: var(--gkqst-glass-bg);
    border: 1px solid var(--gkqst-glass-border);
    border-radius: var(--gkqst-radius-sm);
    overflow: hidden;
    transition: var(--gkqst-transition);
}

.gkqst-faq-item[open] {
    border-color: var(--gkqst-primary);
}

.gkqst-faq-question {
    padding: 18px 24px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--gkqst-transition);
}

.gkqst-faq-question::-webkit-details-marker {
    display: none;
}

.gkqst-faq-question::after {
    content: '+';
    font-size: 20px;
    font-weight: 300;
    color: var(--gkqst-primary);
    transition: var(--gkqst-transition);
}

.gkqst-faq-item[open] .gkqst-faq-question::after {
    transform: rotate(45deg);
}

.gkqst-faq-question:hover {
    color: var(--gkqst-primary);
}

.gkqst-faq-answer {
    padding: 0 24px 18px;
    font-size: 14px;
    color: var(--gkqst-text-muted);
    line-height: 1.8;
    animation: gkqst-fade-in 0.3s ease;
}

@keyframes gkqst-fade-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer */
.gkqst-footer {
    background: rgba(8, 8, 22, 0.95);
    border-top: 1px solid var(--gkqst-glass-border);
    padding: 48px 24px 24px;
}

.gkqst-footer-inner {
    max-width: var(--gkqst-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

.gkqst-footer-inner h3 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--gkqst-text);
}

.gkqst-footer-about p {
    font-size: 14px;
    color: var(--gkqst-text-muted);
    line-height: 1.8;
}

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

.gkqst-footer-links li {
    margin-bottom: 8px;
}

.gkqst-footer-links a {
    color: var(--gkqst-text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: var(--gkqst-transition);
}

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

.gkqst-footer-contact p {
    font-size: 14px;
    color: var(--gkqst-text-muted);
    margin-bottom: 8px;
}

.gkqst-footer-bottom {
    max-width: var(--gkqst-max-width);
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid var(--gkqst-glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--gkqst-text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .gkqst-nav-list {
        gap: 2px;
    }
    .gkqst-nav-item a {
        padding: 6px 10px;
        font-size: 13px;
    }
    .gkqst-search-input {
        width: 120px;
    }
}

@media (max-width: 768px) {
    .gkqst-header-inner {
        height: 60px;
        padding: 0 16px;
    }

    .gkqst-mobile-toggle {
        display: flex;
    }

    .gkqst-nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(15, 15, 35, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 16px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--gkqst-transition);
        border-bottom: 1px solid var(--gkqst-glass-border);
    }

    .gkqst-nav.gkqst-nav-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .gkqst-nav-list {
        flex-direction: column;
        gap: 4px;
    }

    .gkqst-nav-item a {
        padding: 12px 16px;
        font-size: 15px;
    }

    .gkqst-search-box {
        display: none;
    }

    .gkqst-main {
        padding: 76px 16px 24px;
    }

    .gkqst-hero-section {
        padding: 24px 16px;
    }

    .gkqst-channel-title {
        font-size: 1.4rem;
    }

    .gkqst-video-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 16px;
    }

    .gkqst-footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .gkqst-footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .gkqst-reviews-grid {
        grid-template-columns: 1fr;
    }

    .gkqst-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .gkqst-video-grid {
        grid-template-columns: 1fr;
    }

    .gkqst-channel-title {
        font-size: 1.2rem;
    }

    .gkqst-section-title {
        font-size: 1.2rem;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gkqst-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--gkqst-glass-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gkqst-primary);
}

/* Selection */
::selection {
    background: rgba(102, 126, 234, 0.3);
    color: white;
}

/* Loading animation for images */
.gkqst-thumb-img {
    background: linear-gradient(90deg, var(--gkqst-card-bg) 25%, var(--gkqst-glass-bg) 50%, var(--gkqst-card-bg) 75%);
    background-size: 200% 100%;
    animation: gkqst-shimmer 1.5s infinite;
}

.gkqst-thumb-img[src] {
    animation: none;
    background: none;
}

@keyframes gkqst-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
