/* style.css */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Space+Grotesk:wght@400;600&display=swap');

/* Reset and base styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.6;
  background-color: #0d0d0d;
  color: #ffffff;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1a1a1a;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  font-family: 'Anton', sans-serif;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ffcc00;
}

.lang-toggle button {
  background: none;
  border: none;
  color: #ffffff;
  font-weight: bold;
  cursor: pointer;
}

/* Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: white;
}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #1a1a1a;
    position: absolute;
    top: 70px;
    left: 0;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .navbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.hero-overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  padding: 0 2rem;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-family: 'Anton', sans-serif;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  background-color: #ffcc00;
  color: #000;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
  font-family: 'Anton', sans-serif;
}

.cta-button:hover {
  background-color: #e6b800;
}

/* Progress Section */
.progress-section {
  padding: 4rem 2rem;
  background-color: #121212;
  text-align: center;
}

.progress-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.progress-card {
  background-color: #1f1f1f;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Gallery & Fan Art */
.gallery-section,
.fanart-section {
  padding: 4rem 2rem;
  text-align: center;
}

.gallery-grid,
.fanart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-grid img,
.fanart-grid img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s;
}

.gallery-grid img:hover,
.fanart-grid img:hover {
  transform: scale(1.05);
}

/* Comic Reader Mode Toggle */
.reading-mode-toggle {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem auto 1.5rem;
  flex-wrap: wrap;
  padding: 0 1rem;
}

.reading-mode-toggle button {
  padding: 0.6rem 1.5rem;
  font-weight: bold;
  background-color: #333;
  color: #fff;
  border: 1px solid #ffcc00;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.reading-mode-toggle button.active {
  background-color: #ffcc00;
  color: #000;
}

.comic-reader {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1rem;
  transition: all 0.4s ease-in-out;
}

.comic-reader.horizontal {
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 2rem;
  scrollbar-width: thin;
  scrollbar-color: #888 #111;
}

.comic-reader.horizontal::-webkit-scrollbar {
  height: 8px;
}

.comic-reader.horizontal::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 4px;
}

.comic-reader.horizontal::-webkit-scrollbar-track {
  background: #111;
}

.comic-reader.horizontal img {
  scroll-snap-align: center;
  margin-right: 2rem;
  max-height: 90vh;
}

.comic-reader img {
  width: 100%;
  max-width: 800px;
  margin-bottom: 2rem;
  border-radius: 6px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.comic-reader img:hover {
  transform: scale(1.01);
}

/* Footer */
footer {
  background-color: #1a1a1a;
  padding: 2rem;
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
}

.social-icons a {
  margin: 0 0.5rem;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #ffcc00;
}
