/* Horizontal Scroll Container for Tiers */
.tier-columns-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    align-items: flex-start;
    min-height: 400px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-blue) #111827;
}

/* Individual Tier Column */
.tier-column {
    min-width: 280px;
    width: 280px;
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-shrink: 0;
}

/* Column Header */
.tier-col-header {
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(31, 41, 55, 0.5) 0%, rgba(17, 24, 39, 0) 100%);
    border-bottom: 1px solid #1f2937;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.t-title {
    font-size: 1.8rem;
    font-weight: 900;
    font-style: italic;
    font-family: 'Inter', sans-serif;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.t-subtitle {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Tier Specific Header Colors */
.tier-col-1 .t-title {
    color: #FFD700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.tier-col-2 .t-title {
    color: #E0E0E0;
    text-shadow: 0 0 20px rgba(224, 224, 224, 0.2);
}

.tier-col-3 .t-title {
    color: #CD7F32;
    text-shadow: 0 0 20px rgba(205, 127, 50, 0.2);
}

.tier-col-4 .t-title {
    color: #60a5fa;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.2);
}

.tier-col-5 .t-title {
    color: #9ca3af;
    text-shadow: 0 0 20px rgba(156, 163, 175, 0.2);
}

/* Player List inside Column */
.tier-player-list {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: 0.8rem;
    min-height: 100px;
}

/* Empty State */
.tier-empty {
    text-align: center;
    color: #4b5563;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 2rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
}

/* 
   PLAYER CARD DESIGN
*/

.tier-card {
    position: relative;
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 8px;
    height: 68px;
    /* Increased height for stack */
    cursor: pointer;
    overflow: hidden;
    transition: all 0.2s ease;
}

/* Hover State - Full Card Color Tint based on Region */
.tier-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tier-card.region-na:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
}

.tier-card.region-eu:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
}

.tier-card.region-as:hover {
    background: rgba(234, 179, 8, 0.15);
    border-color: #eab308;
}

.tier-card.region-sa:hover {
    background: rgba(34, 197, 94, 0.15);
    border-color: #22c55e;
}

.tier-card.region-unknown:hover {
    background: rgba(107, 114, 128, 0.15);
    border-color: #6b7280;
}

/* Region Slide (Hidden on Left) */
.tc-region-slide {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    color: white;
    background: #374151;
    z-index: 1;
}

/* Region Colors for Slide */
.region-na .tc-region-slide {
    background: #ef4444;
    box-shadow: inset -5px 0 10px rgba(0, 0, 0, 0.2);
}

.region-eu .tc-region-slide {
    background: #3b82f6;
    box-shadow: inset -5px 0 10px rgba(0, 0, 0, 0.2);
}

.region-as .tc-region-slide {
    background: #eab308;
    box-shadow: inset -5px 0 10px rgba(0, 0, 0, 0.2);
}

.region-sa .tc-region-slide {
    background: #22c55e;
    box-shadow: inset -5px 0 10px rgba(0, 0, 0, 0.2);
}

.region-unknown .tc-region-slide {
    background: #6b7280;
}

/* Main Content Overlay */
.tc-content {
    position: relative;
    z-index: 2;
    background: transparent;
    /* Transparent to show hover bg color */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ensure background color opaque when NOT hovered to cover region slide */
.tier-card:not(:hover) .tc-content {
    background: #1f2937;
}

.tier-card:hover .tc-content {
    transform: translateX(50px);
}

/* Layout Items */
.tc-avatar-box {
    width: 42px;
    height: 42px;
    background: #111827;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #374151;
}

.tc-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.tc-info-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 12px;
    gap: 3px;
    flex: 1;
    /* Grow to push trophy */
    overflow: hidden;
}

.tc-name-text {
    font-weight: 700;
    font-size: 0.95rem;
    color: #f3f4f6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tc-tier-badge {
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 10px;
    border-radius: 20px;
    width: fit-content;
    color: #9ca3af;
    letter-spacing: 0.05em;
    border: none;
    transition: all 0.2s;
}

.tier-card:hover .tc-tier-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateX(2px);
}

.tc-trophy {
    font-size: 1.1rem;
    margin-left: 8px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Trophy Colors */
.t-color-1 {
    color: #FFD700;
}

.t-color-2 {
    color: #E0E0E0;
}

.t-color-3 {
    color: #CD7F32;
}

.t-color-4 {
    color: #60a5fa;
}

.t-color-5 {
    color: #9ca3af;
}