/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --giants-orange: #FD5A1E;
    --giants-black: #27251F;
    --giants-cream: #EFD19F;
    --dark-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --border-color: #333;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    position: relative;
    padding: 48px 32px 36px;
    margin-bottom: 40px;
    overflow: hidden;
    background: var(--giants-black);
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: var(--giants-orange);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    opacity: 0.12;
}

.header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--giants-orange) 0%, transparent 70%);
}

.header-content {
    position: relative;
    z-index: 1;
}

.title {
    font-family: 'Teko', sans-serif;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 6px;
    line-height: 0.95;
}

.giants-text {
    color: var(--giants-orange);
    display: inline;
    margin-right: 12px;
}

.prospects-text {
    color: var(--text-secondary);
    display: inline;
    font-size: 0.55em;
    letter-spacing: 5px;
    font-weight: 400;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    max-width: 400px;
}

.last-updated {
    color: var(--giants-cream);
    font-size: 0.75rem;
    padding: 5px 12px;
    background: rgba(253, 90, 30, 0.15);
    border-radius: 4px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-left: 2px solid var(--giants-orange);
}

/* Stats Summary */
.stats-summary {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-box {
    background: rgba(253, 90, 30, 0.08);
    border: 1px solid rgba(253, 90, 30, 0.2);
    border-radius: 6px;
    padding: 12px 20px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    transition: all 0.3s ease;
}

.stat-box:hover {
    border-color: var(--giants-orange);
    background: rgba(253, 90, 30, 0.14);
}

.stat-value {
    font-family: 'Teko', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--giants-orange);
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Section Titles */
.section-title {
    font-family: 'Teko', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.title-icon {
    font-size: 2rem;
}

/* News Section */
.news-section {
    margin-bottom: 60px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.news-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-card:hover {
    border-color: var(--giants-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(253, 90, 30, 0.15);
}

.news-date {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-category {
    background: rgba(253, 90, 30, 0.1);
    color: var(--giants-orange);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.news-title {
    font-family: 'Teko', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.2;
}

.news-summary {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--giants-orange);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: var(--giants-cream);
    text-decoration: underline;
}

/* Prospects Grid */
.prospects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

/* Prospect Card */
.prospect-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.prospect-card:hover {
    border-color: var(--giants-orange);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(253, 90, 30, 0.2);
}

.prospect-card.featured {
    border: 2px solid var(--giants-orange);
}

.card-header {
    padding: 20px;
    background: linear-gradient(135deg, rgba(253, 90, 30, 0.1) 0%, rgba(253, 90, 30, 0.05) 100%);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.player-photo-container {
    flex-shrink: 0;
}

.player-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--giants-orange);
    background: var(--giants-black);
}

.player-info {
    flex: 1;
    min-width: 0;
}

.rank-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--giants-orange);
    color: white;
    font-family: 'Teko', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.prospect-name {
    font-family: 'Teko', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.prospect-name .last-name {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--giants-cream);
    letter-spacing: 1px;
}

.prospect-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.meta-badge {
    background: var(--giants-black);
    color: var(--giants-cream);
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 500;
}

.meta-badge.position {
    background: var(--giants-orange);
    color: white;
}

.prospect-summary {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.card-body {
    padding: 20px;
}

.stats-rows {
    padding: 16px 20px;
}

.stat-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.stat-row:last-of-type {
    border-bottom: none;
}

.stat-val {
    font-family: 'Teko', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--giants-orange);
    line-height: 1;
    min-width: 36px;
}

.stat-lbl {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 12px;
}

.stat-sep {
    width: 1px;
    height: 16px;
    background: rgba(255,255,255,0.1);
    margin: 0 4px;
    align-self: center;
}

.stats-levels {
    text-align: center;
    margin-top: 8px;
    padding: 8px;
    background: rgba(239, 217, 159, 0.1);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--giants-cream);
}

.no-stats-message {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-secondary);
    font-style: italic;
}

.no-stats-message strong {
    display: block;
    color: var(--giants-orange);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer p {
    margin-bottom: 8px;
}

.footer a {
    color: var(--giants-orange);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--giants-cream);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 12px;
    }
    
    .header {
        padding: 28px 16px 24px;
        margin-bottom: 24px;
    }
    
    .header::before {
        width: 50%;
        opacity: 0.08;
    }
    
    .title {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
    }
    
    .subtitle {
        font-size: 0.85rem;
    }
    
    .stats-summary {
        gap: 8px;
        margin-bottom: 24px;
    }
    
    .stat-box {
        padding: 8px 14px;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .prospects-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}