/* ===================================
   ATHLETES PAGE STYLES - Dr. C. Ajithkumar Portfolio
   Professional Athletes Showcase Design
   =================================== */

/* CSS Variables */
:root {
    --primary-blue: #1e40af;
    --light-blue: #3b82f6;
    --accent-gold: #fbbf24;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --text-gray: #64748b;
    --dark-gray: #374151;
    --success-green: #10b981;
    --warning-orange: #f59e0b;
    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --gradient-hero: linear-gradient(135deg, rgba(30, 64, 175, 0.9) 0%, rgba(59, 130, 246, 0.8) 100%);
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-strong: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
}

/* Athletes Page Body */
.athletes-page {
    background: var(--white);
}

/* Athletes Header/Hero Section */
.athletes-header {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    padding: 120px 0 80px;
}

.athletes-header .container {
    position: relative;
    z-index: 2;
}

.athletes-header .header-content {
    color: var(--white);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.athletes-header .page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.athletes-header .text-gradient {
    color: var(--accent-gold);
    font-weight: 800;
}

.athletes-header .page-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 4rem;
    opacity: 0.9;
    font-weight: 300;
}

.achievement-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.achievement-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.achievement-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
}

.achievement-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    display: block;
}

.achievement-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.3rem;
    line-height: 1;
}

.achievement-item p {
    font-size: 0.9rem;
    opacity: 0.85;
    margin: 0;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Athletes Hero Section - Complete Rewrite */
.athletes-hero-section {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.athletes-hero-section .container {
    max-width: 1200px;
}

.hero-text-content {
    padding-right: 3rem;
}

.main-title {
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.main-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

.athletes-image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
    height: 400px;
    max-width: 500px;
    margin-left: auto;
}

.grid-image-item {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.grid-image-item:hover {
    transform: scale(1.05);
}

.grid-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 992px) {
    .athletes-hero-section {
        padding: 80px 0 60px;
        min-height: auto;
    }
    
    .hero-text-content {
        padding-right: 0;
        margin-bottom: 3rem;
        text-align: center;
    }
    
    .main-title {
        font-size: 3rem;
        color: #ffffff;
    }
    
    .main-description {
        font-size: 1.125rem;
        color: rgba(255, 255, 255, 0.9);
    }
    
    .athletes-image-grid {
        margin: 0 auto;
        height: 300px;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
        color: #ffffff;
    }
    
    .main-description {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.9);
    }
    
    .athletes-image-grid {
        height: 250px;
        max-width: 350px;
    }
    
    .image-placeholder {
        font-size: 1.25rem;
        background: rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.6);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
}

/* Section Styling */
.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 16px;
    text-align: center;
}

.section-subtitle {
    font-size: clamp(16px, 3vw, 18px);
    color: var(--text-gray);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Search and Filter Section */
.search-filter-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(30, 64, 175, 0.1);
}

.search-filter-form .form-label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
    font-size: 14px;
}

.search-filter-form .form-control,
.search-filter-form .form-select {
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    padding: 12px 16px;
    font-size: 15px;
    transition: var(--transition);
}

.search-filter-form .form-control:focus,
.search-filter-form .form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.25);
}

.search-filter-form .btn {
    padding: 12px 24px;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.search-filter-form .btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.search-filter-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Athlete Cards */
.athlete-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.athlete-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
    border-color: var(--accent-gold);
}

.athlete-card.featured {
    border-color: var(--accent-gold);
    position: relative;
}

.athlete-card.featured::before {
    content: 'FEATURED';
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-accent);
    color: var(--primary-blue);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 10;
}

.athlete-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--light-gray);
}

.athlete-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.athlete-card:hover .athlete-image img {
    transform: scale(1.05);
}

.athlete-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-gray) 0%, #e2e8f0 100%);
    color: var(--text-gray);
}

.athlete-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 64, 175, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.athlete-card:hover .athlete-overlay {
    opacity: 1;
}

.athlete-overlay .btn {
    transform: translateY(20px);
    transition: var(--transition);
}

.athlete-card:hover .athlete-overlay .btn {
    transform: translateY(0);
}

