@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

body {
  background-color: black;
  color: white;
  font-family: 'VT323', monospace;
  margin: 0;
}

.navbar {
  background-color: #1a1a1a;
  padding: 5px 20px;
  box-shadow: 0 2px 4px rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-family: 'Droid Serif', serif;
  font-style: italic;
  font-weight: bold;
  font-size: 4.5em;
  color: white;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
}

.menu-btn {
  background-color: #F8C200;
  color: white;
  border: none;
  padding: 5px 15px;
  font-size: 3em;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: 'VT323', monospace;
  line-height: 1;
  vertical-align: middle;
}

.menu-btn:hover {
  background-color: #e6b800;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  left: auto;
  background-color: #1a1a1a;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.8);
  z-index: 1;
  border-radius: 5px;
  border: 1px solid #333;
}

.dropdown-content.show {
  display: block;
}

.dropdown-link {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease;
  font-family: 'VT323', monospace;
  font-size: 1.35em;
}

.dropdown-link:hover {
  background-color: #F8C200;
  color: white;
}

.text-crawl {
  background-color: #000;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 2px solid #F8C200;
  border-bottom: 2px solid #F8C200;
  font-family: 'VT323', 'Courier New', monospace;
  letter-spacing: 2px;
  line-height: 1.5;
}

.crawl-content {
  display: inline-block;
  animation: crawl 20s linear infinite;
  white-space: nowrap;
}

.text-crawl:hover .crawl-content {
  animation-play-state: paused;
}

.crawl-content h1 {
  color: white;
  font-size: 2em;
  margin: 0 30px 0 0;
  display: inline-block;
  font-family: 'VT323', 'Courier New', monospace;
  letter-spacing: 2px;
  font-weight: normal;
  line-height: 1.5;
}

.crawl-content h2 {
  font-size: 2em;
  color: white;
  margin: 0 30px 0 0;
  display: inline-block;
  font-family: 'VT323', 'Courier New', monospace;
  letter-spacing: 2px;
  font-weight: normal;
  line-height: 1.5;
}

@keyframes crawl {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

header {
  text-align: center;
  padding: 10px;
  background-color: #1a1a1a;
  box-shadow: 0 2px 4px rgba(255,255,255,0.1);
}

.image-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  overflow: hidden;
  height: calc(100vh - 200px);
}

.carousel-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.grid-scroll {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
  padding: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #F8C200 #1a1a1a;
  white-space: nowrap;
}

.grid-scroll::-webkit-scrollbar {
  height: 8px;
}

.grid-scroll::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 4px;
}

.grid-scroll::-webkit-scrollbar-thumb {
  background: #F8C200;
  border-radius: 4px;
}

.grid-section {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  grid-auto-flow: column;
  grid-auto-columns: 240px;
  gap: 8px;
  height: 100%;
  flex-shrink: 0;
}

.main-image-container {
  flex-shrink: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 400px;
}

.header-image {
  max-width: 95%;
  max-height: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
}

.grid-image {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
  aspect-ratio: 1;
}

.grid-image:hover {
  transform: scale(1.05);
}

/* Glockimon carousel specific styles */
.glockimon-carousel .grid-scroll {
  gap: 0;
  padding: 0;
  overflow-x: hidden;
}

.glockimon-carousel .grid-section {
  grid-template-rows: repeat(5, auto);
  gap: 3px;
}

.glockimon-carousel .grid-image {
  object-fit: contain;
  height: auto;
  max-height: 120px;
  aspect-ratio: auto;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

.close:hover,
.close:focus {
  color: #F8C200;
  text-decoration: none;
}

h1 {
  color: #F8C200;
  font-size: 2.5em;
  margin-bottom: 0.5em;
  font-family: 'VT323', monospace;
}

h2 {
  font-size: 1.2em;
  color: #cccccc;
  line-height: 1.5;
  font-family: 'VT323', monospace;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  .navbar {
    padding: 8px 15px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav-brand {
    font-size: 3.125em;
  }
  
  .menu-btn {
    font-size: 1.875em;
    padding: 8px 15px;
  }
  
  .text-crawl {
    padding: 8px 0;
  }
  
  .crawl-content h1,
  .crawl-content h2 {
    font-size: 2.4em;
    margin: 0 15px 0 0;
  }
  
  .image-carousel {
    height: calc(100vh - 150px);
    padding: 10px;
  }
  
  .grid-scroll {
    gap: 10px;
    padding: 10px;
  }
  
  .grid-section {
    height: calc(100vh - 200px);
    grid-template-rows: 1fr 1fr 1fr;
    grid-auto-columns: calc((100vh - 200px) / 3);
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .main-image-container {
    min-width: 250px;
  }
  
  .header-image {
    max-width: 100%;
  }
  
  .grid-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 5px;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover;
  }
  
  .dropdown-content {
    min-width: 250px;
    right: 0;
    left: auto;
    max-width: calc(100vw - 20px);
  }
  
  .dropdown-link {
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 5px 10px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav-brand {
    font-size: 2.5em;
  }
  
  .menu-btn {
    font-size: 1.5em;
    padding: 6px 12px;
  }
  
  .crawl-content h1,
  .crawl-content h2 {
    font-size: 2em;
    margin: 0 10px 0 0;
  }
  
  .image-carousel {
    height: calc(100vh - 120px);
    padding: 5px;
  }
  
  .grid-scroll {
    gap: 8px;
    padding: 8px;
  }
  
  .grid-section {
    height: calc(100vh - 200px);
    grid-template-rows: 1fr 1fr 1fr;
    grid-auto-columns: calc((100vh - 200px) / 3);
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .main-image-container {
    min-width: 200px;
  }
  
  .grid-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover;
  }
} 