/* Core Series Details Page Styles */
.series-details-page {
    --player-image-size: 40px;
    --league-card-min-width: 300px;
    --gradient-primary: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    --gradient-accent: linear-gradient(135deg, #f1c40f, #e67e22);
    --shadow-elevation: 0 8px 32px rgba(0, 0, 0, 0.15);
    --shadow-elevation-hover: 0 12px 40px rgba(0, 0, 0, 0.25);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.series-description {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 1rem;
}

.series-dates {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

.current-series-module:not(.participating) {
    padding: 1.25rem;
}

/* Header Section with Enhanced Styling */
.series-details-page .series-header {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--gradient-primary);
    border-radius: 24px;
    margin-bottom: 2.5rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-elevation);
}

.series-details-page .series-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    transform: translate(50%, -50%);
}

.series-details-page .series-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
}

.series-details-page .series-dates {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.series-details-page .series-description {
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 20px;
}

/* Stats Card with Modern Design */
.series-details-page .series-stats-card {
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-elevation);
    transition: var(--transition-smooth);
}

.series-details-page .stats-list li {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    padding: 1.25rem;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 12px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.series-details-page .stats-list li:hover {
    transform: translateX(8px);
    background: rgba(52, 152, 219, 0.15);
}

.series-details-page .stats-list i {
    font-size: 1.5rem;
    color: #3498db;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

/* Enhanced Leagues Grid */
.series-details-page .series-leagues-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-elevation);
    margin-top: 2rem;
}

.series-details-page .leagues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--league-card-min-width), 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.series-details-page .league-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-elevation);
    position: relative;
}

.series-details-page .league-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elevation-hover);
}

.series-details-page .league-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.series-details-page .league-item:hover::after {
    transform: scaleX(1);
}

/* Leaderboard Enhancements */
.series-details-page .leaderboards-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-elevation);
}

.series-details-page .nav-tabs {
    border: none;
    gap: 0.75rem;
    padding-bottom: 1rem;
}

.series-details-page .nav-tabs .nav-link {
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    transition: var(--transition-smooth);
    position: relative;
}

.series-details-page .nav-tabs .nav-link:hover {
    background: rgba(52, 152, 219, 0.1);
    transform: translateY(-2px);
}