.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 16px;
    z-index: 5;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(251, 191, 36, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0);
    }
}

.athlete-info {
    padding: 24px;
}

.athlete-info h4,
.athlete-info h5 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
    line-height: 1.3;
}

.athlete-event {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
}

.athlete-level {
    color: var(--text-gray);
    font-size: 15px;
    margin-bottom: 16px;
    font-weight: 500;
}

.athlete-medals {
    background: rgba(251, 191, 36, 0.1);
    color: var(--warning-orange);
    padding: 8px 12px;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 600;
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.athlete-details {
    margin-bottom: 16px;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-gray);
}

.detail-item i {
    width: 18px;
}

.secondary-events {
    margin-bottom: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.secondary-events small {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.event-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.event-tags .badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.athlete-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.stat-badge {
    background: var(--light-gray);
    padding: 8px 12px;
    border-radius: var(--border-radius);
    text-align: center;
    min-width: 70px;
    flex: 1;
}

.stat-badge .stat-number {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 2px;
}

.stat-badge .stat-label {
    font-size: 10px;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Pagination */
.pagination {
    --bs-pagination-color: var(--primary-blue);
    --bs-pagination-bg: var(--white);
    --bs-pagination-border-color: #e5e7eb;
    --bs-pagination-hover-color: var(--white);
    --bs-pagination-hover-bg: var(--primary-blue);
    --bs-pagination-hover-border-color: var(--primary-blue);
    --bs-pagination-active-color: var(--white);
    --bs-pagination-active-bg: var(--primary-blue);
    --bs-pagination-active-border-color: var(--primary-blue);
}

.page-link {
    border-radius: var(--border-radius);
    margin: 0 4px;
    font-weight: 600;
    transition: var(--transition);
}

.page-link:hover {
    transform: translateY(-2px);
}

/* Empty State */
.empty-state {
    max-width: 500px;
    margin: 0 auto;
}

.empty-state i {
    margin-bottom: 24px;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.empty-state p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Call to Action */
.bg-primary {
    background: var(--gradient-primary) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        padding: 40px 0;
    }
    
    .hero-stats {
        gap: 15px;
        margin-top: 30px;
    }
    
    .stat-item {
        padding: 16px;
        min-width: 100px;
    }
    
    .search-filter-card {
        padding: 20px;
    }
    
    .search-filter-form .row > div {
        margin-bottom: 20px;
    }
    
    .athlete-image {
        height: 240px;
    }
    
    .athlete-info {
        padding: 20px;
    }
    
    .floating-elements {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }
    
    .stat-item {
        padding: 14px;
    }
    
    .search-filter-card {
        padding: 16px;
    }
    
    .athlete-image {
        height: 200px;
    }
    
    .athlete-info {
        padding: 16px;
    }
    
    .athlete-stats {
        gap: 8px;
    }
    
    .stat-badge {
        min-width: 60px;
        padding: 6px 8px;
    }
    
    .event-tags {
        gap: 4px;
    }
}

@media (max-width: 360px) {
    .search-filter-form .btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .athlete-info h4,
    .athlete-info h5 {
        font-size: 1.1rem;
    }
    
    .athlete-event {
        font-size: 14px;
    }
    
    .athlete-level {
        font-size: 13px;
    }
}

/* Athlete Type Badge Styles */
.athlete-type-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.athlete-type-badge.athlete-type-olympic {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1e3a8a;
}

.athlete-type-badge.athlete-type-international {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    color: white;
}

.athlete-type-badge.athlete-type-national {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: white;
}

.athlete-type-badge.athlete-type-state {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #1e3a8a;
}

.athlete-type-badge.athlete-type-university {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    color: white;
}

.athlete-type-badge.athlete-type-club {
    background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
    color: white;
}

.athlete-type-badge.athlete-type-youth {
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    color: white;
}

.athlete-type-badge.athlete-type-amateur {
    background: linear-gradient(135deg, #64748b 0%, #94a3b8 100%);
    color: white;
}

/* Athlete Type Badge Under Image */
.athlete-type-badge-under-image {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.athlete-type-badge-under-image .athlete-type-badge {
    font-size: 0.875rem;
    padding: 6px 16px;
}

/* Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   ATHLETE DETAIL PAGE STYLES
   =================================== */

/* Athlete Detail Hero */
.athlete-hero {
    position: relative;
    background: var(--gradient-primary);
    padding: 120px 0 80px;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.athlete-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    z-index: 1;
}

.athlete-hero .container {
    position: relative;
    z-index: 2;
}

.min-vh-70 {
    min-height: 70vh;
}

.athlete-profile-image {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.athlete-profile-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-strong);
    border: 6px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.athlete-profile-image img:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.athlete-placeholder-large {
    width: 100%;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    border: 6px solid rgba(255, 255, 255, 0.2);
}

.featured-badge-large {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--gradient-accent);
    color: var(--primary-blue);
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-medium);
    animation: pulse 2s infinite;
}

.athlete-profile-info {
    color: var(--white);
    padding-left: 40px;
}

.athlete-name {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.athlete-meta {
    margin-bottom: 40px;
}

.meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 16px;
}

.meta-item i {
    width: 24px;
    font-size: 18px;
}

.meta-label {
    font-weight: 600;
    margin-right: 8px;
    min-width: 100px;
}

.meta-value {
    font-weight: 500;
    opacity: 0.9;
}

.athlete-stats-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    min-width: 120px;
    flex: 1;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-card .stat-label {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Navigation Tabs */
.athlete-nav {
    background: var(--white);
    padding: 20px 0;
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.athlete-nav-pills {
    background: var(--light-gray);
    border-radius: var(--border-radius-lg);
    padding: 8px;
}

.athlete-nav-pills .nav-link {
    color: var(--text-gray);
    font-weight: 600;
    border-radius: var(--border-radius);
    padding: 16px 24px;
    transition: var(--transition);
    border: 2px solid transparent;
    margin: 0 4px;
}

.athlete-nav-pills .nav-link:hover {
    color: var(--primary-blue);
    background: rgba(30, 64, 175, 0.1);
}

.athlete-nav-pills .nav-link.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Content Cards */
.content-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 30px;
    border: 1px solid rgba(30, 64, 175, 0.1);
}

.content-card h3 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--accent-gold);
    position: relative;
}

.content-card h4 {
    color: var(--primary-blue);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 16px;
    margin-top: 30px;
}

.athlete-biography,
.achievements-summary,
.athlete-goals {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
}

.athlete-biography p:first-child::first-letter {
    float: left;
    font-size: 3.5rem;
    line-height: 1;
    padding-right: 8px;
    margin-top: 4px;
    color: var(--primary-blue);
    font-weight: 700;
}

/* Sidebar Cards */
.sidebar-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 24px;
    border: 1px solid rgba(30, 64, 175, 0.1);
}

.sidebar-card h5 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--light-gray);
}

