/* League of Legends Hextech Inspired Theme stylesheet */

:root {
  /* Hextech Color Palette */
  --bg-deep-space: #010a13;
  --bg-dark-blue: #091428;
  --bg-hextech-blue: #0a1428;
  --bg-grey: #1e2328;
  --gold-dark: #785a28;
  --gold-medium: #c89b3c;
  --gold-light: #c8aa6e;
  --gold-bright: #f0e6d2;
  
  --blue-team-accent: #00c8c8;
  --blue-team-glow: rgba(0, 200, 200, 0.15);
  --blue-team-glow-strong: rgba(0, 200, 200, 0.4);
  
  --red-team-accent: #ff4655;
  --red-team-glow: rgba(255, 70, 85, 0.15);
  --red-team-glow-strong: rgba(255, 70, 85, 0.4);

  --text-main: #f0e6d2;
  --text-body: #a0a5b5;
  --text-gold: #c8aa6e;
  
  --border-gold: 1px solid #785a28;
  --border-gold-light: 1px solid #c8aa6e;
  --border-blue: 1px solid #00c8c8;
  --border-red: 1px solid #ff4655;
  
  --transition-speed: 0.25s;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-deep-space);
  color: var(--text-main);
  font-family: 'Noto Sans KR', 'Outfit', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Ambient background glow */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(9, 20, 40, 0.6) 0%, rgba(1, 10, 19, 0.95) 100%);
  pointer-events: none;
  z-index: -1;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #010a13;
}

::-webkit-scrollbar-thumb {
  background: #1e2328;
  border: 1px solid var(--gold-dark);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

/* Typography Utilities */
.cinzel {
  font-family: 'Cinzel', serif;
}

.gold-text {
  color: var(--text-gold);
  text-shadow: 0 0 10px rgba(200, 170, 110, 0.3);
}

/* App Container Layout */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 20px;
  max-width: 1800px;
  margin: 0 auto;
}

/* App Header styling */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  background: linear-gradient(180deg, rgba(9, 20, 40, 0.8) 0%, rgba(1, 10, 19, 0.4) 100%);
  border: 1px solid var(--gold-dark);
  border-bottom: 2px solid var(--gold-medium);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
  margin-bottom: 12px;
  backdrop-filter: blur(10px);
  gap: 12px;
  flex-wrap: nowrap;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-logo span.gold-text {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 1px;
}

/* Select Styling */
.team-selector-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.selector-label {
  font-size: 0.85rem;
  color: var(--text-gold);
  font-weight: 500;
  letter-spacing: 1px;
}

.select-wrapper {
  position: relative;
}

#opponent-team-select {
  background-color: #010a13;
  color: var(--text-main);
  border: 1px solid var(--gold-dark);
  padding: 8px 30px 8px 15px;
  font-size: 0.95rem;
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 500;
  border-radius: 0;
  outline: none;
  cursor: pointer;
  min-width: 180px;
  max-width: 250px;
  appearance: none;
  transition: border-color var(--transition-speed);
}

#opponent-team-select:focus,
#opponent-team-select:hover {
  border-color: var(--gold-light);
  box-shadow: 0 0 10px rgba(200, 170, 110, 0.15);
}