.series-details-page .nav-tabs .nav-link.active {
    color: white;
    background: var(--gradient-primary);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.series-details-page .player-standing {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background: rgba(52, 152, 219, 0.05);
    border-radius: 12px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.series-details-page .player-standing:hover {
    transform: translateX(8px);
    background: rgba(52, 152, 219, 0.1);
}

.series-details-page .player-details {
    align-content: start !important;
    text-align: left !important;
}

.series-details-page .player-standing .player-details {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
    text-align: left !important;
    margin-bottom: 0 !important;
    flex: 1 !important;
    min-width: 0 !important;
    align-items: normal !important;
}

.series-details-page .player-standing .player-details .player-name {
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    margin-bottom: 0 !important;
    text-align: left !important;
    color: inherit !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.series-details-page .player-standing .player-details .player-stats {
    display: flex !important;
    gap: 1.25rem !important;
    align-items: center !important;
    font-size: 0.875rem !important;
    color: rgba(75, 85, 99, 0.9) !important;
}

.series-details-page .player-standing .player-details .events-played,
.series-details-page .player-standing .player-details .points {
    display: flex !important;
    align-items: center !important;
    gap: 0.375rem !important;
}

/* Current player highlight overrides */
.series-details-page .player-standing.current-player .player-details {
    align-items: normal !important;
    color: white !important;
}

.series-details-page .player-standing.current-player .player-details .player-name {
    color: white !important;
}

.series-details-page .player-standing.current-player .player-details .player-stats {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Badge styling */
.series-details-page .player-standing .player-details .badge {
    margin-left: 0.5rem !important;
    font-weight: 500 !important;
    padding: 0.25em 0.5em !important;
    font-size: 0.75em !important;
    vertical-align: middle !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .series-details-page .player-standing .player-details .player-name {
        font-size: 1rem !important;
    }

    .series-details-page .player-standing .player-details .player-stats {
        flex-wrap: wrap !important;
        gap: 0.75rem !important;
        font-size: 0.8125rem !important;
    }
}

@media (max-width: 576px) {
    .leaderboard-grid .player-info {
        flex-direction: row !important;
    }
}

.series-details-page .player-standing.current-player {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.series-details-page .standing-position {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    min-width: 3rem;
    text-align: center;
}

.current-player .standing-position {
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Responsive Design Improvements */
@media (max-width: 768px) {
    .series-details-page .series-title {
        font-size: 2.25rem;
    }

    .series-details-page .series-header {
        padding: 2rem 1rem;
    }

    .series-details-page .leagues-grid {
        grid-template-columns: 1fr;
    }

    .series-details-page .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        padding-bottom: 1rem;
    }

    .series-details-page .nav-tabs::-webkit-scrollbar {
        display: none;
    }
}

/* Dark Mode Enhancements */
[data-bs-theme="dark"] {
    .series-details-page .series-stats-card,
    .series-details-page .series-leagues-card,
    .series-details-page .leaderboards-container,
    .series-details-page .league-item {
        background: #1a2634;
    }

    .series-details-page .player-standing {
        background: rgba(255, 255, 255, 0.05);
    }

    .series-details-page .stats-list li {
        background: rgba(255, 255, 255, 0.05);
    }

    .series-details-page .nav-tabs .nav-link {
        color: rgba(255, 255, 255, 0.9);
    }
}

.league-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    transition: box-shadow 0.3s ease;
    aspect-ratio: 16/9;
    margin-bottom: 20px;
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.league-item:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.league-link {
    position: relative;
    display: block;
    height: 100%;
    text-decoration: none;
    color: white;
}

.league-image,
.league-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.league-image-placeholder {
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.league-image-placeholder i {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.league-details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.7) 50%,
    rgba(0, 0, 0, 0) 100%);
    transform: translateY(0);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.league-item:hover .league-image,
.league-item:hover .league-image-placeholder {
    transform: scale(1.1);
}

.league-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin: 0;
    line-height: 1.4;
}

.league-date {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.league-date {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.day-badge {
    display: inline-block;
    background: var(--gradient-accent);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    margin-left: 0.5rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.league-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .league-item {
        aspect-ratio: auto;
        height: 120px;
    }

    .league-details {
        transform: translateY(0);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .league-item.show-details .league-details {
        opacity: 1;
    }
}

.series-details-page .series-image-container {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.series-details-page .series-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.series-details-page .series-image-container:hover .series-image {
    transform: scale(1.05);
}

.series-details-page .trend-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 500;
}

.series-details-page .trend-indicator.up {
    color: #22c55e;
}

.series-details-page .trend-indicator.down {
    color: #ef4444;
}

.series-details-page .trend-indicator.stable {
    color: #6b7280;
}

.series-details-page .position-change {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Dark mode adjustment */
[data-bs-theme="dark"] {
    .series-details-page .series-image-container {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
}

.series-details-page .no-events-message {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    margin: 2rem 0;
    background: rgba(52, 152, 219, 0.1); /* Light blue background */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    color: #2c3e50; /* Dark text color for readability */
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.series-details-page .featured-event {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-elevation);
    margin: 2rem auto;
    max-width: 800px;
    text-align: center;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.series-details-page .featured-event:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elevation-hover);
}

.series-details-page .featured-event h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.series-details-page .featured-event p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.series-details-page .register-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: white !important;
    background: var(--gradient-accent);
    border: none;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--transition-smooth), box-shadow var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.series-details-page .register-button:hover {
    background: rgba(241, 196, 15, 0.9);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.series-details-page .no-events-message i {
    font-size: 2rem;
    color: #3498db; /* Blue color matching theme */
    margin-right: 0.75rem;
    display: inline-block;
}

.series-details-page .payout-summary {
    background: rgba(52, 152, 219, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.series-details-page .payout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.series-details-page .payout-header h4 {
    margin: 0;
    font-weight: 600;
    color: #2c3e50;
}

.series-details-page .total-pot {
    font-size: 1.125rem;
    font-weight: 500;
    color: #3498db;
}

.series-details-page .payout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.series-details-page .payout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.payout-place {
    font-weight: 500;
    color: #2c3e50;
}

.series-details-page .payout-amount {
    font-weight: 600;
    color: #27ae60;
}

.series-details-page .projected-payout {
    font-weight: 500;
    color: #27ae60;
    margin-left: 1rem;
}

[data-bs-theme="dark"] {
    .series-details-page .payout-summary {
        background: rgba(255, 255, 255, 0.05);
    }

    .series-details-page .payout-header h4 {
        color: #ecf0f1;
    }

    .series-details-page .payout-item {
        background: #1a2634;
    }

    .series-details-page .payout-place {
        color: #ecf0f1;
    }
}

.points-explainer {
    margin-bottom: 2rem;
}

.points-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-elevation);
    transition: var(--transition-smooth);
}

.points-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.points-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: 
        "basic1 basic2"
        "hot-round hot-round";
}

.basic-point {
    background: rgba(52, 152, 219, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition-smooth);
}

.basic-point:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevation);
}

.basic-point:nth-child(1) {
    grid-area: basic1;
}

.basic-point:nth-child(2) {
    grid-area: basic2;
}

.hot-round-item {
    grid-area: hot-round;
    background: rgba(52, 152, 219, 0.1);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition-smooth);
}

.hot-round-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevation);
}

.points-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.75rem;
}

.points-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.points-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #34495e;
}

.example-box {
    background: rgba(52, 152, 219, 0.05);
    padding: 1.25rem;
    border-radius: 8px;
    margin-top: 1.25rem;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.example-box strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 0.5rem;
}

/* Dark Mode Enhancements */
[data-bs-theme="dark"] {
    .points-card {
        background: #1a2634;
    }

    .points-title {
        color: rgba(255, 255, 255, 0.9);
    }

    .basic-point,
    .hot-round-item {
        background: rgba(255, 255, 255, 0.05);
    }

    .points-label {
        color: rgba(255, 255, 255, 0.9);
    }

    .points-description {
        color: rgba(255, 255, 255, 0.8);
    }

    .example-box {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
    }

    .example-box strong {
        color: rgba(255, 255, 255, 0.9);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .points-grid {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "basic1"
            "basic2"
            "hot-round";
        gap: 1rem;
    }

    .points-card {
        padding: 1.5rem;
    }

    .points-value {
        font-size: 2rem;
    }

    .points-label {
        font-size: 1rem;
    }

    .hot-round-item {
        padding: 1.5rem;
    }
}

/
/
Series Points and Payouts Buttons
.series-details-page .info-buttons {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .series-details-page .info-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.series-details-page .info-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    width: 100%;
    border: none;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.series-details-page .points-button {
    background: var(--gradient-primary);
    color: white;
}

.series-details-page .payout-button {
    background: var(--gradient-accent);
    color: white;
}

.series-details-page .info-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-elevation);
}

.series-details-page .info-button i {
    font-size: 1.2rem;
}

/* Prize Pool Display */
.series-details-page .prize-pool {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-elevation);
}

.series-details-page .prize-pool-amount {
    font-size: 3rem;
    font-weight: 800;
    margin: 0.5rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.series-details-page .prize-pool-label {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Collapsible Content */
.series-details-page .collapsible-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-elevation);
    transition: var(--transition-smooth);
}

