
:root {
  --bg: #f3faf1;
  --card: #ffffff;
  --muted: #5f7b5a;
  --accent: #239b1c;
  --accent-dark: #176e14;
  --text: #182718;
  --accent-light: #4ad636;
  --brand: #3ed12c;
  --border: #ddeed9;
  --ring: rgba(40, 178, 31, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  font-family: 'Fredoka', sans-serif;
  font-weight: 400;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  background-attachment: fixed;
  background-size: cover;
}

h1,h2,h3,h4 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
}

.container {
  max-width: 1100px;
  margin: 20px auto;
  padding: 16px;
}

.site-header {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.logo {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid var(--border);
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-title {
  font-size: 1.25rem;
  margin: 0;
  color: var(--text);
}

nav a {
  color: var(--accent);
  text-decoration: none;
  margin-right: 15px;
  font-weight: 500;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 12px;
}

.tab-btn {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.tab-btn:hover {
  background: var(--border);
}

.tab-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 2px 6px rgba(45, 122, 45, 0.3);
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 14px 0;
}

.controls input[type="search"],
.controls select {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 8px;
  border: 2px solid var(--border);
  background: #ffffff;
  color: var(--text);
}

.controls input[type="search"]:focus,
.controls select:focus {
  outline: none;
  border-color: var(--accent);
}

.btn {
  display: inline-block;
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #2d7a2d;
  color: white;
}

.btn-primary:hover {
  background: #236123;
}

.btn-success {
  background: #4caf50;
  color: white;
}

.btn-success:hover {
  background: #43a047;
}

.btn-danger {
  background: #dc3545;
  color: white;
}

.btn-danger:hover {
  background: #c82333;
}

.btn-update {
  padding: 6px 12px;
  background: #4caf50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.3s;
}

.btn-update:hover {
  background: #43a047;
}

.btn-delete {
  padding: 6px 12px;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  margin-left: 5px;
  transition: background 0.3s;
}

.btn-delete:hover {
  background: #c82333;
}

.back-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 1.5rem;
  transition: all 0.2s;
}
.back-btn:hover {
  background: var(--border);
}
.blog-post-content h2 {
  font-size: 2rem;
  color: var(--text);
  margin-bottom: .5rem;
}
.blog-post-meta {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 1.5rem;
}
.blog-post-body {
  line-height: 1.8;
  color: var(--text);
}

.pet-card {
  background: var(--card);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(45, 122, 45, 0.15);
  border: 1px solid var(--border);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pet-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(45, 122, 45, 0.25);
}

.pet-thumb {
  width: 84px;
  height: 84px;
  border-radius: 10px;
  background: #f5f5f5;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border);
}

.pet-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pet-body {
  flex: 1;
}

.pet-title {
  margin: 0;
  font-size: 1rem;
  color: var(--text);
}

.pet-meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 6px;
}

details {
  margin-top: 10px;
  border-left: 4px solid var(--border);
  padding-left: 10px;
}

summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
}

summary::-webkit-details-marker {
  display: none;
}

.arrow {
  transition: transform 0.25s ease;
}

details[open] .arrow {
  transform: rotate(180deg);
}

.variant-item {
  padding: 8px 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f1f8f1, #e8f5e9);
  margin-bottom: 8px;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border);
}

.variant-name {
  font-weight: 600;
}

.variant-value {
  color: var(--muted);
  font-size: 0.95rem;
}

.header {
  background: linear-gradient(135deg, #2d7a2d 0%, #4caf50 100%);
  color: white;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(45, 122, 45, 0.3);
}

.stat-card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  border: 2px solid var(--border);
}

.stat-number {
  font-size: 36px;
  font-weight: bold;
  color: #2d7a2d;
}

