/* Enhanced LoL Arena Challenge Styles - Performance Optimized */

/* CSS Variables */
:root {
    --lol-gold: #c89b3c;
    --lol-gold-light: #f0e6d2;
    --lol-blue: #0596aa;
    --lol-blue-dark: #0f2027;
    --lol-purple: #463714;
    --bg-primary: #010a13;
    --bg-secondary: #0f2027;
    --bg-tertiary: #1e2328;
    --bg-card: #1e2328;
    --text-primary: #f0e6d2;
    --text-secondary: #c9aa71;
    --text-muted: #785a28;
    --border-gold: #c89b3c;
    --success: #0596aa;
    --warning: #ff6b35;
    --error: #e74c3c;
    --shadow-gold: 0 0 20px rgba(200, 155, 60, 0.3);
    --shadow-blue: 0 0 15px rgba(5, 150, 170, 0.3);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-lg: 12px;
}

/* Performance optimizations */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    will-change: auto;
}

/* Optimized animations */
@media (prefers-reduced-motion: no-preference) {
    .champion,
    .stat-card,
    .progress-fill {
        will-change: transform;
    }
    
    .particle {
        will-change: transform, opacity;
    }
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    font-display: swap;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
}

.rift-logo {
    font-size: 4rem;
    color: var(--lol-gold);
    margin-bottom: 1rem;
    animation: logoSpin 2s linear infinite;
}

@keyframes logoSpin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.loading-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--lol-gold), var(--lol-blue));
    width: 0%;
    animation: loadingProgress 3s ease-in-out infinite;
}

@keyframes loadingProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* Loading Skeleton */
.loading-skeleton {
    background: linear-gradient(90deg, #1e2328 25%, #2a2d31 50%, #1e2328 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Animated Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--lol-gold);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 8s linear infinite;
}

@keyframes float {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-10px) rotate(360deg); opacity: 0; }
}

/* Sound Toggle */
.sound-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(30, 35, 40, 0.9);
    border: 2px solid var(--lol-gold);
    color: var(--lol-gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.sound-toggle:hover {
    background: var(--lol-gold);
    color: var(--bg-primary);
    transform: scale(1.1);
}

/* Header Section */
.header {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
    z-index: 10;
}

.logo-container {
    margin-bottom: 1rem;
}

.main-logo {
    max-width: 100px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
}

.main-logo:hover {
    transform: scale(1.05);
}

.main-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--lol-gold);
    text-shadow: 0 0 20px var(--lol-gold);
    margin-bottom: 0.5rem;
    font-weight: 900;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Quick Stats */
.quick-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(30, 35, 40, 0.9);
    border: 2px solid var(--border-gold);
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    text-align: center;
    min-width: 120px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--lol-gold);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Progress Section */
