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

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --text-color: #eaeaea;
    --text-secondary: #b8b8b8;
    --border-color: #2a2a3e;
    --card-bg: #1e1e3e;
    --gradient-start: #0f3460;
    --gradient-end: #16213e;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

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

/* Header */
header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo h1 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

nav a:hover {
    color: #667eea;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid var(--border-color);
}

.lang-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.lang-link:hover {
    color: #667eea;
}

.lang-link.active {
    color: #667eea;
    font-weight: 600;
}

.lang-separator {
    color: var(--text-secondary);
    font-weight: 300;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Forecast Section */
.forecast-section {
    padding: 2rem 0;
}

.forecast-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.forecast-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.forecast-header h3 {
    font-size: 1.5rem;
    color: #667eea;
}

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

.forecast-content {
    min-height: 200px;
    padding: 1.5rem 0;
}

.loading {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
}

.forecast-item {
    background: rgba(102, 126, 234, 0.1);
    border-left: 4px solid #667eea;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.forecast-item h4 {
    color: #667eea;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.forecast-item .asset {
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.forecast-item .prediction {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.forecast-link {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    margin-top: 0.5rem;
    transition: color 0.3s;
}

.forecast-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

.forecast-expert {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.forecast-expert strong {
    color: var(--text-color);
}

/* Info Section */
.info-section {
    padding: 3rem 0;
    text-align: center;
}

.info-section h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #667eea;
}

.info-section p {
    max-width: 800px;
    margin: 0 auto 1rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Experts Section */
.experts-section {
    padding: 3rem 0;
}

.experts-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.experts-section .subtitle {
    text-align: center;
    margin-bottom: 3rem;
}

.experts-grid {
    display: grid;
    gap: 3rem;
}

.expert-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: start;
}

.expert-photo {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.expert-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #667eea;
}

.expert-title {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-style: italic;
}

.expert-description {
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.expert-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.expert-details p {
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.expert-quote {
    font-style: italic;
    color: #667eea !important;
    margin-top: 1rem !important;
    padding-left: 1rem;
    border-left: 3px solid #667eea;
}

/* Footer */
footer {
    background: rgba(26, 26, 46, 0.95);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
}

footer p {
    color: var(--text-secondary);
}

/* Expert Detail Page */
.expert-detail-section {
    padding: 3rem 0;
}

.expert-detail-header {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: start;
}

.expert-photo-large {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.expert-photo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-detail-info h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #667eea;
}

.expert-detail-content {
    max-width: 900px;
}

.expert-description-full {
    margin-bottom: 2rem;
}

.expert-description-full h2,
.expert-details-full h2,
.expert-forecasts h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.expert-description-full p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

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

.detail-item {
    padding: 1rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.expert-quote-full {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(102, 126, 234, 0.1);
    border-left: 4px solid #667eea;
    border-radius: 8px;
}

.expert-quote-full p {
    font-style: italic;
    color: #667eea;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.expert-forecasts {
    margin-top: 3rem;
}

.forecasts-list {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.btn-view-all {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Forecasts Page */
.forecasts-page {
    padding: 3rem 0;
}

.forecasts-page h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.expert-section {
    margin-bottom: 4rem;
}

.expert-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.expert-section-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    background: var(--card-bg);
}

.expert-section-header h2 {
    font-size: 2rem;
    color: #667eea;
    margin: 0;
}

.forecast-item-full {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    scroll-margin-top: 100px;
}

.forecast-item-full h3 {
    font-size: 1.5rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.forecast-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.forecast-date {
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }

    .expert-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .expert-photo {
        margin: 0 auto;
    }

    header .container {
        flex-direction: column;
        gap: 1rem;
    }

    nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .lang-switcher {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-top: 1rem;
        width: 100%;
        justify-content: center;
    }

    .expert-detail-header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .expert-photo-large {
        margin: 0 auto;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }
}

/* Leaderboard Section */
.leaderboard-section {
    padding: 3rem 0;
}

.leaderboard-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.leaderboard-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.tab-button {
    padding: 0.75rem 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    cursor: pointer;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
}

.tab-button:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: #667eea;
}

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

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.leaderboard-table-container {
    overflow-x: auto;
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard-table thead {
    background: rgba(102, 126, 234, 0.1);
}

.leaderboard-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #667eea;
    border-bottom: 2px solid var(--border-color);
}

.leaderboard-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.leaderboard-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

.leaderboard-table .positive {
    color: #4ade80;
}

.leaderboard-table .negative {
    color: #f87171;
}

.expert-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.expert-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Experts Table */
.experts-table-container {
    overflow-x: auto;
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.experts-table {
    width: 100%;
    border-collapse: collapse;
}

.experts-table thead {
    background: rgba(102, 126, 234, 0.1);
}

.experts-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #667eea;
    border-bottom: 2px solid var(--border-color);
}

.experts-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.experts-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

.experts-table .positive {
    color: #4ade80;
}

.experts-table .negative {
    color: #f87171;
}

/* Trading Stats Section */
.trading-stats-section {
    margin-bottom: 3rem;
}

.trading-stats-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #667eea;
}

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

.stat-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    text-align: center;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.stat-value.positive {
    color: #4ade80;
}

.stat-value.negative {
    color: #f87171;
}

/* Trades Section */
.trades-section {
    margin-bottom: 3rem;
}

.trades-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #667eea;
}

.trades-table-container {
    overflow-x: auto;
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.trades-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.trades-table thead {
    background: rgba(102, 126, 234, 0.1);
}

.trades-table th {
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    color: #667eea;
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
}

.trades-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.trades-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

.trades-table .positive {
    color: #4ade80;
}

.trades-table .negative {
    color: #f87171;
}

.trades-table .win {
    color: #4ade80;
    font-weight: 600;
}

.trades-table .loss {
    color: #f87171;
    font-weight: 600;
}

/* Accordion */
.expert-info-accordion {
    margin-top: 3rem;
}

.accordion-button {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.accordion-button:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: #667eea;
}

.accordion-icon {
    transition: transform 0.3s;
    font-size: 0.9rem;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 0 1.5rem;
}

.accordion-content.active {
    max-height: 5000px;
    padding: 1.5rem;
    transition: max-height 0.5s ease-in;
}

/* Responsive adjustments for new elements */
@media (max-width: 768px) {
    .leaderboard-tabs {
        flex-direction: column;
    }

    .tab-button {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .leaderboard-table-container,
    .experts-table-container,
    .trades-table-container {
        padding: 0.5rem;
    }

    .leaderboard-table th,
    .leaderboard-table td,
    .experts-table th,
    .experts-table td,
    .trades-table th,
    .trades-table td {
        padding: 0.5rem;
        font-size: 0.85rem;
    }

    .trades-table {
        font-size: 0.8rem;
    }
}

