@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a1428;
    color: #e2e8f0;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100%;
    height: fit-content;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a1428 0%, #1e2761 100%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 2rem 1rem 2rem;
    min-height: 0;
    width: 100%;
    box-sizing: border-box;
}

main {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

main > section:last-child {
    margin-bottom: 0 !important;
}

header {
    text-align: center;
    margin-bottom: 3rem;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6, #06b6d4);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.025em;
}

.clickable-title {
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.clickable-title:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

header p {
    font-size: 1.125rem;
    color: #94a3b8;
    font-weight: 400;
}

.arena-god-progress {
    margin-bottom: 2rem;
}

.arena-god-container {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid #334155;
    border-radius: 0.75rem;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}


.arena-god-header {
    text-align: center;
    margin-bottom: 1rem;
}

.arena-god-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #e2e8f0;
}

.arena-god-header p {
    color: #cbd5e1;
    font-size: 1rem;
    margin: 0;
}

.arena-god-header #arenaGodCount {
    font-weight: 600;
    color: #3b82f6;
}

.progress-bar-container {
    margin-bottom: 0;
}

.progress-bar {
    width: 100%;
    height: 1.75rem;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
    border: 1px solid #475569;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    border-radius: 0.5rem;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 0.5rem 0.5rem 0 0;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    z-index: 10;
    transition: color 0.3s ease;
    line-height: 1;
}

.progress-bar[data-progress="0"] .progress-text {
    color: #cbd5e1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.arena-god-milestone {
    text-align: center;
    padding: 0.75rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 0.5rem;
    margin-top: 0.75rem;
}

.milestone-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: #3b82f6;
}

.arena-god-container.achieved {
    border-color: #3b82f6;
}

.search-section {
    margin-bottom: 2rem;
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

#championSearch {
    flex: 1;
    padding: 1rem 1.5rem;
    padding-right: 7rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    border: 2px solid #334155;
    border-radius: 0.75rem;
    background: rgba(15, 23, 42, 0.8);
    color: #e2e8f0;
    outline: none;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.clear-search-btn {
    position: absolute;
    right: 3.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
    color: #ef4444;
    z-index: 10;
}

.clear-search-btn.show {
    display: flex;
}

.clear-search-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    transform: translateY(-50%) scale(1.05);
}

.upload-icon-btn {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
    color: #3b82f6;
}

.upload-icon-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    transform: translateY(-50%) scale(1.05);
}

#championSearch:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#championSearch::placeholder {
    color: #64748b;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid #334155;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    max-height: 350px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    margin-top: 0.5rem;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    cursor: pointer;
    color: #e2e8f0;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

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

.search-result-item:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #ffffff;
}

.champion-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 0.75rem;
    object-fit: cover;
    border: 2px solid #334155;
    transition: border-color 0.2s ease;
}

.champion-icon.has-wins {
    border-color: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

.champion-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #334155, #475569);
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 50%;
    border: 2px solid #334155;
    transition: border-color 0.2s ease;
    cursor: pointer;
}

.champion-placeholder.has-wins {
    border-color: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
    background: linear-gradient(135deg, #10b981, #059669);
}

.champion-placeholder.champion-icon {
    width: 32px;
    height: 32px;
    margin-right: 0.75rem;
    font-size: 0.75rem;
}

.champion-placeholder.champion-portrait {
    width: 120px;
    height: 120px;
    font-size: 2.5rem;
    border-color: #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.search-result-item:hover .champion-icon,
.search-result-item:hover .champion-placeholder {
    border-color: #3b82f6;
}

.champion-placeholder:hover {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.champion-info-inline {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.champion-name {
    font-weight: 500;
}

.champion-stats-inline {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.875rem;
}

.wins-inline {
    color: #10b981;
    font-weight: 600;
}

.losses-inline {
    color: #ef4444;
    font-weight: 600;
}

.winrate-inline {
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.8rem;
}

.no-matches-inline {
    color: #64748b;
    font-size: 0.875rem;
    font-style: italic;
}

.no-results {
    padding: 1rem;
    text-align: center;
    color: #64748b;
    font-style: italic;
}

.no-wins-section {
    margin-bottom: 2rem;
}

.no-wins-container {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid #334155;
    border-radius: 1rem;
    padding: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.no-wins-container h3 {
    color: #3b82f6;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.no-wins-container p {
    margin-bottom: 0;
    color: #94a3b8;
}

.btn-show-no-wins {
    padding: 0.5rem 1rem;
    border: 2px solid #64748b;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    white-space: nowrap;
}

.btn-show-no-wins:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
}

.btn-show-no-wins.active {
    border-color: #3b82f6;
    background: #3b82f6;
    color: #ffffff;
}

.no-wins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top;
}

.no-wins-champion-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    aspect-ratio: 1;
}

.no-wins-champion-item:hover {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.no-wins-champion-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #334155;
    transition: border-color 0.2s ease;
    flex-shrink: 0;
}

.no-wins-champion-icon.has-wins {
    border-color: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.no-wins-champion-item:hover .no-wins-champion-icon,
.no-wins-champion-item:hover .champion-placeholder.no-wins-champion-icon {
    border-color: #3b82f6;
}

.champion-placeholder.no-wins-champion-icon {
    width: 48px;
    height: 48px;
    font-size: 1rem;
    margin-right: 0;
}


.no-wins-item {
    border: 1px solid rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.02);
}

.no-wins-item:hover {
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.05);
}

.no-wins-stats {
    color: #ef4444 !important;
    font-weight: 600;
}

.no-wins-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(51, 65, 85, 0.5);
}