.select-wrapper::after {
  content: "▼";
  font-size: 0.7rem;
  color: var(--text-gold);
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.header-actions {
  display: flex;
  gap: 12px;
}

/* Buttons */
.lol-btn {
  background: linear-gradient(180deg, #1e2328 0%, #111317 100%);
  color: var(--text-main);
  border: 1px solid var(--gold-dark);
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
  transition: all var(--transition-speed);
  position: relative;
}

.lol-btn i {
  width: 16px;
  height: 16px;
}

.lol-btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color var(--transition-speed);
}

.lol-btn:hover {
  border-color: var(--gold-medium);
  background: linear-gradient(180deg, #32281e 0%, #1e1b15 100%);
  color: var(--text-gold);
  box-shadow: 0 0 12px rgba(200, 170, 110, 0.2);
}

.lol-btn:hover::before {
  border-color: var(--gold-light);
}

.lol-btn.secondary {
  border-color: #555;
  background: transparent;
}

.lol-btn.gold {
  border-color: var(--gold-medium);
  background: linear-gradient(180deg, #32281e 0%, #1e1b15 100%);
  color: var(--text-gold);
}

.lol-btn.gold:hover {
  border-color: var(--gold-light);
  background: linear-gradient(180deg, var(--gold-medium) 0%, #32281e 100%);
  color: var(--gold-bright);
  box-shadow: 0 0 15px rgba(200, 170, 110, 0.4);
}

.side-selector-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.side-toggle-buttons {
  display: flex;
  border: 1px solid var(--gold-dark);
}

.side-btn {
  background: transparent;
  color: var(--text-body);
  border: none;
  padding: 6px 15px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.side-btn.blue:hover,
.side-btn.blue.active {
  background-color: rgba(0, 200, 200, 0.15);
  color: var(--blue-team-accent);
  text-shadow: 0 0 8px rgba(0, 200, 200, 0.4);
}

.side-btn.red:hover,
.side-btn.red.active {
  background-color: rgba(255, 70, 85, 0.15);
  color: var(--red-team-accent);
  text-shadow: 0 0 8px rgba(255, 70, 85, 0.4);
}

.side-btn:not(.active) {
  opacity: 0.6;
}

.lol-btn.secondary:hover {
  border-color: var(--gold-dark);
  color: var(--text-main);
  background: #1e2328;
}

/* Main Layout Grid */
.app-main {
  display: grid;
  grid-template-columns: 300px 1fr 300px;
  gap: 15px;
  flex: 1;
}

/* Team Side Columns */
.team-side {
  display: flex;
  flex-direction: column;
  background: rgba(1, 10, 19, 0.7);
  border: 1px solid rgba(120, 90, 40, 0.25);
  padding: 10px;
  backdrop-filter: blur(5px);
  min-height: 580px;
  justify-content: space-between;
}

.blue-side {
  border-left: 3px solid var(--blue-team-accent);
  box-shadow: inset 10px 0 20px rgba(0, 200, 200, 0.03);
}

.red-side {
  border-right: 3px solid var(--red-team-accent);
  box-shadow: inset -10px 0 20px rgba(255, 70, 85, 0.03);
}

.side-header {
  margin-bottom: 15px;
}

.side-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
  padding-bottom: 8px;
}

.blue-side .side-title {
  color: var(--blue-team-accent);
}

.red-side .side-title {
  color: var(--red-team-accent);
}

.side-score-bar {
  height: 2px;
  width: 100%;
}

.blue-side .side-score-bar {
  background: linear-gradient(90deg, transparent 0%, var(--blue-team-accent) 50%, transparent 100%);
}

.red-side .side-score-bar {
  background: linear-gradient(90deg, transparent 0%, var(--red-team-accent) 50%, transparent 100%);
}

/* Pick Slots */
.picks-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  margin-bottom: 10px;
}

.pick-slot {
  display: flex;
  align-items: center;
  background: rgba(30, 35, 40, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 62px;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-speed);
  overflow: hidden;
}

.pick-slot:hover {
  background: rgba(30, 35, 40, 0.6);
  border-color: rgba(200, 170, 110, 0.3);
}

.blue-side .pick-slot.active-picking {
  border-color: var(--blue-team-accent);
  box-shadow: 0 0 15px var(--blue-team-glow-strong);
  background: rgba(0, 200, 200, 0.05);
}

.red-side .pick-slot.active-picking {
  border-color: var(--red-team-accent);
  box-shadow: 0 0 15px var(--red-team-glow-strong);
  background: rgba(255, 70, 85, 0.05);
}

.pick-slot.active-picking::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border: 1px solid inherit;
  animation: glow-pulse 1.5s infinite ease-in-out;
  pointer-events: none;
}

.role-icon-container {
  position: absolute;
  top: 3px;
  left: 75px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-gold);
  display: flex;
  align-items: center;
  gap: 3px;
  opacity: 0.65;
  letter-spacing: 0.5px;
}

.role-icon-container i {
  width: 10px;
  height: 10px;
}

.champion-portrait-container {
  width: 62px;
  height: 62px;
  background: #010a13;
  flex-shrink: 0;
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.champion-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed);
}

.pick-slot:hover .champion-portrait {
  transform: scale(1.05);
}

.empty-portrait {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #091428 0%, #010a13 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.empty-portrait::after {
  content: "?";
  font-size: 1.8rem;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: rgba(200, 170, 110, 0.15);
}

.slot-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 12px;
  flex: 1;
}

.champion-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 3px;
}

.player-name {
  font-size: 0.68rem;
  color: var(--text-body);
}

.blue-side .player-name {
  color: #88c0d0;
}

.red-side .player-name {
  color: #bf616a;
}

