/* TNT Top 10 - Cinematic List Styles */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeInUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.tnt-top10-container {
    margin: 4rem 0;
    font-family: 'Merriweather', serif;
}

.tnt-top10-header {
    text-align: center;
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--tnt-gold);
    padding-bottom: 1rem;
}

.tnt-top10-header h3 {
    color: var(--tnt-gold);
    font-family: 'Beleren', 'Cinzel', serif;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
}

.tnt-top10-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* Item Card */
.tnt-top10-item {
    position: relative;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 8px;
    overflow: hidden;
    background: #0c0c0c;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: transform 0.3s;
}

.tnt-top10-item:hover {
    transform: translateY(-5px);
    border-color: var(--tnt-gold);
    box-shadow: 0 25px 60px rgba(0,0,0,0.7), 0 0 20px rgba(197, 160, 89, 0.1);
}

/* Background Art */
.item-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 20%;
    z-index: 1;
    filter: saturate(0.8);
    transition: transform 10s ease;
}

.tnt-top10-item:hover .item-background {
    transform: scale(1.05); /* Slow zoom effect */
}

/* Dark Overlay (Gradient) */
.item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg, 
        rgba(12,12,12,0.98) 0%, 
        rgba(12,12,12,0.95) 40%, 
        rgba(12,12,12,0.7) 100%
    );
    z-index: 2;
}

/* Content Layout */
.item-content {
    position: relative;
    z-index: 10;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Header Section */
.item-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1.5rem;
}

.rank-badge {
    font-family: 'Beleren', serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px var(--tnt-gold);
    text-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
    line-height: 1;
}

.tnt-top10-item:hover .rank-badge {
    color: var(--tnt-gold); /* Fill on hover */
    text-shadow: 0 0 30px rgba(197, 160, 89, 0.6);
}

.card-title-group {
    display: flex;
    flex-direction: column;
}

.item-card-name {
    font-family: 'Beleren', serif;
    font-size: 2rem;
    color: #fff;
    text-decoration: none;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    transition: color 0.2s;
}

.item-card-name:hover {
    color: var(--tnt-gold-light);
}

.item-type {
    font-family: 'Merriweather', serif;
    font-style: italic;
    color: #9ca3af;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* Body Section */
.item-body {
    padding-left: 1rem; /* Indent slightly */
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.oracle-text {
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--tnt-gold);
    padding: 1rem 1.5rem;
    border-radius: 0 4px 4px 0;
    color: #e5e7eb;
    font-size: 0.9rem;
    line-height: 1.6;
    position: relative;
    font-style: italic;
}

.oracle-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: rgba(255,255,255,0.1);
    width: 1.5rem;
    height: 1.5rem;
}

.description-text {
    color: #d1d5db;
    font-size: 1rem;
    line-height: 1.8;
}

.description-text p {
    margin-bottom: 1rem;
}

.description-text strong {
    color: var(--tnt-gold);
}

@media (max-width: 768px) {
    .item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .rank-badge {
        font-size: 2.5rem;
    }
    
    .item-card-name {
        font-size: 1.8rem;
    }
    
    .item-content {
        padding: 1.5rem;
    }
}