/* Traleos 自定义样式 */

/* 导航栏 Logo 样式优化 */
.header-logo {
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 45px; /* 设置固定高度 */
    width: auto; /* 保持宽高比 */
    max-width: 200px; /* 最大宽度限制 */
    object-fit: contain; /* 保持比例缩放 */
    transition: all 0.3s ease;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .header-logo img {
        height: 40px;
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    .header-logo img {
        height: 35px;
        max-width: 160px;
    }
}

@media (max-width: 576px) {
    .header-logo img {
        height: 32px;
        max-width: 140px;
    }
}

/* 粘性导航栏中的 Logo */
.stricked-menu .header-logo img {
    height: 40px; /* 粘性导航稍小一些 */
}

/* Logo 悬停效果 */
.header-logo:hover img {
    transform: scale(1.05);
}

/* 移动端菜单中的 Logo */
.xb-logo-mobile img {
    height: 32px !important;
    width: auto;
    max-width: 140px;
}

/* 确保 Logo 在不同背景下都清晰可见 */
.header-logo img {
    filter: brightness(1.1);
}

/* 深色主题下的 Logo 优化 */
.header-area .header-logo img {
    filter: brightness(1.2) contrast(1.1);
}

/* 3D团队成员头像优化 */
.xb-team .xb-item--img {
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.3),
        0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    position: relative;
}

.xb-team .xb-item--img::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #667eea, #764ba2, #4CAF50, #E91E63, #FF5722);
    border-radius: 50%;
    z-index: -1;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.xb-team .xb-item--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.xb-team:hover .xb-item--img {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 10px 25px rgba(0, 0, 0, 0.3);
}

.xb-team:hover .xb-item--img img {
    transform: scale(1.05);
}

/* 团队成员信息样式优化 */
.xb-team .xb-item--title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 5px;
    text-transform: none;
}