/* Ban Slots Layout */
.bans-wrapper {
  border-bottom: 1px solid rgba(120, 90, 40, 0.2);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.ban-label {
  font-size: 0.7rem;
  color: var(--text-gold);
  letter-spacing: 2px;
  display: block;
  text-align: center;
  margin-bottom: 4px;
}

.bans-container {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.ban-slot {
  width: 42px;
  height: 42px;
  background-color: #010a13;
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-speed);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ban-slot:hover {
  border-color: var(--gold-dark);
  background: rgba(30, 35, 40, 0.5);
}

.blue-side .ban-slot.active-picking {
  border-color: var(--blue-team-accent);
  box-shadow: 0 0 10px var(--blue-team-glow);
}

.red-side .ban-slot.active-picking {
  border-color: var(--red-team-accent);
  box-shadow: 0 0 10px var(--red-team-glow);
}

.ban-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.8) brightness(0.5) contrast(1.2);
  border: 1px solid transparent;
  transition: all var(--transition-speed);
}

.ban-slot:hover .ban-portrait {
  filter: grayscale(0.4) brightness(0.6);
}

/* Red-line diagonal across banned champ */
.ban-slot::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 46%, #d62828 47%, #d62828 53%, transparent 54%);
  pointer-events: none;
  opacity: 0;
  z-index: 2;
  transition: opacity var(--transition-speed);
}

.ban-slot:has(.ban-portrait:not(.hidden))::before {
  opacity: 0.85;
}

.ban-empty {
  color: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ban-empty i {
  width: 18px;
  height: 18px;
}

/* Center Panel layout */
.center-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card {
  background: rgba(9, 20, 40, 0.45);
  border: 1px solid var(--gold-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

.card-header {
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gold-border-bottom {
  border-bottom: 1px solid var(--gold-dark);
  background: linear-gradient(180deg, rgba(30, 35, 40, 0.4) 0%, rgba(9, 20, 40, 0.1) 100%);
}

.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-gold);
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
}

.card-title i {
  width: 18px;
  height: 18px;
}

.card-body {
  padding: 12px 16px;
  overflow-y: auto;
}

/* Recommendation Box Styling */
.recommendation-card {
  border: 1px solid var(--gold-medium);
  box-shadow: 0 0 25px rgba(200, 155, 60, 0.1);
  flex: 1;
}

.status-indicator {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.status-indicator.live {
  background-color: rgba(200, 155, 60, 0.15);
  color: var(--text-gold);
  border: 1px solid var(--gold-medium);
}

.rec-group {
  margin-bottom: 12px;
  animation: fade-in 0.3s ease-out;
}

.rec-group:last-child {
  margin-bottom: 0;
}

.rec-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-gold);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  text-transform: uppercase;
  border-left: 2px solid var(--gold-medium);
  padding-left: 8px;
}

.rec-champs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rec-champ-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 35, 40, 0.4);
  border: 1px solid rgba(200, 170, 110, 0.2);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  transition: all var(--transition-speed);
}

.rec-champ-item:hover {
  border-color: var(--gold-medium);
  background: rgba(30, 35, 40, 0.7);
  box-shadow: 0 0 8px rgba(200, 170, 110, 0.15);
}

.rec-champ-img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--gold-dark);
}

.rec-text {
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text-body);
}

.rec-text strong {
  color: var(--text-main);
}

.rec-banner {
  background: linear-gradient(90deg, rgba(200, 170, 110, 0.07) 0%, transparent 100%);
  border-left: 3px solid var(--gold-medium);
  padding: 6px 12px;
  margin-bottom: 10px;
  border-radius: 0 4px 4px 0;
}

.rec-banner-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-gold);
  margin-bottom: 4px;
}

.rec-banner-desc {
  font-size: 0.74rem;
  color: var(--text-body);
  line-height: 1.3;
}

/* Opponent Player Cards */
#opponent-players-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 10px;
}