.stat-label {
  color: var(--muted);
  margin-top: 5px;
  font-size: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  background: linear-gradient(135deg, #2d7a2d 0%, #4caf50 100%);
  color: white;
  padding: 12px;
  text-align: left;
  font-weight: 600;
  position: sticky;
  top: 0;
}

td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

tr:hover {
  background-color: #e8f5e9;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
  padding: 10px;
  border: 2px solid var(--border);
  border-radius: 5px;
  font-size: 14px;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
}

.login-container {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(45, 122, 45, 0.3);
  max-width: 400px;
  width: 100%;
  border: 2px solid #c8e6c9;
}

.lock-icon {
  text-align: center;
  font-size: 48px;
  margin-bottom: 20px;
}

.info-box {
  background: #e8f5e9;
  border-left: 4px solid #2d7a2d;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 4px;
  font-size: 13px;
  color: #1a3d1a;
}

.error {
  background: #fee;
  color: #c33;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid #c33;
  font-size: 14px;
}

.success {
  background: #d4edda;
  color: #155724;
  padding: 12px;
  border-radius: 5px;
  margin-bottom: 20px;
  border-left: 4px solid #28a745;
}

.welcome-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 50%, #a5d6a7 100%);
  padding: 40px 20px;
}

.welcome-card {
  background: white;
  padding: 60px 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(45, 122, 45, 0.15);
  max-width: 800px;
  width: 100%;
  text-align: center;
  border: 3px solid var(--border);
}

.logo-large {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  background: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 3px solid var(--border);
  box-shadow: 0 8px 20px rgba(45, 122, 45, 0.3);
}

.logo-large img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.welcome-card h1 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.welcome-card p {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

.welcome-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin: 0 auto;
}

.welcome-btn {
  display: block;
  padding: 15px 30px;
  background: white;
  color: var(--accent);
  text-decoration: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  border: 2px solid var(--border);
  transition: all 0.3s;
}

.welcome-btn:hover {
  background: var(--accent-light);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 122, 45, 0.2);
}

.welcome-btn.primary {
  background: linear-gradient(135deg, #2d7a2d, #4caf50);
  color: white;
  border-color: #2d7a2d;
}

.welcome-btn.primary:hover {
  background: linear-gradient(135deg, #236123, #3d8b40);
}

.welcome-btn.staff-login {
  background: #f5f5f5;
  color: var(--muted);
  border-color: #e0e0e0;
  font-size: 0.9rem;
}

.welcome-footer {
  margin-top: 30px;
  text-align: center;
  color: var(--muted);
}

.welcome-footer a {
  color: var(--accent);
  text-decoration: none;
}

.content-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.content-page h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text);
  margin-bottom: 15px;
  text-align: center;
}

.subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.info-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 4px 12px rgba(45, 122, 45, 0.08);
}

.info-card h3 {
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.info-card p {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 10px;
}

.info-card .highlight {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  padding: 15px;
  border-radius: 10px;
  border-left: 4px solid var(--accent);
  font-weight: 600;
  margin: 15px 0;
}

.info-card .highlight a {
  color: var(--accent);
  text-decoration: none;
  font-size: 1.1rem;
}

.info-card .note {
  background: #fff9e6;
  border-left: 4px solid #ffb300;
  padding: 12px;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #666;
  margin: 10px 0;
}

.events-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.event {
  background: white;
  border: 2px solid var(--border);
  border-left: 5px solid var(--accent-light);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  transition: all 0.3s;
}

.event:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(45, 122, 45, 0.15);
}

.event.featured {
  border-left: 5px solid #ffb300;
  background: linear-gradient(135deg, #fff9e6, #ffffff);
}

.event-date {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.event h3 {
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.event p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.team-section {
  margin-bottom: 50px;
}

.team-section h3 {
  color: var(--accent);
  font-size: 1.8rem;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--border);
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.staff-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(45, 122, 45, 0.08);
}

.staff-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(45, 122, 45, 0.2);
  border-color: var(--accent-light);
}

.staff-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px;
  display: block;
  border: 4px solid var(--border);
  background: #f5f5f5;
}

.staff-card h4 {
  color: var(--accent);
  font-size: 16px;
  margin-bottom: 5px;
}

.staff-card .username {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 10px;
  font-family: monospace;
}

.staff-card .role {
  display: inline-block;
  color: var(--accent);
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 10px;
}

