.player-container { max-width: 1400px; margin: 0 auto; padding: 20px; }
.player-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 40px; background: linear-gradient(135deg, rgba(30, 30, 40, 0.9), rgba(50, 50, 60, 0.8)); border: 2px solid #daa10a; padding: 25px; border-radius: 12px; box-shadow: 0 4px 15px rgba(218, 161, 10, 0.15); }
.player-profile-cards-left { display: flex; flex-direction: column; gap: 15px; flex: 0 0 auto; min-width: 220px; }
.player-center-section { display: flex; flex-direction: column; align-items: center; gap: 15px; flex: 1; }
.player-profile-cards-right { display: flex; flex-direction: column; gap: 15px; flex: 0 0 auto; min-width: 220px; }
.player-avatar { width: 100px; height: 100px; border-radius: 50%; border: 3px solid #daa10a; box-shadow: 0 0 20px rgba(218, 161, 10, 0.3); }
.player-info { text-align: center; }
.player-info h1 { font-family: 'Chapaza'; font-size: 36px; color: #daa10a; margin-bottom: 8px; }
.player-info h1 a { color: #daa10a; text-decoration: none; transition: color 0.2s; }
.player-info h1 a:hover { color: #f0b800; }
.player-info p { color: #aaa; font-size: 14px; margin: 4px 0; }
.player-info p a { color: #daa10a; text-decoration: none; }
.player-info p a:hover { text-decoration: underline; }
.other-leagues-section { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; justify-content: center; }
.team-info-inline { text-align: right; }
.team-info-inline a { color: #daa10a; text-decoration: none; font-weight: bold; font-size: 16px; transition: color 0.2s; }
.team-info-inline a:hover { color: #f0b800; }
.profile-card { background: linear-gradient(135deg, rgba(30, 30, 40, 0.95), rgba(40, 40, 50, 0.9)); border: 1.5px solid rgba(218, 161, 10, 0.3); border-radius: 10px; padding: 15px; transition: all 0.3s; }
.profile-card:hover { border-color: #daa10a; box-shadow: 0 0 15px rgba(218, 161, 10, 0.2); }
.card-header { color: #daa10a; font-size: 12px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1.5px solid rgba(218, 161, 10, 0.3); }
.card-content { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.profile-card-avatar { width: 70px; height: 70px; border-radius: 50%; border: 2px solid #daa10a; object-fit: cover; }
.hero-card-image { width: 70px; height: 70px; border-radius: 6px; border: 2px solid #daa10a; object-fit: cover; }
.hero-card-image-large { width: 80px; height: 80px; border-radius: 6px; border: 2px solid #daa10a; object-fit: cover; }
.card-info { width: 100%; text-align: center; }
.card-player-name { color: #daa10a; text-decoration: none; font-weight: bold; font-size: 13px; transition: color 0.2s; display: block; margin-bottom: 8px; word-break: break-word; }
.card-player-name:hover { color: #f0b800; }
.hero-name { color: #daa10a; font-weight: bold; font-size: 13px; margin-bottom: 8px; word-break: break-word; }
.card-stat { display: flex; justify-content: space-between; align-items: center; font-size: 11px; padding: 5px 0; border-bottom: 1px solid rgba(100, 100, 120, 0.2); }
.card-stat:last-child { border-bottom: none; }
.stat-label { color: #999; font-weight: bold; text-transform: uppercase; letter-spacing: 0.3px; }
.stat-value { color: #bbb; font-weight: bold; display: flex; align-items: center; gap: 3px; }
.separator { color: #666; }
.wins { color: #5fdb7b; }
.losses { color: #ff5555; }
.player-league-section { display: flex; justify-content: center; gap: 20px; margin-bottom: 30px; padding: 20px; background: rgba(20, 20, 30, 0.6); border-radius: 10px; }
.player-seasons-section { display: flex; flex-direction: column; align-items: center; justify-content: center; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(218, 161, 10, 0.2); }
.player-stats-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 15px; margin-bottom: 40px; }
.stat-box { background: rgba(20, 20, 30, 0.9); border: 2px solid #444; padding: 20px 15px; border-radius: 10px; text-align: center; transition: all 0.2s; }
.stat-box:hover { border-color: #daa10a; box-shadow: 0 0 10px rgba(218, 161, 10, 0.2); }
.stat-box .label { color: #999; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.stat-box .value { color: #daa10a; font-size: 28px; font-weight: bold; margin-top: 10px; }
.stat-box .winrate { color: #5fdb7b; font-size: 22px; font-weight: bold; margin-top: 10px; }

.view-toggle { display: flex; gap: 12px; margin-bottom: 30px; justify-content: center; flex-wrap: wrap; }
.view-btn { background: transparent; border: 2px solid #daa10a; color: #daa10a; padding: 12px 28px; border-radius: 6px; font-weight: bold; cursor: pointer; transition: all 0.2s; font-size: 14px; }
.view-btn.active { background: #daa10a; color: #000; }
.view-btn:hover { background: rgba(218, 161, 10, 0.15); transform: translateY(-2px); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
.stat-card { background: rgba(20, 20, 30, 0.9); border: 1px solid #333; padding: 20px; border-radius: 10px; transition: all 0.2s; }
.stat-card:hover { border-color: #daa10a; box-shadow: 0 4px 15px rgba(218, 161, 10, 0.1); }
.stat-card-title { color: #daa10a; font-size: 13px; margin-bottom: 15px; text-transform: uppercase; border-bottom: 2px solid #daa10a; padding-bottom: 10px; font-weight: bold; letter-spacing: 0.5px; }
.stat-item { display: flex; justify-content: space-between; align-items: center; margin: 10px 0; padding: 8px 0; border-bottom: 1px solid rgba(100, 100, 120, 0.3); }
.stat-item:last-child { border-bottom: none; }
.stat-item-label { color: #bbb; font-size: 13px; }
.stat-item-value { color: #eee; font-weight: bold; font-size: 15px; text-align: right; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.top5-badge { display: inline-block; color: #ffd700; font-size: 18px; font-weight: bold; text-shadow: 0 0 10px rgba(255, 215, 0, 0.8), 0 0 5px rgba(255, 215, 0, 0.5); animation: starGlow 2s ease-in-out infinite; flex-shrink: 0; }
@keyframes starGlow { 0%, 100% { text-shadow: 0 0 10px rgba(255, 215, 0, 0.8), 0 0 5px rgba(255, 215, 0, 0.5); } 50% { text-shadow: 0 0 20px rgba(255, 215, 0, 1), 0 0 10px rgba(255, 215, 0, 0.8), inset 0 0 10px rgba(255, 215, 0, 0.3); } }
.best-stat-match { display: inline-flex; align-items: center; justify-content: center; padding: 6px 12px; background: linear-gradient(135deg, rgba(126, 184, 218, 0.2), rgba(126, 184, 218, 0.1)); border: 1px solid rgba(126, 184, 218, 0.5); color: #7eb8da; font-size: 11px; font-weight: bold; text-decoration: none; border-radius: 5px; cursor: pointer; transition: all 0.3s; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.5px; flex-shrink: 0; }
.best-stat-match:hover { background: linear-gradient(135deg, rgba(218, 161, 10, 0.3), rgba(218, 161, 10, 0.2)); border-color: #daa10a; color: #daa10a; box-shadow: 0 0 12px rgba(218, 161, 10, 0.3); transform: translateY(-1px); }
.navigation { text-align: center; margin: 20px; }
.btn { background: #daa10a; color: #000; padding: 10px 20px; text-decoration: none; font-weight: bold; font-family: 'Roboto'; border-radius: 4px; border: none; cursor: pointer; margin: 5px; transition: all 0.2s; }
.btn:hover { background: #f0b800; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(218, 161, 10, 0.3); }
.error-message { background: rgba(255, 85, 85, 0.15); border: 1px solid #ff5555; color: #ff5555; padding: 15px; border-radius: 8px; text-align: center; margin: 20px auto; max-width: 600px; }
.view-section { display: none; }
.view-section.active { display: block; }
.match-history-table { background: rgba(20, 20, 30, 0.9); border: 1px solid #333; border-radius: 10px; overflow: hidden; }
.match-header { display: grid; grid-template-columns: 90px 140px 200px 110px 150px 90px 140px 80px; gap: 12px; padding: 15px 20px; background: rgba(0, 0, 0, 0.4); border-bottom: 2px solid #daa10a; font-weight: bold; color: #999; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; align-items: center; }
.match-header > div { white-space: nowrap; }
.match-header > div[onclick] { cursor: pointer; user-select: none; padding: 6px; border-radius: 4px; transition: all 0.2s; }
.match-header > div[onclick]:hover { background: rgba(218, 161, 10, 0.15); color: #daa10a; }
.match-row { display: grid; grid-template-columns: 90px 140px 200px 110px 150px 90px 140px 80px; gap: 12px; padding: 15px 20px; border-bottom: 1px solid rgba(100, 100, 120, 0.3); align-items: center; transition: all 0.2s; }
.match-row.win { border: none; border-bottom: 1px solid rgba(100, 100, 120, 0.3); }
.match-row.loss { border: none; border-bottom: 1px solid rgba(100, 100, 120, 0.3); }
.match-row:last-child { border-bottom: none; }
.match-row:hover { background: rgba(218, 161, 10, 0.08); }
.match-col-result { text-align: center; }
.match-col-league { text-align: center; color: #bbb; font-size: 12px; }
.result-badge { padding: 6px 12px; border-radius: 4px; font-weight: bold; font-size: 12px; }
.result-badge.win { background: rgba(95, 219, 123, 0.2); color: #5fdb7b; }
.result-badge.loss { background: rgba(255, 85, 85, 0.2); color: #ff5555; }
.match-col-vs { display: flex; align-items: center; gap: 10px; }
.opponent-link { display: flex; align-items: center; gap: 10px; text-decoration: none; transition: all 0.2s; border-radius: 6px; padding: 6px 8px; margin: -6px -8px; }
.opponent-link:hover { background: rgba(218, 161, 10, 0.1); }
.opponent-logo { width: 40px; height: 40px; border-radius: 4px; background: rgba(0, 0, 0, 0.3); border: 1px solid #444; flex-shrink: 0; object-fit: cover; transition: all 0.2s; }
.opponent-link:hover .opponent-logo { border-color: #daa10a; }
.opponent-name { color: #bbb; font-size: 13px; font-weight: 500; transition: color 0.2s; }
.opponent-link:hover .opponent-name { color: #daa10a; }
.match-col-score { text-align: center; color: #daa10a; font-weight: bold; font-size: 13px; }
.score-sep { color: #666; margin: 0 6px; }
.radiant-score { color: #5fdb7b; }
.dire-score { color: #ff5555; }
.match-col-playerinfo { font-size: 13px; }
.player-hero { display: block; color: #daa10a; font-weight: bold; margin-bottom: 4px; }
.player-kda { display: block; color: #bbb; font-size: 12px; }
.match-col-duration { color: #bbb; font-size: 13px; }
.match-col-datetime { color: #999; font-size: 12px; }
.match-col-action { text-align: center; }
.match-link { color: #7eb8da; text-decoration: none; font-size: 12px; font-weight: bold; transition: color 0.2s; }
.match-link:hover { color: #daa10a; }
.page-title { text-align: center; font-family: 'Chapaza'; font-size: 28px; color: #daa10a; margin: 30px 0 20px 0; letter-spacing: 1px; }
.redirect-message { background: rgba(126, 184, 218, 0.15); border: 1px solid #7eb8da; color: #7eb8da; padding: 12px 20px; border-radius: 8px; text-align: center; margin: 20px auto; max-width: 600px; font-size: 13px; }
.other-leagues-section { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.league-link-btn { display: inline-block; padding: 8px 16px; background: linear-gradient(135deg, rgba(218, 161, 10, 0.2), rgba(218, 161, 10, 0.1)); border: 1px solid rgba(218, 161, 10, 0.6); color: #daa10a; text-decoration: none; font-size: 12px; font-weight: bold; border-radius: 6px; transition: all 0.2s; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.5px; }
.league-link-btn:hover { background: linear-gradient(135deg, rgba(218, 161, 10, 0.4), rgba(218, 161, 10, 0.3)); border-color: #daa10a; box-shadow: 0 0 12px rgba(218, 161, 10, 0.3); transform: translateY(-1px); }
.seasons-played-section { margin-top: 0; margin-left: 30px; }
.seasons-label { color: #999; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; font-weight: bold; opacity: 0.9; }
.league-counts { display: flex; gap: 12px; flex-wrap: wrap; }
.league-count { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 14px; background: linear-gradient(135deg, rgba(218, 161, 10, 0.1), rgba(218, 161, 10, 0.05)); border: 1.5px solid rgba(218, 161, 10, 0.4); color: #daa10a; border-radius: 8px; text-align: center; transition: all 0.2s; min-width: 100px; }
.league-count:hover { background: linear-gradient(135deg, rgba(218, 161, 10, 0.2), rgba(218, 161, 10, 0.1)); border-color: #daa10a; box-shadow: 0 0 12px rgba(218, 161, 10, 0.2); transform: translateY(-2px); }
.league-count-name { font-size: 12px; font-weight: bold; margin-bottom: 6px; letter-spacing: 0.3px; }
.league-count-number { font-size: 24px; font-weight: bold; color: #daa10a; }
.hero-stats-table { background: rgba(20, 20, 30, 0.9); border: 1px solid #333; border-radius: 10px; overflow: hidden; width: 100%; }
.hero-header { display: grid; grid-template-columns: 50px 200px 80px 80px 80px 100px 100px 100px 100px 100px 100px 100px; gap: 15px; padding: 15px 20px; background: rgba(0, 0, 0, 0.4); border-bottom: 2px solid #daa10a; font-weight: bold; color: #999; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; align-items: center; }
.hero-header > div:not(.hero-col-image) { cursor: pointer; user-select: none; padding: 6px; border-radius: 4px; transition: all 0.2s; }
.hero-header > div:not(.hero-col-image):hover { background: rgba(218, 161, 10, 0.15); color: #daa10a; }
.hero-row { display: grid; grid-template-columns: 50px 200px 80px 80px 80px 100px 100px 100px 100px 100px 100px 100px; gap: 15px; padding: 15px 20px; border-bottom: 1px solid #333; align-items: center; transition: all 0.2s; }
.hero-row:hover { background: rgba(218, 161, 10, 0.08); }
.hero-col-image { display: flex; align-items: center; justify-content: center; }
.hero-image { width: 40px; height: 40px; border-radius: 4px; border: 1px solid #444; object-fit: cover; }
.hero-col-name { color: #daa10a; font-weight: bold; font-size: 14px; }
.hero-col-matches { color: #bbb; text-align: center; }
.hero-col-stat { color: #eee; text-align: center; font-weight: bold; }
.hero-col-statgreen { color: #5fdb7b; text-align: center; font-weight: bold; }
.hero-col-statred { color: #ff5555; text-align: center; font-weight: bold; }
.team-history-table { background: rgba(20, 20, 30, 0.9); border: 1px solid #333; border-radius: 10px; overflow: hidden; }
.team-header { display: grid; grid-template-columns: 260px 200px 90px 90px 90px 110px; gap: 15px; padding: 15px 20px; background: rgba(0, 0, 0, 0.4); border-bottom: 2px solid #daa10a; font-weight: bold; color: #999; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; align-items: center; }
.team-header > div:not(.team-col-team) { cursor: pointer; user-select: none; padding: 6px; border-radius: 4px; transition: all 0.2s; }
.team-header > div:not(.team-col-team):hover { background: rgba(218, 161, 10, 0.15); color: #daa10a; }
.team-row { display: grid; grid-template-columns: 260px 200px 90px 90px 90px 110px; gap: 15px; padding: 15px 20px; border-bottom: 1px solid #333; align-items: center; transition: all 0.2s; }
.team-row:hover { background: rgba(218, 161, 10, 0.08); }
.team-col-team { display: flex; align-items: center; gap: 12px; min-width: 0; }
.team-link { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; min-width: 0; overflow: hidden; }
.team-name { color: #daa10a; font-weight: bold; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.team-logo-small { width: 40px; height: 40px; border-radius: 4px; background: rgba(0, 0, 0, 0.3); border: 1px solid #444; object-fit: cover; }
.team-col-league { color: #bbb; font-size: 13px; }
.team-col-matches { color: #bbb; text-align: center; }
.team-col-statgreen { color: #5fdb7b; text-align: center; font-weight: bold; }
.team-col-statred { color: #ff5555; text-align: center; font-weight: bold; }
.team-col-stat { color: #eee; text-align: center; font-weight: bold; }
.match-league { display: block; color: #777; font-size: 11px; margin-top: 4px; }
.pagination-controls { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 30px; padding: 20px; background: rgba(20, 20, 30, 0.9); border: 1px solid #333; border-radius: 10px; }
.pagination-btn { background: #daa10a; color: #000; border: 2px solid #daa10a; padding: 10px 20px; border-radius: 6px; font-weight: bold; cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-block; }
.pagination-btn:hover { background: #f0b800; border-color: #f0b800; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(218, 161, 10, 0.3); }
.pagination-btn.pagination-disabled { background: #444; border-color: #444; color: #666; cursor: not-allowed; opacity: 0.5; pointer-events: none; }
.page-info { color: #daa10a; font-weight: bold; font-size: 14px; min-width: 120px; text-align: center; }