.player-card {
  flex: 1 1 130px;
  max-width: 160px;
  background: rgba(30, 35, 40, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 10px;
  text-align: center;
  transition: all var(--transition-speed);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.player-card:hover {
  border-color: var(--gold-dark);
  background: rgba(30, 35, 40, 0.6);
  transform: translateY(-2px);
}

.player-card-role {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-gold);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.player-card-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.player-favorite-champs {
  display: flex;
  justify-content: center;
  gap: 5px;
  width: 100%;
}

.fav-champ-img {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(200, 170, 110, 0.2);
  transition: all var(--transition-speed);
  cursor: help;
}

.fav-champ-img:hover {
  border-color: var(--gold-light);
  transform: scale(1.1) rotate(2deg);
}

/* Quick Tips Summary */
.quick-tips-panel {
  max-height: 250px;
}

.tips-list {
  list-style: none;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-body);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tips-list li {
  position: relative;
  padding-left: 15px;
}

.tips-list li::before {
  content: '▸';
  color: var(--text-gold);
  position: absolute;
  left: 0;
  top: 0;
}

/* Collapsible Strategy Notes Drawer */
.strategy-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 480px;
  height: 100%;
  background: rgba(1, 10, 19, 0.95);
  border-left: 1px solid var(--gold-medium);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  backdrop-filter: blur(15px);
}

.strategy-drawer.hidden {
  transform: translateX(100%);
  display: flex !important; /* Keep display flex to allow transform to work, but let it be hidden outside screen */
}

.drawer-header {
  padding: 20px 25px;
  border-bottom: 1px solid var(--gold-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-title {
  color: var(--text-gold);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-search-wrapper {
  padding: 15px 25px;
  border-bottom: 1px solid rgba(120, 90, 40, 0.15);
  position: relative;
}

.drawer-search-wrapper input {
  width: 100%;
  background: #091428;
  border: 1px solid var(--gold-dark);
  color: var(--text-main);
  padding: 10px 35px 10px 15px;
  font-size: 0.85rem;
  outline: none;
  font-family: 'Noto Sans KR', sans-serif;
  transition: all var(--transition-speed);
}

.drawer-search-wrapper input:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 10px rgba(200, 170, 110, 0.15);
}

.drawer-search-wrapper .search-icon {
  position: absolute;
  right: 35px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  color: var(--text-gold);
  pointer-events: none;
}

.drawer-content {
  padding: 25px;
  overflow-y: auto;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-body);
}

.strategy-section-title {
  color: var(--text-gold);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 20px 0 10px 0;
  border-bottom: 1px solid rgba(200, 170, 110, 0.15);
  padding-bottom: 5px;
}

.strategy-section-title:first-child {
  margin-top: 0;
}

.strategy-p {
  margin-bottom: 12px;
}

.highlighted {
  background-color: rgba(200, 170, 110, 0.3);
  color: #fff;
  border-radius: 2px;
  padding: 0 2px;
}

/* Icon button general */
.icon-btn {
  background: transparent;
  border: none;
  color: var(--text-body);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-speed);
}

.icon-btn:hover {
  color: var(--text-gold);
}

/* Champion Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.modal-overlay.hidden {
  display: none !important;
}

.hidden {
  display: none !important;
}

.champ-select-card {
  margin-top: 15px;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.search-wrapper.compact {
  position: relative;
  width: 220px;
}

.search-wrapper.compact input {
  width: 100%;
  background: #010a13;
  border: 1px solid var(--gold-dark);
  color: var(--text-main);
  padding: 6px 30px 6px 12px;
  font-size: 0.85rem;
  font-family: 'Noto Sans KR', sans-serif;
  outline: none;
  transition: border-color var(--transition-speed);
}

.search-wrapper.compact input:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 8px rgba(200, 170, 110, 0.2);
}

.search-wrapper.compact .search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-gold);
  pointer-events: none;
  width: 14px;
  height: 14px;
}

.role-filters.compact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.role-filter-btn {
  background: transparent;
  color: var(--text-body);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-speed);
}

.role-filter-btn i {
  width: 12px;
  height: 12px;
}

.role-filter-btn:hover {
  border-color: var(--gold-dark);
  color: var(--text-main);
}

.role-filter-btn.active {
  border-color: var(--gold-medium);
  background: rgba(200, 155, 60, 0.08);
  color: var(--text-gold);
}

.select-body-layout {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
}

/* Modal Grid */
.modal-content {
  flex: 1;
  overflow-y: auto;
  padding: 12px 20px;
}

.champion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(62px, 1fr));
  gap: 6px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

.grid-champ-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all var(--transition-speed);
  padding: 4px;
  border: 1px solid transparent;
}

.grid-champ-card:hover {
  transform: translateY(-4px);
  background: rgba(30, 35, 40, 0.4);
  border-color: var(--gold-dark);
}

.grid-champ-card.already-drafted {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}

.grid-champ-card.recommended-outline {
  border: 1px solid var(--gold-medium);
  background: rgba(200, 155, 60, 0.04);
  box-shadow: 0 0 10px rgba(200, 170, 110, 0.2);
}

.grid-champ-img-container {
  width: 48px;
  height: 48px;
  border: 2px solid var(--gold-dark);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-speed);
}

.grid-champ-card:hover .grid-champ-img-container {
  border-color: var(--gold-medium);
}

.grid-champ-card.recommended-outline .grid-champ-img-container {
  border-color: var(--gold-light);
  box-shadow: 0 0 8px var(--gold-medium);
}

.rec-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, var(--gold-medium) 0%, var(--gold-dark) 100%);
  color: #010a13;
  font-size: 0.58rem;
  font-weight: 900;
  padding: 1px 3px;
  border-bottom-right-radius: 4px;
  z-index: 5;
  box-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  line-height: 1;
}

