@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Outfit:wght@300;400;500;700&display=swap');

:root {
  --l-gold: #c8aa6e;
  --l-gold-dark: #785a28;
  --l-gold-light: #f0e6d2;
  --l-blue: #005a82;
  --l-blue-medium: #0a323c;
  --l-blue-bright: #0094e0;
  --l-blue-dark: #091428;
  --l-bg: #010a13;
  --l-card-bg: rgba(9, 20, 40, 0.75);
  --l-white: #f0e6d2;
  --l-gray: #a0a5b0;
  
  --font-title: 'Cinzel', serif;
  --font-body: 'Outfit', sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-normal: 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  --transition-slow: 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

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

body {
  background-color: var(--l-bg);
  color: var(--l-white);
  font-family: var(--font-body);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Background vignette gradient */
.bg-vignette {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 40%, rgba(0, 0, 0, 0.8) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Background grid overlay */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(200, 170, 110, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 170, 110, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

/* Cosmic magic glow */
.bg-magic-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 15% 25%, rgba(0, 148, 224, 0.08) 0%, transparent 55%),
    radial-gradient(circle at 85% 75%, rgba(200, 170, 110, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--l-bg);
  border-left: 1px solid rgba(200, 170, 110, 0.1);
}
::-webkit-scrollbar-thumb {
  background: var(--l-gold-dark);
  border-radius: 3px;
  border: 1px solid var(--l-gold);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--l-gold);
}

/* Container */
.container {
  max-width: 1450px;
  margin: 0 auto;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--l-gold-dark);
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
}

header::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--l-gold);
  border: 1px solid var(--l-bg);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.lol-logo {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 8px rgba(0, 148, 224, 0.4));
  animation: logo-glow 4s infinite ease-in-out;
}

h1 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  letter-spacing: 3px;
  font-weight: 900;
  color: var(--l-gold-light);
  text-shadow: 0 0 10px rgba(200, 170, 110, 0.3);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

h1 span {
  font-size: 0.85rem;
  color: var(--l-gold);
  letter-spacing: 5px;
  font-family: var(--font-body);
  font-weight: 500;
  margin-top: 4px;
}

/* Header Controls */
.header-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.sound-toggle {
  background: transparent;
  border: 1px solid var(--l-gold-dark);
  color: var(--l-gold-light);
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  font-family: var(--font-title);
  letter-spacing: 1px;
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
  border-radius: 2px;
  box-shadow: inset 0 0 5px rgba(200, 170, 110, 0.1);
}

.sound-toggle:hover {
  border-color: var(--l-blue-bright);
  color: var(--l-blue-bright);
  background: rgba(0, 148, 224, 0.05);
  box-shadow: 0 0 10px rgba(0, 148, 224, 0.2);
}

.sound-toggle.muted {
  border-color: #a22;
  color: #f77;
}

.sound-toggle.muted:hover {
  background: rgba(255, 0, 0, 0.05);
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
}

/* Main Layout Grid */
.picker-layout {
  display: grid;
  grid-template-columns: 1.3fr 1.7fr;
  gap: 3rem;
  flex-grow: 1;
}

@media (max-width: 1024px) {
  .picker-layout {
    grid-template-columns: 1fr;
  }
}

/* Left Panel: Selection and Roster */
.selection-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--l-card-bg);
  border: 1px solid rgba(200, 170, 110, 0.25);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(200, 170, 110, 0.05);
  padding: 1.8rem;
  position: relative;
  backdrop-filter: blur(10px);
}

.selection-panel::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--l-gold), transparent);
}

.panel-title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  letter-spacing: 2px;
  border-left: 2px solid var(--l-gold);
  padding-left: 0.8rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--l-gold-light);
}

.champion-count {
  font-size: 0.9rem;
  color: var(--l-gray);
  font-family: var(--font-body);
}

/* Filters */
.role-filters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

@media (max-width: 480px) {
  .role-filters {
    grid-template-columns: repeat(2, 1fr);
  }
}

.filter-btn {
  background: rgba(5, 15, 25, 0.9);
  border: 1px solid rgba(200, 170, 110, 0.2);
  color: var(--l-gray);
  padding: 0.6rem 0.8rem;
  cursor: pointer;
  font-family: var(--font-title);
  font-size: 0.8rem;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
  border-radius: 2px;
}