.fact-list {
    list-style: none;
    padding: 0;
}

.fact-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
}

.fact-item:last-child {
    border-bottom: none;
}

.fact-label {
    font-weight: 600;
    color: var(--dark-gray);
    flex: 1;
    font-size: 14px;
}

.fact-value {
    flex: 1;
    text-align: right;
    font-size: 14px;
    color: var(--text-gray);
}

.fact-value .badge {
    font-size: 11px;
    padding: 4px 8px;
}

/* Medals Grid */
.medals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.medal-card {
    background: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.medal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-gold);
}

.medal-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
}

.medal-info h5 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.medal-info p {
    margin-bottom: 4px;
    font-size: 14px;
    color: var(--text-gray);
}

.performance-time {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 16px;
}

/* Records Grid */
.records-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.record-card {
    background: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.record-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-blue);
}

.record-event h5 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 12px;
}

.record-performance {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 16px;
    line-height: 1;
}

.record-details p {
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--text-gray);
}

/* Media Grid */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.media-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.media-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.media-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.media-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.media-item:hover .media-image img {
    transform: scale(1.05);
}

.media-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 20px;
}

.media-overlay h6 {
    font-weight: 600;
    margin-bottom: 8px;
}

.media-overlay p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
}

.media-video {
    height: 200px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder {
    text-align: center;
    color: var(--text-gray);
}

.video-placeholder h6 {
    margin: 16px 0;
    color: var(--primary-blue);
}

/* Related Athletes */
.athlete-card-small {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 2px solid transparent;
}

.athlete-card-small:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-gold);
}

