/* ================================
   Logo
   ================================ */
.logo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid #fff;
  padding: 3px;
}

/* ================================
   Inline social icons
   ================================ */
.social-icons-inline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 1rem auto 1.5rem;
  width: max-content;
}

.social-icons-inline a {
  color: #eee;
  font-size: 32px;
  text-decoration: none;
  line-height: 1;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icons-inline a:hover {
  transform: scale(1.1);
  opacity: 0.75;
}

.social-svg {
  width: 32px;
  height: 32px;
  display: block;
  filter: invert(1);
}

/* ================================
   Landing page links / buttons
   ================================ */
.landing-container a:not(.social-icons-inline a) {
  display: block;
  margin: 0.8rem auto;
  padding: 1rem 2rem;
  max-width: 260px;
  text-align: center;
  text-decoration: none;
  color: #eee;
  background: #000;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-weight: 500;
  font-size: 1.1rem;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.landing-container a:not(.social-icons-inline a):hover {
  background: #333;
  border-color: rgba(255, 255, 255, 0.85);
  transform: scale(1.02);
}

/* ================================
   Primary button
   ================================ */
.btn.btn--primary {
  display: inline-block;
  background: #000;
  color: #eee;
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.5);
  text-decoration: none;
  margin-top: 0.5rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn.btn--primary:hover {
  background: #333;
  transform: scale(1.02);
}

/* ================================
   Media card (Bluesky photo/video)
   ================================ */
.media-card {
  padding: .1rem .9rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.post-caption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #ccc;
  text-align: center;
}

/* ================================
   Twitch stream card
   ================================ */
.twitch-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  max-width: 260px;
  margin: 1rem auto 2rem;
  color: #eee;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: left;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: normal;
  transition: all 0.25s ease;
}

.twitch-card:hover {
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(255,255,255,0.35);
}

.twitch-card a {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.twitch-card .status-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.twitch-card .status-text strong {
  font-size: 1rem;
}

.twitch-card .status-text .duration {
  font-size: 0.8rem;
  opacity: 0.7;
}

.twitch-card.live {
  animation: twitchPulse 1.8s infinite ease-in-out;
  border-color: rgba(78,228,78,0.6);
}

@keyframes twitchPulse {
  0%,100% { box-shadow: 0 0 6px rgba(78,228,78,0.4); }
  50% { box-shadow: 0 0 12px rgba(78,228,78,0.6); }
}

@media screen and (max-width: 480px) {
  .twitch-card {
    max-width: 100%;
    padding: 0.8rem 1rem;
  }
}

/* ================================
   Tank cards
   ================================ */
.tank-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.tank-card {
  background: #fff;
  border-radius: 15px;
  padding: 1.5rem;
  margin: .5rem 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.05);
  text-align: left;
  line-height: 1.5;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tank-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.tank-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.tank-card p,
.tank-card ul,
.tank-card li {
  margin: 0.3rem 0;
}

.tank-card a {
  display: inline-block;
  margin-top: 0.8rem;
  color: #0077cc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.tank-card a:hover {
  color: #005fa3;
}

.tank-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tank-card:hover .tank-thumb {
  transform: scale(1.01);
  transition: transform 0.2s ease;
}

@media screen and (min-width: 1024px) {
  .tank-card {
    padding: 2rem;
  }
}

/* ================================
   Animal cards
   ================================ */
.animal-grid {
  display: flex;
  flex-wrap:wrap;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.animal-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  flex: 0 1 calc(50% - 0.6rem);
  max-width: calc(50% - 0.6rem);
  box-sizing: border-box;
}

.animal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  background: #fff;
}

.animal-card img {
  width: 100%;
  /* max-width: 250px; */
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 0.7rem;
}

.animal-card h2 {
  margin-top: 0.3rem;
}

.animal-card a {
  display: block;
  text-decoration: none;
  color: inherit;
  background: none;
}

.animal-card a:hover {
  background: none;
}

.animals-page-img {
  max-width: 100% !important;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 0.5rem;
}

.animal-card-img {
  width: 100% !important;
  max-width: 220px !important;
  border-radius: 10px;
  margin-bottom: 0.7rem;
}

.turtle-img {
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  margin: 1rem auto;
  display: block;
}

@media (max-width: 600px) {
  .animal-card {
    flex: 0 1 100%;
    max-width: 100%;
  }
}