* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #070b14;
  font-family: "Lato", sans-serif;
  color: #f5f1e8;
}


.hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
}

.heroshot {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.navbar {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  height: 75px;
  background: rgba(8, 12, 24, 0.55);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid rgba(244, 213, 141, 0.25);
  border-bottom: 1px solid rgba(244, 213, 141, 0.25);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 75px;
}

.nav-links a {
  font-family: "Cinzel", serif;
  font-size: 32px;
  color: #f5f1e8;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #f4d58d;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #f4d58d, #8ecbff, #c88cff);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.at {
  color: #f4d58d;
}

.at::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #f4d58d, #8ecbff, #c88cff);
}

.home-hero {
  position: relative;
  width: 100%;
  height: 90vh;
  margin-bottom: 40px;
  overflow: hidden;
  border: 1px solid rgba(244, 213, 141, 0.2);
}

.home-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-button {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-button form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-button input {
  padding: 10px 14px;
  font-family: "Lato", sans-serif;
  font-size: 16px;
  border: none;
  outline: none;
  background: rgba(255, 255, 255, 0.92);
  color: #070b14;
}

.hero-button button {
  padding: 10px 22px;
  font-family: "Cinzel", serif;
  font-size: 16px;
  background: rgba(8, 12, 24, 0.78);
  color: #f4d58d;
  border: 1px solid rgba(244, 213, 141, 0.45);
  cursor: pointer;
  transition: 0.3s ease;
}

.hero-button button:hover {
  background: rgba(244, 213, 141, 0.92);
  color: #070b14;
}

.home-section h2 {
  font-family: "Cinzel", serif;
  font-size: 36px;
  color: #f4d58d;
  margin-bottom: 15px;
  text-align: center;
}

.home-section p {
  font-size: 18px;
  line-height: 1.7;
  color: #e4ddd0;
  margin-bottom: 15px;
  text-align: center;
}

.featured-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 20px;
}

.featured-cards .card-slot {
  max-width: 180px;
}

.featured-cards .card-slot img:hover {
  transform: scale(1.75);
}

.footer {
  background: rgba(8, 12, 24, 0.9);
  padding: 40px 20px;
  border-top: 1px solid rgba(244, 213, 141, 0.2);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-brand h2 {
  font-family: "Cinzel", serif;
  color: #f4d58d;
  margin-bottom: 8px;
}

.footer-brand p,
.footer-info p,
.footer-bottom p {
  color: #ccc;
  font-size: 14px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #f5f1e8;
  text-decoration: none;
}

.footer-links a:hover {
  color: #f4d58d;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  color: #888;
  font-size: 13px;
}

html{
  scroll-behavior: smooth;
}


.page-content {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding-top: 140px;
  padding-bottom: 60px;
}

.home .page-content {
  margin-top: 90vh;
  padding-top: 60px;
}

.content-box {
  width: 85%;
  max-width: 1300px;
  margin: 0 auto 40px auto;
  padding: 35px;
  background: rgba(8, 12, 24, 0.9);
  border: 1px solid rgba(244, 213, 141, 0.28);
  border-radius: 14px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
}

.page-title {
  font-family: "Cinzel", serif;
  font-size: 48px;
  color: #f4d58d;
  margin-bottom: 15px;
  text-align: center;
}

.page-intro {
  max-width: 850px;
  margin: 0 auto 30px auto;
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
  color: #e4ddd0;
}


.faction-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.faction-card {
  background: rgba(20, 28, 48, 0.78);
  border: 1px solid rgba(142, 203, 255, 0.18);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faction-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 18px rgba(142, 203, 255, 0.18);
}

.faction-card a {
  display: block;
  padding: 20px;
  text-decoration: none;
  color: #f5f1e8;
  text-align: center;
}

.faction-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  display: block;
  margin: 0 auto 18px auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(244, 213, 141, 0.18);
  border-radius: 10px;
}

.faction-card h2 {
  font-family: "Cinzel", serif;
  font-size: 28px;
  color: #f4d58d;
  margin-bottom: 10px;
}

.faction-card p {
  font-size: 16px;
  line-height: 1.5;
  color: #ddd5c8;
}


.faction-header {
  display: flex;
  gap: 30px;
  align-items: center;
}

.faction-header-image img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(244, 213, 141, 0.2);
  border-radius: 12px;
  padding: 10px;
}

.faction-header-text h1 {
  font-family: "Cinzel", serif;
  font-size: 44px;
  color: #f4d58d;
  margin-bottom: 10px;
}

.faction-subtitle {
  font-size: 20px;
  color: #8ecbff;
  margin-bottom: 15px;
}

