﻿/* AI Awards - 鐜颁唬绠€娲侀鏍?*/

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

:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-card: #1a1a1a;
    --bg-card-hover: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-tertiary: rgba(255, 255, 255, 0.5);
    --border-color: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.3);
    --button-bg: #ffffff;
    --button-text: #000000;
    --overlay-bg: rgba(0, 0, 0, 0.7);
}

/* 娴呰壊妯″紡 */
body.light-mode {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f0f0;
    --text-primary: #000000;
    --text-secondary: rgba(0, 0, 0, 0.7);
    --text-tertiary: rgba(0, 0, 0, 0.5);
    --border-color: rgba(0, 0, 0, 0.1);
    --border-hover: rgba(0, 0, 0, 0.3);
    --button-bg: #000000;
    --button-text: #ffffff;
    --overlay-bg: rgba(255, 255, 255, 0.9);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 椤堕儴瀵艰埅 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s;
}

body.light-mode .header {
    background: rgba(255, 255, 255, 0.95);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 2rem;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
    padding: 8px 16px;
    border-radius: 6px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: var(--bg-card);
}

.btn-theme {
    padding: 10px;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.btn-theme:hover {
    transform: translateY(-2px);
    border-color: var(--border-hover);
}

.btn-submit {
    padding: 12px 24px;
    background: var(--button-bg);
    color: var(--button-text);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Hero 鍖哄煙 */
.hero-section {
    padding: 140px 0 80px;
}

.hero-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.typed-container {
    text-align: center;
    margin-bottom: 40px;
    min-height: 80px;
}

.typed-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.hero-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.hero-image {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 40px;
}

body.light-mode .hero-overlay {
    background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.95) 100%);
}

.score-badge {
    background: var(--button-bg);
    color: var(--button-text);
    padding: 20px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.score-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
}

.score-label {
    font-size: 1.2rem;
    color: var(--text-tertiary);
}

