/* 🍰 Fiery Nut Playplace — Shared Styles */
/* Fonts: Comic Neue (primary), Fira Sans (nav/body), Fira Code (monospace accents) */

@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Fira+Code:wght@300..700&family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --pink: #ffb6c1;
  --blue: #87ceeb;
  --hot-pink: #ff69b4;
  --white: #ffffff;
  --text: #555;
  --card-bg: rgba(255, 255, 255, 0.95);
  --gradient: linear-gradient(135deg, var(--pink) 0%, var(--blue) 100%);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Fira Sans', sans-serif;
  background: var(--gradient);
  min-height: 100vh;
  padding: 20px;
  color: var(--text);
  line-height: 1.6;
}

/* --- Navbar --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, var(--hot-pink), var(--blue));
  padding: 15px 20px;
  border-radius: 16px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(255, 105, 180, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.navbar-brand {
  font-family: 'Comic Neue', cursive;
  font-size: 1.8em;
  font-weight: 700;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.navbar-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.nav-link {
  font-family: 'Fira Sans', sans-serif;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.nav-link:hover {
  background: var(--white);
  color: var(--hot-pink);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-link.active {
  background: var(--white);
  color: var(--hot-pink);
  border-color: var(--hot-pink);
}

/* --- Layout --- */
.container {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

/* --- Typography --- */
h1 {
  font-family: 'Comic Neue', cursive;
  font-size: 2.5em;
  margin-bottom: 30px;
  color: var(--hot-pink);
  text-align: center;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

h2 {
  font-family: 'Comic Neue', cursive;
  font-size: 1.8em;
  margin: 30px 0 15px;
  color: var(--blue);
  border-bottom: 3px dashed var(--pink);
  padding-bottom: 10px;
}

h3 {
  font-family: 'Comic Neue', cursive;
  font-size: 1.4em;
  color: var(--hot-pink);
  margin-bottom: 10px;
}

p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--text);
}

code, pre {
  font-family: 'Fira Code', monospace;
  background: #f4f4f4;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

pre {
  padding: 15px;
  overflow-x: auto;
  border-radius: 8px;
  background: #2d2d2d;
  color: #f8f8f2;
}

.signature {
  font-style: italic;
  color: var(--hot-pink);
  margin-top: 30px;
  text-align: right;
  font-family: 'Comic Neue', cursive;
}

.note {
  background: #fffacd;
  border-left: 4px solid var(--hot-pink);
  padding: 15px;
  margin: 20px 0;
  font-size: 0.95em;
  border-radius: 0 8px 8px 0;
}

.warning {
  color: #ff4444;
  font-weight: bold;
}

/* --- Buttons & Links --- */
a {
  color: var(--hot-pink);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.btn {
  display: inline-block;
  background: var(--hot-pink);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
}

.btn:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(135, 206, 235, 0.4);
  text-decoration: none;
}

/* --- Cards --- */
.service-card, .gallery-item, .bio-card {
  background: linear-gradient(145deg, var(--pink), var(--blue));
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  transition: transform 0.2s ease;
  border: 3px solid var(--white);
  margin-bottom: 15px;
}

.service-card:hover, .gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card h3, .gallery-item h3 {
  color: var(--white);
  font-size: 1.4em;
  margin-bottom: 10px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.service-card p, .gallery-item p {
  color: #333;
  font-size: 1em;
  margin-bottom: 15px;
}

.service-link {
  display: inline-block;
  background: var(--white);
  color: var(--hot-pink);
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}

.service-link:hover {
  background: var(--hot-pink);
  color: var(--white);
  transform: scale(1.05);
  text-decoration: none;
}

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.gallery-placeholder {
  background: linear-gradient(45deg, var(--pink), var(--blue));
  height: 180px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3em;
  margin-bottom: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-placeholder img {
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
  border-radius: 8px;
}

.gallery-caption {
  font-size: 0.95em;
  color: #666;
  font-weight: 500;
}

/* --- Audio Player --- */
.audio-player {
  background: linear-gradient(145deg, #fff0f5, #e0f4ff);
  border-radius: 15px;
  padding: 25px;
  margin: 20px 0;
  border: 2px solid var(--blue);
  text-align: center;
}

.audio-player h3 {
  margin-bottom: 10px;
  color: var(--hot-pink);
}

audio {
  width: 100%;
  max-width: 500px;
  margin: 15px auto;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.track-meta {
  font-size: 0.9em;
  color: #888;
  margin-top: 10px;
}

/* --- Container Status --- */
.container-status {
  background: #f0f8ff;
  border-radius: 15px;
  padding: 25px;
  margin: 20px 0;
  border: 2px solid var(--blue);
}

.status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  margin: 8px 0;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  flex-wrap: wrap;
  gap: 10px;
}

.status-name {
  font-weight: bold;
  color: var(--text);
  flex: 1;
  min-width: 200px;
}

.status-badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: bold;
  font-family: 'Fira Code', monospace;
}

.status-up {
  background: #90EE90;
  color: #2d5a2d;
}

.status-restarting, .status-warning {
  background: #FFD700;
  color: #8b7500;
}

.status-down, .status-error {
  background: #ff6b6b;
  color: #8b0000;
}

.status-ports {
  font-size: 0.85em;
  color: #888;
  font-family: 'Fira Code', monospace;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

/* --- Bios --- */
.bio-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 25px 0;
}

.bio-card {
  background: linear-gradient(145deg, #fff0f5, #e0f4ff);
  border-radius: 18px;
  padding: 25px;
  border: 3px solid var(--pink);
  text-align: left;
}

.bio-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.bio-card .emoji {
  font-size: 1.2em;
}

/* --- Footer --- */
.footer {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 3px dashed var(--pink);
  color: #888;
  font-size: 0.95em;
}

.footer a {
  color: var(--hot-pink);
}

/* --- Utilities --- */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.emoji { font-size: 1.2em; }

/* --- Animations --- */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.floating {
  animation: float 3s ease-in-out infinite;
  display: inline-block;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    text-align: center;
  }

  .navbar-links {
    justify-content: center;
    width: 100%;
  }

  .container {
    padding: 20px;
    margin: 10px;
  }

  h1 {
    font-size: 2em;
  }

  .services-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