/* Dark Mode Support */
[data-bs-theme="dark"] {
    .series-details-page .collapsible-section {
        background: #1a2634;
    }

    .series-details-page .prize-pool {
        background: linear-gradient(135deg, #27ae60, #219a52);
    }
}

.series-bag-tags {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-elevation);
    margin-bottom: 2rem;
}

.series-bag-tags .carousel {
    padding: 0 2rem;
}

.series-bag-tags .carousel-control-prev,
.series-bag-tags .carousel-control-next {
    width: 10%;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    height: 40px;
    width: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.series-bag-tags .carousel-control-prev {
    left: -1rem;
}

.series-bag-tags .carousel-control-next {
    right: -1rem;
}

.bag-tag-card {
    transition: var(--transition-smooth);
}

.bag-tag-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elevation-hover);
}

/* Dark mode support */
[data-bs-theme="dark"] {
    .series-bag-tags {
        background: #1a2634;
    }

    .series-bag-tags .carousel-control-prev,
    .series-bag-tags .carousel-control-next {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* Core Series Module Styles */
.current-series-module {
    background: linear-gradient(135deg, #2b5876, #4e4376);
    color: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Decorative background elements */
.current-series-module::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
    z-index: 0;
}

.current-series-module::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    transform: translate(-30%, 30%);
    z-index: 0;
}

.current-series-module .series-content {
    position: relative;
    z-index: 2;
}

.current-series-module:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* Series Header */
.current-series-module .series-info {
    margin-bottom: 1.5rem;
}

.current-series-module .series-image-container {
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.current-series-module .series-image-container:hover {
    transform: scale(1.05) rotate(-3deg);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.current-series-module .series-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.current-series-module .series-image-container:hover .series-image {
    transform: scale(1.1);
}

.current-series-module .series-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.current-series-module .division-badge {
    display: inline-block;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.current-series-module .division-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
}

/* Enhanced YOUR BAG TAG Section */
.current-series-module .series-bag-tag {
    position: relative;
    margin: 2rem auto;
    transition: transform 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.current-series-module .bag-tag-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #FF5F6D, #FFC371);
    color: white;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 8px 15px rgba(255, 95, 109, 0.4);
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(.47, 1.64, .41, .8);
    animation: pulse 2s infinite;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 95, 109, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 95, 109, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 95, 109, 0);
    }
}

.current-series-module .bag-tag-badge:hover {
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 95, 109, 0.6);
}

.current-series-module .series-bag-tag::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(ellipse at center, rgba(106, 255, 184, 0.3), rgba(103, 103, 255, 0) 70%);
    filter: blur(25px);
    z-index: 0;
}

/* Enhanced Standing Details & Stats */
.current-series-module .standing-details {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.current-series-module .standing-details:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.current-series-module .position {
    margin-bottom: 1.5rem;
}

.current-series-module .rank-badge {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.current-series-module .rank-badge::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, rgba(94, 46, 255, 0.6), rgba(122, 95, 255, 0.6));
    border-radius: 50%;
    z-index: -1;
    filter: blur(8px);
    opacity: 0.8;
    animation: rotate 5s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.current-series-module .rank-number {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #5e2eff, #7a5fff);
    border-radius: 50%;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3),
    inset 0 -5px 15px rgba(0, 0, 0, 0.3),
    inset 0 5px 15px rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.current-series-module .rank-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
    border-radius: 50% 50% 0 0;
    z-index: 2;
}

.current-series-module .stats {
    display: flex;
    justify-content: space-around;
    gap: 10px;
    padding: 10px 0;
}

.current-series-module .stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.current-series-module .stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.current-series-module .stat-icon {
    font-size: 1.4rem;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.current-series-module .stat-item:hover .stat-icon {
    transform: scale(1.2) rotate(10deg);
}

/* Trend Indicators */
.current-series-module .trend-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.current-series-module .trend-indicator:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.current-series-module .trend-indicator.up {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
}

.current-series-module .trend-indicator.down {
    color: #f87171;
    background: rgba(248, 113, 113, 0.1);
}

.current-series-module .trend-indicator.stable {
    color: #a3a3a3;
    background: rgba(163, 163, 163, 0.1);
}

/* Enhanced Latest Points Display */
.current-series-module .latest-points {
    margin: 1.5rem 0;
}

.current-series-module .points-display {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.current-series-module .points-display:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Enhanced Description Card for Non-Participants */
.current-series-module .description-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    margin: 1.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.current-series-module .description-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.current-series-module .description-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.current-series-module .description-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
}

/* Enhanced Calendar Badge */
.current-series-module .calendar-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, rgba(106, 90, 205, 0.4), rgba(72, 61, 139, 0.2));
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 15px 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin: 1.5rem auto;
    max-width: 300px;
    transition: all 0.3s ease;
}

.current-series-module .calendar-badge:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* DRAMATICALLY ENHANCED Upcoming League Events Section */
.current-series-module .join-series-prompt {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(30, 10, 60, 0.4));
    border-radius: 16px;
    padding: 25px;
    margin: 1.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.current-series-module .join-series-prompt:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.2);
}

.current-series-module .join-series-prompt::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
            to bottom right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 60%,
            rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    animation: shine 5s infinite;
    pointer-events: none;
    z-index: 1;
}

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

.current-series-module .upcoming-events h6 {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.current-series-module .upcoming-events h6::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #6B8AFF, transparent);
    border-radius: 3px;
}

