body { 
  background-image: url('../wallpaper1.png'); 
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat; 
  background-attachment: fixed; 
  margin: 0; 
  min-height: 100vh; 
  padding-top: 80px;
  font-family: 'Segoe UI', sans-serif;
  color: rgba(255,255,255,0.9);
}

.categories, .navigation, .inlink, .info, .maincontent {
  padding: 15px;
  border: 2px solid #1abc9c; 
  border-radius: 12px;
  margin: 0 15px 15px 15px;
  background-color: #0f172a; 
  box-shadow: 0 0 20px rgba(26,188,156,0.3); 
}

.inlink p, .info p { 
  color: rgba(255,255,255,0.9); 
  line-height: 1.6;
  margin-bottom: 12px;
  
}

a {
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  margin-bottom: 12px;
}
.categories h3 {
  color: #1abc9c;
  text-shadow: 0 0 10px rgba(26,188,156,0.8);
  margin-bottom: 10px;
  border-bottom: 2px solid #1abc9c;
  padding-bottom: 5px;
}

.navigation {
  text-align: center;
  padding: 1px;
}

.navigation ul {
  list-style: none;
  padding: 0;
}

.navigation li {
  display: inline-block;
  margin: 0 15px;
  padding: 8px 16px;
  background-color: #1abc9c; 
  border-radius: 8px;
  color: #0f172a; 
  font-weight: bold;
  transition: 0.3s;
}

.navigation li:hover {
  background-color: #16a085;
  box-shadow: 0 0 15px rgba(26,188,156,0.8);
}

.wrap { 
  display: flex; 
  gap: 0;
  margin: 0 15px 15px 15px; 
  min-height: 300px;
} 

.inlink { 
  width: 30%; 
  border-radius: 12px 0 0 12px;
  margin: 0;
} 

.info { 
  width: 70%; 
  border-radius: 0 12px 12px 0;
  margin: 0;
}

.inlink h1, .info h1 {
  color: #1abc9c;
  font-weight: bold;
  text-align: center;
  font-size: 18px;
  text-shadow: 0 0 10px rgba(26,188,156,0.8);
  margin-bottom: 10px;
  border-bottom: 2px solid #1abc9c;
  padding-bottom: 5px;
}

.maincontent {
  display: grid;
  grid-template-columns: 300px 1fr;
  grid-template-rows: auto 1fr;
  gap: 20px; /* gap inside */
  padding: 20px;
}

.imagebox {
  grid-row: 1 / 3;
  background-color: #1a2333; 
  border: 2px dashed #1abc9c;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 5px;
}

.imagebox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
}

.breadcrumb {
  grid-column: 2;
  grid-row: 1;
  background-color: #1a2333;
  padding: 10px 15px;
  border-radius: 8px;
  color: #1abc9c;
  font-weight: bold;
  border-left: 3px solid #1abc9c;
}

.contenttext {
  grid-column: 2;
  grid-row: 2;
  background-color: #1a2333;
  padding: 15px;
  border-radius: 8px;
  line-height: 1.8;
}

.contenttext p {
  margin-bottom: 15px;
}

footer {
  background-color: #0f172a; 
  border: 2px solid #1abc9c;
  border-radius: 12px;
  margin: 0 15px 15px 15px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(26,188,156,0.3);
  
  /* GRID LIKE MAINCONTENT BUT JUST 2 TEXT BOXES */
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 20px; 
}

.footer-left, .footer-right {
  background-color: #1a2333; 
  padding: 15px;
  border-radius: 8px;
  border-left: 3px solid #1abc9c;
}

.footer-left h3 {
  color: #1abc9c;
  text-shadow: 0 0 10px rgba(26,188,156,0.8);
  margin-bottom: 10px;
}

.footer-left p, .footer-right p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 5px;
}

.footer-right {
  text-align: right; /* push text to right side */
}

/* Mobile: stack them */
@media (max-width: 600px) {
  footer {
    grid-template-columns: 1fr;
  }
  .footer-right {
    text-align: left;
  }
}

.categories ul {
  list-style: none; 
  padding: 0;
  margin: 0;
  display: flex; 
  gap: 10px; 
  flex-wrap: wrap; /* wraps to next line if screen is small */
}

.categories li {
  background-color: #1abc9c; 
  color: #0f172a;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.categories li:hover {
  background-color: #16a085;
  box-shadow: 0 0 10px rgba(26,188,156,0.8);
  transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 900px) {
  .wrap { flex-direction: column; }
  .inlink, .info { width: 100%; border-radius: 12px; }
  .maincontent { grid-template-columns: 1fr; }
  .imagebox { grid-row: 1; }
  .breadcrumb { grid-row: 2; }
  .contenttext { grid-row: 3; }
}

