/*
Theme Name: 天机排行榜展示站
Theme URI: https://www.tianjibang.org.cn
Description: 天机排行榜国内备案展示站 - 专业展示版
Version: 2.0
Author: ICO
*/

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #333;
    background: #0a0e27;
    overflow-x: hidden;
}

/* Full-screen Hero Section */
.hero-fullscreen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e22ce 100%);
    position: relative;
    overflow: hidden;
}

.hero-fullscreen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(126, 34, 206, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* Header */
.site-header {
    position: relative;
    z-index: 10;
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-title a {
    text-decoration: none;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Content */
.hero-content-full {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    z-index: 5;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.4);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #ffd700;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-subtitle {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    font-weight: 300;
    max-width: 800px;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.85;
    max-width: 700px;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button-large {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1e3c72;
    padding: 1.5rem 4rem;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.8s backwards;
    letter-spacing: 1px;
}

.cta-button-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
}

/* Standards Alignment Section */
.standards-section {
    padding: 6rem 2rem;
    background: #0f1438;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.standard-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.standard-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-5px);
}

.standard-card h3 {
    color: #ffd700;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.standard-card .standard-code {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.standard-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* UN Endorsement Section */
.un-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #1a5490 0%, #2a5298 100%);
}

.un-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.un-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.5);
    padding: 1rem 2rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    color: #ffd700;
    font-weight: 600;
    font-size: 1.1rem;
}

.un-title {
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.un-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.un-list {
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

.un-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.un-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ffd700;
    font-weight: bold;
}

/* Architecture Section */
.architecture-section {
    padding: 6rem 2rem;
    background: #0a0e27;
}

.architecture-container {
    max-width: 1200px;
    margin: 0 auto;
}

.architecture-diagram {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 3rem;
    font-family: 'Courier New', monospace;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.6;
    overflow-x: auto;
}

.architecture-diagram pre {
    margin: 0;
    white-space: pre;
}

/* Red Lines Section */
.redlines-section {
    padding: 5rem 2rem;
    background: #1a0a0a;
}

.redlines-container {
    max-width: 1000px;
    margin: 0 auto;
}

.redlines-title {
    text-align: center;
    font-size: 2.2rem;
    color: #ff4444;
    margin-bottom: 3rem;
    font-weight: 700;
}

.redlines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.redline-card {
    background: rgba(255, 68, 68, 0.1);
    border: 2px solid rgba(255, 68, 68, 0.3);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.redline-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.redline-card h3 {
    color: #ff4444;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.redline-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background: #050820;
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-links {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ffd700;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: #ffed4e;
    text-decoration: underline;
}

.icp-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.icp-info a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.icp-info a:hover {
    color: #ffd700;
}

.copyright {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .header-container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1.5rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .architecture-diagram {
        padding: 1.5rem;
        font-size: 0.7rem;
    }
}


/* ============ ABOUT US ============ */
.about-section {
    background: #ffffff;
    padding: 80px 20px 60px;
    border-top: none;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
}

.about-title {
    font-size: 2.2rem;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.about-subtitle {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin-bottom: 20px;
}

.about-intro {
    text-align: center;
    color: #444;
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 40px;
}

.about-intro strong {
    color: #1e3c72;
}

/* SDG Bar */
.sdg-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    padding: 24px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    flex-wrap: wrap;
}

.sdg-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.sdg-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.sdg-icon:hover {
    transform: scale(1.1);
}

.sdg-label {
    font-size: 0.85rem;
    color: #555;
    font-weight: 500;
    text-align: center;
    max-width: 100px;
}

/* Timeline */
.about-content {
    margin-top: 20px;
}

.about-h3 {
    font-size: 1.5rem;
    color: #1e3c72;
    margin-bottom: 30px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e1e4e8;
    font-weight: 700;
}

.about-history {
    position: relative;
    padding-left: 20px;
}

.about-history::before {
    content: '';
    position: absolute;
    left: 130px;
    top: 70px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(to bottom, #1e3c72, #7e22ce);
}

.timeline-item {
    display: flex;
    gap: 24px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    align-items: flex-start;
}

.timeline-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.timeline-year {
    flex-shrink: 0;
    width: 110px;
    font-weight: 700;
    font-size: 1rem;
    color: #7e22ce;
    padding-top: 3px;
    text-align: right;
}

.timeline-dot {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #7e22ce;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #7e22ce;
    margin-top: 8px;
    position: relative;
    z-index: 1;
}

.timeline-text {
    flex: 1;
    color: #333;
    line-height: 1.9;
    font-size: 0.95rem;
}

.timeline-text em {
    color: #555;
    font-style: italic;
}

.timeline-text strong {
    color: #1e3c72;
}

.timeline-text a {
    color: #1e3c72;
    text-decoration: underline;
    text-decoration-color: #7e22ce;
    text-underline-offset: 2px;
}

.timeline-text a:hover {
    color: #7e22ce;
}

/* Principles */
.about-principles {
    margin-top: 60px;
    text-align: center;
}

.principles-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.principles-sdg {
    margin-top: 24px;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.principles-sdg strong {
    color: #1e3c72;
}

.principle-tag {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 10px;
    letter-spacing: 3px;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.principle-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .about-section {
        padding: 50px 16px 40px;
    }
    .about-title {
        font-size: 1.6rem;
    }
    .sdg-bar {
        gap: 20px;
        padding: 16px;
    }
    .sdg-icon {
        width: 60px;
        height: 60px;
    }
    .sdg-label {
        font-size: 0.75rem;
        max-width: 80px;
    }
    .about-history::before {
        left: 20px;
    }
    .timeline-item {
        flex-direction: column;
        gap: 4px;
        padding-left: 30px;
    }
    .timeline-year {
        width: auto;
        font-size: 0.9rem;
        text-align: left;
    }
    .timeline-dot {
        position: absolute;
        left: 14px;
        top: 36px;
    }
    .principles-row {
        gap: 12px;
    }
    .principle-tag {
        padding: 10px 24px;
        font-size: 1rem;
        letter-spacing: 2px;
    }
}