.athlete-image-small {
    height: 180px;
    overflow: hidden;
    background: var(--light-gray);
}

.athlete-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.athlete-card-small:hover .athlete-image-small img {
    transform: scale(1.05);
}

.athlete-placeholder-small {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-size: 2rem;
}

.athlete-info-small {
    padding: 16px;
    text-align: center;
}

.athlete-info-small h6 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 8px;
}

/* Table Styling */
.table-responsive {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.table {
    margin: 0;
}

.table thead th {
    background: var(--primary-blue);
    color: var(--white);
    font-weight: 600;
    border: none;
    padding: 16px;
}

.table tbody td {
    padding: 16px;
    border-color: var(--light-gray);
    vertical-align: middle;
}

.table tbody tr:hover {
    background: rgba(30, 64, 175, 0.05);
}

/* Responsive Design for Detail Page */
@media (max-width: 768px) {
    .athlete-hero {
        padding: 100px 0 60px;
        min-height: 60vh;
    }
    
    .athlete-profile-info {
        padding-left: 0;
        margin-top: 30px;
        text-align: center;
    }
    
    .athlete-name {
        margin-bottom: 20px;
    }
    
    .athlete-stats-row {
        gap: 12px;
    }
    
    .stat-card {
        min-width: 100px;
        padding: 16px;
    }
    
    .stat-card .stat-number {
        font-size: 1.5rem;
    }
    
    .athlete-nav {
        position: static;
    }
    
    .athlete-nav-pills {
        flex-direction: column;
        gap: 8px;
    }
    
    .athlete-nav-pills .nav-link {
        text-align: center;
        margin: 0;
    }
    
    .content-card {
        padding: 24px;
    }
    
    .sidebar-card {
        padding: 20px;
    }
    
    .medals-grid,
    .records-grid,
    .media-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .medal-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .fact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .fact-value {
        text-align: left;
    }
}

@media (max-width: 576px) {
    .athlete-hero {
        padding: 80px 0 40px;
    }
    
    .athlete-profile-image {
        max-width: 300px;
    }
    
    .athlete-placeholder-large {
        height: 300px;
    }
    
    .athlete-stats-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .content-card {
        padding: 20px;
    }
    
    .content-card h3 {
        font-size: 1.5rem;
    }
    
    .athlete-biography p:first-child::first-letter {
        font-size: 2.5rem;
    }
    
    .record-performance {
        font-size: 2rem;
    }
    
    .medal-icon {
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }
}

/* Additional Detail Page Enhancements */

/* Enhanced Athlete Profile Image */
.athlete-profile-image {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.athlete-profile-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-strong);
    border: 4px solid var(--white);
    transition: var(--transition);
}

.athlete-profile-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.athlete-placeholder-large {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--light-gray) 0%, #e2e8f0 100%);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    border: 4px solid var(--white);
    box-shadow: var(--shadow-strong);
}

.featured-badge-large {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-accent);
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-medium);
    animation: pulse 2s infinite;
}

/* Enhanced Athlete Meta Styling */
.athlete-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 30px 0;
}

.meta-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.meta-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.meta-item i {
    font-size: 1.2rem;
    margin-right: 8px !important;
}

.meta-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}

.meta-value {
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
}

/* Enhanced Stats Cards */
.athlete-stats-row {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    min-width: 130px;
    flex: 1;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* Enhanced Biography Section */
.athlete-biography p {
    margin-bottom: 20px;
    text-align: justify;
}

.athlete-biography p:first-child {
    position: relative;
    padding-left: 60px;
}

.athlete-biography blockquote {
    background: rgba(30, 64, 175, 0.05);
    border-left: 4px solid var(--accent-gold);
    padding: 20px;
    margin: 24px 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-style: italic;
    position: relative;
}

.athlete-biography blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--accent-gold);
    position: absolute;
    top: -10px;
    left: 15px;
    font-family: Georgia, serif;
}