.view-more-container {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.btn-view-more {
    padding: 0.75rem 1.5rem;
    border: 2px solid #3b82f6;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    color: #3b82f6;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-icon {
    font-size: 0.875rem;
    display: none;
}

.btn-text {
    display: inline;
}

.btn-view-more:hover {
    background: #3b82f6;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.25);
}

.btn-view-more.collapse {
    border-color: #64748b;
    color: #64748b;
}

.btn-view-more.collapse:hover {
    background: #64748b;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(100, 116, 139, 0.25);
}

.btn-hide-list {
    padding: 0.75rem 1.5rem;
    border: 2px solid #ef4444;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    color: #ef4444;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-hide-list:hover {
    background: #ef4444;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.25);
}


.no-champions-left {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: #64748b;
    font-style: italic;
    background: rgba(30, 41, 59, 0.3);
    border: 1px dashed #334155;
    border-radius: 0.75rem;
}

.loading-champions {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: #64748b;
    font-style: italic;
    background: rgba(30, 41, 59, 0.3);
    border: 1px dashed #334155;
    border-radius: 0.75rem;
}

.data-management-section {
    margin-bottom: 2rem;
}

.data-management-container {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid #334155;
    border-radius: 0.75rem;
    overflow: hidden;
}

.data-management-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

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

.header-content h3 {
    color: #3b82f6;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.quick-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.import-section {
    padding: 1.5rem;
    display: none;
    animation: slideDown 0.3s ease-in-out;
}

.import-section.show {
    display: block;
}

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

.import-header h4 {
    color: #e2e8f0;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.import-header p {
    margin-bottom: 1rem;
    color: #94a3b8;
    font-size: 0.875rem;
}

.danger-zone {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-clear-data {
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-clear-data:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
}

.file-upload-area {
    border: 2px dashed #334155;
    border-radius: 0.5rem;
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    background: rgba(30, 41, 59, 0.3);
}

.file-upload-area:hover {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.file-upload-area.drag-over {
    border-color: #06b6d4;
    background: rgba(6, 182, 212, 0.1);
    transform: scale(1.02);
}

.upload-content {
    pointer-events: none;
}

.upload-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.upload-hint {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.5rem;
}

.format-help {
    margin-top: 1.5rem;
}

.format-help summary {
    cursor: pointer;
    color: #3b82f6;
    font-weight: 500;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
}

.format-examples {
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 0.5rem;
    margin-top: 1rem;
    border: 1px solid rgba(51, 65, 85, 0.5);
}

.format-examples h4 {
    color: #e2e8f0;
    margin-bottom: 1rem;
    font-weight: 600;
}

.format-examples code {
    display: block;
    background: rgba(15, 23, 42, 0.8);
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: #06b6d4;
    border: 1px solid #334155;
}

.import-results {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 0.75rem;
    border: 1px solid rgba(51, 65, 85, 0.5);
}

.import-summary h4 {
    color: #e2e8f0;
    margin-bottom: 1rem;
    font-weight: 600;
}

.import-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.stat-success {
    color: #10b981;
    font-weight: 600;
}

.stat-warning {
    color: #f59e0b;
    font-weight: 600;
}

.stat-total {
    color: #06b6d4;
    font-weight: 600;
}

.import-errors {
    margin-top: 1rem;
}

.import-errors h5 {
    color: #ef4444;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.import-errors ul {
    max-height: 200px;
    overflow-y: auto;
    background: rgba(239, 68, 68, 0.1);
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 3px solid #ef4444;
}

.import-errors li {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #fca5a5;
}


.quick-actions .btn-export-csv,
.quick-actions .btn-export-json,
.quick-actions .btn-import-json,
.quick-actions .btn-expand-import,
.quick-actions .btn-clear-data-quick {
    padding: 0.5rem;
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 0.375rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(30, 41, 59, 0.5);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
}

.quick-actions .btn-export-csv:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: #06b6d4;
    color: #06b6d4;
}

.quick-actions .btn-export-json:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: #8b5cf6;
    color: #8b5cf6;
}

.quick-actions .btn-import-json:hover {
    background: rgba(245, 158, 11, 0.1);
    border-color: #f59e0b;
    color: #f59e0b;
}

.quick-actions .btn-expand-import:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    color: #3b82f6;
}

