:root {
    --primary: #6a5acd;
    --primary-dark: #5649b8;
    --secondary: #ff6b6b;
    --dark: #1a1a2e;
    --darker: #16213e;
    --light: #e6e6fa;
    --success: #4ecdc4;
    --warning: #ffd166;
    --danger: #ef476f;
    --text: #f0f0f0;
    --text-secondary: #b0b0b0;
    --rank-mvp-plus: #FFAA00;
    --rank-mvp: #55FFFF;
    --rank-vip-plus: #00AA00;
    --rank-vip: #55FF55;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ==================== HERO PAGE STYLES ==================== */
.hero-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.animated-bg {
    position: absolute;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(106, 90, 205, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 107, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(78, 205, 196, 0.15) 0%, transparent 50%);
    animation: floatBg 20s ease-in-out infinite;
}

@keyframes floatBg {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-50px, -50px) rotate(5deg); }
    66% { transform: translate(-30px, 30px) rotate(-5deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
    padding: 40px 20px;
    animation: fadeInUp 1s ease-out;
}

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

.hero-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 40px rgba(106, 90, 205, 0.5);
    animation: glow 3s ease-in-out infinite alternate;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.4rem;
    margin-bottom: 50px;
    line-height: 1.6;
}

.hero-search {
    margin-bottom: 60px;
}

.search-box-hero {
    display: flex;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(106, 90, 205, 0.3);
    border-radius: 50px;
    padding: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.search-box-hero:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(106, 90, 205, 0.3);
}

.search-box-hero input {
    flex: 1;
    padding: 15px 25px;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 1.1rem;
    outline: none;
}

.search-box-hero input::placeholder {
    color: var(--text-secondary);
}

.search-box-hero button {
    padding: 15px 35px;
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-box-hero button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(106, 90, 205, 0.4);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(106, 90, 205, 0.2);
}

.feature-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.hero-search {
    margin-bottom: 50px;
}

.hero-leaderboards {
    margin: 0 0 50px 0;
}

.leaderboards-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.leaderboards-title i {
    margin-right: 10px;
}

.hero-features {
    margin-bottom: 60px;
}

.leaderboards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.leaderboard-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
}

.leaderboard-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text);
    text-align: center;
    border-bottom: 2px solid rgba(106, 90, 205, 0.3);
    padding-bottom: 15px;
}