/* Enhanced Achievement Cards */
.achievements-summary {
    background: var(--light-gray);
    padding: 24px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--success-green);
    position: relative;
}

.achievements-summary::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: var(--success-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.achievements-summary::after {
    content: '🏆';
    position: absolute;
    top: 25px;
    right: 27px;
    font-size: 14px;
}

/* Enhanced Goals Section */
.athlete-goals {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    padding: 24px;
    border-radius: var(--border-radius);
    border: 2px solid rgba(30, 64, 175, 0.1);
    position: relative;
}

.athlete-goals::before {
    content: '🎯';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
}

/* Enhanced Secondary Events Display */
.fact-value .badge {
    margin: 2px;
    border-radius: 15px;
    font-weight: 500;
}

/* Enhanced Contact Info */
.fact-value a {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(30, 64, 175, 0.1);
    border-radius: 20px;
    transition: var(--transition);
}

.fact-value a:hover {
    background: var(--primary-blue);
    color: var(--white) !important;
    transform: translateX(4px);
}

/* Enhanced Action Image */
.sidebar-card img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.sidebar-card img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-strong);
}

/* Enhanced Empty States */
.text-center.py-5 {
    background: var(--light-gray);
    border-radius: var(--border-radius-lg);
    margin: 20px 0;
    border: 2px dashed var(--text-gray);
}

/* Enhanced Call to Action */
.bg-primary {
    background: var(--gradient-primary) !important;
}

/* Print Styles */
@media print {
    .hero-section,
    .search-filter-card,
    .athlete-overlay,
    .floating-elements,
    .athlete-nav {
        display: none !important;
    }
    
    .athlete-card,
    .content-card,
    .sidebar-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .athlete-hero {
        background: none !important;
        color: #000 !important;
    }
    
    .athlete-profile-image img,
    .sidebar-card img {
        max-width: 200px;
        height: auto;
    }
}

/* ===================================
   MODERN ATHLETE HERO SECTION
   =================================== */

.athlete-hero-modern {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.9;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(30, 64, 175, 0.8) 0%, rgba(59, 130, 246, 0.6) 50%, rgba(251, 191, 36, 0.4) 100%);
}

.athlete-hero-modern .container {
    position: relative;
    z-index: 2;
}

/* Athlete Image Container */
.athlete-image-container {
    position: relative;
    display: inline-block;
}

.athlete-main-image {
    position: relative;
    display: inline-block;
    border-radius: 8px;
    overflow: hidden;
    width: 300px;
    height: 300px;
    border: 6px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.athlete-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 18px;
    background: linear-gradient(45deg, #fbbf24, #3b82f6, #10b981);
    opacity: 0.3;
    animation: glow 3s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes glow {
    from { opacity: 0.3; transform: scale(1); }
    to { opacity: 0.6; transform: scale(1.05); }
}

.athlete-placeholder-modern {
    width: 300px;
    height: 300px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    border: 6px solid rgba(255, 255, 255, 0.3);
}

.featured-ribbon {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1e40af;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.athlete-type-ribbon {
    display: none;
}

/* Athlete Type Badge Colors */
.athlete-type-olympic {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1e3a8a;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.athlete-type-international {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.athlete-type-national {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.athlete-type-state {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #1e3a8a;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.athlete-type-university {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}

.athlete-type-club {
    background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.4);
}

.athlete-type-youth {
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.4);
}

.athlete-type-amateur {
    background: linear-gradient(135deg, #64748b 0%, #94a3b8 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(100, 116, 139, 0.4);
}

/* Athlete Info Modern */
.athlete-header {
    text-align: center;
    text-align: left;
}

.athlete-name-modern {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.athlete-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    margin-bottom: 0;
}

.athlete-subtitle-highlight {
    font-size: 1.5rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.025em;
    position: relative;
}

/* Modern Stat Cards */
.athlete-stats-cards {
    margin: 0 -8px;
}

.stat-card-modern {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.stat-card-modern:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: #1e40af;
    font-size: 1.2rem;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

/* Action Buttons */
.athlete-actions {
    text-align: center;
    text-align: left;
}

.athlete-actions .btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.athlete-actions .btn-primary {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border: none;
    color: #1e40af;
}

.athlete-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.4);
}

.athlete-actions .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    background: transparent;
}

.athlete-actions .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .athlete-name-modern {
        font-size: 2.5rem;
        color: #ffffff;
    }
    
    .athlete-main-image {
        width: 250px;
        height: 250px;
    }
    
    .athlete-placeholder-modern {
        width: 250px;
        height: 250px;
        font-size: 3rem;
    }
    
    .athlete-header,
    .athlete-actions {
        text-align: center;
    }
    
    .athlete-stats-cards {
        margin-top: 2rem;
    }
    
    .athlete-type-ribbon {
        top: 40px;
        right: -5px;
        padding: 6px 10px;
        font-size: 0.7rem;
    }
}

/* ===================================
   ENHANCED BIOGRAPHY & SIDEBAR STYLES
   =================================== */

/* Biography Section Enhancements */
#biography {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

#biography::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.1) 0%, transparent 100%);
    z-index: 1;
}

#biography .container {
    position: relative;
    z-index: 2;
}

/* Enhanced Content Card */
.content-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #fbbf24 100%);
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 5px 15px rgba(0, 0, 0, 0.1);
}