.quick-actions .btn-clear-data-quick:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
}




.champion-info {
    margin-bottom: 2rem;
}

.champion-info-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.champion-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid #334155;
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    height: 100%;
    min-height: fit-content;
}

.champion-portrait {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #3b82f6;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
    flex-shrink: 0;
}

.champion-portrait:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

.champion-details {
    flex: 1;
    width: 100%;
}

.champion-details h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    width: 100%;
}

.stat {
    text-align: center;
    background: rgba(30, 41, 59, 0.5);
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(51, 65, 85, 0.5);
    transition: all 0.2s ease;
    flex: 1;
    min-width: 0;
}

.stat:hover {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-2px);
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.stat-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #3b82f6;
}

.actions {
    display: flex;
    gap: 1rem;
}

.additional-stats {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid #334155;
    border-radius: 0.75rem;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.additional-stats h3 {
    color: #3b82f6;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.extended-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.extended-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 0.5rem;
    border: 1px solid rgba(51, 65, 85, 0.5);
    transition: all 0.2s ease;
}

.extended-stat:hover {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
}

.extended-stat-label {
    font-size: 0.875rem;
    color: #94a3b8;
    font-weight: 500;
}

.extended-stat-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #e2e8f0;
}

.btn {
    flex: 1;
    padding: 0.875rem 1.5rem;
    border: 2px solid;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
}

.btn-win {
    border-color: #10b981;
    color: #10b981;
}

.btn-win:hover {
    background: #10b981;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.25);
}

.btn-loss {
    border-color: #ef4444;
    color: #ef4444;
}

.btn-loss:hover {
    background: #ef4444;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.25);
}

.match-history {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid #334155;
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
}

.match-history h3 {
    margin-bottom: 1.5rem;
    color: #e2e8f0;
    font-size: 1.5rem;
    font-weight: 600;
}

.matches-list {
    display: grid;
    gap: 0.75rem;
}

.match-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 0.5rem;
    border: 1px solid rgba(51, 65, 85, 0.5);
    transition: all 0.2s ease;
}

.match-item:hover {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
}

.match-item.win {
    border-left: 4px solid #10b981;
}

.match-item.loss {
    border-left: 4px solid #ef4444;
}

.match-result {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1rem;
    font-size: 0.875rem;
}

.match-item.win .match-result {
    background: #10b981;
    color: #ffffff;
}

.match-item.loss .match-result {
    background: #ef4444;
    color: #ffffff;
}

.match-date {
    flex: 1;
    color: #94a3b8;
    font-size: 0.875rem;
}

.delete-match {
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.25rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.delete-match:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.no-matches {
    text-align: center;
    color: #64748b;
    font-style: italic;
    padding: 2rem;
}

.notification {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    background: #10b981;
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.25);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 2000;
    font-weight: 500;
}

.notification.show {
    transform: translateX(0);
}

@media (max-width: 1024px) {
    .champion-info-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .champion-card {
        height: auto;
    }
    
    .additional-stats {
        height: auto;
    }
    
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .champion-info-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .champion-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1.5rem;
        height: auto;
        width: 100%;
    }
    
    .champion-portrait {
        width: 80px;
        height: 80px;
        align-self: center;
    }
    
    .champion-details h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .stat {
        padding: 1rem 0.75rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .actions {
        flex-direction: row;
        gap: 0.75rem;
    }
    
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    
    header h1 {
        font-size: 2rem;
    }
    
    .import-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .quick-actions {
        align-self: stretch;
        justify-content: space-between;
    }
    
    .data-management-header {
        padding: 1rem;
    }
    
    .import-section {
        padding: 1rem;
    }
    
    .no-wins-grid {
        gap: 0.75rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .btn-show-no-wins {
        align-self: stretch;
        justify-content: center;
        font-size: 0.875rem;
        padding: 0.75rem 1rem;
    }
    
    .btn-view-more {
        padding: 0.75rem;
        min-width: 3rem;
        justify-content: center;
    }
    
    .btn-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        line-height: 1;
    }
    
    .btn-text {
        display: none;
    }
    
    
    .clear-search-btn {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.875rem;
        right: 3rem;
    }
    
    .upload-icon-btn {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.875rem;
    }
    
    #championSearch {
        padding-right: 6rem;
    }
    
    .arena-god-container {
        padding: 1.25rem;
    }
    
    .arena-god-header h3 {
        font-size: 1.25rem;
    }
    
    .progress-bar {
        height: 1.5rem;
    }
    
    .progress-text {
        font-size: 0.875rem;
    }
    
    .milestone-text {
        font-size: 0.8rem;
    }
    
    
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(30, 41, 59, 0.5);
}

::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

details[open] summary {
    border-bottom-color: #3b82f6;
    color: #ffffff;
}