/*
Theme Name: Szuper-AI Trading Terminátor
Description: Intelligens kereskedési bot WordPress theme 50+ adatforrással
Version: 1.0
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
}

.trading-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInDown 1s ease-out;
}

.main-title {
    font-size: 3.5em;
    margin-bottom: 15px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.3em;
    opacity: 0.95;
    margin-bottom: 10px;
}

.features {
    font-size: 1em;
    opacity: 0.8;
    font-style: italic;
}

/* Market Selector */
.market-selector {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.market-btn {
    background: rgba(255,255,255,0.15);
    border: 3px solid rgba(255,255,255,0.3);
    color: white;
    padding: 25px 50px;
    border-radius: 20px;
    font-size: 1.8em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    min-width: 250px;
    position: relative;
    overflow: hidden;
}

.market-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.market-btn:hover::before {
    left: 100%;
}

.market-btn:hover, .market-btn.active {
    background: rgba(255,255,255,0.25);
    border-color: #4CAF50;
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.market-btn.active {
    border-color: #FFD700;
    background: rgba(255,215,0,0.2);
}

/* Timeframe Selector */
.timeframe-selector {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.timeframe-btn {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-weight: 500;
}

.timeframe-btn:hover, .timeframe-btn.active {
    background: rgba(76, 175, 80, 0.4);
    border-color: #4CAF50;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

/* Analyze Section */
.analyze-section {
    text-align: center;
    margin-bottom: 50px;
}

.analyze-btn {
    background: linear-gradient(45deg, #4CAF50, #45a049, #2E7D32);
    border: none;
    color: white;
    padding: 20px 60px;
    font-size: 1.5em;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
    position: relative;
    overflow: hidden;
}

.analyze-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.analyze-btn:hover::before {
    width: 300px;
    height: 300px;
}

.analyze-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.6);
}

.analyze-btn:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Data Sources */
.data-sources {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
}

.data-sources h3 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.5em;
}

.sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.source-card {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.source-card:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.source-icon {
    font-size: 2em;
    margin-bottom: 10px;
}

.source-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.source-desc {
    font-size: 0.9em;
    opacity: 0.8;
}

/* Results */
.results {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(15px);
    margin-top: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    animation: fadeInUp 0.8s ease-out;
}

/* Loading */
.loading {
    text-align: center;
    margin: 30px 0;
}

.loading-spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #4CAF50;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 20px;
}

.loading-text {
    font-size: 1.4em;
    margin-bottom: 20px;
    font-weight: bold;
}

.loading-details {
    max-width: 400px;
    margin: 0 auto;
}

.loading-step {
    padding: 8px 0;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.loading-step.active {
    opacity: 1;
    color: #4CAF50;
    font-weight: bold;
}

.loading-step.completed {
    opacity: 0.7;
    color: #81C784;
}

.loading-step.completed::before {
    content: '✅ ';
}

/* Analysis Results */
.analysis-summary {
    background: rgba(255,215,0,0.2);
    border: 2px solid rgba(255,215,0,0.5);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-3px);
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9em;
    opacity: 0.9;
}

.geopolitical-context {
    background: rgba(255,215,0,0.2);
    border: 2px solid rgba(255,215,0,0.5);
    padding: 20px;
    border-radius: 15px;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.1em;
}

/* Recommendations */
.recommendations {
    margin-top: 30px;
}

.recommendation-card {
    background: rgba(255,255,255,0.15);
    margin: 20px 0;
    padding: 25px;
    border-radius: 15px;
    border-left: 6px solid #4CAF50;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.recommendation-card:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.rec-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.rec-symbol {
    font-size: 1.5em;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    color: #FFD700;
}

.rec-name {
    font-size: 1.1em;
    flex-grow: 1;
    margin-left: 15px;
}

.rec-sentiment {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.rec-prediction {
    margin: 15px 0;
    font-size: 1.2em;
    font-weight: 500;
}

.rec-details {
    display: flex;
    gap: 20px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.rec-details span {
    background: rgba(255,255,255,0.1);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9em;
}

.rec-sources {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.source-tag {
    background: rgba(76, 175, 80, 0.3);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8em;
    border: 1px solid rgba(76, 175, 80, 0.5);
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title { font-size: 2.5em; }
    .market-btn { min-width: 200px; padding: 20px 40px; font-size: 1.4em; }
    .timeframe-btn { padding: 12px 25px; }
    .analyze-btn { padding: 15px 40px; font-size: 1.2em; }
    .rec-header { flex-direction: column; align-items: flex-start; }
    .rec-details { flex-direction: column; gap: 10px; }
    .sources-grid { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
    .stats-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}

@media (max-width: 480px) {
    .trading-container { padding: 15px; }
    .main-title { font-size: 2em; }
    .market-btn { min-width: 180px; font-size: 1.2em; }
    .recommendation-card { padding: 20px; }
}
