/* Gridiron Nexus Command - Main Stylesheet */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #0f172a;
    color: #e2e8f0;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Utility Classes */
.gradient-text {
    background: linear-gradient(90deg, #38bdf8, #06b6d4, #d946ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow-effect {
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

/* Dashboard Role Cards */
.dashboard-role-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dashboard-role-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.dashboard-role-card:hover::before {
    left: 100%;
}

.dashboard-role-card.active {
    border-color: #0ea5e9;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.2);
}

/* AI Insight Cards */
.ai-insight-card {
    animation: slideInRight 0.5s ease-out;
    animation-fill-mode: both;
}

.ai-insight-card:nth-child(1) { animation-delay: 0.1s; }
.ai-insight-card:nth-child(2) { animation-delay: 0.2s; }
.ai-insight-card:nth-child(3) { animation-delay: 0.3s; }

/* Map Visualization */
.map-visualization {
    position: relative;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

/* Sport Cards */
.sport-card {
    transition: transform 0.3s ease;
}

.sport-card:hover {
    transform: translateY(-5px);
}

/* Ecosystem Cards */
.ecosystem-card {
    text-decoration: none;
    color: inherit;
}

.ecosystem-card:hover .ecosystem-card-content {
    transform: translateY(-2px);
}

/* Energy Ribbon (Visual Motif) */
.energy-ribbon {
    position: relative;
    overflow: hidden;
}

.energy-ribbon::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #38bdf8, #d946ef, transparent);
    animation: ribbonFlow 3s linear infinite;
}

@keyframes ribbonFlow {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Data Breath Animation */
@keyframes dataBreath {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

.data-breath {
    animation: dataBreath 6s ease-in-out infinite;
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .dashboard-role-card {
        padding: 1rem;
    }
    
    .ai-insight-card {
        padding: 1rem;
    }
    
    .sport-card {
        width: 280px;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}