/* Featured Champion Card - Modern Design */

.featured-champion-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin: 1.5rem 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.featured-champion-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Background pattern for visual interest */
.featured-champion-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    transform: rotate(45deg);
}

.champion-profile {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.champion-avatar {
    position: relative;
    width: 80px;
    height: 80px;
}

.champion-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.1);
}

.champion-initials {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 0 0 4px #ffffff, 0 0 0 5px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.1);
}

.champion-info {
    flex: 1;
}

.champion-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.375rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pdga-badge {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    background: #e5e7eb;
    color: #6b7280;
    border-radius: 20px;
    font-weight: 500;
    letter-spacing: 0.025em;
}

.champion-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.25rem;
}

.rating-info, .performance-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.rating-label, .performance-label {
    color: #6b7280;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.rating-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    line-height: 1;
}

.performance-value {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}

.performance-value.text-success {
    color: #10b981;
}

.performance-value.text-danger {
    color: #ef4444;
}

/* Featured Champion Badge - Premium Design */
.champion-achievement {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

.achievement-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
    position: relative;
    overflow: hidden;
}

.achievement-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

.achievement-badge i {
    color: #ffffff;
    font-size: 0.75rem;
    z-index: 1;
}

.achievement-badge span {
    position: relative;
    z-index: 1;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Content Section */
.featured-champion-content {
    padding: 1.5rem;
    background: #fafafa;
}

.bag-tag-connection {
    position: relative;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.connection-line {
    display: none; /* Remove the connection line for cleaner look */
}

.bag-tag-showcase {
    position: relative;
    width: 100%;
    max-width: 360px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bag-tag-showcase:hover {
    transform: translateY(-4px);
}

.champion-story {
    text-align: center;
    color: #4b5563;
    max-width: 600px;
    margin: 2rem auto 0;
    font-size: 1rem;
    line-height: 1.7;
}

.story-context {
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.story-context strong {
    color: #111827;
    font-weight: 600;
}

/* Dark Mode Support */
[data-bs-theme="dark"] {
    .featured-champion-card {
        background: #1f2937;
        border-color: rgba(255, 255, 255, 0.1);
    }

    .featured-champion-header {
        background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    }

    .featured-champion-header::before {
        background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    }

    .champion-img {
        border-color: #374151;
    }

    .champion-name {
        color: #f3f4f6;
    }

    .pdga-badge {
        background: #374151;
        color: #d1d5db;
    }

    .rating-label, .performance-label {
        color: #9ca3af;
    }

    .rating-value {
        color: #f3f4f6;
    }

    .featured-champion-content {
        background: #111827;
    }

    .champion-story {
        color: #d1d5db;
    }

    .story-context {
        background: #1f2937;
        border-color: #374151;
    }

    .story-context strong {
        color: #f3f4f6;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .featured-champion-header {
        padding: 1.5rem;
    }

    .champion-achievement {
        position: static;
        margin-top: 1rem;
        display: flex;
        justify-content: center;
    }

    .champion-profile {
        flex-direction: column;
        text-align: center;
    }

    .champion-name {
        justify-content: center;
        font-size: 1.5rem;
    }

    .champion-stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .rating-info, .performance-info {
        align-items: center;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .bag-tag-showcase {
        transition: none;
    }

    .achievement-badge::before {
        animation: none;
    }
}