.grid-champ-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grid-champ-name {
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  margin-top: 6px;
  color: var(--text-body);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--transition-speed);
}

.grid-champ-card:hover .grid-champ-name {
  color: var(--text-main);
}

.grid-champ-card.recommended-outline .grid-champ-name {
  color: var(--text-gold);
  font-weight: 700;
}

/* Animations */
@keyframes glow-pulse {
  0% {
    box-shadow: 0 0 5px inherit;
    border-color: inherit;
  }
  50% {
    box-shadow: 0 0 20px inherit;
    border-color: var(--gold-light);
  }
  100% {
    box-shadow: 0 0 5px inherit;
    border-color: inherit;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modal-zoom-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Loader Styles */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  color: var(--text-body);
  gap: 15px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(200, 170, 110, 0.1);
  border-top-color: var(--gold-medium);
  border-radius: 50%;
  animation: spin 1s infinite linear;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Tooltips */
[data-tooltip] {
  position: relative;
}

[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #010a13;
  color: var(--text-main);
  border: 1px solid var(--gold-dark);
  padding: 6px 12px;
  font-size: 0.75rem;
  border-radius: 2px;
  white-space: nowrap;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed);
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

[data-tooltip]:hover::before {
  opacity: 1;
  visibility: visible;
  bottom: 125%;
}

/* Responsive breakpoints */
@media (max-width: 1400px) {
  .app-main {
    grid-template-columns: 300px 1fr 300px;
  }
  #opponent-players-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1100px) {
  .app-main {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .team-side {
    min-height: auto;
  }
  .picks-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
  }
  .pick-slot {
    flex-direction: column;
    height: 120px;
    text-align: center;
    padding: 10px 5px;
  }
  .champion-portrait-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border-right: none;
    border: 2px solid var(--gold-dark);
  }
  .role-icon-container {
    position: static;
    margin-bottom: 5px;
    justify-content: center;
  }
  .slot-info {
    padding-left: 0;
    margin-top: 5px;
  }
  .champion-name {
    font-size: 0.8rem;
    margin-top: 0;
  }
}

/* Landing Side Selection Modal Styles */
.landing-container {
  max-width: 580px;
  height: auto;
  padding: 35px 40px;
  text-align: center;
  border-radius: 4px;
}

.landing-header {
  margin-bottom: 30px;
}

.landing-subtitle {
  color: var(--text-body);
  font-size: 0.9rem;
  margin-top: 8px;
  letter-spacing: 0.5px;
}

.landing-sides {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 15px;
}

.landing-side-card {
  background: rgba(1, 10, 19, 0.85);
  border: 1.5px solid var(--gold-dark);
  cursor: pointer;
  transition: all var(--transition-speed);
  padding: 30px 20px;
  width: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  outline: none;
}

.landing-side-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(200, 170, 110, 0.2);
}

.landing-side-card.blue-side:hover {
  border-color: var(--blue-team-accent);
  box-shadow: 0 0 30px rgba(0, 200, 200, 0.25);
  background: rgba(0, 50, 60, 0.25);
}

.landing-side-card.red-side:hover {
  border-color: var(--red-team-accent);
  box-shadow: 0 0 30px rgba(255, 70, 85, 0.25);
  background: rgba(60, 15, 20, 0.25);
}

.side-logo-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-speed);
}

.landing-side-card.blue-side .side-logo-wrapper {
  border-color: rgba(0, 200, 200, 0.3);
}

.landing-side-card.red-side .side-logo-wrapper {
  border-color: rgba(255, 70, 85, 0.3);
}

.landing-side-card.blue-side:hover .side-logo-wrapper {
  border-color: var(--blue-team-accent);
  box-shadow: 0 0 15px rgba(0, 200, 200, 0.3);
}

.landing-side-card.red-side:hover .side-logo-wrapper {
  border-color: var(--red-team-accent);
  box-shadow: 0 0 15px rgba(255, 70, 85, 0.3);
}

.side-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.landing-side-card.blue-side .side-logo {
  color: var(--blue-team-accent);
  text-shadow: 0 0 8px rgba(0, 200, 200, 0.3);
}

.landing-side-card.red-side .side-logo {
  color: var(--red-team-accent);
  text-shadow: 0 0 8px rgba(255, 70, 85, 0.3);
}

.side-label {
  color: var(--text-gold);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: color var(--transition-speed);
}

.landing-side-card:hover .side-label {
  color: var(--text-main);
}

/* --- Composition Analysis HUD & Advanced Recommend Outline styles --- */
.comp-hud {
  background: rgba(1, 10, 19, 0.7);
  border: 1px solid rgba(200, 170, 110, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.comp-hud::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--blue-team-accent), var(--text-gold));
}