.leaderboard-section h3 i {
    margin-right: 8px;
    color: var(--primary);
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.leaderboard-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.leaderboard-rank {
    font-size: 1.2rem;
    font-weight: bold;
    min-width: 30px;
    text-align: center;
}

.leaderboard-rank.rank-1 {
    color: #FFD700;
}

.leaderboard-rank.rank-2 {
    color: #C0C0C0;
}

.leaderboard-rank.rank-3 {
    color: #CD7F32;
}

.leaderboard-player {
    flex: 1;
    margin: 0 15px;
}

.leaderboard-player-name {
    font-weight: 600;
    color: var(--text);
    font-size: 1rem;
}

.leaderboard-player-info {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 3px;
}

.leaderboard-value {
    text-align: right;
    font-weight: bold;
    color: var(--primary);
}

.leaderboard-value-main {
    font-size: 1.1rem;
}

.leaderboard-value-sub {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.loading-small {
    text-align: center;
    padding: 20px;
}

.spinner-small {
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

.hero-footer {
    margin-top: 40px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.hero-footer i {
    margin-right: 5px;
    color: var(--primary);
}

/* Responsive hero */
@media (max-width: 768px) {
    .hero-content {
        padding: 20px 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .hero-icon {
        font-size: 3.5rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .search-box-hero {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }
    
    .search-box-hero input {
        padding: 12px 20px;
        font-size: 1rem;
        text-align: center;
    }
    
    .search-box-hero button {
        padding: 12px 25px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
    
    .leaderboards-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    .leaderboards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .leaderboard-section {
        padding: 20px 15px;
    }
    
    .leaderboard-section h3 {
        font-size: 1.1rem;
    }
    
    .leaderboard-item {
        padding: 10px 12px;
    }
    
    .leaderboard-rank {
        font-size: 1rem;
        min-width: 25px;
    }
    
    .leaderboard-player {
        margin: 0 10px;
    }
    
    .leaderboard-player-name {
        font-size: 0.9rem;
    }
    
    .leaderboard-player-info {
        font-size: 0.75rem;
    }
    
    .leaderboard-value-main {
        font-size: 1rem;
    }
    
    .leaderboard-value-sub {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-icon {
        font-size: 3rem;
        margin-bottom: 15px;
    }
    
    .hero-search {
        margin-bottom: 40px;
    }
    
    .leaderboards-title {
        font-size: 1.4rem;
    }
    
    .leaderboard-player-name {
        font-size: 0.85rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 120px;
    }
    
    .leaderboard-player-info {
        font-size: 0.7rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* ==================== END HERO PAGE STYLES ==================== */


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    padding: 30px 0;
    position: relative;
}

h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(106, 90, 205, 0.3);
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(106, 90, 205, 0.5);
    }
    to {
        text-shadow: 0 0 20px rgba(106, 90, 205, 0.8), 0 0 30px rgba(106, 90, 205, 0.6);
    }
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.player-search {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.search-box {
    display: flex;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 50px;
    overflow: hidden;
}

.search-box input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    font-size: 1rem;
    outline: none;
    backdrop-filter: blur(10px);
}

.search-box input::placeholder {
    color: var(--text-secondary);
}

.search-box button {
    padding: 0 25px;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-box button:hover {
    background: var(--primary-dark);
}

.player-profile {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.player-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 25px;
    border: 3px solid var(--primary);
    box-shadow: 0 0 20px rgba(106, 90, 205, 0.5);
    position: relative;
}

.player-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-info {
    flex: 1;
}

.player-name {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.player-name h2 {
    font-size: 2rem;
    margin-right: 10px;
}

.player-rank {
    background: var(--rank-mvp-plus);
    color: #000;
    padding: 3px 10px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
}

.player-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.player-stat {
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}

.player-stat .label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.player-stat .value {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text);
}

.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.stat-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.stat-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.stat-card .value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text);
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap: 10px;
}

.tab {
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
}

.tab.active {
    background: var(--primary);
    box-shadow: 0 0 15px rgba(106, 90, 205, 0.5);
}

.tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

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

.tab-content.active {
    display: block;
}

.floor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.floor-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.floor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.floor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.floor-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text);
}

.floor-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.floor-stats span {
    color: var(--text-secondary);
}

.floor-stats .value {
    color: var(--text);
    font-weight: bold;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-top: 15px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
    transition: width 1s ease;
}

.classes-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.class-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.class-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.class-card.best-class {
    border: 2px solid var(--success);
    box-shadow: 0 0 15px rgba(78, 205, 196, 0.5);
}

.class-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.class-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.class-level {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.class-xp {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.recent-activity {
    margin-top: 40px;
}

.activity-list {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.activity-details {
    flex: 1;
}

.activity-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.activity-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.best-class-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--success);
    color: #000;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: bold;
}

/* Drops Tab Styles */
.drops-header {
    margin-bottom: 30px;
}

.drops-filters {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 10px;
    color: var(--text);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    font-weight: bold;
}

.drops-stats {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.stat-badge i {
    color: var(--success);
    font-size: 1.2rem;
}

.stat-badge span {
    font-weight: bold;
    color: var(--success);
    font-size: 1.1rem;
}

.drops-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.drop-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.drop-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.drop-card.rng-drop::before {
    background: linear-gradient(90deg, #FFD700, #FFA500);
    height: 6px;
}

.drop-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(106, 90, 205, 0.3);
}

/* Contours pour items LEGENDARY - Or */
.drop-card.rng-drop.rarity-LEGENDARY {
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.05);
}

.drop-card.rng-drop.rarity-LEGENDARY::before {
    background: linear-gradient(90deg, #FFD700, #FFA500);
}

.drop-card.rng-drop.rarity-LEGENDARY:hover {
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

/* Contours pour items EPIC - Violet */
.drop-card.rng-drop.rarity-EPIC {
    border-color: #AA00AA;
    background: rgba(170, 0, 170, 0.05);
}

.drop-card.rng-drop.rarity-EPIC::before {
    background: linear-gradient(90deg, #AA00AA, #CC00CC);
}

.drop-card.rng-drop.rarity-EPIC:hover {
    box-shadow: 0 10px 30px rgba(170, 0, 170, 0.3);
}

/* Contours pour items RARE - Bleu */
.drop-card.rng-drop.rarity-RARE {
    border-color: #5555FF;
    background: rgba(85, 85, 255, 0.05);
}

.drop-card.rng-drop.rarity-RARE::before {
    background: linear-gradient(90deg, #5555FF, #7777FF);
}

.drop-card.rng-drop.rarity-RARE:hover {
    box-shadow: 0 10px 30px rgba(85, 85, 255, 0.3);
}

/* Contours pour items SPECIAL - Rainbow animé */
.drop-card.rng-drop.rarity-SPECIAL {
    border: 2px solid;
    border-image: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #8b00ff, #ff0000) 1;
    background: rgba(255, 255, 255, 0.05);
    animation: rainbowBorder 3s linear infinite;
}

.drop-card.rng-drop.rarity-SPECIAL::before {
    background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #8b00ff);
    background-size: 200% 100%;
    animation: rainbowGradient 3s linear infinite;
}

.drop-card.rng-drop.rarity-SPECIAL:hover {
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.4), 0 0 20px rgba(0, 255, 255, 0.3);
}

@keyframes rainbowGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes rainbowBorder {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* Fallback pour les autres raretés */
.drop-card.rng-drop {
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.05);
}

.drop-card.rng-drop:hover {
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.drop-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.drop-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 1.5rem;
}

.drop-card.rng-drop .drop-icon {
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
}

/* Icône pour items EPIC - Violet */
.drop-card.rng-drop.rarity-EPIC .drop-icon {
    background: rgba(170, 0, 170, 0.2);
    color: #AA00AA;
}

/* Icône pour items RARE - Bleu */
.drop-card.rng-drop.rarity-RARE .drop-icon {
    background: rgba(85, 85, 255, 0.2);
    color: #5555FF;
}

.drop-info {
    flex: 1;
}

.drop-item-name {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--text);
}

.drop-card.rng-drop .drop-item-name {
    color: #FFD700;
}

/* Nom d'item pour EPIC - Violet */
.drop-card.rng-drop.rarity-EPIC .drop-item-name {
    color: #AA00AA;
}

/* Nom d'item pour RARE - Bleu */
.drop-card.rng-drop.rarity-RARE .drop-item-name {
    color: #5555FF;
}

.drop-rarity {
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 5px;
    display: inline-block;
    font-weight: bold;
}

.rarity-COMMON { background: #999; color: #000; }
.rarity-UNCOMMON { background: #55FF55; color: #000; }
.rarity-RARE { background: #5555FF; color: #fff; }
.rarity-EPIC { background: #AA00AA; color: #fff; }
.rarity-LEGENDARY { background: #FFAA00; color: #000; }
.rarity-MYTHIC { background: #FF55FF; color: #000; }
.rarity-DIVINE { background: #FF5555; color: #fff; }
.rarity-SPECIAL { 
    background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #8b00ff);
    background-size: 200% 100%;
    animation: rarityChroma 3s linear infinite;
    color: #fff;
    font-weight: bold;
}

@keyframes rarityChroma {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.drop-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.drop-detail {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.drop-detail-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.drop-detail-value {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--text);
}

.drop-player {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.drop-player img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.drop-player-name {
    font-weight: bold;
    color: var(--success);
}

.drop-timestamp {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: right;
    margin-top: 10px;
}

.rng-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 10px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
    animation: pulse 2s infinite;
}

/* Badge RNG DROP pour items EPIC - Violet */
.drop-card.rarity-EPIC .rng-badge {
    background: linear-gradient(135deg, #AA00AA, #CC00CC);
    color: #fff;
    box-shadow: 0 2px 10px rgba(170, 0, 170, 0.5);
}

/* Badge RNG DROP pour items RARE - Bleu */
.drop-card.rarity-RARE .rng-badge {
    background: linear-gradient(135deg, #5555FF, #7777FF);
    color: #fff;
    box-shadow: 0 2px 10px rgba(85, 85, 255, 0.5);
}

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

.no-drops-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.no-drops-message i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-drops-message h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.no-drops-message p {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .search-box input {
        padding: 12px 18px;
        font-size: 0.95rem;
    }
    
    .search-box button {
        padding: 12px 20px;
    }
    
    .player-profile {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .player-avatar {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .player-avatar img {
        width: 100px;
        height: 100px;
    }
    
    .player-name h2 {
        font-size: 1.8rem;
    }
    
    .player-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .player-stat {
        padding: 12px;
    }
    
    .player-stat .label {
        font-size: 0.8rem;
    }
    
    .player-stat .value {
        font-size: 1.3rem;
    }
    
    .stats-overview {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .stat-card i {
        font-size: 2rem;
    }
    
    .stat-card h3 {
        font-size: 0.9rem;
    }
    
    .stat-card .value {
        font-size: 1.5rem;
    }
    
    .tabs {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .tab {
        padding: 10px 15px;
        font-size: 0.9rem;
        flex: 1 1 calc(50% - 8px);
        text-align: center;
    }
    
    .floor-grid {
        grid-template-columns: 1fr;
    }
    
    .floor-card {
        padding: 20px;
    }
    
    .classes-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .class-card {
        padding: 20px 15px;
    }
    
    .drops-container {
        grid-template-columns: 1fr;
    }
    
    .drops-filters {
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-btn {
        width: 100%;
    }
    
    .drop-card {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .player-stats {
        grid-template-columns: 1fr;
    }
    
    .stats-overview {
        grid-template-columns: 1fr;
    }
    
    .tab {
        flex: 1 1 100%;
        padding: 12px;
    }
    
    .classes-container {
        grid-template-columns: 1fr;
    }
    
    .floor-name {
        font-size: 1.3rem;
    }
    
    .drop-card {
        padding: 12px;
    }
    
    .drop-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .drop-player {
        font-size: 0.9rem;
    }
    
    .drop-item {
        font-size: 1.1rem;
    }
}

/* ============================================ */
/* STYLES SPÉCIFIQUES PAR DROP */
/* ============================================ */

/* ========== LEGENDARY DROPS (Or) ========== */

/* Necron's Handle - LEGENDARY */
.drop-card[data-item*="Necron's Handle"] {
    border-color: #FFD700 !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.drop-card[data-item*="Necron's Handle"] .drop-item-name {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    font-weight: bold;
}

/* Dark Claymore - LEGENDARY */
.drop-card[data-item*="Dark Claymore"] {
    border-color: #FFD700 !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.drop-card[data-item*="Dark Claymore"] .drop-item-name {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    font-weight: bold;
}

/* Recombobulator 3000 - LEGENDARY */
.drop-card[data-item*="Recombobulator 3000"] {
    border-color: #FFD700 !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.drop-card[data-item*="Recombobulator 3000"] .drop-item-name {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    font-weight: bold;
}

/* Auto Recombobulator - LEGENDARY */
.drop-card[data-item*="Auto Recombobulator"] {
    border-color: #FFD700 !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.drop-card[data-item*="Auto Recombobulator"] .drop-item-name {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    font-weight: bold;
}

/* Shadow Fury - LEGENDARY */
.drop-card[data-item*="Shadow Fury"] {
    border-color: #FFD700 !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.drop-card[data-item*="Shadow Fury"] .drop-item-name {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    font-weight: bold;
}

/* Giant's Sword - LEGENDARY */
.drop-card[data-item*="Giant's Sword"] {
    border-color: #FFD700 !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.drop-card[data-item*="Giant's Sword"] .drop-item-name {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    font-weight: bold;
}

/* ========== EPIC DROPS (Violet) ========== */

/* Shadow Warp Scroll - EPIC */
.drop-card[data-item*="Shadow Warp Scroll"] {
    border-color: #a335ee !important;
    box-shadow: 0 4px 15px rgba(163, 53, 238, 0.4);
}

.drop-card[data-item*="Shadow Warp Scroll"] .drop-item-name {
    color: #a335ee;
    text-shadow: 0 0 10px rgba(163, 53, 238, 0.6);
    font-weight: bold;
}

/* Implosion Scroll - EPIC */
.drop-card[data-item*="Implosion Scroll"] {
    border-color: #a335ee !important;
    box-shadow: 0 4px 15px rgba(163, 53, 238, 0.4);
}

.drop-card[data-item*="Implosion Scroll"] .drop-item-name {
    color: #a335ee;
    text-shadow: 0 0 10px rgba(163, 53, 238, 0.6);
    font-weight: bold;
}

/* Wither Shield Scroll - EPIC */
.drop-card[data-item*="Wither Shield Scroll"] {
    border-color: #a335ee !important;
    box-shadow: 0 4px 15px rgba(163, 53, 238, 0.4);
}

.drop-card[data-item*="Wither Shield Scroll"] .drop-item-name {
    color: #a335ee;
    text-shadow: 0 0 10px rgba(163, 53, 238, 0.6);
    font-weight: bold;
}

/* Wither Impact Scroll - EPIC */
.drop-card[data-item*="Wither Impact"] {
    border-color: #a335ee !important;
    box-shadow: 0 4px 15px rgba(163, 53, 238, 0.4);
}

.drop-card[data-item*="Wither Impact"] .drop-item-name {
    color: #a335ee;
    text-shadow: 0 0 10px rgba(163, 53, 238, 0.6);
    font-weight: bold;
}

/* Master Star - EPIC */
.drop-card[data-item*="Master Star"] {
    border-color: #a335ee !important;
    box-shadow: 0 4px 15px rgba(163, 53, 238, 0.4);
    animation: starTwinkle 1.5s ease-in-out infinite;
}

.drop-card[data-item*="Master Star"] .drop-item-name {
    color: #a335ee;
    text-shadow: 0 0 10px rgba(163, 53, 238, 0.6);
    font-weight: bold;
}

@keyframes starTwinkle {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(163, 53, 238, 0.4);
        filter: brightness(1);
    }
    50% {
        box-shadow: 0 4px 30px rgba(163, 53, 238, 0.7);
        filter: brightness(1.2);
    }
}

/* ========== SPECIAL DROPS ========== */

/* Necron's Dye - EXTRAORDINARY avec effet chroma scintillant */
.drop-card[data-item*="Necron's Dye"] {
    border: 3px solid #87CEEB;
    animation: necronDyeTwinkle 2s ease-in-out infinite;
    position: relative;
}

.drop-card[data-item*="Necron's Dye"] .drop-item-name {
    color: #87CEEB;
    font-weight: bold;
    font-size: 1.1em;
    animation: necronDyeText 2s ease-in-out infinite;
}

@keyframes necronDyeTwinkle {
    0% {
        border-color: #ff0000;
        box-shadow: 0 4px 20px rgba(255, 0, 0, 0.5);
        filter: brightness(1);
    }
    16.7% {
        border-color: #ff7f00;
        box-shadow: 0 4px 35px rgba(255, 127, 0, 0.7);
        filter: brightness(1.3);
    }
    33.3% {
        border-color: #ffff00;
        box-shadow: 0 4px 20px rgba(255, 255, 0, 0.5);
        filter: brightness(1);
    }
    50% {
        border-color: #00ff00;
        box-shadow: 0 4px 35px rgba(0, 255, 0, 0.7);
        filter: brightness(1.3);
    }
    66.7% {
        border-color: #0000ff;
        box-shadow: 0 4px 20px rgba(0, 0, 255, 0.5);
        filter: brightness(1);
    }
    83.3% {
        border-color: #8b00ff;
        box-shadow: 0 4px 35px rgba(139, 0, 255, 0.7);
        filter: brightness(1.3);
    }
    100% {
        border-color: #ff0000;
        box-shadow: 0 4px 20px rgba(255, 0, 0, 0.5);
        filter: brightness(1);
    }
}

@keyframes necronDyeText {
    0% {
        color: #ff0000;
        text-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
    }
    16.7% {
        color: #ff7f00;
        text-shadow: 0 0 25px rgba(255, 127, 0, 1);
    }
    33.3% {
        color: #ffff00;
        text-shadow: 0 0 15px rgba(255, 255, 0, 0.8);
    }
    50% {
        color: #00ff00;
        text-shadow: 0 0 25px rgba(0, 255, 0, 1);
    }
    66.7% {
        color: #0000ff;
        text-shadow: 0 0 15px rgba(0, 0, 255, 0.8);
    }
    83.3% {
        color: #8b00ff;
        text-shadow: 0 0 25px rgba(139, 0, 255, 1);
    }
    100% {
        color: #ff0000;
        text-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
    }
}

/* Warden Heart - LEGENDARY (rouge spécial) */
.drop-card[data-item*="Warden Heart"] {
    border-color: #dc143c !important;
    box-shadow: 0 4px 20px rgba(220, 20, 60, 0.5);
}

.drop-card[data-item*="Warden Heart"] .drop-item-name {
    color: #dc143c;
    text-shadow: 0 0 12px rgba(220, 20, 60, 0.7);
    font-weight: bold;
}