.progress-section {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.progress-container {
    background: rgba(30, 35, 40, 0.9);
    border: 2px solid var(--border-gold);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.progress-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: var(--lol-gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.progress-stats {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.progress-bar-container {
    position: relative;
}

.progress-bar {
    height: 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-gold);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--lol-gold), var(--lol-blue));
    width: 0%;
    border-radius: 8px;
    transition: width 0.8s ease;
}

.progress-glow {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: progressShimmer 2s infinite;
    border-radius: 8px;
}

@keyframes progressShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-milestones {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    position: relative;
}

.milestone {
    font-size: 0.7rem;
    color: var(--text-muted);
    position: relative;
    padding: 0.2rem 0.4rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid var(--text-muted);
    transition: var(--transition);
}

.milestone.reached {
    color: var(--lol-gold);
    border-color: var(--lol-gold);
    background: rgba(200, 155, 60, 0.1);
    transform: scale(1.1);
}

/* Controls Section */
.controls-section {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

.controls-container {
    background: rgba(30, 35, 40, 0.9);
    border: 2px solid var(--border-gold);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(10px);
}

/* Active Filters */
#active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.filter-chip {
    background: rgba(200, 155, 60, 0.2);
    border: 1px solid var(--lol-gold);
    border-radius: 20px;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    color: var(--lol-gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideInUp 0.3s ease;
}

.chip-remove {
    background: none;
    border: none;
    color: var(--lol-gold);
    cursor: pointer;
    padding: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.chip-remove:hover {
    background: var(--lol-gold);
    color: var(--bg-primary);
}

/* Search */
.search-container {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper i {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    z-index: 2;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--text-muted);
    border-radius: 25px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--lol-gold);
    box-shadow: 0 0 10px rgba(200, 155, 60, 0.3);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-clear {
    position: absolute;
    right: 0.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
}

.search-clear.visible {
    opacity: 1;
    visibility: visible;
}

.search-clear:hover {
    color: var(--lol-gold);
    background: rgba(200, 155, 60, 0.1);
}

/* Filter Controls */
.filter-container {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Toggle Switches */
.filter-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
}

.filter-toggle input[type="checkbox"] {
    display: none;
}

.toggle-slider {
    width: 45px;
    height: 22px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--text-muted);
    border-radius: 11px;
    position: relative;
    transition: var(--transition);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: 16px;
    height: 16px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: var(--transition);
}

.filter-toggle input:checked + .toggle-slider {
    background: rgba(200, 155, 60, 0.2);
    border-color: var(--lol-gold);
}

.filter-toggle input:checked + .toggle-slider::before {
    transform: translateX(23px);
    background: var(--lol-gold);
}

.toggle-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Select Dropdown */
.filter-select-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.filter-select {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--text-muted);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-select:focus {
    outline: none;
    border-color: var(--lol-gold);
}

.filter-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* View Toggle */
.view-toggle {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--text-muted);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.view-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.view-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.view-btn.active {
    color: var(--lol-gold);
    background: rgba(200, 155, 60, 0.2);
}

/* Champions Section */
.champions-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
}

.champions-container {
    background: rgba(30, 35, 40, 0.9);
    border: 2px solid var(--border-gold);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.section-header {
    margin-bottom: 2rem;
    text-align: center;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    color: var(--lol-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.champion-count {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: normal;
}

/* Champions Grid */
.champions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.champions-grid.list-view {
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* Verbesserte Champion-Karten Styles */

/* Champion Card - Überarbeitet */
.champion {
    background: linear-gradient(145deg, rgba(30, 35, 40, 0.95), rgba(20, 25, 30, 0.98));
    border: 2px solid rgba(200, 155, 60, 0.4);
    border-radius: 16px;
    padding: 1.2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.champion::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(200, 155, 60, 0.05) 0%, 
        transparent 30%, 
        transparent 70%, 
        rgba(5, 150, 170, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.champion:hover::before {
    opacity: 1;
}

.champion:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--lol-gold);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(200, 155, 60, 0.3);
}

.champion.completed {
    border-color: var(--success);
    background: linear-gradient(145deg, 
        rgba(5, 150, 170, 0.15), 
        rgba(20, 25, 30, 0.98));
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(5, 150, 170, 0.2);
}

.champion.completed:hover {
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(5, 150, 170, 0.4);
}

/* Champion Image - Verbessert */
.champion img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    border: 3px solid var(--lol-gold);
    margin: 0 auto 1rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.champion:hover img {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(200, 155, 60, 0.4);
}

.champion.completed img {
    border-color: var(--success);
    box-shadow: 0 4px 15px rgba(5, 150, 170, 0.3);
}

/* Champion Name - Stylischer */
.champion-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Orbitron', monospace;
    letter-spacing: 0.5px;
}

.champion.completed .champion-name {
    color: var(--success);
    text-shadow: 0 0 10px rgba(5, 150, 170, 0.3);
}

/* Champion Stats - Neu organisiert */
.champion-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 2;
}

.champion-stats-row {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.attempts-display,
.role-display,
.placement-display,
.avg-placement-display {
    background: rgba(0, 0, 0, 0.5);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    border: 1px solid var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.attempts-display {
    border-color: var(--lol-gold);
    color: var(--lol-gold);
    background: rgba(200, 155, 60, 0.1);
}

.role-display {
    border-color: var(--text-secondary);
    color: var(--text-secondary);
    background: rgba(201, 170, 113, 0.1);
}

.placement-display.placement-good {
    background: rgba(5, 150, 170, 0.2);
    color: var(--success);
    border-color: var(--success);
    font-weight: 700;
}

.placement-display.placement-bad {
    background: rgba(255, 107, 53, 0.2);
    color: var(--warning);
    border-color: var(--warning);
}

.avg-placement-display {
    background: rgba(200, 155, 60, 0.15);
    color: var(--lol-gold);
    border-color: var(--lol-gold);
    font-weight: 700;
}

/* Items Preview - Neu gestylt */
.champion-items-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(200, 155, 60, 0.3);
    position: relative;
    z-index: 2;
}

.champion-item-mini {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid var(--border-gold);
    object-fit: cover;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.champion-item-mini:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.items-more {
    font-size: 0.7rem;
    color: var(--lol-gold);
    font-weight: 600;
    background: rgba(200, 155, 60, 0.2);
    padding: 0.2rem 0.4rem;
    border-radius: 8px;
    border: 1px solid var(--lol-gold);
}

/* Completion Badge - Verbessert */
.champion.completed::after {
    content: '✓';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--success), #00bcd4);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    z-index: 3;
    animation: successPulse 2s infinite;
    box-shadow: 0 4px 12px rgba(5, 150, 170, 0.4);
}

@keyframes successPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(5, 150, 170, 0.4);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(5, 150, 170, 0.6);
    }
}

/* High Attempts Indicator */
.champion.high-attempts::before {
    border-color: var(--warning);
}

.champion.high-attempts .attempts-display {
    border-color: var(--warning);
    color: var(--warning);
    background: rgba(255, 107, 53, 0.15);
    animation: warningGlow 3s infinite;
}

@keyframes warningGlow {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(255, 107, 53, 0.3);
    }
    50% { 
        box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
    }
}

/* Focused State für Keyboard Navigation */
.champion.focused {
    border-color: var(--lol-blue);
    box-shadow: 
        0 0 0 3px rgba(5, 150, 170, 0.3),
        0 8px 30px rgba(0, 0, 0, 0.4);
    transform: translateY(-5px);
}

/* List View Anpassungen */
.champions-grid.list-view .champion {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 1rem 1.5rem;
    gap: 1.5rem;
    min-height: auto;
}

.champions-grid.list-view .champion img {
    width: 60px;
    height: 60px;
    margin: 0;
    flex-shrink: 0;
}

.champions-grid.list-view .champion-name {
    flex: 1;
    margin-bottom: 0;
    font-size: 1.2rem;
    text-align: left;
}

.champions-grid.list-view .champion-stats {
    flex-direction: row;
    margin-bottom: 0;
    flex-shrink: 0;
    gap: 1rem;
}

.champions-grid.list-view .champion-items-preview {
    margin-top: 0;
    flex-shrink: 0;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .champion {
        padding: 1rem;
        min-height: 240px;
    }
    
    .champion img {
        width: 70px;
        height: 70px;
    }
    
    .champion-name {
        font-size: 1rem;
    }
    
    .champion-stats {
        gap: 0.3rem;
    }
    
    .attempts-display,
    .role-display,
    .placement-display,
    .avg-placement-display {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    .champion-item-mini {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .champion {
        padding: 0.8rem;
        min-height: 220px;
    }
    
    .champion img {
        width: 60px;
        height: 60px;
    }
    
    .champion-stats {
        flex-direction: column;
    }
    
    .champion-stats-row {
        justify-content: center;
    }
    
    .champion-items-preview {
        padding: 0.3rem;
    }
    
    .champion-item-mini {
        width: 18px;
        height: 18px;
    }
}

/* Custom checkbox styling */
.checkbox-display {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    width: 20px;
    height: 20px;
    border: 2px solid var(--text-muted);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    z-index: 2;
}

.checkbox-display.checked {
    background: var(--success);
    border-color: var(--success);
}

.checkbox-display.checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Modals */
.achievement-modal,
.champion-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.achievement-modal.show,
.champion-modal.show {
    opacity: 1;
    visibility: visible;
}

.achievement-content,
.champion-modal-content {
    background: var(--bg-card);
    border: 2px solid var(--lol-gold);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: scale(0.8);
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.achievement-modal.show .achievement-content,
.champion-modal.show .champion-modal-content {
    transform: scale(1);
}

.achievement-icon {
    font-size: 4rem;
    color: var(--lol-gold);
    margin-bottom: 1rem;
    animation: achievementBounce 0.6s ease-out;
}

@keyframes achievementBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.achievement-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    color: var(--lol-gold);
    margin-bottom: 1rem;
}

.achievement-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.achievement-close {
    background: var(--lol-gold);
    border: none;
    color: var(--bg-primary);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.achievement-close:hover {
    background: var(--lol-gold-light);
    transform: translateY(-2px);
}

/* Champion Detail Modal */
.champion-modal-content {
    max-width: 1000px;
width: 95vw;
    text-align: left;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    padding: 0.5rem;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--lol-gold);
    background: rgba(200, 155, 60, 0.1);
}

.champion-detail {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.champion-image-large img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--lol-gold);
}

.champion-info {
    flex: 1;
}

.champion-info h2 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: var(--lol-gold);
    margin-bottom: 1rem;
}

.champion-stats-detail {
    margin-bottom: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-label {
    color: var(--text-secondary);
}

.stat-value {
    color: var(--text-primary);
    font-weight: 600;
}

.status-completed {
    color: var(--success) !important;
}

.status-pending {
    color: var(--warning) !important;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 400px;
}

.toast {
    background: var(--bg-card);
    border: 2px solid;
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transform: translateX(100%);
    transition: var(--transition);
    min-width: 300px;
    box-shadow: var(--shadow-gold);
    position: relative;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-color: var(--success);
}

.toast.error {
    border-color: var(--error);
}

.toast.warning {
    border-color: var(--warning);
}

.toast.info {
    border-color: var(--lol-blue);
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    margin-left: auto;
    padding: 0.2rem;
    border-radius: 50%;
    transition: var(--transition);
}

.toast-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }
    
    .quick-stats {
        gap: 1rem;
    }
    
    .stat-card {
        min-width: 100px;
        padding: 0.75rem 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .controls-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .search-container {
        max-width: none;
    }
    
    .filter-container {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .champions-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1rem;
    }
    
    .champion {
        padding: 1rem;
    }
    
    .champion img {
        width: 70px;
        height: 70px;
    }
    
    .champion-detail {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .progress-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .section-header {
        text-align: center;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .toast-container {
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .toast {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem;
    }
    
    .main-title {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .quick-stats {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .stat-card {
        width: 100%;
        max-width: 200px;
    }
    
    .progress-container,
    .controls-container,
    .champions-container {
        padding: 1rem;
    }
    
    .champions-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 0.8rem;
    }
    
    .champion img {
        width: 60px;
        height: 60px;
    }
    
    .champion-name {
        font-size: 1rem;
    }
    
    .champion-stats {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .attempts-display,
    .role-display,
    .placement-display {
        font-size: 0.75rem;
        padding: 0.2rem 0.4rem;
    }
    
    .filter-container {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }
    
    .filter-group {
        justify-content: space-between;
    }
    
    .toggle-label,
    .filter-select-label {
        font-size: 0.85rem;
    }
    
    .modal-close {
        font-size: 1.2rem;
    }
    
    .champion-modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .achievement-content {
        padding: 1.5rem;
    }
    
    .achievement-icon {
        font-size: 3rem;
    }
    
    .achievement-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 360px) {
    .champions-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .champion {
        padding: 0.8rem;
    }
    
    .champion img {
        width: 50px;
        height: 50px;
    }
    
    .champion-name {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .progress-title {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .toast {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* Dark theme scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--lol-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--lol-gold-light);
}

/* Selection styling */
::selection {
    background: var(--lol-gold);
    color: var(--bg-primary);
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus {
    outline: 2px solid var(--lol-gold);
    outline-offset: 2px;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: slideInUp 0.6s ease-out;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border-gold: #ffdf00;
        --lol-gold: #ffdf00;
        --text-primary: #ffffff;
        --bg-primary: #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .particle {
        animation: none;
    }
    
    .loading-progress {
        animation: none;
    }
    
    .progress-glow {
        animation: none;
    }
}

/* Print styles */
@media print {
    .loading-screen,
    .particles,
    .sound-toggle,
    .toast-container,
    .achievement-modal,
    .champion-modal {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .champion {
        break-inside: avoid;
        background: white !important;
        border: 1px solid #ccc !important;
    }
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {
    .particle {
        display: none;
    }
    
    .progress-glow {
        display: none;
    }
    
    .champion::before {
        display: none;
    }
}

/* Utility classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Items Styles für die Arena Challenge */

/* Items-Container für Modal */
.items-display {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.item-slot {
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--text-muted);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition);
}

.item-slot:hover {
    border-color: var(--lol-gold);
    transform: scale(1.05);
}

.item-slot.empty {
    opacity: 0.3;
}

.item-icon {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
}

/* Items-Preview in der Hauptansicht */
.champion-items-preview {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.5rem;
    justify-content: center;
}

.champion-item-mini {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    border: 1px solid var(--border-gold);
    object-fit: cover;
}

.items-more {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Letzte Spiel Sektion */
.last-game-section {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.last-game-section h3 {
    color: var(--lol-gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-family: 'Orbitron', monospace;
}

.last-game-section h4 {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.last-game-stats {
    margin-top: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
}

.stat-mini {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.stat-mini-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-mini-value {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.placement-good {
    color: var(--success) !important;
}

.placement-bad {
    color: var(--warning) !important;
}

/* Match-Historie Sektion */
.match-history-section {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.match-history-section h3 {
    color: var(--lol-gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-family: 'Orbitron', monospace;
}

.match-history-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
}

.match-history-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.match-history-item:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--lol-gold);
}

.match-placement {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.match-placement.placement-good {
    background: rgba(5, 150, 170, 0.2);
    border: 2px solid var(--success);
    color: var(--success);
}

.match-placement.placement-bad {
    background: rgba(255, 107, 53, 0.2);
    border: 2px solid var(--warning);
    color: var(--warning);
}

.match-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 300px; /* kannst du bei Bedarf erhöhen */
  justify-content: start;
}


.match-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  object-fit: contain;
}

.match-stats-mini {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    min-width: 80px;
    text-align: center;
}

.match-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    min-width: 80px;
    text-align: right;
}

/* Erweiterte Champion-Statistiken */
.avg-placement-display {
    background: rgba(200, 155, 60, 0.1);
    color: var(--lol-gold);
    border-color: var(--lol-gold);
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    border: 1px solid var(--lol-gold);
    font-size: 0.8rem;
}

/* Responsive Design für Items */
@media (max-width: 768px) {
    .items-display {
        gap: 0.3rem;
    }
    
    .item-slot {
        width: 40px;
        height: 40px;
    }
    
    .item-icon {
        width: 32px;
        height: 32px;
    }
    
    .champion-items-preview {
        margin-top: 0.3rem;
    }
    
    .champion-item-mini {
        width: 16px;
        height: 16px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .match-history-item {
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    .match-placement {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .match-item-icon {
        width: 20px;
        height: 20px;
    }
    
    .match-stats-mini {
        min-width: 60px;
        font-size: 0.8rem;
    }
    
    .match-date {
        min-width: 60px;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .item-slot {
        width: 36px;
        height: 36px;
    }
    
    .item-icon {
        width: 28px;
        height: 28px;
    }
    
    .champion-item-mini {
        width: 14px;
        height: 14px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .match-history-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .match-items {
        order: 1;
    }
    
    .match-stats-mini {
        order: 2;
        min-width: auto;
    }
    
    .match-date {
        order: 3;
        min-width: auto;
        text-align: left;
    }
    
    .match-placement {
        order: 0;
        align-self: flex-end;
        position: absolute;
        right: 0.5rem;
        top: 0.5rem;
    }
}

/* Erweiterte Placement-Styles */
.placement-display.placement-good {
    background: rgba(5, 150, 170, 0.2);
    color: var(--success);
    border-color: var(--success);
}

.placement-display.placement-bad {
    background: rgba(255, 107, 53, 0.2);
    color: var(--warning);
    border-color: var(--warning);
}

/* Item-Tooltip (für zukünftige Erweiterung) */
.item-tooltip {
    position: absolute;
    background: var(--bg-card);
    border: 2px solid var(--lol-gold);
    border-radius: var(--border-radius);
    padding: 1rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    z-index: 10001;
    max-width: 250px;
    box-shadow: var(--shadow-gold);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.item-tooltip.show {
    opacity: 1;
}

.item-tooltip h4 {
    color: var(--lol-gold);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.item-tooltip p {
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.item-tooltip .item-stats {
    color: var(--text-primary);
    font-weight: 600;
}

/* Scrollbar für Match-Historie */
.match-history-list::-webkit-scrollbar {
    width: 6px;
}

.match-history-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.match-history-list::-webkit-scrollbar-thumb {
    background: var(--lol-gold);
    border-radius: 3px;
}

.match-history-list::-webkit-scrollbar-thumb:hover {
    background: var(--lol-gold-light);
}

/* Animation für neue Items */
@keyframes itemSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.item-slot.new-item {
    animation: itemSlideIn 0.3s ease;
}

/* Highlight für besondere Items */
.item-slot.legendary {
    border-color: #ff6b35;
    box-shadow: 0 0 8px rgba(255, 107, 53, 0.3);
}

.item-slot.mythic {
    border-color: #8b5cf6;
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.3);
}

/* Verbesserte Modal Styles */

.champion-modal-content {
    background: linear-gradient(145deg, rgba(30, 35, 40, 0.98), rgba(20, 25, 30, 0.98));
    border: 2px solid var(--lol-gold);
    border-radius: 20px;
    padding: 2rem;
    max-width: 1000px;
width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(200, 155, 60, 0.2);
}

.champion-detail {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.champion-image-large img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--lol-gold);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(200, 155, 60, 0.3);
}

.champion-info h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    color: var(--lol-gold);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(200, 155, 60, 0.4);
    letter-spacing: 1px;
}

/* Champion Stats Detail - Neu */
.champion-stats-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-item {
    background: rgba(0, 0, 0, 0.4);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(200, 155, 60, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: var(--lol-gold);
    background: rgba(200, 155, 60, 0.1);
    transform: translateY(-2px);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Orbitron', monospace;
}

.status-completed {
    color: var(--success) !important;
    text-shadow: 0 0 10px rgba(5, 150, 170, 0.3);
}

.status-pending {
    color: var(--warning) !important;
}

/* Letztes Spiel Sektion - Überarbeitet */
.last-game-section {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(200, 155, 60, 0.2);
}

.last-game-section h3 {
    color: var(--lol-gold);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-family: 'Orbitron', monospace;
    text-align: center;
    text-shadow: 0 0 10px rgba(200, 155, 60, 0.3);
}

.last-game-section h4 {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Items Display - Verbessert */
.items-display {
    display: flex;
    gap: 0.8rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(200, 155, 60, 0.3);
}

.item-slot {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.item-slot:hover {
    border-color: var(--lol-gold);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(200, 155, 60, 0.3);
}

.item-slot.empty {
    opacity: 0.3;
    border-style: dashed;
}

.item-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

/* Statistiken Grid - Neu */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.stat-mini {
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--text-muted);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-mini:hover {
    border-color: var(--lol-gold);
    background: rgba(200, 155, 60, 0.1);
}

.stat-mini-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-mini-value {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 700;
    font-family: 'Orbitron', monospace;
}

/* Match History - Überarbeitet */
.match-history-section {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(200, 155, 60, 0.2);
}

.match-history-section h3 {
    color: var(--lol-gold);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-family: 'Orbitron', monospace;
    text-align: center;
    text-shadow: 0 0 10px rgba(200, 155, 60, 0.3);
}

.match-history-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 400px;
    overflow-y: auto;
}

.match-history-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.match-history-item:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: var(--lol-gold);
    transform: translateX(5px);
}

.match-placement {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
    font-family: 'Orbitron', monospace;
}

.match-placement.placement-good {
    background: linear-gradient(135deg, var(--success), #00bcd4);
    border: 2px solid var(--success);
    color: white;
    box-shadow: 0 4px 15px rgba(5, 150, 170, 0.3);
}

.match-placement.placement-bad {
    background: linear-gradient(135deg, var(--warning), #ff8a50);
    border: 2px solid var(--warning);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.match-items {
    display: flex;
    gap: 0.5rem;
    flex: 1;
}

.match-item-icon {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 1px solid var(--border-gold);
    object-fit: cover;
    transition: all 0.3s ease;
}

.match-item-icon:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 10px rgba(200, 155, 60, 0.4);
}

.match-stats-mini {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
    min-width: 100px;
    text-align: center;
    font-family: 'Orbitron', monospace;
}

.match-date {
    font-size: 0.9rem;
    color: var(--text-muted);
    min-width: 100px;
    text-align: right;
    font-weight: 500;
}

/* Modal Close Button - Verbessert */
.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--text-muted);
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--lol-gold);
    border-color: var(--lol-gold);
    background: rgba(200, 155, 60, 0.1);
    transform: scale(1.1);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .champion-modal-content {
        margin: 1rem;
        padding: 1.5rem;
        max-width: 95%;
    }
    
    .champion-detail {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .champion-image-large img {
        width: 100px;
        height: 100px;
    }
    
    .champion-info h2 {
        font-size: 1.6rem;
    }
    
    .champion-stats-detail {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .match-history-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .match-placement {
        order: -1;
    }
    
    .items-display {
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .item-slot {
        width: 50px;
        height: 50px;
    }
    
    .item-icon {
        width: 40px;
        height: 40px;
    }
}

/* Scrollbar für Modal */
.champion-modal-content::-webkit-scrollbar {
    width: 8px;
}

.champion-modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.champion-modal-content::-webkit-scrollbar-thumb {
    background: var(--lol-gold);
    border-radius: 4px;
}

.champion-modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--lol-gold-light);
}

/* Verbesserte Modal Styles mit besserer Platzierungsanzeige */

/* Prominente Platzierungsanzeige */
.game-placement-display {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

.placement-badge {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(30, 35, 40, 0.9));
    border: 3px solid;
    border-radius: 20px;
    padding: 1.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.placement-badge.placement-good {
    border-color: var(--success);
    background: linear-gradient(135deg, rgba(5, 150, 170, 0.2), rgba(0, 188, 212, 0.1));
    box-shadow: 0 8px 25px rgba(5, 150, 170, 0.3);
}

.placement-badge.placement-bad {
    border-color: var(--warning);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 152, 0, 0.1));
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.placement-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Orbitron', monospace;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.placement-badge.placement-good .placement-number {
    color: var(--success);
    text-shadow: 0 0 20px rgba(5, 150, 170, 0.5);
}

.placement-badge.placement-bad .placement-number {
    color: var(--warning);
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.placement-text {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
}

/* Verbesserte Items-Anzeige */
.items-display-enhanced {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.8rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(200, 155, 60, 0.3);
}

.item-slot-enhanced {
    width: 70px;
    height: 70px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.item-slot-enhanced:hover {
    border-color: var(--lol-gold);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(200, 155, 60, 0.3);
    z-index: 10;
}

.item-slot-enhanced.empty {
    opacity: 0.3;
    border-style: dashed;
    background: rgba(0, 0, 0, 0.2);
}

.item-slot-enhanced.prismatic {
    border-color: #e91e63;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.2), rgba(156, 39, 176, 0.1));
    box-shadow: 0 0 15px rgba(233, 30, 99, 0.3);
}

.item-slot-enhanced.support {
    border-color: #4caf50;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(139, 195, 74, 0.1));
}

.item-icon {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.item-slot-number {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--lol-gold);
    color: var(--bg-primary);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    font-family: 'Orbitron', monospace;
}

.prismatic-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(233, 30, 99, 0.3) 50%, 
        transparent 70%);
    animation: prismaticShine 2s infinite;
    pointer-events: none;
}

@keyframes prismaticShine {
    0% { transform: translateX(-100%) skewX(-15deg); }
    100% { transform: translateX(200%) skewX(-15deg); }
}

/* Verbesserte Statistiken-Karten */
.stats-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(30, 35, 40, 0.4));
    border: 1px solid var(--text-muted);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    border-color: var(--lol-gold);
    background: linear-gradient(135deg, rgba(200, 155, 60, 0.1), rgba(30, 35, 40, 0.6));
    transform: translateY(-2px);
}

.stat-card.kills { border-left: 4px solid #f44336; }
.stat-card.deaths { border-left: 4px solid #9e9e9e; }
.stat-card.assists { border-left: 4px solid #4caf50; }
.stat-card.kda { border-left: 4px solid var(--lol-gold); }
.stat-card.gold { border-left: 4px solid #ffeb3b; }
.stat-card.damage { border-left: 4px solid #ff5722; }

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    font-family: 'Orbitron', monospace;
    color: var(--text-primary);
}

.stat-name {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Verbesserte Match-Historie */
.match-history-item-enhanced {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.match-history-item-enhanced:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: var(--lol-gold);
    transform: translateX(5px);
}

.match-placement-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    border: 2px solid;
    text-align: center;
    position: relative;
}

.match-placement-large.placement-good {
    border-color: var(--success);
    background: linear-gradient(135deg, rgba(5, 150, 170, 0.2), rgba(0, 188, 212, 0.1));
}

.match-placement-large.placement-bad {
    border-color: var(--warning);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 152, 0, 0.1));
}

.match-rank {
    font-size: 1.5rem;
    font-weight: 900;
    font-family: 'Orbitron', monospace;
    line-height: 1;
}

.match-result {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.2rem;
}

.match-placement-large.placement-good .match-rank,
.match-placement-large.placement-good .match-result {
    color: var(--success);
}

.match-placement-large.placement-bad .match-rank,
.match-placement-large.placement-bad .match-result {
    color: var(--warning);
}

.match-items-section {
    min-width: 200px;
}

.match-items {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.match-item-icon {
    width: 35px;
    height: 35px;
    border-radius: 6px;
    border: 1px solid var(--border-gold);
    object-fit: cover;
    transition: all 0.3s ease;
}

.match-item-icon.prismatic {
    border-color: #e91e63;
    box-shadow: 0 0 8px rgba(233, 30, 99, 0.4);
}

.match-item-icon:hover {
    transform: scale(1.3);
    box-shadow: 0 4px 12px rgba(200, 155, 60, 0.4);
    z-index: 10;
}

.items-overflow {
    background: rgba(200, 155, 60, 0.2);
    color: var(--lol-gold);
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--lol-gold);
}

.match-stats-section {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 120px;
    text-align: center;
}

.match-kda {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.match-gold, .match-damage {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.match-date-section {
    min-width: 80px;
    text-align: right;
}

.match-date {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .items-display-enhanced {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .item-slot-enhanced {
        width: 60px;
        height: 60px;
    }
    
    .item-icon {
        width: 50px;
        height: 50px;
    }
    
    .stats-grid-enhanced {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .match-history-item-enhanced {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .placement-badge {
        padding: 1rem 1.5rem;
    }
    
    .placement-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .items-display-enhanced {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .item-slot-enhanced {
        width: 50px;
        height: 50px;
    }
    
    .item-icon {
        width: 40px;
        height: 40px;
    }
    
    .stats-grid-enhanced {
        grid-template-columns: 1fr;
    }
}

/* Arena Augments CSS Styles - Erweiterte Darstellung */

/* Arena Augment Basis-Styles */
.augment {
  position: relative;
}

.item-slot-complete.augment {
  border: 2px solid #ff6b35;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.3), rgba(255, 152, 0, 0.2));
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
  animation: augmentPulse 3s ease-in-out infinite;
}

@keyframes augmentPulse {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.6);
    transform: scale(1.02);
  }
}

.item-slot-complete.augment:hover {
  border-color: #ff8a50;
  box-shadow: 0 0 35px rgba(255, 107, 53, 0.8);
  transform: scale(1.1);
}

/* Arena Augment Glow-Effekt */
.augment-glow-complete {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  background: linear-gradient(45deg, 
    transparent 30%, 
    rgba(255, 107, 53, 0.4) 50%, 
    transparent 70%);
  animation: augmentShine 2.5s infinite;
  pointer-events: none;
}

@keyframes augmentShine {
  0% { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(200%) skewX(-15deg); }
}

/* Arena Augment Kategorie-Badge */
.augment-category-badge {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ff6b35, #ff8a50);
  color: white;
  padding: 2px 6px;
  border-radius: 8px;
  font-size: 0.6rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 10;
  min-width: 50px;
  text-align: center;
}

/* Augment-Kategorie spezifische Farben */
.augment-category-badge[data-category="Offensive"] {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.augment-category-badge[data-category="Defensive"] {
  background: linear-gradient(135deg, #3498db, #2980b9);
}

.augment-category-badge[data-category="Utility"] {
  background: linear-gradient(135deg, #f39c12, #e67e22);
}

.augment-category-badge[data-category="Elemental"] {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.augment-category-badge[data-category="Mastery"] {
  background: linear-gradient(135deg, #1abc9c, #16a085);
}

/* Match-Historie Augment Icons */
.match-item-icon-complete.augment {
  border: 2px solid #ff6b35;
  box-shadow: 0 0 12px rgba(255, 107, 53, 0.5);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 152, 0, 0.1));
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.match-item-icon-complete.augment:hover {
  transform: scale(1.3);
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.8);
  z-index: 10;
}

.match-item-icon-complete.augment::before {
  content: '🔮';
  position: absolute;
  top: -2px;
  right: -2px;
  font-size: 0.7rem;
  background: #ff6b35;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  z-index: 5;
}

/* Champion Items Preview - Augments */
.champion-item-extended.augment {
  border: 2px solid #ff6b35;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.3), rgba(255, 152, 0, 0.2));
  box-shadow: 0 0 15px rgba(255, 107, 53, 0.4);
  position: relative;
  overflow: hidden;
}

.champion-item-extended.augment:hover {
  transform: scale(1.2);
  box-shadow: 0 0 25px rgba(255, 107, 53, 0.7);
}

.augment-sparkle {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, 
    transparent 40%, 
    rgba(255, 107, 53, 0.6) 50%, 
    transparent 60%);
  animation: augmentSparkle 3s infinite;
  pointer-events: none;
  border-radius: 4px;
}

@keyframes augmentSparkle {
  0% { transform: translateX(-100%) rotate(45deg); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(200%) rotate(45deg); opacity: 0; }
}

/* Augment-Statistiken Pills */
.stat-pill-complete.augments {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.3), rgba(255, 152, 0, 0.2));
  border: 2px solid #ff6b35;
  color: #ff6b35;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(255, 107, 53, 0.5);
  animation: augmentStatGlow 4s ease-in-out infinite;
}

@keyframes augmentStatGlow {
  0%, 100% { 
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
  }
  50% { 
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
  }
}

/* Augment-Tooltip Styles */
.item-tooltip .augment-note {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 152, 0, 0.1));
  border-left: 4px solid #ff6b35;
  padding: 0.5rem;
  margin: 0.5rem 0;
  border-radius: 4px;
  font-weight: bold;
  color: #ff6b35;
  text-shadow: 0 0 5px rgba(255, 107, 53, 0.3);
}

/* Augment-Kategorie Icons */
.augment-category-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  vertical-align: middle;
  border-radius: 3px;
  background: #ff6b35;
  position: relative;
}

.augment-category-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

/* Augment-Kategorie spezifische Icons */
.augment-category-icon.offensive::before {
  content: '⚔️';
  background: none;
  font-size: 0.7rem;
}

.augment-category-icon.defensive::before {
  content: '🛡️';
  background: none;
  font-size: 0.7rem;
}

.augment-category-icon.utility::before {
  content: '⚙️';
  background: none;
  font-size: 0.7rem;
}

.augment-category-icon.elemental::before {
  content: '🌟';
  background: none;
  font-size: 0.7rem;
}

.augment-category-icon.mastery::before {
  content: '🏆';
  background: none;
  font-size: 0.7rem;
}

/* Augment-Sektion im Modal */
.augment-section {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 152, 0, 0.05));
  border: 2px solid rgba(255, 107, 53, 0.3);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  position: relative;
  overflow: hidden;
}

.augment-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff6b35, #ff8a50, #ff6b35);
  animation: augmentSectionGlow 3s infinite;
}

@keyframes augmentSectionGlow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.augment-section h4 {
  color: #ff6b35;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-align: center;
  text-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
  font-family: 'Orbitron', monospace;
}

/* Augment-Zusammenfassung */
.augment-summary {
  display: flex;
  justify-content: space-around;
  margin: 1rem 0;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  border: 1px solid rgba(255, 107, 53, 0.2);
}

.augment-summary-item {
  text-align: center;
  padding: 0.5rem;
}

.augment-summary-number {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ff6b35;
  font-family: 'Orbitron', monospace;
}

.augment-summary-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Augment-Kombinationen */
.augment-combo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 8px;
  margin: 0.5rem 0;
  border: 1px solid rgba(255, 107, 53, 0.2);
}

.augment-combo-items {
  display: flex;
  gap: 0.3rem;
}

.augment-combo-item {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid #ff6b35;
  background: rgba(255, 107, 53, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #ff6b35;
  font-weight: bold;
}

.augment-combo-effect {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  flex: 1;
}

.augment-combo-synergy {
  color: #ff6b35;
  font-size: 0.8rem;
  font-weight: bold;
  background: rgba(255, 107, 53, 0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
}

/* Responsive Anpassungen für Augments */
@media (max-width: 768px) {
  .augment-category-badge {
    font-size: 0.5rem;
    padding: 1px 4px;
    min-width: 40px;
  }
  
  .augment-section {
    padding: 1rem;
  }
  
  .augment-summary {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .augment-combo {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .item-slot-complete.augment {
    width: 50px;
    height: 50px;
  }
  
  .champion-item-extended.augment {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .augment-category-badge {
    display: none;
  }
  
  .augment-section h4 {
    font-size: 1rem;
  }
  
  .augment-summary-number {
    font-size: 1.2rem;
  }
  
  .augment-combo-items {
    flex-wrap: wrap;
  }
  
  .item-slot-complete.augment {
    width: 45px;
    height: 45px;
  }
  
  .champion-item-extended.augment {
    width: 18px;
    height: 18px;
  }
}

/* Augment-Animationen für bessere UX */
.augment-enter {
  animation: augmentEnter 0.6s ease-out;
}

@keyframes augmentEnter {
  0% {
    opacity: 0;
    transform: scale(0.8) rotate(-10deg);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1) rotate(5deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.augment-highlight {
  animation: augmentHighlight 1s ease-in-out;
}

@keyframes augmentHighlight {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(255, 107, 53, 0.8);
  }
}

/* Augment-Qualität Indicators */
.augment-quality-common {
  border-color: #95a5a6;
  box-shadow: 0 0 15px rgba(149, 165, 166, 0.3);
}

.augment-quality-rare {
  border-color: #3498db;
  box-shadow: 0 0 15px rgba(52, 152, 219, 0.4);
}

.augment-quality-epic {
  border-color: #9b59b6;
  box-shadow: 0 0 15px rgba(155, 89, 182, 0.4);
}

.augment-quality-legendary {
  border-color: #f39c12;
  box-shadow: 0 0 15px rgba(243, 156, 18, 0.5);
}

.augment-quality-mythic {
  border-color: #e74c3c;
  box-shadow: 0 0 20px rgba(231, 76, 60, 0.6);
}

/* Augment-Kombinationen Highlight */
.augment-synergy-active {
  border-color: #f1c40f;
  box-shadow: 0 0 25px rgba(241, 196, 15, 0.6);
  animation: augmentSynergy 2s ease-in-out infinite;
}

@keyframes augmentSynergy {
  0%, 100% {
    box-shadow: 0 0 25px rgba(241, 196, 15, 0.6);
  }
  50% {
    box-shadow: 0 0 35px rgba(241, 196, 15, 0.8);
  }
}

/* Augment-Statistiken im Champion-Modal */
.augment-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.augment-stat-card {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 152, 0, 0.05));
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.augment-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.augment-stat-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ff6b35;
  font-family: 'Orbitron', monospace;
  margin-bottom: 0.5rem;
}

.augment-stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Augment-Verlauf im Match-Modal */
.augment-history {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 1rem;
  margin: 1rem 0;
  border: 1px solid rgba(255, 107, 53, 0.2);
}

.augment-history-title {
  color: #ff6b35;
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
  text-shadow: 0 0 8px rgba(255, 107, 53, 0.3);
}

.augment-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.augment-timeline-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 8px;
  border-left: 3px solid #ff6b35;
}

.augment-timeline-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid #ff6b35;
  background: rgba(255, 107, 53, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #ff6b35;
  font-weight: bold;
  flex-shrink: 0;
}

.augment-timeline-info {
  flex: 1;
}

.augment-timeline-name {
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.augment-timeline-effect {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-style: italic;
}

.last-game-augments {
    margin-top: 15px;
}

.augments-display {
    display: flex;
    gap: 8px;
}

.augment-slot {
    width: 40px;
    height: 40px;
    position: relative;
}

.augment-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

