/* IMPROVED ANALYTICS STYLING - Better Readability */

/* Override tiny text sizes with much larger, readable fonts */
.analytics-card-header h5 {
    color: var(--primary-color);
    font-family: 'Press Start 2P', cursive;
    font-size: 16px !important;  /* Was 10px - now much bigger */
    margin: 0 0 5px 0;
    text-shadow: 0 0 8px var(--primary-color);
    line-height: 1.4;
}

.dev-exclusive-badge {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: #000;
    padding: 8px 16px !important;  /* Bigger padding */
    border-radius: 25px;
    font-size: 12px !important;    /* Was tiny, now readable */
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: dev-pulse 2s ease-in-out infinite alternate;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
}

.analytics-header h4 {
    color: var(--primary-color);
    font-family: 'Press Start 2P', cursive;
    font-size: 20px !important;    /* Much larger header */
    margin: 0 0 10px 0;
    text-shadow: 0 0 10px var(--primary-color);
    line-height: 1.3;
}

/* Personal Activity Stats - Much Larger Text */
.stat-label {
    color: #cccccc;
    font-size: 16px !important;    /* Was 11px - now readable */
    flex-grow: 1;
    font-weight: 500;
    line-height: 1.4;
}

.stat-value {
    color: var(--accent-color);
    font-family: 'Press Start 2P', cursive;
    font-size: 20px !important;    /* Was 10px - now big and bold */
    font-weight: bold;
    text-shadow: 0 0 8px var(--accent-color);
    min-width: 80px;
    text-align: right;
}

/* Games Performance Section */
.game-name {
    color: var(--primary-color);
    font-size: 16px !important;    /* Was 10px - now readable */
    font-weight: bold;
    max-width: 250px;              /* More space for game names */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
}

.game-plays {
    color: var(--accent-color);
    font-family: 'Press Start 2P', cursive;
    font-size: 14px !important;    /* Was 9px - now readable */
    text-shadow: 0 0 8px var(--accent-color);
    font-weight: bold;
}

/* Platform Analytics - Bottom Section */
.analytics-footer .btn-secondary {
    margin-bottom: 20px;
    padding: 12px 24px !important; /* Bigger button */
    font-size: 14px !important;    /* Bigger button text */
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.analytics-note {
    color: #aaa;
    font-size: 14px !important;    /* Was 10px - now readable */
    margin: 0;
    font-style: italic;
    line-height: 1.4;
}

/* Better Card Spacing and Layout */
.analytics-card {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.08), rgba(0, 255, 255, 0.03));
    border: 2px solid rgba(0, 255, 0, 0.3);  /* Thicker border */
    border-radius: 12px;
    padding: 25px !important;                /* More padding */
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.15);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.analytics-card:hover {
    border-color: rgba(0, 255, 0, 0.5);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.25);
    transform: translateY(-3px);
}

.analytics-stats {
    display: flex;
    flex-direction: column;
    gap: 18px !important;          /* More spacing between items */
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0 !important;    /* More vertical padding */
    border-bottom: 2px solid rgba(0, 255, 0, 0.15);
}

/* Performance Game Items - Better Layout */
.performance-game-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px !important; /* More padding */
    margin-bottom: 12px;
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.04), rgba(0, 20, 20, 0.3));
    border: 2px solid rgba(0, 255, 0, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.performance-game-item:hover {
    border-color: rgba(0, 255, 0, 0.4);
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.08), rgba(0, 20, 20, 0.4));
    transform: translateX(8px);
}

/* Analytics Icon - Bigger and Better */
.analytics-icon {
    font-size: 24px !important;    /* Was 18px - now bigger */
    text-shadow: 0 0 15px currentColor;
    animation: tier-glow 2s ease-in-out infinite alternate;
}

/* No Data Message - Readable */
.no-data-message {
    text-align: center;
    color: #aaa;
    font-size: 16px !important;    /* Was 11px - now readable */
    padding: 30px;
    font-style: italic;
    line-height: 1.5;
}

/* Performance Summary Header */
.performance-summary {
    color: var(--primary-color);
    font-size: 16px !important;    /* Was 10px - now readable */
    font-weight: bold;
    line-height: 1.3;
}

.performance-stats {
    color: #aaa;
    font-size: 14px !important;    /* Was 9px - now readable */
    text-shadow: 0 0 8px var(--accent-color);
}

/* Game Rank Numbers */
.game-rank {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #000;
    font-family: 'Press Start 2P', cursive;
    font-size: 14px !important;    /* Bigger rank numbers */
    font-weight: bold;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    text-shadow: none;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

/* Mobile Responsiveness - Keep Text Large */
@media (max-width: 768px) {
    .analytics-card-header h5 {
        font-size: 14px !important;  /* Still readable on mobile */
    }
    
    .analytics-header h4 {
        font-size: 16px !important;  /* Still readable on mobile */
    }
    
    .stat-label {
        font-size: 14px !important;  /* Still readable on mobile */
    }
    
    .stat-value {
        font-size: 16px !important;  /* Still readable on mobile */
    }
    
    .game-name {
        font-size: 14px !important;  /* Still readable on mobile */
        max-width: 180px;
    }
    
    .game-plays {
        font-size: 12px !important;  /* Still readable on mobile */
    }
    
    .analytics-note {
        font-size: 12px !important;  /* Still readable on mobile */
    }
}

@media (max-width: 480px) {
    .analytics-card {
        padding: 20px !important;    /* Less padding on small screens */
    }
    
    .analytics-card-header h5 {
        font-size: 12px !important;  /* Smaller but still readable */
        line-height: 1.5;
    }
    
    .stat-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .stat-value {
        font-size: 14px !important;  /* Smaller but still readable */
        text-align: left;
    }
} 