/* Navigation */
.nav-bar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0,0,0,0.95);
  border-bottom: 3px solid var(--gold);
  z-index: 1000;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.nav-champion-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.nav-btn {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border: 2px solid var(--dark-gold);
  color: var(--parchment);
  padding: 8px 16px;
  cursor: pointer;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  transition: all 0.3s;
  text-transform: uppercase;
  font-size: 0.8rem;
  text-decoration: none;
  display: inline-block;
}

.nav-btn:hover, .nav-btn.active {
  background: var(--gold);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255,215,0,0.3);
}

.container {
  margin-top: 80px;
  padding: 20px;
  min-height: calc(100vh - 80px);
}

/* Welcome Screen */
.welcome-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9));
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url('images/welcome_bg.png');
  background-size: cover;
  background-position: center;
}

@media (max-width: 768px) {
  .welcome-screen {
    background-image: url('images/welcome_mobile_bg.png');
  }
}

.welcome-title {
  font-size: 4rem;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(255,215,0,0.5);
  margin-bottom: 20px;
  text-align: center;
}

.enter-btn {
  padding: 20px 60px;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
  border: 3px solid #fff;
  color: #000;
  font-family: 'Cinzel', serif;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.enter-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255,215,0,0.6);
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 40px 20px;
  background: rgba(0,0,0,0.6);
  border: 3px solid var(--primary);
  border-radius: 10px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,215,0,0.03) 10px,
    rgba(255,215,0,0.03) 20px
  );
  animation: shine 20s linear infinite;
}

@keyframes shine {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.champion-portrait {
  width: 200px;
  height: 300px;
  margin: 0 auto 20px;
  border: 5px solid var(--primary);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0,0,0,0.8);
  position: relative;
  z-index: 1;
}

.champion-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.champion-name {
  font-size: 2.5rem;
  color: var(--primary);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
  margin-bottom: 10px;
}

.champion-title {
  font-size: 1.2rem;
  color: var(--secondary);
  font-style: italic;
}

.champion-tagline {
  font-family: 'MedievalSharp', cursive;
  font-size: 1.1rem;
  color: var(--accent);
  margin-top: 10px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 3000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
  border: 3px solid var(--gold);
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.modal-header {
  background: rgba(255,215,0,0.1);
  padding: 20px;
  border-bottom: 2px solid var(--gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  color: var(--gold);
  font-size: 1.3rem;
}

.modal-close {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-body {
  padding: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .welcome-title { font-size: 2.5rem; }
  .nav-links { gap: 5px; }
  .nav-btn { padding: 6px 10px; font-size: 0.7rem; }
  .nav-champion-img { width: 30px; height: 30px; }
  .champion-portrait { width: 150px; height: 225px; }
}