.hero-content {
    padding: 40px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.hero-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.meta-item {
    color: var(--text-tertiary);
    font-size: 0.95rem;
}

.btn-view {
    padding: 15px 35px;
    background: var(--button-bg);
    color: var(--button-text);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-view:hover {
    transform: translateX(5px);
}

/* 妯″瀷鍖哄煙 */
.models-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-tertiary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.project-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.project-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 25px;
    position: relative;
}

.project-score {
    position: absolute;
    top: -20px;
    right: 25px;
    background: var(--button-bg);
    color: var(--button-text);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.project-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.project-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.project-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 12px;
    background: var(--bg-secondary);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

/* 淇℃伅婧愰〉闈?*/
.page-hero {
    padding: 140px 0 60px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.sources-section {
    padding: 40px 0 80px;
}

.sources-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

/* 鍗氫富椤甸潰浣跨敤2鍒楀竷灞€ */
body:has(.page-title:contains("鍗氫富")) .sources-grid,
.creators-page .sources-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1400px;
    gap: 30px;
}

.source-card {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

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

.source-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.source-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: var(--bg-secondary);
}

/* 鍗氫富椤甸潰鐨勫浘鐗囬珮搴︽洿灏?*/
.creators-page .source-image {
    height: 250px;
}

.source-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.source-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.source-card:hover .source-image img {
    transform: scale(1.05);
}

.source-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
}

.source-badge {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

body.light-mode .source-badge {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
}

.source-badge.recommended {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.source-badge.creator {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.source-content {
    padding: 40px;
}

.external-tag {
    display: inline-block;
    font-size: 0.7rem;
    padding: 4px 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-tertiary);
    margin-left: 10px;
    vertical-align: middle;
}

.source-note {
    margin-top: 20px;
    padding: 15px;
    background: var(--bg-secondary);
    border-left: 3px solid #667eea;
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.creator-subtitle {
    font-size: 1rem;
    color: var(--text-tertiary);
    margin-bottom: 20px;
    font-style: italic;
}

/* 鍗氫富椤甸潰鐨勫壇鏍囬鏇村皬 */
.creators-page .creator-subtitle {
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.creator-highlights {
    margin: 25px 0;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

/* 鍗氫富椤甸潰鐨勪寒鐐瑰尯鍩熸洿绱у噾 */
.creators-page .creator-highlights {
    margin: 20px 0;
    padding: 15px;
}

.creator-highlights h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

/* 鍗氫富椤甸潰鐨勪寒鐐规爣棰樻洿灏?*/
.creators-page .creator-highlights h4 {
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.creator-highlights ul {
    list-style: none;
    padding: 0;
}

.creator-highlights li {
    padding: 10px 0;
    color: var(--text-secondary);
    line-height: 1.6;
    border-bottom: 1px solid var(--border-color);
}

/* 鍗氫富椤甸潰鐨勫垪琛ㄩ」鏇寸揣鍑?*/
.creators-page .creator-highlights li {
    padding: 8px 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.creator-highlights li:last-child {
    border-bottom: none;
}

.creator-highlights strong {
    color: var(--text-primary);
}

.recommendation-note {
    text-align: left;
}

.recommendation-note p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.recommendation-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.recommendation-list li {
    padding: 12px 0;
    color: var(--text-secondary);
    line-height: 1.6;
    border-bottom: 1px solid var(--border-color);
}

.recommendation-list li:last-child {
    border-bottom: none;
}

.recommendation-list strong {
    color: var(--text-primary);
    margin-right: 8px;
}

.note-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-tertiary);
    font-style: italic;
}

.source-content {
    padding: 40px;
}

/* 鍗氫富椤甸潰鐨勫唴瀹瑰尯鍩熸洿绱у噾 */
.creators-page .source-content {
    padding: 25px;
}

.source-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* 鍗氫富椤甸潰鐨勫浘鏍囨洿灏?*/
.creators-page .source-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.source-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* 鍗氫富椤甸潰鐨勬爣棰樻洿灏?*/
.creators-page .source-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.source-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
}

/* 鍗氫富椤甸潰鐨勬弿杩版洿灏?*/
.creators-page .source-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.source-features {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.feature-tag {
    padding: 8px 16px;
    background: var(--bg-secondary);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.source-stats {
    display: flex;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

/* 浣跨敤鎻愮ず */
.tips-section {
    padding: 60px 0 80px;
}

.tips-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 50px;
    border: 1px solid var(--border-color);
    max-width: 1000px;
    margin: 0 auto;
}

.tips-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tip-item {
    display: flex;
    gap: 15px;
}

.tip-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.tip-content h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.tip-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 椤佃剼 */
.footer {
    background: var(--bg-secondary);
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.footer-bottom {
    text-align: center;
    color: var(--text-tertiary);
}

/* 鍝嶅簲寮?*/
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .creators-page .sources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .creators-page .sources-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        height: 400px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
}

/* Webcoding 椤甸潰鏍峰紡 */
.post-form-container {
    max-width: 800px;
    margin: 0 auto 80px;
}

.post-form-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.post-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.form-group label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.char-count {
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    pointer-events: none;
}

.form-group:has(textarea) .char-count {
    bottom: 15px;
}

.btn-submit-post {
    padding: 18px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.posts-section {
    margin-top: 80px;
}

.filter-tabs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.filter-tab {
    padding: 10px 20px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    border-color: #667eea;
    color: #667eea;
}

.filter-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.post-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.post-meta {
    display: flex;
    gap: 15px;
    align-items: center;
}

.post-category {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.post-category.pipcoding {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.post-category.cocreate {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.post-category.website {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.post-date {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.post-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.post-status.adopted {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
}

.post-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.post-content {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.post-author {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.post-actions {
    display: flex;
    gap: 15px;
}

.btn-vote,
.btn-comment {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-vote:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.btn-comment:hover {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border-color: transparent;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.info-section {
    margin-top: 80px;
    margin-bottom: 60px;
}

.info-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-color);
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card ul li {
    padding: 12px 0;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.info-card ul li::before {
    content: "鉁?";
    color: #667eea;
    font-weight: bold;
    margin-right: 10px;
}

/* Webcoding 鍝嶅簲寮?*/
@media (max-width: 768px) {
    .post-form-card {
        padding: 30px 20px;
    }
    
    .filter-tabs {
        gap: 10px;
    }
    
    .filter-tab {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .post-card {
        padding: 20px;
    }
    
    .post-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* Vibe Coding 椤甸潰鏍峰紡 - 浼樺寲鐗?*/
.vibe-hero {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 30px;
    margin-bottom: 80px;
}

.vibe-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.vibe-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vibe-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.vibe-highlight {
    display: block;
    margin-top: 10px;
    font-weight: 600;
    color: var(--text-primary);
}

.vibe-form-container {
    max-width: 1000px;
    margin: 0 auto 100px;
}

.vibe-form-card {
    background: var(--bg-card);
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.vibe-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.form-header {
    text-align: center;
    margin-bottom: 50px;
}

.form-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.form-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.form-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.vibe-form {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.vibe-form-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

.vibe-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.label-icon {
    font-size: 1.4rem;
}

.label-text {
    flex: 1;
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '鈻?;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.vibe-input,
.vibe-textarea,
.select-wrapper select {
    padding: 20px 25px;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    font-size: 1.1rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-family: inherit;
    width: 100%;
}

.vibe-input:focus,
.vibe-textarea:focus,
.select-wrapper select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.vibe-textarea {
    resize: vertical;
    min-height: 250px;
    line-height: 1.8;
}

.vibe-char-count {
    position: absolute;
    bottom: 20px;
    right: 25px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    pointer-events: none;
    background: var(--bg-card);
    padding: 5px 10px;
    border-radius: 8px;
}

.vibe-submit-btn {
    padding: 25px 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.vibe-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.vibe-submit-btn:active {
    transform: translateY(-1px);
}

.btn-icon {
    font-size: 1.5rem;
}

.btn-text {
    font-size: 1.3rem;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.vibe-submit-btn:hover .btn-shine {
    left: 100%;
}

.vibe-info-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 30px;
    padding: 60px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.info-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.vibe-info-card h3 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    text-align: left;
    padding: 25px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-item-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.info-item-content h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.info-item-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Vibe Coding 鍝嶅簲寮?*/
@media (max-width: 1024px) {
    .vibe-form-card {
        padding: 40px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .vibe-title {
        font-size: 2.5rem;
    }
    
    .vibe-subtitle {
        font-size: 1.1rem;
    }
    
    .vibe-form-card {
        padding: 30px 20px;
    }
    
    .form-icon {
        font-size: 3rem;
    }
    
    .form-title {
        font-size: 1.8rem;
    }
    
    .vibe-input,
    .vibe-textarea,
    .select-wrapper select {
        font-size: 1rem;
        padding: 18px 20px;
    }
    
    .vibe-submit-btn {
        padding: 20px 40px;
        font-size: 1.1rem;
    }
    
    .vibe-info-card {
        padding: 40px 20px;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
    }
}

/* ========== 瑙嗚鐗规晥鏍峰紡 ========== */

/* 1. 榧犳爣鐐瑰嚮娑熸吉鏁堟灉 */
.click-ripple {
    position: fixed;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.6) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0);
    animation: rippleEffect 1s ease-out;
    z-index: 9999;
}

@keyframes rippleEffect {
    to {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0;
    }
}

/* 2. 榧犳爣璺熼殢绮掑瓙鏁堟灉 */
.mouse-particle {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    animation: particleFade 1s ease-out;
    z-index: 9998;
}

@keyframes particleFade {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(-30px) scale(0);
    }
}

/* 3. 鍗＄墖鎮仠鍏夋檿鏁堟灉 */
.project-card,
.source-card,
.post-card {
    position: relative;
    overflow: hidden;
}

.project-card::before,
.source-card::before,
.post-card::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, transparent 70%);
    left: var(--mouse-x, 50%);
    top: var(--mouse-y, 50%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 0;
}

.project-card:hover::before,
.source-card:hover::before,
.post-card:hover::before {
    opacity: 1;
}

.project-card > *,
.source-card > *,
.post-card > * {
    position: relative;
    z-index: 1;
}

/* 4. 椤甸潰鍔犺浇鍔ㄧ敾 */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.page-loader.fade-out {
    opacity: 0;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-color);
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* 5. 鍏冪礌杩涘叆瑙嗗彛鍔ㄧ敾 */
.animate-ready {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* 6. 鎸夐挳鐐瑰嚮娉㈢汗鏁堟灉 */
button,
.btn-submit,
.btn-view,
.vibe-submit-btn {
    position: relative;
    overflow: hidden;
}

.button-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: buttonRipple 0.6s ease-out;
    pointer-events: none;
}

@keyframes buttonRipple {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* 7. 鏂囧瓧闂儊鏁堟灉 */
@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(102, 126, 234, 0.8),
                     0 0 30px rgba(102, 126, 234, 0.6);
    }
}

/* 8. 鏄熸槦鑳屾櫙 */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* 9. 鍗＄墖3D鍊炬枩鏁堟灉 */
.project-card,
.source-card,
.post-card {
    transform-style: preserve-3d;
}

/* 10. 婊氬姩鏉＄編鍖?*/
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* 11. 骞虫粦婊氬姩 */
html {
    scroll-behavior: smooth;
}

/* 12. 閫変腑鏂囧瓧鏍峰紡 */
::selection {
    background: rgba(102, 126, 234, 0.3);
    color: var(--text-primary);
}

/* 13. 閾炬帴鎮仠鏁堟灉澧炲己 */
a {
    transition: all 0.3s ease;
}

/* 14. 杈撳叆妗嗚仛鐒﹀彂鍏夋晥鏋?*/
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15),
                0 0 20px rgba(102, 126, 234, 0.1);
}

/* 15. 鍗＄墖鎮仠鏃跺唴瀹逛笂绉?*/
.project-card:hover .project-content,
.source-card:hover .source-content,
.post-card:hover .post-content {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* ===== Visual upgrades and interaction fixes ===== */
:root {
    --accent: #7c5cff;
    --accent-2: #37d6ff;
    --accent-3: #ff7a59;
    --surface-glass: rgba(255, 255, 255, 0.06);
    --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.24);
}

body {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(124, 92, 255, 0.18), transparent 26%),
        radial-gradient(circle at top right, rgba(55, 214, 255, 0.14), transparent 22%),
        linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

body.light-mode {
    --surface-glass: rgba(255, 255, 255, 0.72);
    background:
        radial-gradient(circle at top left, rgba(124, 92, 255, 0.12), transparent 24%),
        radial-gradient(circle at top right, rgba(55, 214, 255, 0.10), transparent 20%),
        linear-gradient(180deg, #f7f8fc 0%, #eef2f8 100%);
}

.header,
.page-hero,
.models-section,
.sources-section,
.tips-section,
.footer,
main,
.hero-section {
    position: relative;
    z-index: 2;
}

.aurora-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.aurora {
    position: absolute;
    width: 34rem;
    height: 34rem;
    border-radius: 50%;
    filter: blur(48px);
    opacity: 0.28;
    animation: auroraFloat 18s ease-in-out infinite;
}

.aurora-one {
    top: -8rem;
    left: -10rem;
    background: radial-gradient(circle, rgba(124, 92, 255, 0.85) 0%, rgba(124, 92, 255, 0) 68%);
}

.aurora-two {
    top: 22%;
    right: -8rem;
    background: radial-gradient(circle, rgba(55, 214, 255, 0.8) 0%, rgba(55, 214, 255, 0) 72%);
    animation-delay: -6s;
}

.aurora-three {
    bottom: -10rem;
    left: 28%;
    background: radial-gradient(circle, rgba(255, 122, 89, 0.7) 0%, rgba(255, 122, 89, 0) 70%);
    animation-delay: -12s;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.45), transparent 85%);
    opacity: 0.28;
}

body.light-mode .grid-overlay {
    background-image:
        linear-gradient(rgba(0,0,0,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.045) 1px, transparent 1px);
}

@keyframes auroraFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    33% { transform: translate3d(3rem, 2rem, 0) scale(1.08); }
    66% { transform: translate3d(-2rem, 3rem, 0) scale(0.94); }
}

.section-title,
.page-title,
.vibe-title,
.source-title,
.project-title {
    letter-spacing: -0.02em;
}

.section-title,
.page-title,
.vibe-title {
    animation: textGlow 4s ease-in-out infinite;
}

.project-card,
.source-card,
.post-card,
.tips-card,
.vibe-form-card,
.info-item {
    background: color-mix(in srgb, var(--bg-card) 86%, transparent);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-soft);
}

body.light-mode .project-card,
body.light-mode .source-card,
body.light-mode .post-card,
body.light-mode .tips-card,
body.light-mode .vibe-form-card,
body.light-mode .info-item {
    background: color-mix(in srgb, white 82%, transparent);
}

.projects-grid {
    gap: 32px;
}

.sources-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    max-width: 1100px;
}

.creators-page .sources-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    max-width: 1400px;
    gap: 32px;
}

.creators-page .source-card {
    height: 100%;
}

.creators-page .source-card-link {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.creators-page .source-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.creators-page .source-stats {
    margin-top: auto;
    flex-wrap: wrap;
}

.btn-theme,
.btn-submit,
.vibe-submit-btn,
.filter-tab {
    will-change: transform;
}

.btn-theme {
    border-radius: 999px;
}

.btn-submit.is-clapping {
    animation: clapBounce 0.55s ease;
}

@keyframes clapBounce {
    0% { transform: scale(1); }
    30% { transform: scale(0.92); }
    60% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.welcome-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(10, 14, 24, 0.88);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 18px 50px rgba(0,0,0,0.25);
    z-index: 10002;
    opacity: 0;
    transform: translateY(16px) scale(0.96);
    transition: opacity 0.25s ease, transform 0.25s ease;
    backdrop-filter: blur(12px);
}

body.light-mode .welcome-toast {
    background: rgba(255,255,255,0.92);
    color: #111827;
    border-color: rgba(0,0,0,0.08);
}

.welcome-toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.clap-burst {
    position: fixed;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 10001;
}

.clap-particle {
    position: absolute;
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 100%);
    box-shadow: 0 0 18px rgba(124, 92, 255, 0.5);
    animation: clapBurst 0.8s ease-out forwards;
    transform: rotate(var(--angle)) translateX(0);
}

@keyframes clapBurst {
    0% {
        opacity: 1;
        transform: rotate(var(--angle)) translateX(0) scale(0.6);
    }
    100% {
        opacity: 0;
        transform: rotate(var(--angle)) translateX(var(--distance)) scale(1.15);
    }
}

.page-loader {
    backdrop-filter: blur(18px);
}

.loader-content {
    padding: 28px 34px;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.68);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 25px 80px rgba(0,0,0,0.28);
}

body.light-mode .loader-content {
    background: rgba(255,255,255,0.9);
    border-color: rgba(0,0,0,0.08);
}

.mouse-particle {
    filter: blur(0.2px);
}

@media (max-width: 900px) {
    .creators-page .sources-grid {
        grid-template-columns: 1fr;
    }

    .welcome-toast {
        left: 16px;
        right: 16px;
        bottom: 16px;
        text-align: center;
    }
}