.xb-team .xb-item--sub-title {
    color: #b0b0b0;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 团队成员简介样式 */
.xb-team .xb-item--description {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 10px;
    padding: 0 10px;
    font-weight: 400;
}

/* 响应式设计优化 */
@media (max-width: 768px) {
    .xb-team .xb-item--title {
        font-size: 18px;
    }
    
    .xb-team .xb-item--sub-title {
        font-size: 13px;
    }
    
    .xb-team .xb-item--description {
        font-size: 13px;
        padding: 0 5px;
    }
    
    .xb-team .xb-item--img {
        width: 150px;
        height: 150px;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .xb-team .xb-item--img {
        width: 120px;
        height: 120px;
    }
}

/* 团队区域整体优化 */
.team {
    background: linear-gradient(135deg, rgba(8, 11, 24, 0.9), rgba(26, 35, 58, 0.9));
}

.team .row {
    gap: 20px 0;
}

/* 核心功能卡片样式 */
.xb-feature-card {
    background: linear-gradient(145deg, #1a1d29, #252837);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid #2a2d3a;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.xb-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.xb-feature-card .xb-item--icon {
    margin: 0 auto 20px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.xb-feature-card:hover .xb-item--icon {
    background: rgba(102, 126, 234, 0.2);
    transform: scale(1.1);
}

.xb-feature-card .xb-item--title {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.xb-feature-card .xb-item--content {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.xb-feature-card .xb-item--features {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.feature-tag {
    background: linear-gradient(145deg, #667eea, #764ba2);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 响应式优化 */
@media (max-width: 992px) {
    .xb-feature-card {
        padding: 25px 15px;
    }
    
    .xb-feature-card .xb-item--title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .xb-feature-card {
        padding: 20px 15px;
    }
    
    .xb-feature-card .xb-item--title {
        font-size: 18px;
    }
    
    .xb-feature-card .xb-item--content {
        font-size: 13px;
    }
}

/* 英雄部分优化样式 */
.hero-subtitle p {
    font-size: 18px;
    color: #b0b0b0;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.hero-product {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
}

.stat-item {
    text-align: center;
    padding: 25px 20px;
    background: linear-gradient(145deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
}

.stat-item h4 {
    font-size: 36px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-item span {
    font-size: 14px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* 响应式优化 */
@media (max-width: 992px) {
    .hero-subtitle p {
        font-size: 16px;
    }
    
    .stats-grid {
        gap: 20px;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
    
    .stat-item h4 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .hero-subtitle p {
        font-size: 15px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-item {
        padding: 15px 10px;
    }
    
    .stat-item h4 {
        font-size: 24px;
    }
    
    .stat-item span {
        font-size: 12px;
    }
}

/* TGA Token Vesting Schedule Styles - Mainstream Format */
.tga-release {
    position: relative;
    overflow: hidden;
}

.tga-table-container {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tga-release-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
}

.tga-release-table thead th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 18px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    position: relative;
    white-space: nowrap;
}

.tga-release-table thead th:first-child {
    border-radius: 12px 0 0 0;
}

.tga-release-table thead th:last-child {
    border-radius: 0 12px 0 0;
}

.tga-release-table tbody td {
    padding: 18px 16px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
    color: #374151;
    font-weight: 500;
    vertical-align: middle;
}

.tga-release-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.04);
    transition: all 0.2s ease;
}

.tga-release-table tbody tr:last-child td {
    border-bottom: none;
}

.tga-release-table tfoot {
    background: #f9fafb;
}

.tga-release-table tfoot td {
    padding: 20px 16px;
    font-weight: 700;
    color: #111827;
    border-top: 2px solid #d1d5db;
    font-size: 14px;
}

.tga-release-table tfoot tr:first-child td:first-child {
    border-radius: 0 0 0 12px;
}

.tga-release-table tfoot tr:first-child td:last-child {
    border-radius: 0 0 12px 0;
}

/* Allocation Badge Styles */
.allocation-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
    color: white;
    text-transform: none;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    min-width: 140px;
    justify-content: center;
}

.allocation-badge.community { 
    background: linear-gradient(135deg, #10b981, #059669); 
}
.allocation-badge.team { 
    background: linear-gradient(135deg, #8b5cf6, #7c3aed); 
}
.allocation-badge.treasury { 
    background: linear-gradient(135deg, #f59e0b, #d97706); 
}
.allocation-badge.partnerships { 
    background: linear-gradient(135deg, #3b82f6, #2563eb); 
}
.allocation-badge.liquidity { 
    background: linear-gradient(135deg, #06b6d4, #0891b2); 
}
.allocation-badge.reserve { 
    background: linear-gradient(135deg, #64748b, #475569); 
}

/* Info Cards */
.tga-info-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tga-info-card .xb-item--title {
    font-size: 1.75rem;
    color: #111827;
    margin-bottom: 24px;
    font-weight: 700;
}

.tga-info-card .xb-item--list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tga-info-card .xb-item--list li {
    padding: 14px 0;
    font-size: 15px;
    color: #4b5563;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f3f4f6;
    line-height: 1.5;
}

.tga-info-card .xb-item--list li:last-child {
    border-bottom: none;
}

.tga-info-card .xb-item--list li i {
    color: #667eea;
    margin-right: 12px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.tga-info-card .xb-item--list li strong {
    color: #111827;
    font-weight: 600;
}

/* Timeline Stats */
.timeline-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
}

.timeline-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-value {
    font-size: 16px;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .tga-table-container {
        padding: 25px 20px;
        overflow-x: auto;
    }
    
    .tga-release-table {
        min-width: 900px;
    }
}

@media (max-width: 768px) {
    .tga-table-container {
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .tga-release-table {
        min-width: 800px;
        font-size: 13px;
    }
    
    .tga-release-table thead th,
    .tga-release-table tbody td,
    .tga-release-table tfoot td {
        padding: 14px 12px;
        font-size: 12px;
    }
    
    .allocation-badge {
        padding: 6px 10px;
        font-size: 11px;
        min-width: 120px;
    }
    
    .tga-info-card {
        padding: 24px;
        margin-bottom: 20px;
    }
    
    .tga-info-card .xb-item--title {
        font-size: 1.5rem;
    }
    
    .timeline-item {
        padding: 12px 16px;
    }
    
    .timeline-label {
        font-size: 13px;
    }
    
    .timeline-value {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .tga-table-container {
        padding: 15px 10px;
    }
    
    .tga-release-table thead th,
    .tga-release-table tbody td,
    .tga-release-table tfoot td {
        padding: 12px 8px;
        font-size: 11px;
    }
    
    .allocation-badge {
        padding: 5px 8px;
        font-size: 10px;
        min-width: 100px;
    }
    
    .tga-info-card {
        padding: 20px;
    }
    
    .tga-info-card .xb-item--title {
        font-size: 1.3rem;
    }
    
    .tga-info-card .xb-item--list li {
        font-size: 14px;
        padding: 12px 0;
    }
}

/* Additional color classes for token progress bars */
.xb-item--token_progress .color5 {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.xb-item--token_progress .color6 {
    background: linear-gradient(135deg, #64748b, #475569);
}