.content-card h3 {
    color: #1e40af;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.content-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 2px;
}

/* Enhanced Biography Text */
.athlete-biography {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
    text-align: justify;
}

.athlete-biography p {
    margin-bottom: 1.5rem;
}

.athlete-biography p:first-child::first-letter {
    float: left;
    font-size: 4rem;
    line-height: 3.5rem;
    padding-right: 12px;
    margin-top: 8px;
    margin-bottom: -4px;
    color: #1e40af;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Enhanced Sidebar Cards */
.sidebar-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.1);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sidebar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.sidebar-card:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 5px 15px rgba(0, 0, 0, 0.1);
}

.sidebar-card h5 {
    color: #1e40af;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enhanced Fact List */
.fact-list {
    margin: 0;
    padding: 0;
}

.fact-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.fact-item:last-child {
    border-bottom: none;
}

.fact-item:hover {
    background: rgba(102, 126, 234, 0.05);
    margin: 0 -15px;
    padding: 15px;
    border-radius: 10px;
}

.fact-label {
    font-weight: 600;
    color: #6b7280;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 0 0 auto;
    margin-right: 15px;
}

.fact-value {
    color: #1f2937;
    font-weight: 600;
    text-align: right;
    flex: 1;
}

.fact-value .badge {
    margin: 2px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.fact-value .badge.bg-light {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb) !important;
    color: #374151 !important;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.fact-value .badge.bg-success {
    background: linear-gradient(135deg, #10b981, #059669) !important;
}

.fact-value .badge.bg-secondary {
    background: linear-gradient(135deg, #6b7280, #4b5563) !important;
}

.fact-value .badge.bg-warning {
    background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
    color: #1e40af !important;
}

/* Action Shot Enhancement */
.sidebar-card img {
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.sidebar-card img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Email Link Enhancement */
.fact-value a {
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 8px;
}

.fact-value a:hover {
    background: rgba(30, 64, 175, 0.1);
    color: #1d4ed8;
    transform: translateX(-2px);
}

.fact-value a i {
    transition: all 0.3s ease;
}

.fact-value a:hover i {
    transform: scale(1.1);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .content-card,
    .sidebar-card {
        padding: 25px;
        margin-bottom: 20px;
    }
    
    .content-card h3 {
        font-size: 1.8rem;
    }
    
    .athlete-biography {
        font-size: 1rem;
        text-align: left;
    }
    
    .athlete-biography p:first-child::first-letter {
        font-size: 3rem;
        line-height: 2.5rem;
    }
    
    .fact-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .fact-label {
        margin-bottom: 5px;
        margin-right: 0;
    }
    
    .fact-value {
        text-align: left;
    }
}