.current-series-module .upcoming-event-link {
    color: white;
    background: linear-gradient(90deg, rgba(107, 138, 255, 0.1), rgba(107, 138, 255, 0.05));
    padding: 12px 20px;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    text-decoration: none;
    border: 1px solid rgba(107, 138, 255, 0.2);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.current-series-module .upcoming-event-link:hover {
    transform: translateX(8px);
    background: linear-gradient(90deg, rgba(107, 138, 255, 0.15), rgba(107, 138, 255, 0.1));
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: rgba(107, 138, 255, 0.3);
}

.current-series-module .upcoming-event-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(107, 138, 255, 0.2), rgba(107, 138, 255, 0));
    transition: width 0.3s ease;
    z-index: -1;
}

.current-series-module .upcoming-event-link:hover::before {
    width: 100%;
}

.current-series-module .upcoming-event-link i {
    font-size: 1.2rem;
    margin-right: 12px;
    transition: transform 0.3s ease;
}

.current-series-module .upcoming-event-link:hover i {
    transform: rotate(15deg) scale(1.2);
}

.current-series-module .upcoming-event-link span.fw-medium {
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.current-series-module .upcoming-event-link span.opacity-75 {
    opacity: 0.9;
}

/* Enhanced Upcoming Series Section */
.current-series-module .upcoming-series {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(30, 10, 60, 0.4));
    border-radius: 16px;
    padding: 20px;
    margin: 1.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.current-series-module .upcoming-series:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.2);
}

.current-series-module .upcoming-badge {
    position: absolute;
    top: -10px;
    right: 25px;
    background: linear-gradient(90deg, #FF5F6D, #FFC371);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    box-shadow: 0 5px 15px rgba(255, 95, 109, 0.4);
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    z-index: 10;
}

.current-series-module .upcoming-series:hover .upcoming-badge {
    transform: translateY(-3px) rotate(3deg) scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 95, 109, 0.5);
}

.current-series-module .upcoming-series-image {
    transform: rotate(-3deg);
    transition: all 0.3s ease;
    position: relative;
}

.current-series-module .upcoming-series-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: -1;
}

.current-series-module .upcoming-series:hover .upcoming-series-image {
    transform: rotate(-8deg) scale(1.05);
}