.staff-card .role.manager {
  background: linear-gradient(135deg, #aa00ff, #ff0000);
  color: white;
}

.staff-card .role.contributor {
  background: linear-gradient(135deg, #ffc86b, #ff9f9f);
  color: white;
}

.staff-card .role.owner {
  background: linear-gradient(135deg, #e3ffb9, #51ff00);
  color: #000;
}

.staff-card .role.co-owner {
  background: linear-gradient(135deg, #040006, #f60105);
  color: white;
}

.staff-card .role.communitymanager {
  background: linear-gradient(135deg, #000dff, #000000);
  color: white;
}

.staff-card .role.gameadmin {
  background: linear-gradient(135deg, #00ff17, #000000);
  color: white;
}

.staff-card .role.serveradmin {
  background: linear-gradient(135deg, #5754a8, #043288);
  color: white;
}

.staff-card .role.seniormod {
  background: linear-gradient(135deg, #9e6bff, #8a04f4);
  color: white;
}

.staff-card .role.mod {
  background: linear-gradient(135deg, #f9ff00, #030000);
  color: white;
}

.staff-card .role.tester {
  background: linear-gradient(135deg, #3e3946, #00ffe1);
  color: white;
}

.staff-card .role.vlc {
  background: linear-gradient(135deg, #010f01, #5b0961);
  color: white;
}

.staff-card .role-detail {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.4;
}

header {
  background: linear-gradient(135deg, #2d7a2d 0%, #4caf50 100%);
  color: white;
  padding: 20px 30px;
  box-shadow: 0 4px 12px rgba(45, 122, 45, 0.3);
}

.header-content {
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.header-content .logo {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.3);
}

.header-content .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-content h1 {
  margin: 0;
  font-size: 1.8rem;
}

header nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

header nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s;
}

header nav a:hover {
  background: rgba(255, 255, 255, 0.2);
}

header nav a.active {
  background: white;
  color: var(--accent);
}

footer {
  background: var(--card);
  border-top: 2px solid var(--border);
  padding: 20px;
  text-align: center;
  color: var(--muted);
  margin-top: 50px;
}

footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .welcome-card {
    padding: 40px 25px;
  }
  
  .welcome-card h1 {
    font-size: 1.8rem;
  }
  
  .staff-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
  }
  
  .staff-card img {
    width: 80px;
    height: 80px;
  }
  
  .content-page h2 {
    font-size: 1.8rem;
  }
}

.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--card);
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 2rem;
  margin-top: 1rem;
}
.blog-featured-img {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #2a0a4e, #6a2cbc);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}
.blog-label { font-size: 12px; font-weight: 600; color: #f90; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .5rem; }
.blog-tag { display: inline-block; background: var(--border); color: var(--text); font-size: 13px; padding: 4px 12px; border-radius: 20px; margin-bottom: .75rem; }
.blog-title { font-size: 1.5rem; margin: 0 0 .75rem; color: var(--text); }
.blog-excerpt { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 1.25rem; }
.read-more-btn { background: var(--accent); color: #fff; border: none; padding: 10px 20px; border-radius: 24px; font-size: 14px; font-weight: 600; cursor: pointer; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.blog-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; cursor: pointer; transition: border-color .2s; }
.blog-card:hover { border-color: var(--accent); }
.blog-card-img { width: 100%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.blog-card-body { padding: .75rem 1rem; }
.blog-card-date { font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.blog-card-title { font-size: 14px; font-weight: 600; color: var(--text); }

.social-buttons {
  display: flex;
  gap: 12px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 52px;
  border-radius: 50px;
  font-size: 1.4rem;
  color: white;
  text-decoration: none;
  transition: all 0.2s;
}

.social-btn:hover {
  transform: scale(1.08);
  filter: brightness(1.15);
}

.social-btn.discord { background: #5865F2; box-shadow: 0 4px 15px rgba(88,101,242,0.5); }
.social-btn.twitter { background: #000000; box-shadow: 0 4px 15px rgba(0,0,0,0.35); }
.social-btn.youtube { background: #FF0000; box-shadow: 0 4px 15px rgba(255,0,0,0.5); }

.zenfish {
    width: 150px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