/* TRANSPARENT RUBY BUTTON */
.navigation li.special-btn {
  background-color: rgba(155, 17, 30, 0.6); /* ruby red 60% transparent */
  color: #fff;
  font-weight: bold;
  border: 2px solid rgba(155, 17, 30, 0.9); /* ruby outline */
}

.navigation li.special-btn:hover {
  background-color: rgba(155, 17, 30, 0.9); /* less transparent on hover */
  border-color: #9b111e;
}

.categories li.special-btn {
  background-color: rgba(155, 17, 30, 0.6); /* ruby red 60% transparent */
  color: #fff;
  font-weight: bold;
  border: 2px solid rgba(155, 17, 30, 0.9); /* ruby outline */
}

.categories li.special-btn:hover {
  background-color: rgba(155, 17, 30, 0.9); /* less transparent on hover */
  border-color: #9b111e;
}


a {
  text-decoration: none; /* removes underline */
  color: rgba(255,255,255,0.9); /* keep your color */
}

.titlecard {
  padding: 50%;
  border: 2px solid;
  padding-top: 10px;
  padding-bottom: 10px;
}

.titlecard h3 {
  color: #1abc9c;
  text-shadow: 0 0 10px rgba(26,188,156,0.8);
  margin-bottom: 10px;
  border-bottom: 2px solid #1abc9c;
  padding-bottom: 5px;
}

.titlecard ul {
  list-style: none; 
  padding: 0;
  margin: 0;
  display: flex; 
  gap: 10px; 
  flex-wrap: wrap; /* wraps to next line if screen is small */
}

.titlecard li {
  background-color: #1abc9c; 
  color: #0f172a;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.titlecard li:hover {
  background-color: #16a085;
  box-shadow: 0 0 10px rgba(26,188,156,0.8);
  transform: translateY(-2px);
}

/* GIF BASE - small and aligned left */
 .section-gif {
  width: 50px; /* change this to make bigger/smaller */
  height: 50px;
  object-fit: contain;
  vertical-align: middle; /* aligns with text */
  margin-right: 10px; /* space between gif and text */
  margin-bottom: 10px;
  display: inline-block;
}


.navigation li {
  display: inline-block; /* back to this */
  margin: 0 15px;
  padding: 8px 16px;
  background-color: #1abc9c;
  border-radius: 8px;
  color: #0f172a;
  font-weight: bold;
  transition: 0.3s;
}

.inlink h1 {
  display: flex; /* for the gif + Home title */
  align-items: center;
  justify-content: center;
  gap: 8px; /* space between gif and text */
}

/* GLOWING TEAL HR LINE */
hr {
  border: none; /* remove default border */
  height: 2px;
  background: #1abc9c; /* your teal color */
  box-shadow: 0 0 10px rgba(26,188,156,0.8); /* glow */
  margin: 2px 0; /* space top and bottom */
  border-radius: 2px;
}

/* ANIME BUTTON LIST - GAME UI */
.anime-btns {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px; /* space between all buttons */
}

/* GLUE H3 AND HR TOGETHER */
.genre-header {
  margin: 5px 0 2px 0; /* tiny space above */
}
.genre-header h3 {
  color: #1abc9c;
  text-shadow: 0 0 8px rgba(26,188,156,0.8);
  margin: 0; /* kill default margin */
  padding: 0;
  text-align: center;
  font-size: 16px;
  letter-spacing: 1px;
}
.genre-header hr {
  margin: 2px 0 10px 0; /* 2px gap from h3. THIS is the key */
  height: 2px;
  border: none;
  background: #1abc9c;
  box-shadow: 0 0 8px rgba(26,188,156,0.8);
  border-radius: 2px;
}

/* GAME UI BUTTONS - DARK + NEON */
.anime-btns a {
  display: block;
  background: linear-gradient(180deg, #1a2333 0%, #0f172a 100%); /* dark card */
  color: rgba(255,255,255,0.9);
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border: 1px solid rgba(26,188,156,0.4); /* subtle teal border */
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

/* HOVER = GAME UI GLOW */
.anime-btns a:hover {
  background: linear-gradient(180deg, #1f2a3d 0%, #121c2e 100%);
  border-color: #1abc9c; /* full teal border */
  box-shadow: 0 0 15px rgba(26,188,156,0.6); /* neon glow */
  transform: translateY(-2px);
}

.anime-btns a.special-btn {
  background: linear-gradient(180deg, rgba(155,17,30,0.8) 0%, rgba(90,10,18,0.9) 100%);
  color: #fff;
  border: 1px solid rgba(155, 17, 30, 0.9);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.anime-btns a.special-btn:hover {
  background: linear-gradient(180deg, rgba(155,17,30,1) 0%, rgba(120,15,25,1) 100%);
  border-color: #ff2e4c;
  box-shadow: 0 0 15px rgba(155, 17, 30, 0.8);
}