/* 
 * Self Trader Bot - Landing Page
 * Design: Dark cyberpunk with gold/orange accents
 * Compact & laconic layout
 */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --border-color: #2a2a3a;
    --border-hover: #f7931a;
    
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6a6a7a;
    
    --accent-gold: #f7931a;
    --accent-gold-light: #fdb340;
    --accent-gold-dark: #c77a15;
    --accent-glow: rgba(247, 147, 26, 0.3);
    
    --success: #00d4aa;
    --danger: #ff4757;
    
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'JetBrains Mono', 'Consolas', 'Monaco', 'Courier New', monospace;
}

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

body {
    font-family: var(--font-main);
    min-height: 100vh;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: 
        linear-gradient(135deg, #0a0a0f 0%, #0f0f18 25%, #12101a 50%, #0d0d14 75%, #0a0a0f 100%);
}

/* Animated gradient orbs */
body::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(247, 147, 26, 0.12) 0%, transparent 25%),
        radial-gradient(circle at 80% 30%, rgba(139, 92, 246, 0.08) 0%, transparent 20%),
        radial-gradient(circle at 70% 80%, rgba(247, 147, 26, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 10% 70%, rgba(59, 130, 246, 0.06) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(247, 147, 26, 0.05) 0%, transparent 40%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(2%, 2%) rotate(1deg); }
    50% { transform: translate(0, 3%) rotate(0deg); }
    75% { transform: translate(-2%, 1%) rotate(-1deg); }
}

/* Grid pattern overlay */
body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(247, 147, 26, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(247, 147, 26, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse 80% 60% at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at center, black 0%, transparent 70%);
}

/* Container */
.container {
    max-width: 800px;
    width: 100%;
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.logo-container {
    margin-bottom: 0.75rem;
}

.logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    box-shadow: 0 0 20px var(--accent-glow);
    object-fit: cover;
}

h1 {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-gold) 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.25rem;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

.subtitle {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.badges {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(247, 147, 26, 0.15);
    border: 1px solid var(--accent-gold);
    border-radius: 12px;
    font-size: 0.7rem;
    color: var(--accent-gold);
    font-weight: 500;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.social-link svg {
    width: 14px;
    height: 14px;
}

.social-link.telegram {
    border-color: #0088cc;
    color: #0088cc;
}

.social-link.telegram:hover {
    background: rgba(0, 136, 204, 0.15);
}

.social-link.telegram-notes {
    border-color: #6c5ce7;
    color: #6c5ce7;
}

.social-link.telegram-notes:hover {
    background: rgba(108, 92, 231, 0.15);
}

/* Navigation Cards */
.cards {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.card {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
    text-align: center;
}

.card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 20px var(--accent-glow);
}

.card-icon {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}

.card h2 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    font-weight: 600;
}

.card p {
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.4;
}

/* Stats Section */
.stats {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.stat {
    flex: 1;
    text-align: center;
    padding: 0.4rem;
    position: relative;
}

.stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: var(--border-color);
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-gold);
    font-family: var(--font-mono);
}

.stat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.stat-value.loading {
    animation: pulse 1.5s ease-in-out infinite;
    color: var(--text-muted);
}

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

/* Footer */
.footer {
    text-align: center;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.7rem;
}

/* Responsive - Tablet */
@media (max-width: 768px) {
    .container {
        padding: 1.25rem;
    }
    
    h1 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .cards {
        gap: 0.6rem;
    }
    
    .card {
        padding: 0.85rem;
    }
    
    .card h2 {
        font-size: 0.85rem;
    }
    
    .card p {
        font-size: 0.7rem;
    }
    
    .stat-value {
        font-size: 1.1rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 600px) {
    .container {
        padding: 1rem;
    }
    
    h1 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
    
    .subtitle {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .logo {
        width: 48px;
        height: 48px;
    }
    
    .badges {
        flex-wrap: wrap;
        gap: 0.4rem;
    }
    
    .badge {
        font-size: 0.65rem;
        padding: 0.15rem 0.5rem;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
    
    .social-link {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .cards {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .card {
        padding: 0.75rem;
    }
    
    .card-icon {
        font-size: 1.25rem;
        margin-bottom: 0.3rem;
    }
    
    .card h2 {
        font-size: 0.9rem;
    }
    
    .card p {
        font-size: 0.7rem;
    }
    
    .stats {
        flex-wrap: wrap;
        gap: 0.4rem;
        padding: 0.6rem;
    }
    
    .stat {
        flex-basis: 45%;
        padding: 0.3rem;
    }
    
    .stat::after {
        display: none !important;
    }
    
    .stat-value {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
    }
    
    .footer {
        padding-top: 0.75rem;
        margin-top: 0.75rem;
        font-size: 0.65rem;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 380px) {
    h1 {
        font-size: 1.15rem;
    }
    
    .subtitle {
        font-size: 0.75rem;
    }
    
    .logo {
        width: 40px;
        height: 40px;
    }
    
    .stat {
        flex-basis: 100%;
    }
}