.filter-btn:hover {
  border-color: var(--l-gold);
  color: var(--l-gold-light);
  background: rgba(200, 170, 110, 0.05);
}

.filter-btn.active {
  border-color: var(--l-gold);
  background: radial-gradient(circle, var(--l-gold-dark) 0%, rgba(120, 90, 40, 0.4) 100%);
  color: var(--l-gold-light);
  box-shadow: 0 0 10px rgba(200, 170, 110, 0.25);
  font-weight: 700;
}

/* Roster Grid */
.roster-container {
  flex-grow: 1;
  overflow-y: auto;
  max-height: 480px;
  padding-right: 0.5rem;
  margin: 0.5rem 0;
  border: 1px solid rgba(200, 170, 110, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 0.5rem;
  padding: 0.6rem;
}

.champ-card-thumb {
  aspect-ratio: 1;
  background: #050f19;
  border: 1px solid rgba(200, 170, 110, 0.25);
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition-fast);
  border-radius: 2px;
}

.champ-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: var(--transition-normal);
  filter: grayscale(40%) contrast(110%);
}

.champ-card-thumb::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 0 0px var(--l-blue-bright);
  transition: var(--transition-fast);
}

.champ-card-thumb:hover {
  border-color: var(--l-blue-bright);
  box-shadow: 0 0 8px rgba(0, 148, 224, 0.4);
}

.champ-card-thumb:hover img {
  transform: scale(1.08);
  filter: grayscale(0%) contrast(100%);
}

.champ-card-thumb.selected {
  border-color: var(--l-blue-bright);
  box-shadow: 0 0 12px rgba(0, 148, 224, 0.6);
}

.champ-card-thumb.selected img {
  filter: grayscale(0%);
}

.champ-card-thumb.selected::after {
  box-shadow: inset 0 0 0 2px var(--l-blue-bright);
}

/* Highlight style during roulette */
.champ-card-thumb.highlighted {
  border-color: var(--l-gold-light);
  background: rgba(200, 170, 110, 0.2);
  box-shadow: 0 0 15px var(--l-gold);
  transform: scale(1.05);
  z-index: 5;
}

.champ-card-thumb.highlighted img {
  filter: grayscale(0%) contrast(120%);
  transform: scale(1.1);
}

.champ-card-thumb.highlighted::after {
  box-shadow: inset 0 0 0 2px var(--l-gold);
}

/* Spin Action Button */
.spin-action-container {
  margin-top: auto;
}

.spin-btn {
  width: 100%;
  background: linear-gradient(180deg, var(--l-gold) 0%, var(--l-gold-dark) 100%);
  color: var(--l-bg);
  border: 1px solid var(--l-gold-light);
  padding: 1.1rem;
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-fast);
  box-shadow: 0 4px 15px rgba(200, 170, 110, 0.2);
  border-radius: 2px;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
}

.spin-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: 0.6s;
}

.spin-btn:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 170, 110, 0.4);
}

.spin-btn:hover::before {
  left: 150%;
}

.spin-btn:active {
  transform: translateY(1px);
}

.spin-btn:disabled {
  background: #222e38;
  border-color: rgba(200, 170, 110, 0.1);
  color: rgba(255, 255, 255, 0.15);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  text-shadow: none;
}

.spin-btn:disabled::before {
  display: none;
}

/* Right Panel: Details View */
.detail-panel {
  background: var(--l-card-bg);
  border: 1px solid rgba(200, 170, 110, 0.25);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(200, 170, 110, 0.05);
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.detail-panel::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--l-gold), transparent);
}

