/* Import color variables */
@import url('colors.css');

/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.8rem;
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
}

h3 {
  font-size: 2.2rem;
}

h4 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  background: var(--gradient-dark);
  border-bottom: 4px solid var(--primary-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
}

/* Navigation */
.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 1.5rem;
}

.nav-link {
  color: var(--text-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  background-color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 80vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-color);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--accent-color);
  color: var(--text-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Champions Section */
.champions {
  padding: 5rem 0;
  background-color: var(--background-color);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.champions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.champion-card {
  background: var(--wwe-gray);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.champion-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.champion-image {
  height: 300px;
  width: 100%;
  object-fit: cover;
  border-bottom: 4px solid var(--primary-color);
}

.champion-info {
  padding: 1.5rem;
}

.champion-name {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.championship-title {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.champion-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
}

.champion-bio {
  margin-bottom: 1.5rem;
}

/* Superstars Section */
.superstars {
  padding: 5rem 0;
  background-color: var(--wwe-black);
}

.superstars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.superstar-card {
  background: var(--wwe-gray);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.superstar-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.superstar-image {
  height: 300px;
  width: 100%;
  object-fit: cover;
}

.superstar-info {
  padding: 1.5rem;
}

.superstar-name {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.superstar-brand {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Search Section */
.search-section {
  padding: 3rem 0;
  background-color: var(--wwe-dark-gray);
}

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

.search-form {
  display: flex;
  margin-bottom: 2rem;
}

.search-input {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: 4px 0 0 4px;
  font-size: 1rem;
}

.search-btn {
  background-color: var(--primary-color);
  color: var(--text-color);
  border: none;
  padding: 0 1.5rem;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-btn:hover {
  background-color: var(--wwe-dark-red);
}

.search-results {
  background-color: var(--wwe-gray);
  border-radius: 8px;
  padding: 1.5rem;
}

/* Footer */
.footer {
  background-color: var(--wwe-black);
  padding: 3rem 0;
  border-top: 4px solid var(--primary-color);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 1rem;
}

.footer-links h4 {
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-color);
}

.footer-links a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--wwe-gray);
  border-radius: 50%;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  .hero h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    padding: 1rem 0;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  .nav-menu {
    flex-direction: column;
    width: 100%;
    text-align: center;
    display: none;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-item {
    margin: 0.5rem 0;
  }
  
  .mobile-menu-btn {
    display: block;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero {
    height: 60vh;
  }
  
  .champions-grid, .superstars-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .btn {
    padding: 0.7rem 1.5rem;
  }
  
  .champions-grid, .superstars-grid {
    grid-template-columns: 1fr;
  }
  
  .search-form {
    flex-direction: column;
  }
  
  .search-input {
    border-radius: 4px;
    margin-bottom: 0.5rem;
  }
  
  .search-btn {
    border-radius: 4px;
    padding: 1rem;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 1s ease-in;
}

.slide-in-left {
  animation: slideInLeft 1s ease-in-out;
}

.slide-in-right {
  animation: slideInRight 1s ease-in-out;
}

.bounce-in {
  animation: bounceIn 1s ease;
}

/* Keyframes */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}

/* Championship specific styles */
.world-title {
  border-color: var(--world-title-color);
}

.midcard-title {
  border-color: var(--midcard-title-color);
}

.tag-title {
  border-color: var(--tag-title-color);
}

.womens-title {
  border-color: var(--womens-title-accent);
}

/* Superstar profile page */
.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 0;
  background: var(--gradient-dark);
  text-align: center;
}

.profile-image {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-color);
  margin-bottom: 2rem;
}

.profile-name {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.profile-nickname {
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.profile-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.profile-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  padding: 3rem 0;
}

.profile-sidebar {
  background-color: var(--wwe-gray);
  border-radius: 8px;
  padding: 1.5rem;
}

.profile-info-list {
  list-style: none;
}

.profile-info-item {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-color);
}

.profile-info-label {
  font-weight: 600;
  color: var(--accent-color);
}

.profile-main {
  background-color: var(--wwe-gray);
  border-radius: 8px;
  padding: 1.5rem;
}

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

.profile-section-title {
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.championships-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.championship-item {
  background-color: var(--wwe-dark-gray);
  border-radius: 4px;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.championship-icon {
  width: 30px;
  height: 30px;
}

@media (max-width: 992px) {
  .profile-content {
    grid-template-columns: 1fr;
  }
}