.current-series-module .upcoming-series-image:hover::after {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.current-series-module .start-date-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 6px 12px;
    margin: 8px 0;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.current-series-module .start-date-pill:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.current-series-module .venue-pill {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.current-series-module .venue-pill:hover {
    transform: translateY(-3px) translateX(3px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Enhanced View Series Link Button */
.current-series-module .series-link {
    position: relative;
    display: block;
    text-align: center;
    background: linear-gradient(90deg, #6B8AFF, #7A5FFF);
    border: none;
    color: white;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(107, 138, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.current-series-module .series-link:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(107, 138, 255, 0.5);
    background: linear-gradient(90deg, #7A5FFF, #6B8AFF);
    border-color: rgba(255, 255, 255, 0.2);
}

.current-series-module .series-link:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 8px 20px rgba(107, 138, 255, 0.3);
}

.current-series-module .series-link::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(90deg, #7A5FFF, #6B8AFF, #7A5FFF);
    border-radius: 14px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.current-series-module .series-link:hover::before {
    opacity: 0.5;
}

.current-series-module .series-link::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            120deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent
    );
    transform: translateX(-100%);
    animation: none;
}

.current-series-module .series-link:hover::after {
    animation: shine 1.5s;
}

.current-series-module .series-link-secondary {
    background: linear-gradient(90deg, #f59e0b, #d97706);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
    margin-top: 0.75rem;
}

.current-series-module .series-link-secondary:hover {
    background: linear-gradient(90deg, #d97706, #f59e0b);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.5);
}

.current-series-module .series-link-secondary::before {
    background: linear-gradient(90deg, #d97706, #f59e0b, #d97706);
}

.current-series-module .series-link-secondary i.fa-trophy {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

@keyframes shine {
    100% {
        transform: translateX(100%);
    }
}

.current-series-module .series-link i {
    transition: transform 0.3s ease;
}

.current-series-module .series-link:hover i {
    transform: translateX(5px);
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .current-series-module {
        padding: 15px;
    }

    .current-series-module .stats {
        flex-wrap: wrap;
    }

    .current-series-module .stat-item {
        min-width: 45%;
    }

    .current-series-module .rank-badge {
        width: 80px;
        height: 80px;
    }

    .current-series-module .rank-number {
        font-size: 2rem;
    }

    .current-series-module .series-name {
        font-size: 1.25rem;
    }
}

/* Additional classes for clean HTML implementation */

/* Latest points section */
.current-series-module .points-icon-container {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-right: 12px;
}

.current-series-module .points-icon-container i {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.current-series-module .last-points-value {
    font-weight: 700;
    font-size: 1.25rem;
    color: #6AFFB8;
    text-shadow: 0 0 10px rgba(106, 255, 184, 0.4);
}

/* Quote marks styling */
.current-series-module .quote-mark {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.15;
    color: white;
    font-family: serif;
}

.current-series-module .quote-mark-start {
    top: -15px;
    left: -15px;
}

.current-series-module .quote-mark-end {
    bottom: -30px;
    right: -15px;
}

/* Calendar section */
.current-series-module .calendar-badge-container {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.current-series-module .calendar-icon-container {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.current-series-module .calendar-icon-container i {
    font-size: 1.5rem;
    color: #B0E0E6;
    text-shadow: 0 0 10px rgba(176, 224, 230, 0.8);
}

.current-series-module .calendar-label {
    font-size: 0.875rem;
    opacity: 0.75;
}

.current-series-module .calendar-dates {
    font-weight: 700;
}

/* Join prompt */
.current-series-module .join-prompt-text {
    margin-bottom: 1rem;
    font-weight: 600;
    color: white;
}

.current-series-module .upcoming-events-title {
    margin-bottom: 1rem;
    font-weight: 600;
    color: #6B8AFF;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.current-series-module .upcoming-events-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #6B8AFF, transparent);
    border-radius: 3px;
}

.current-series-module .event-date {
    opacity: 0.75;
    margin-left: 4px;
}

/* Next series styling */
.current-series-module .next-series-image {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.current-series-module .next-series-placeholder {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5e5c8c, #312c5f);
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.current-series-module .next-series-placeholder i {
    font-size: 1.5rem;
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.current-series-module .upcoming-series-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.current-series-module .upcoming-series-header i {
    color: #6AFFB8;
    text-shadow: 0 0 10px rgba(106, 255, 184, 0.4);
    margin-right: 0.5rem;
}

.current-series-module .upcoming-series-label {
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.current-series-module .next-series-link {
    text-decoration: none;
    color: white;
}

.current-series-module .next-series-name {
    font-size: 1.25rem;
    display: block;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.current-series-module .venue-pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.current-series-module .venue-separator {
    margin: 0 0.25rem;
}

/* Stat icon colors */
.current-series-module .stat-item:nth-child(1) .stat-icon {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.current-series-module .stat-item:nth-child(2) .stat-icon {
    color: #66CDAA;
    text-shadow: 0 0 10px rgba(102, 205, 170, 0.6);
}

.current-series-module .stat-item:nth-child(3) .stat-icon {
    color: #FFA500;
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.6);
}

/* Button icon colors */
.current-series-module .series-link .fa-trophy {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.current-series-module .series-link .fa-info-circle {
    color: #6AFFB8;
    text-shadow: 0 0 10px rgba(106, 255, 184, 0.4);
}

.current-series-module .fa-calendar-day {
    color: #FFC371;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

.current-series-module .fa-map-marker-alt {
    color: #FF9AA2;
    font-size: 0.7rem;
    margin-right: 0.25rem;
}

.current-series-module .fa-disc {
    color: #6B8AFF;
    margin-right: 0.5rem;
}

/* Weekly Summaries Section */
.series-summaries-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-elevation);
    transition: var(--transition-smooth);
}

.summaries-accordion .accordion-item {
    border: none;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.summaries-accordion .accordion-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.summaries-accordion .accordion-button {
    padding: 1rem 1.5rem;
    background: rgba(52, 152, 219, 0.05);
    font-weight: 600;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summaries-accordion .accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: white;
    box-shadow: none;
}

.summaries-accordion .accordion-button:focus {
    box-shadow: none;
}

.summaries-accordion .summary-date {
    font-size: 0.85rem;
    color: #6b7280;
    margin-right: 1rem;
}

.summaries-accordion .accordion-button:not(.collapsed) .summary-date {
    color: rgba(255, 255, 255, 0.9);
}

.summaries-accordion .summary-subject {
    font-weight: 600;
    flex: 1;
}

.summaries-accordion .accordion-body {
    padding: 1.5rem;
    background: white;
}

.summaries-accordion .summary-content {
    font-size: 0.95rem;
    line-height: 1.6;
}

.summaries-accordion .summary-content p {
    margin-bottom: 1rem;
}

.summaries-accordion .summary-content p:last-child {
    margin-bottom: 0;
}

/* Dark mode support */
[data-bs-theme="dark"] {
    .series-summaries-card {
        background: #1a2634;
    }

    .summaries-accordion .accordion-button {
        background: rgba(255, 255, 255, 0.05);
        color: rgba(255, 255, 255, 0.9);
    }

    .summaries-accordion .summary-date {
        color: rgba(255, 255, 255, 0.7);
    }

    .summaries-accordion .accordion-body {
        background: #1a2634;
        color: rgba(255, 255, 255, 0.9);
    }
}

/* Series Bag Tag Customization Styles */
.bag-tag-hero {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    color: white;
    overflow: hidden;
    margin-bottom: 2rem;
}

.bag-tag-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/pattern.svg');
    background-size: cover;
    opacity: 0.1;
    z-index: 1;
}

.bag-tag-hero.with-series-image .bag-tag-hero-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    opacity: 1;
}

.series-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(2px);
    z-index: 0;
    opacity: 0.7;
    transform: scale(1.05);
}

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

.series-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/pattern.svg');
    background-size: cover;
    opacity: 0.05;
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.series-banner {
    position: absolute;
    top: -80px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 0 0 15px 15px;
    padding: 15px 25px;
    margin: 0 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-top: 3px solid var(--bs-primary);
    z-index: 3;
}

.series-banner-content {
    display: flex;
    align-items: center;
}

.series-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.series-icon i {
    font-size: 28px;
    color: var(--bs-primary);
}

.series-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.series-name-container {
    display: flex;
    flex-direction: column;
}

.series-name-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    margin-bottom: 2px;
}

.series-name {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 80%;
    line-height: 1.6;
}

.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 2rem 1rem;
    margin-top: -20px;
}

.animated-tag-container {
    position: relative;
    width: 300px;
    height: 420px;
    perspective: 1000px;
    transform-style: preserve-3d;
    transform: rotate(5deg);
    margin: 0 auto;
}

.animated-tag-container.portrait-mode {
    width: 280px;
    height: 420px;
    transform: rotate(3deg);
    margin-top: 20px;
}

.tag-frame {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.tag-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.animated-tag-container.wobble {
    animation: wobble 1s ease-in-out;
}

.animated-tag-container.pulse {
    animation: pulse 1s ease-in-out;
}

.animated-tag-container.flip {
    animation: flip 1s ease-in-out;
}

.animated-tag-container.bounce {
    animation: bounce 1s ease-in-out;
}

.animated-tag-container.swing {
    animation: swing 1s ease-in-out;
}

@keyframes wobble {
    0% {
        transform: rotate(3deg);
    }
    20% {
        transform: rotate(5deg) translateX(-5px);
    }
    40% {
        transform: rotate(1deg) translateX(5px);
    }
    60% {
        transform: rotate(5deg) translateX(-3px);
    }
    80% {
        transform: rotate(1deg) translateX(3px);
    }
    100% {
        transform: rotate(3deg);
    }
}

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

@keyframes flip {
    0% {
        transform: rotate(3deg) perspective(400px);
    }
    40% {
        transform: rotate(3deg) perspective(400px) translateZ(50px) rotateY(170deg);
    }
    50% {
        transform: rotate(3deg) perspective(400px) translateZ(50px) rotateY(190deg);
    }
    80% {
        transform: rotate(3deg) perspective(400px) translateZ(0) rotateY(360deg);
    }
    100% {
        transform: rotate(3deg) perspective(400px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(3deg) translateY(0);
    }
    40% {
        transform: rotate(3deg) translateY(-20px);
    }
    60% {
        transform: rotate(3deg) translateY(-10px);
    }
}

@keyframes swing {
    20% {
        transform: rotate(10deg);
    }
    40% {
        transform: rotate(-5deg);
    }
    60% {
        transform: rotate(3deg);
    }
    80% {
        transform: rotate(-2deg);
    }
    100% {
        transform: rotate(3deg);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.tag-number-overlay {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.5rem;
    z-index: 2;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.tag-hash {
    color: var(--bs-primary);
    margin-right: 2px;
}

/* Bag Tag Customization Section */
.bag-tag-customization-section {
    padding: 3rem 0;
    background-color: var(--bg-primary);
}

/* Premium Card Styles */
.premium-card {
    border: none;
    border-radius: 1rem;
    background-color: var(--surface-1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.premium-card-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.premium-icon-container {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(var(--bs-primary-rgb), 0.3);
}

.premium-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

.premium-subtitle {
    margin: 0.5rem 0 0 calc(50px + 1rem);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.premium-card-body {
    padding: 1.5rem;
}

.premium-card-footer {
    padding: 1rem 1.5rem;
    background-color: rgba(0, 0, 0, 0.02);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Series Tag Showcase */
.tag-image-container {
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: 0.75rem;
    position: relative;
}

.tag-image-container.portrait-tag {
    height: 380px;
    margin: 0 auto;
    max-width: 250px;
}

.tag-image-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.tag-image-container.portrait-tag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tag-image-container:hover img {
    transform: scale(1.05);
}

.series-tag-preview .tag-name {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tag-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.tag-info-item {
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.03);
    padding: 1rem;
    border-radius: 0.5rem;
}

.info-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Faction Info */
.faction-info {
    display: flex;
    align-items: center;
}

.faction-icon {
    width: 50px;
    height: 50px;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
}

.faction-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.faction-description {
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Physical Tag Information */
.physical-tag-info {
    padding: 0.5rem;
}

.info-text {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.distribution-title, .features-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.distributor-card, .disc-shop-card {
    transition: all 0.3s ease;
}

.distributor-logo, .shop-logo-placeholder {
    color: var(--bs-primary);
}

.distributor-name, .shop-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.distributor-details, .shop-details {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.shop-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.shop-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1.5rem;
}

.shop-link {
    color: var(--bs-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.shop-link:hover {
    color: var(--bs-primary-darker, #0056b3);
    text-decoration: underline;
}

.shop-actions {
    margin-top: 1rem;
}

.disc-shop-card {
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.disc-shop-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.shop-description {
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
    margin-top: 0.5rem;
}

.tag-features {
    margin-top: 1.5rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

.features-list li i {
    color: var(--bs-success);
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

/* League Tags Gallery */
.gallery-filter {
    margin-bottom: 1.5rem;
}

.search-box {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

#tagSearchInput {
    padding-left: 2.5rem;
    border-radius: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    height: 50px;
    font-size: 1rem;
}

.tag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.tag-card {
    height: 420px;
    perspective: 1000px;
    cursor: pointer;
    margin-bottom: 1.5rem;
}

.tag-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border-radius: 0.75rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tag-card.flipped .tag-card-inner {
    transform: rotateY(180deg);
}

.tag-card-front, .tag-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 0.75rem;
    overflow: hidden;
}

.tag-card-back {
    transform: rotateY(180deg);
    background-color: var(--surface-2);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.tag-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.02);
}

.tag-image.portrait-tag {
    width: 100%;
    height: 100%;
}

.tag-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tag-image.portrait-tag img {
    object-fit: cover;
    object-position: center;
}

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

.tag-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    pointer-events: none;
}

.tag-number {
    display: inline-block;
    background-color: var(--bs-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-weight: bold;
    font-size: 0.9rem;
}

.tag-metadata {
    margin: 1rem 0;
    flex-grow: 1;
}

.meta-item {
    margin-bottom: 0.75rem;
}

.meta-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 0.25rem;
}

.meta-value {
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* Empty States */
.empty-state {
    padding: 2rem;
}

.empty-icon {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.empty-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.empty-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* Modal Customizations */
.modal-content {
    border: none;
    border-radius: 1rem;
    background-color: var(--surface-1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom-color: rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top-color: rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
}

.processing-animation {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.processing-animation .spinner-border {
    width: 4rem;
    height: 4rem;
    color: var(--bs-primary);
}

.success-animation {
    font-size: 4rem;
    color: var(--bs-success);
    margin-bottom: 1.5rem;
    animation: pulse 1.5s infinite;
}

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

.before-after-container {
    margin: 1.5rem 0;
}

.image-comparison {
    display: flex;
    justify-content: center;
}

.image-comparison img {
    max-height: 200px;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.success-description {
    color: var(--text-secondary);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .bag-tag-hero {
        padding: 100px 0 50px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-description {
        max-width: 100%;
    }

    .hero-image-container {
        margin-top: 2rem;
    }

    .animated-tag-container {
        width: 250px;
        height: 250px;
    }

    .tag-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }

    .series-banner {
        top: -60px;
        padding: 10px 15px;
    }

    .series-icon {
        width: 50px;
        height: 50px;
    }

    .series-name {
        font-size: 20px;
    }
}

@media (max-width: 767.98px) {
    .tag-info-grid {
        grid-template-columns: 1fr;
    }

    .animated-tag-container {
        width: 200px;
        height: 320px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .premium-title {
        font-size: 1.25rem;
    }

    .series-banner {
        position: relative;
        top: -90px;
        margin-bottom: -50px;
    }
}

/* Dark Mode Adjustments */
[data-bs-theme="dark"] {
    .bag-tag-hero {
        background: linear-gradient(135deg, var(--bs-primary-dark, #004080), var(--bs-secondary-dark, #0a2e4c));
    }

    .premium-card {
        background-color: var(--surface-2);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .premium-card-footer, .tag-info-item, .distributor-card, .disc-shop-card {
        background-color: rgba(255, 255, 255, 0.05);
    }

    #tagSearchInput {
        background-color: rgba(0, 0, 0, 0.2);
        border-color: rgba(255, 255, 255, 0.1);
        color: var(--text-primary);
    }

    .tag-image-container, .tag-image {
        background-color: rgba(255, 255, 255, 0.03);
    }

    .modal-content {
        background-color: var(--surface-2);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    }

    .image-comparison img {
        border-color: rgba(255, 255, 255, 0.1);
    }

    .shop-title {
        border-top-color: rgba(255, 255, 255, 0.1);
    }

    .disc-shop-card {
        border-color: rgba(255, 255, 255, 0.1);
        background-color: rgba(255, 255, 255, 0.03);
    }
}

.series-bag-tag-image-container img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.league-bag-tag-card {
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    background-color: var(--surface-1, #fff);
    height: 100%;
}

.league-bag-tag-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.league-bag-tag-image-container {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.league-bag-tag-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.league-bag-tag-info {
    padding: 1rem;
}

.tag-title {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.tag-number, .tag-league, .tag-series {
    color: var(--text-secondary, #6c757d);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.no-tags-message, .no-tag-message {
    color: var(--text-muted, #6c757d);
}

/* Processing button states */
.select-artwork-btn.processing .btn-text,
.restore-original-btn.processing .btn-text {
    display: none;
}

.select-artwork-btn.processing .btn-icon,
.restore-original-btn.processing .btn-icon {
    display: none;
}

.select-artwork-btn.processing .spinner-border,
.restore-original-btn.processing .spinner-border {
    display: inline-block;
}

/* Button Styles for customization page */
.btn-theme-accent {
    color: #fff;
    background: linear-gradient(135deg, var(--league-accent, #f59e0b), var(--league-secondary, #d97706));
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-theme-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    filter: brightness(1.1);
    color: #fff;
    text-decoration: none;
}

.btn-theme-accent:active {
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-theme-accent .btn-icon {
    margin-right: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* View All Series Bag Tags Link */
.view-all-link {
    display: inline-block;
    color: var(--theme-primary, #4a6cf7);
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.05);
}

.view-all-link:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: var(--theme-primary-dark, var(--theme-primary, #3a57d6));
}

.view-all-link i {
    transition: transform 0.3s ease;
}

.view-all-link:hover i {
    transform: scale(1.2);
}

/* Featured Event Section */
.featured-event {
    background-color: var(--surface-1, white);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.featured-event h2 {
    color: var(--theme-primary, #4a6cf7);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Force images to display in featured event section with specific classes to avoid conflicts */
.featured-event img {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.featured-event .featured-event-images {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    margin-bottom: 1.5rem !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.featured-event .featured-league-image-box {
    visibility: visible !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    background-color: var(--surface-1, white) !important;
    border-radius: 0.75rem !important;
    padding: 1rem !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
    margin-bottom: 1rem !important;
}

.featured-event .featured-league-logo {
    width: 100% !important;
    max-width: 220px !important;
    height: auto !important;
    aspect-ratio: 16/7 !important;
    object-fit: cover !important;
    border-radius: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.featured-event .featured-event-image-box {
    position: relative !important;
    border-radius: 0.75rem !important;
    overflow: hidden !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.featured-event .featured-event-image {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9 !important;
    object-fit: cover !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* This style is replaced by the .event-image-container definition at the bottom of the file */

.event-date {
    font-size: 1.1rem;
    color: var(--text-secondary, #555);
    margin-bottom: 1.5rem;
}

.event-date i {
    color: var(--theme-accent, #f59e0b);
    margin-right: 0.5rem;
}

.course-info {
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.course-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.course-image-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.course-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-details {
    flex-grow: 1;
}

.course-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary, #333);
}

.course-location {
    font-size: 0.9rem;
    color: var(--text-secondary, #666);
    margin-bottom: 0;
}

.course-location i {
    color: #ef4444;
    margin-right: 0.3rem;
}

.register-button {
    display: inline-block;
    background-image: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.register-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: white;
}

.register-button i {
    margin-right: 0.5rem;
}

/* League Image for Featured Event */
.event-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* These classes are now replaced by more specific versions in the featured event section */
/* Only keeping these for backwards compatibility with other pages */
.event-images-container {
    margin-bottom: 1.5rem;
}

.league-image-container {
    background-color: var(--surface-1, white);
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.league-image-container:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.league-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted, #6c757d);
    margin-bottom: 0.5rem;
}

/* Style for leagues in the Included Leagues section, not for the featured event */
.league-image {
    width: 100%;
    max-width: 120px;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.league-name {
    font-weight: 600;
    color: var(--text-primary, #333);
    font-size: 1.1rem;
}

/* Updated Date Display and Course Link */
.date-details {
    opacity: 0.8;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.course-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.course-link:hover {
    color: var(--theme-primary, #4a6cf7);
}

.course-link:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--theme-primary, #4a6cf7);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.course-link:hover:after {
    transform: scaleX(1);
}

/* Static League Display */
.static-league-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-weight: 600;
    border-radius: 0 0 0.75rem 0.75rem;
}

.static-league-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Deprecated - use featured-event-image-box instead */
.event-image-container {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.event-image-container:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Deprecated - use featured-event-image instead */
.event-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16/9;
    display: block;
}

/* Series Leaderboard Link */
.series-leaderboard-link {
    display: inline-block;
    background-color: rgba(var(--bs-primary-rgb, 75, 85, 99), 0.1);
    color: var(--theme-primary, #3b82f6);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}

.series-leaderboard-link:hover {
    background-color: rgba(var(--bs-primary-rgb, 75, 85, 99), 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: var(--theme-primary-dark, var(--theme-primary, #2563eb));
}

.series-leaderboard-link i {
    color: #ffd700;
    text-shadow: 0 0 3px rgba(255, 215, 0, 0.4);
    transition: transform 0.3s ease;
}

.series-leaderboard-link:hover i {
    transform: rotate(10deg);
}

/* Bag Tag Customize Link */
.bag-tag-customize-link {
    display: inline-block;
    background-color: rgba(var(--bs-purple-rgb, 111, 66, 193), 0.1);
    color: var(--bs-purple, #6f42c1);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
    text-align: center;
}

.bag-tag-customize-link:hover {
    background-color: rgba(var(--bs-purple-rgb, 111, 66, 193), 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #5a32a3;
}

.bag-tag-customize-link i {
    color: #9054e8;
    text-shadow: 0 0 3px rgba(144, 84, 232, 0.4);
    transition: transform 0.3s ease;
}

.bag-tag-customize-link:hover i {
    transform: scale(1.2);
}

/* Cash Line and Payout Styles */
.cash-line {
    border-bottom: 2px dashed rgba(var(--bs-primary-rgb), 0.3);
}

.cash-line-indicator {
    background-color: rgba(var(--bs-primary-rgb), 0.05);
}

.cash-line-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--theme-primary, #3b82f6);
    padding: 0.5rem 0;
}

.cash-line-text i {
    color: #ffd700;
    text-shadow: 0 0 3px rgba(255, 215, 0, 0.6);
}

.in-cash .position-number {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.payout-cell {
    position: relative;
}

.payout-amount {
    font-weight: 700;
    color: #059669;
    background-color: rgba(5, 150, 105, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    display: inline-block;
}

[data-bs-theme="dark"] {
    .cash-line {
        border-bottom-color: rgba(96, 165, 250, 0.3);
    }

    .cash-line-indicator {
        background-color: rgba(96, 165, 250, 0.1);
    }

    .cash-line-text {
        color: #60a5fa;
    }

    .payout-amount {
        color: #34d399;
        background-color: rgba(52, 211, 153, 0.1);
    }

    .in-cash .position-number {
        background: linear-gradient(135deg, #d97706, #b45309);
        box-shadow: 0 2px 8px rgba(180, 83, 9, 0.4);
    }
}

/* Payout Info Section Styles */
.payout-info-section {
    background-color: var(--surface-1, white);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.payout-info-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to bottom, rgba(var(--bs-success-rgb, 20, 184, 166), 0.05), transparent);
    pointer-events: none;
}

.payout-info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.payout-info-header i {
    font-size: 1.25rem;
}

.payout-info-header h4 {
    font-weight: 600;
    color: var(--text-primary);
}

.payout-info-stats {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.payout-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--surface-2, #f8fafc);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.stat-label {
    font-weight: 600;
    color: var(--text-secondary, #64748b);
}

.stat-value {
    font-weight: 700;
    color: var(--text-primary, #334155);
}

[data-bs-theme="dark"] {
    .payout-info-section {
        background-color: var(--surface-2, #1e293b);
    }

    .payout-stat {
        background-color: var(--surface-3, #0f172a);
    }

    .stat-label {
        color: #94a3b8;
    }

    .stat-value {
        color: #e2e8f0;
    }
}

@media (max-width: 768px) {
    .payout-info-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .payout-info-stats {
        margin-top: 0.5rem;
        width: 100%;
    }

    .payout-stat {
        flex: 1;
    }
}

/* Purchased Bag Tag Styles */
.tag-card.purchased-tag {
    position: relative;
}

.tag-card.purchased-tag .tag-card-front {
    position: relative;
}

.purchased-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(220, 38, 38, 0.95);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.purchased-badge i {
    font-size: 0.875rem;
}

.tag-card.purchased-tag .tag-image {
    position: relative;
}

.tag-card.purchased-tag .tag-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    border-radius: inherit;
    pointer-events: none;
}

.purchased-notice {
    background-color: rgba(254, 243, 199, 0.5);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #92400e;
}

.purchased-notice i {
    color: #f59e0b;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.tag-card.purchased-tag .btn[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
    background-color: #6c757d;
    border-color: #6c757d;
}

/* Dark mode adjustments */
[data-bs-theme="dark"] {
    .purchased-badge {
        background: rgba(239, 68, 68, 0.95);
    }

    .purchased-notice {
        background-color: rgba(251, 191, 36, 0.1);
        border-color: rgba(251, 191, 36, 0.3);
        color: #fbbf24;
    }

    .purchased-notice i {
        color: #fbbf24;
    }

    .tag-card.purchased-tag .tag-image::after {
        background: rgba(0, 0, 0, 0.3);
    }
}