.hud-header {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-gold);
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(200, 170, 110, 0.1);
  padding-bottom: 4px;
  text-transform: uppercase;
}

.hud-header svg {
  width: 12px;
  height: 12px;
  color: var(--blue-team-accent);
}

.hud-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hud-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-body);
}

.comp-progress-container {
  display: flex;
  height: 12px;
  background-color: #050b10;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  position: relative;
}

.comp-progress-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.progress-row-label {
  font-size: 0.7rem;
  color: var(--text-body);
  opacity: 0.85;
}

.comp-progress-bar {
  height: 100%;
  transition: width 0.3s ease-in-out;
}

.comp-progress-bar.ad-bar {
  background: linear-gradient(90deg, #991f1f, #bf616a);
}

.comp-progress-bar.ap-bar {
  background: linear-gradient(90deg, #2e5c8a, #81a1c1);
}

.preview-track {
  border-color: rgba(0, 200, 200, 0.4);
  box-shadow: 0 0 8px rgba(0, 200, 200, 0.2);
}

.preview-ad-bar {
  background: linear-gradient(90deg, #b93f3f, #cf818a) !important;
  opacity: 0.85;
}

.preview-ap-bar {
  background: linear-gradient(90deg, #3e7cca, #a1c1e1) !important;
  opacity: 0.85;
}

.cyan-text {
  color: #00c8c8 !important;
  font-weight: 700;
}

.preview-arrow {
  color: #88c0d0;
  margin: 0 4px;
  font-size: 0.75rem;
}

/* 3-Column Compact Horizontal HUD Row */
.compact-hud-row {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: space-between;
  align-items: stretch;
}

.hud-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hud-col.dmg-col {
  flex: 1 1 100px;
  max-width: 130px;
}

.hud-col.chart-col {
  flex: 1 1 150px;
  max-width: 190px;
  align-items: center;
}

.hud-col.info-col {
  flex: 1 1 140px;
  max-width: 170px;
}

.hud-col-title {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-gold);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  opacity: 0.85;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 2px;
  width: 100%;
}

.dmg-status-badge {
  font-size: 0.55rem;
  padding: 0px 4px;
  border-radius: 2px;
  margin-left: 4px;
}

.dmg-status-badge.status-success {
  color: #34bfa3;
  background: rgba(52, 191, 163, 0.1);
  border: 1px solid rgba(52, 191, 163, 0.2);
}

.dmg-status-badge.status-warning {
  color: #ebcb8b;
  background: rgba(235, 203, 139, 0.1);
  border: 1px solid rgba(235, 203, 139, 0.2);
}

.dmg-status-badge.status-danger {
  color: #bf616a;
  background: rgba(191, 97, 106, 0.15);
  border: 1px solid rgba(191, 97, 106, 0.2);
}

/* 5-Axis Equalizer Attributes Chart */
.mini-equalizer {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  height: 38px;
  padding-top: 4px;
}

.eq-bar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.eq-label {
  font-size: 0.52rem;
  color: var(--text-body);
  opacity: 0.8;
  font-weight: 700;
}

.eq-value {
  font-size: 0.52rem;
  color: var(--text-gold);
  font-weight: 800;
}

.eq-track {
  width: 7px;
  height: 20px;
  background-color: #050b10;
  border-radius: 1px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.eq-fill {
  position: absolute;
  left: 0;
  width: 100%;
  border-radius: 1px;
  transition: height 0.3s ease, bottom 0.3s ease;
}

.eq-fill.curr-fill {
  bottom: 0;
  background: linear-gradient(to top, #8a6c3e, #c8aa6e);
  z-index: 2;
}

.eq-fill.preview-reduced {
  bottom: 0;
  background: linear-gradient(to top, #5c4c2d, #8a7346) !important;
  z-index: 2;
}

.eq-fill.preview-fill {
  z-index: 1;
}

.eq-fill.gain-fill {
  background: linear-gradient(to top, rgba(0, 160, 160, 0.7), rgba(0, 240, 240, 0.95));
  box-shadow: 0 0 6px rgba(0, 240, 240, 0.7);
  border-radius: 0;
  z-index: 3;
}

.eq-fill.loss-fill {
  background: repeating-linear-gradient(
    45deg,
    rgba(191, 97, 106, 0.6),
    rgba(191, 97, 106, 0.6) 2px,
    rgba(191, 97, 106, 0.1) 2px,
    rgba(191, 97, 106, 0.1) 4px
  );
  border: 1px dashed rgba(191, 97, 106, 0.8);
  border-bottom: none;
  z-index: 3;
}

.info-badges {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.power-curves-inline {
  color: var(--text-body);
  font-size: 0.6rem;
  opacity: 0.9;
  letter-spacing: 0.3px;
}

.hud-badge-container {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hud-badge-title {
  font-size: 0.65rem;
  color: var(--text-body);
  opacity: 0.85;
}

.comp-status-pill {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.comp-status-pill.status-success {
  color: #34bfa3;
  background: rgba(52, 191, 163, 0.1);
  border: 1px solid rgba(52, 191, 163, 0.3);
}

.comp-status-pill.status-warning {
  color: #ebcb8b;
  background: rgba(235, 203, 139, 0.1);
  border: 1px solid rgba(235, 203, 139, 0.3);
}

.comp-status-pill.status-danger {
  color: #bf616a;
  background: rgba(191, 97, 106, 0.15);
  border: 1px solid rgba(191, 97, 106, 0.3);
}

.comp-status-pill.status-info {
  color: #88c0d0;
  background: rgba(136, 192, 208, 0.1);
  border: 1px solid rgba(136, 192, 208, 0.3);
}

.comp-status-pill.status-normal {
  color: var(--text-gold);
  background: rgba(200, 170, 110, 0.08);
  border: 1px solid rgba(200, 170, 110, 0.2);
}

.hud-power-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
}

.hud-power-list {
  display: flex;
  gap: 8px;
}

.power-item {
  color: var(--text-body);
}

/* Emerald Composition Outline & Glow on grids */
.grid-champ-card.comp-outline {
  border: 2px solid var(--blue-team-accent) !important;
  box-shadow: 0 0 10px rgba(0, 200, 200, 0.4);
  animation: compGlow 1.5s infinite alternate;
}

@keyframes compGlow {
  from {
    box-shadow: 0 0 6px rgba(0, 200, 200, 0.3);
  }
  to {
    box-shadow: 0 0 14px rgba(0, 200, 200, 0.7);
  }
}

/* Emerald Comp Badge */
.rec-badge.comp-badge {
  background: var(--blue-team-accent) !important;
  color: #010a13 !important;
}

/* Absolute Corner Ribbon in recommendations box */
.rec-champ-item {
  position: relative;
}

.rec-item-badge-corner {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1px 5px;
  font-size: 0.6rem;
  font-weight: 800;
  border-radius: 0 4px 0 4px;
  background: var(--text-gold);
  color: #010a13;
  z-index: 3;
  box-shadow: -1px 1px 3px rgba(0,0,0,0.5);
  letter-spacing: 0.5px;
}

.rec-item-badge-corner.comp-badge {
  background: var(--blue-team-accent);
}

/* Drawer Tab Switch Layout */
.drawer-tabs {
  display: flex;
  background: rgba(1, 10, 19, 0.9);
  border-bottom: 1.5px solid var(--gold-dark);
}

.drawer-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px;
  color: var(--text-body);
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-speed);
}

.drawer-tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.02);
}

.drawer-tab-btn.active {
  color: var(--text-gold);
  border-bottom: 2px solid var(--gold-medium);
  background: rgba(200, 155, 60, 0.08);
}

.drawer-tab-view {
  display: flex;
  flex-direction: column;
  height: calc(100% - 90px);
}

.drawer-tab-view.hidden {
  display: none !important;
}

/* Compendium layout */
.compendium-grid-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 10px;
}

.compendium-detail-card {
  padding: 10px;
}

.comp-matchup-item {
  background: rgba(30, 35, 40, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 6px 10px;
  transition: border-color var(--transition-speed);
}

.comp-matchup-item.easy {
  border-left: 3px solid #34bfa3;
}

.comp-matchup-item.hard {
  border-left: 3px solid #bf616a;
}

.matchup-champ-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.matchup-champ-img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--gold-dark);
}

.matchup-champ-name {
  font-size: 0.75rem;
  color: var(--text-main);
  flex: 1;
}

.difficulty-badge {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 20px;
}

.easy-badge {
  background: rgba(52, 191, 163, 0.15);
  color: #34bfa3;
  border: 1px solid rgba(52, 191, 163, 0.3);
}

.hard-badge {
  background: rgba(191, 97, 106, 0.15);
  color: #bf616a;
  border: 1px solid rgba(191, 97, 106, 0.3);
}

/* Lane Difficulty dashboard inside compendium */
.lane-difficulty-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.lane-difficulty-row:last-child {
  border-bottom: none;
}

.lane-label-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lane-name {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-gold);
}

.lane-tip-desc {
  font-size: 0.68rem;
  color: var(--text-body);
  line-height: 1.4;
  margin: 0;
}

/* Dropdown select styling inside Champion Grid */
.lol-select {
  background: #010a13;
  border: 1px solid var(--gold-dark);
  color: var(--text-main);
  padding: 3px 22px 3px 6px;
  font-size: 0.72rem;
  font-weight: 500;
  outline: none;
  font-family: 'Outfit', 'Noto Sans KR', sans-serif;
  cursor: pointer;
  transition: all var(--transition-speed);
  border-radius: 2px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23c8aa6e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-chevron-down'%3E%3Cpath d='m3 4.5 3 3 3-3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 10px;
}

.lol-select:hover {
  border-color: var(--gold-medium);
  background-color: rgba(200, 170, 110, 0.05);
}

.lol-select:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 4px rgba(240, 230, 210, 0.2);
}