.faction-header-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #e4ddd0;
}


.gallery-title {
  font-family: "Cinzel", serif;
  font-size: 38px;
  color: #f4d58d;
  margin-bottom: 10px;
}

.gallery-intro {
  font-size: 17px;
  color: #e4ddd0;
  margin-bottom: 25px;
}

.card-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  justify-items: center;
}

.card-slot {
  width: 100%;
  max-width: 180px;
  position: relative;
  overflow: visible;
}

.card-slot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 1px solid rgba(244, 213, 141, 0.2);
  transition: transform 0.25s ease;
  position: relative;
  z-index: 1;
}

.card-slot img:hover {
  transform: scale(1.8);
  z-index: 20;
}

.rules-box {
  text-align: center;
}

.rules-section h2 {
  font-family: "Cinzel", serif;
  font-size: 38px;
  color: #f4d58d;
  margin-bottom: 18px;
}

.rules-section h3 {
  font-family: "Cinzel", serif;
  font-size: 24px;
  color: #8ecbff;
  margin-top: 20px;
  margin-bottom: 10px;
}

.rules-section p {
  font-size: 18px;
  line-height: 1.7;
  color: #e4ddd0;
  margin-bottom: 12px;
}

.rules-section ul,
.rules-section ol {
  margin-left: 25px;
  margin-bottom: 15px;
}

.rules-section li {
  font-size: 17px;
  line-height: 1.7;
  color: #f5f1e8;
  margin-bottom: 8px;
}

.rules-subsection {
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid rgba(244, 213, 141, 0.15);
}

.keyword-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.keyword-card {
  background: rgba(20, 28, 48, 0.75);
  border: 1px solid rgba(142, 203, 255, 0.18);
  border-radius: 12px;
  padding: 20px;
}

.keyword-card h3 {
  margin-top: 0;
}

.keyword-card p {
  margin-bottom: 0;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.status-card {
  background: rgba(20, 28, 48, 0.75);
  border: 1px solid rgba(244, 213, 141, 0.18);
  border-radius: 12px;
  padding: 20px;
}

.status-card h3 {
  margin-top: 0;
}

.status-card p:last-child {
  margin-bottom: 0;
}

.about-section h2 {
  font-family: "Cinzel", serif;
  font-size: 36px;
  color: #f4d58d;
  margin-bottom: 15px;
}

.about-section p {
  font-size: 18px;
  line-height: 1.7;
  color: #e4ddd0;
  margin-bottom: 15px;
}


.creator-section {
  display: flex;
  gap: 30px;
  align-items: center;
}

.creator-text {
  flex: 2;
}

.creator-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.creator-image img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(244, 213, 141, 0.3);
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
}


.about-list {
  margin-left: 20px;
  margin-bottom: 15px;
}

.about-list li {
  margin-bottom: 8px;
  font-size: 17px;
}


.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.vision-card {
  background: rgba(20, 28, 48, 0.75);
  border: 1px solid rgba(142, 203, 255, 0.2);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.vision-card h3 {
  font-family: "Cinzel", serif;
  color: #8ecbff;
  margin-bottom: 10px;
}

@media (max-width: 1200px) {
  .card-gallery {
    grid-template-columns: repeat(4, 1fr);
  }

  .faction-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .nav-links {
    gap: 30px;
  }

  .nav-links a {
    font-size: 24px;
  }

  .faction-header {
    flex-direction: column;
    text-align: center;
  }

  .card-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .keyword-grid,
  .status-grid {
    grid-template-columns: 1fr;
  }

  .rules-section h2 {
    font-size: 30px;
  }

  .rules-section h3 {
    font-size: 22px;
  }

  .creator-section {
    flex-direction: column;
    text-align: center;
  }

  .vision-grid {
    grid-template-columns: 1fr;
  }

  .home-hero {
    height: 70vh;
  }

  .hero-button form {
    flex-direction: column;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .navbar {
    height: auto;
    padding: 18px 10px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }

  .nav-links a {
    font-size: 18px;
  }

  .page-title {
    font-size: 34px;
  }

  .faction-card h2 {
    font-size: 22px;
  }

  .card-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .rules-section h2 {
    font-size: 26px;
  }

  .rules-section p,
  .rules-section li {
    font-size: 16px;
  }

  .home-hero {
    height: 55vh;
  }

  .home-section h2 {
    font-size: 28px;
  }

  .home-section p {
    font-size: 16px;
  }

  .hero-button {
    bottom: 20px;
    width: 90%;
  }

  .hero-button input,
  .hero-button button {
    width: 100%;
  }
}