* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  padding-top: 80px;
  background-color: #0f0f0f;
  color: #f5f5f5;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #555;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  margin-right: 10px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.nav a:hover {
  color: #ff4655;
}

.hero {
  background: url('../images/valorant-hero.jpg') center/cover no-repeat;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #ff4655;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
}

.btn:hover {
  background: #e03b4c;
}

.footer {
  background: #1a1a1a;
  text-align: center;
  padding: 1rem;
  border-top: 1px solid #333;
  font-size: 0.9rem;
}

.video-section {
  display: flex;
  justify-content: center;
  background-color: #000;
  padding: 2rem 0;
}

.valorant-video {
  width: 80%;
  max-width: 960px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 70, 85, 0.3);
}

.valorant-video2 {
  width: 60%;
  max-width: 840px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgb(17, 17, 14);
}

.intro-section {
  background-color: #000;
  color: #fff;
  padding: 4rem 2rem;
}

.intro-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.intro-text, .intro-image {
  flex: 1;
  min-width: 300px;
}

.intro-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.intro-text p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.intro-image {
  text-align: center;
}

.intro-image2 {
  text-align: center;
}

.intro-image img {
  width: 100%;
  max-width: 250px;
  border-radius: 12px;
  box-shadow: 0 0 15px;
}

.info-section {
  background-color: #2b2b2b;
  padding: 3rem 2rem;
  text-align: center;
}

.info-content {
  max-width: 800px;
  margin: 0 auto;
}

.info-section h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #ff4655;
}

.info-section p {
  font-size: 1.1rem;
  line-height: 1.8;
}

.feature-section {
  background-color: #1a1a1a;
  color: #fff;
  padding: 3rem 2rem;
}

.feature-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.feature-image, .feature-text {
  flex: 1;
  min-width: 250px;
}

.feature-image {
  text-align: center;
}

.feature-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 10px;
}

.character-section h1 {
  font-size: 36px;
  color: red;
  text-align: center;
}

.character-section h3 {
  font-size: 28px;
  color: white;
  text-align: center;
  margin-top: 20px;
}

.character-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 2rem;
  align-items: flex-start;
}

.character-card {
  background-color: #1a1a1a;
  color: white;
  width: 260px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 8px rgb(94, 19, 19);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: height 0.3s ease;
  height: auto;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.character-card img {
  width: 40%;
  max-width: 300px;
  border-radius: 8px;
  margin: 0 auto 1rem;
  display: block;
}

.character-card .btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.2rem;
  background-color: #ff4655;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s;
}

.character-card .btn:hover {
  background-color: #e03b4c;
}

.character-details {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease;
  margin-top: 10px;
}

.character-card.expanded .character-details {
  max-height: 1000px;
}


.character-detail {
  margin-top: 1rem;
  background-color: #2b2b2b;
  padding: 1rem;
  border-radius: 8px;
  text-align: left;
  font-size: 0.95rem;
}

.hidden {
  display: none;
}

.toggle-detail {
  margin-top: 1rem;
  background-color: #ff4655;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.toggle-detail:hover {
  background-color: #e03b4c;
}

.characters-scroll h1 {
  color: #ff4655;
  text-align: center;
}

.tab-icon {
  width: 60px;
  height: 60px;
}

.character-name{
  text-align: center;
}

.map-carousel {
  text-align: center;
  background-color: #111;
  padding: 2rem;
}

.carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 1rem;
}

.map-image {
  width: 600px;
  height: 340px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(255, 70, 85, 0.4);
  transition: opacity 0.3s ease;
}

.carousel-btn {
  background-color: rgba(255, 70, 85, 0.9);
  border: none;
  color: white;
  font-size: 28px;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 10;
}

.carousel-btn:hover {
  background-color: rgba(255, 70, 85, 1);
}

.map-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  text-align: center;
}

.map-info {
  margin-top: 1rem;
  color: white;
}

.map-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #ff4655;
}

.map-info p {
  font-size: 1rem;
  line-height: 1.6;
}