.lol-select option {
  background: #010a13;
  color: var(--text-main);
  padding: 4px;
}


/* Power Curves horizontal graph styling */
.power-curves-graph-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-end;
  width: 100%;
}

.power-bar-wrapper {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.55rem;
  color: var(--text-body);
}

.p-lbl {
  width: 11px;
  font-weight: 700;
  color: var(--text-gold);
  text-align: right;
  display: inline-block;
  transform: scale(0.9);
}

.p-bar-container {
  width: 26px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  border: 0.5px solid rgba(255, 255, 255, 0.15);
}

.p-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.our-hud-row .p-bar-fill {
  background: linear-gradient(90deg, #00b4b4, #00e5e5);
  box-shadow: 0 0 4px rgba(0, 180, 180, 0.4);
}

.opp-hud-row .p-bar-fill {
  background: linear-gradient(90deg, #bf616a, #d08770);
  box-shadow: 0 0 4px rgba(191, 97, 106, 0.4);
}

.preview-power-chart .p-bar-fill {
  background: linear-gradient(90deg, #008b8b, #00c8c8) !important;
  opacity: 0.7;
}

/* Position Select Dropdown inside Pick Slots */
.position-select {
  background: rgba(5, 15, 25, 0.95);
  border: 1px solid var(--gold-medium);
  color: var(--text-gold);
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  cursor: pointer;
  outline: none;
  margin-left: auto;
  margin-right: 8px;
  z-index: 5;
  transition: all var(--transition-speed);
}

.position-select:hover {
  border-color: var(--gold-light);
  background: rgba(10, 30, 50, 0.95);
  box-shadow: 0 0 5px rgba(200, 170, 110, 0.3);
}

.position-select option {
  background: #010a13;
  color: var(--text-main);
  font-weight: 500;
}

/* Strategy Note Modal Styles */
.strategy-note-container {
  background: var(--bg-card);
  border: 1px solid var(--gold-medium);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
  max-width: 750px;
  width: 90%;
  max-height: 80vh;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  color: var(--text-body);
}

.strategy-note-container .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.08);
}

.strategy-note-container .modal-header h2 {
  font-size: 1.3rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.strategy-note-container .close-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color var(--transition-speed);
}

.strategy-note-container .close-btn:hover {
  color: var(--text-gold);
}

.strategy-note-container .modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.6;
}