/* Empty State */
.empty-state {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 400px;
  gap: 1.5rem;
  animation: fade-in var(--transition-normal);
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  border: 1px dashed rgba(200, 170, 110, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.empty-state-icon::before {
  content: '✦';
  font-size: 2.5rem;
  color: rgba(200, 170, 110, 0.4);
  animation: pulse-magic 3s infinite ease-in-out;
}

.empty-state h2 {
  font-family: var(--font-title);
  font-size: 1.6rem;
  letter-spacing: 2px;
  color: var(--l-gold-light);
}

.empty-state p {
  color: var(--l-gray);
  max-width: 340px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Champion Presentation Area */
.champion-display {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  height: 100%;
  align-items: center;
  animation: fade-in 0.5s ease-out forwards;
}

@media (max-width: 768px) {
  .champion-display {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Large Splash Container */
.splash-container {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(0, 148, 224, 0.15) 0%, transparent 75%);
  border: 1px solid rgba(200, 170, 110, 0.15);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .splash-container {
    height: 320px;
  }
}

.champion-huge-bg-text {
  position: absolute;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 5.5rem;
  color: rgba(200, 170, 110, 0.02);
  z-index: 1;
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: -2px;
  transform: rotate(-90deg);
  transform-origin: center;
}

@media (max-width: 768px) {
  .champion-huge-bg-text {
    font-size: 4rem;
    transform: none;
    top: 10%;
  }
}

.champion-splash-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  animation: reveal-splash var(--transition-slow) forwards;
  transition: transform 5s ease;
}

.splash-container:hover .champion-splash-img {
  transform: scale(1.05);
}

.splash-overlay-runes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  z-index: 3;
}

/* Magic Frame corners */
.splash-frame {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 4;
  border: 1px solid rgba(200, 170, 110, 0.2);
}

.splash-frame::before,
.splash-frame::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--l-gold);
}

.splash-frame::before {
  top: 6px;
  left: 6px;
  border-right: none;
  border-bottom: none;
}

.splash-frame::after {
  bottom: 6px;
  right: 6px;
  border-left: none;
  border-top: none;
}

/* Info Details */
.champion-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 2;
}

.champion-header {
  border-bottom: 2px solid rgba(200, 170, 110, 0.2);
  padding-bottom: 1rem;
}

.champion-role-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--l-gold);
  font-family: var(--font-title);
  letter-spacing: 2px;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  background: rgba(200, 170, 110, 0.08);
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(200, 170, 110, 0.15);
  border-radius: 2px;
}

.champion-name {
  font-family: var(--font-title);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: 1px;
  color: var(--l-gold-light);
  text-shadow: 0 0 15px rgba(200, 170, 110, 0.25);
  margin-top: 0.4rem;
  animation: gold-shimmer 0.5s ease-out;
}