.strategy-note-container .modal-footer {
  padding: 16px 24px;
  border-top: 1.5px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
}

.strategy-note-container .strategy-section {
  margin-bottom: 20px;
}

.strategy-note-container .strategy-section h4 {
  font-size: 1rem;
  color: var(--text-gold);
  border-left: 3px solid var(--gold-medium);
  padding-left: 8px;
  margin-top: 0;
  margin-bottom: 12px;
}

.strategy-note-container .strategy-sub-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 12px 16px;
  margin-bottom: 12px;
}

.strategy-note-container .strategy-badge {
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 6px;
}

.strategy-note-container .badge-our {
  background: rgba(0, 180, 180, 0.15);
  color: var(--blue-team-accent);
  border: 0.5px solid rgba(0, 180, 180, 0.3);
}

.strategy-note-container .badge-opp {
  background: rgba(191, 97, 106, 0.15);
  color: #bf616a;
  border: 0.5px solid rgba(191, 97, 106, 0.3);
}

/* Custom Tooltip Styles */
.custom-tooltip {
  position: absolute;
  background: rgba(1, 10, 19, 0.95);
  border: 1.5px solid var(--gold-medium);
  color: var(--text-main);
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 0.75rem;
  line-height: 1.4;
  max-width: 250px;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  font-family: 'Noto Sans KR', sans-serif;
}
.custom-tooltip strong {
  color: var(--text-gold);
  display: block;
  margin-bottom: 4px;
  font-size: 0.8rem;
}