.champion-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--l-gray);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.champion-desc {
  color: var(--l-gray);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Abilities Section */
.abilities-container {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.abilities-title {
  font-family: var(--font-title);
  font-size: 1rem;
  letter-spacing: 1px;
  color: var(--l-gold-light);
  border-bottom: 1px solid rgba(200, 170, 110, 0.1);
  padding-bottom: 0.4rem;
}

.ability-icons-row {
  display: flex;
  gap: 0.6rem;
}

.ability-btn {
  width: 48px;
  height: 48px;
  background: #05101a;
  border: 1px solid rgba(200, 170, 110, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.ability-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: var(--transition-fast);
}

.ability-btn::after {
  content: attr(data-key);
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: var(--l-gold-light);
  font-family: var(--font-title);
  font-size: 0.65rem;
  padding: 1px 3px;
  border-top-left-radius: 2px;
  border-left: 1px solid rgba(200, 170, 110, 0.2);
  border-top: 1px solid rgba(200, 170, 110, 0.2);
}

.ability-btn:hover {
  border-color: var(--l-blue-bright);
}

.ability-btn:hover img {
  opacity: 1;
}

.ability-btn.active {
  border-color: var(--l-gold);
  box-shadow: 0 0 10px rgba(200, 170, 110, 0.5);
}

.ability-btn.active img {
  opacity: 1;
  filter: brightness(1.1) contrast(1.05);
}

.ability-details-box {
  background: rgba(5, 15, 25, 0.6);
  border: 1px solid rgba(200, 170, 110, 0.15);
  padding: 1rem;
  min-height: 120px;
  font-size: 0.9rem;
  border-radius: 2px;
}

.ability-detail-name {
  font-family: var(--font-title);
  font-size: 1.05rem;
  letter-spacing: 1px;
  color: var(--l-gold);
  margin-bottom: 0.4rem;
}

.ability-detail-desc {
  color: var(--l-gray);
  line-height: 1.5;
}

/* Footer */
footer {
  text-align: center;
  padding: 2.5rem 0 1rem 0;
  border-top: 1px solid rgba(200, 170, 110, 0.15);
  margin-top: 3rem;
  color: rgba(160, 165, 176, 0.4);
  font-size: 0.8rem;
}

/* Animations */
@keyframes logo-glow {
  0%, 100% {
    filter: drop-shadow(0 0 5px rgba(0, 148, 224, 0.3));
    transform: rotate(0deg);
  }
  50% {
    filter: drop-shadow(0 0 15px rgba(0, 148, 224, 0.7));
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse-magic {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.95);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-splash {
  0% {
    opacity: 0;
    transform: scale(1.08);
    filter: brightness(0.2) contrast(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1) contrast(1.05);
  }
}

@keyframes gold-shimmer {
  0% {
    opacity: 0;
    filter: brightness(1.8);
    transform: skewX(-5deg);
  }
  100% {
    opacity: 1;
    filter: brightness(1);
    transform: skewX(0);
  }
}

/* Scanline animation moving across details panel */
.detail-panel::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  background: rgba(0, 148, 224, 0.08);
  top: -10px;
  left: 0;
  animation: scan-line 9s linear infinite;
  pointer-events: none;
}

@keyframes scan-line {
  0% {
    top: 0%;
  }
  100% {
    top: 100%;
  }
}

.champ-card-thumb.shaking {
  animation: selection-slam 0.5s ease-out;
}

@keyframes selection-slam {
  0% {
    transform: scale(1.25);
    box-shadow: 0 0 30px rgba(0, 148, 224, 0.9);
  }
  50% {
    transform: scale(0.9);
    box-shadow: 0 0 10px rgba(0, 148, 224, 0.3);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 12px rgba(0, 148, 224, 0.6);
  }
}

/* Search Box Premium Styling */
.search-container {
  position: relative;
  width: 100%;
  margin-bottom: 0.5rem;
}

.search-container input {
  width: 100%;
  background: rgba(1, 10, 19, 0.85);
  border: 1px solid rgba(200, 170, 110, 0.3);
  color: var(--l-gold-light);
  padding: 0.8rem 1rem 0.8rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: 2px;
  outline: none;
  transition: var(--transition-fast);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
}

.search-container input:focus {
  border-color: var(--l-blue-bright);
  box-shadow: inset 0 0 10px rgba(0, 148, 224, 0.2), 0 0 8px rgba(0, 148, 224, 0.3);
}

.search-container .search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--l-gold-dark);
  font-size: 0.9rem;
  pointer-events: none;
  transition: var(--transition-fast);
}

.search-container input:focus ~ .search-icon {
  color: var(--l-blue-bright);
}

/* Premium Champion Stats Bars styling */
.champion-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  background: rgba(1, 10, 19, 0.4);
  padding: 1.2rem;
  border: 1px solid rgba(200, 170, 110, 0.15);
  border-radius: 2px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
  margin-bottom: 0.5rem;
}

@media (max-width: 480px) {
  .champion-stats {
    grid-template-columns: 1fr;
  }
}

.stat-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.stat-label {
  font-family: var(--font-title);
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--l-gold);
  font-weight: 600;
}

.stat-bar {
  width: 100%;
  height: 6px;
  background: rgba(9, 20, 40, 0.9);
  border: 1px solid rgba(200, 170, 110, 0.2);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.6);
}

.stat-fill {
  height: 100%;
  width: 0;
  border-radius: 3px;
  transition: width 1s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.stat-fill.attack {
  background: linear-gradient(90deg, #b22c2c, #f35a5a);
  box-shadow: 0 0 8px rgba(243, 90, 90, 0.6);
}

.stat-fill.defense {
  background: linear-gradient(90deg, #2cb25d, #5af38d);
  box-shadow: 0 0 8px rgba(90, 243, 141, 0.6);
}

.stat-fill.magic {
  background: linear-gradient(90deg, #1d72b8, #00c3ff);
  box-shadow: 0 0 8px rgba(0, 195, 255, 0.6);
}

.stat-fill.difficulty {
  background: linear-gradient(90deg, #c8aa6e, #f0e6d2);
  box-shadow: 0 0 8px rgba(200, 170, 110, 0.6);
}

/* Metallic gold title shimmer animation */
h1, .champion-name {
  background-image: linear-gradient(
    to right,
    #f0e6d2 0%,
    #c8aa6e 25%,
    #785a28 50%,
    #c8aa6e 75%,
    #f0e6d2 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer-gold 6s linear infinite;
}

@keyframes shimmer-gold {
  to {
    background-position: 200% center;
  }
}

.portal-back-btn:hover, .lang-toggle:hover {
  border-color: var(--l-gold) !important;
  color: var(--l-gold) !important;
  box-shadow: 0 0 10px rgba(200, 170, 110, 0.2);
  background: rgba(200, 170, 110, 0.05);
}
