:root {
  --bg: radial-gradient(circle at top left, #1f2937 0, #020617 45%, #000000 100%);
  --accent: #3b82f6;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --radius: 16px;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
}

html {
  background: #020617;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 0.8s ease-out;
  box-sizing: border-box;
  min-height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.bg-orb {
  position: fixed;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.55;
  z-index: 1;
  pointer-events: none;
}

.bg-blue {
  background: rgba(59, 130, 246, 0.6);
  top: -60px;
  left: -40px;
}

.bg-purple {
  background: rgba(129, 140, 248, 0.5);
  bottom: -60px;
  right: -40px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  max-width: 900px;
  width: 100%;
  margin-bottom: 40px;
  transition: 0.2s ease;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
  margin-top: 24px;
}

nav .brand {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

nav .brand-icon {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 24px;
  font-size: 14px;
  font-weight: 500;
  transition: 0.2s ease;
}

nav a:hover {
  color: var(--text);
}

nav a.active {
  color: var(--text);
  text-shadow: 0 0 8px var(--accent);
}

.btn {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 15px;
  color: #d1d5db;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
  box-shadow: 0 0 10px var(--accent);
}

.status-badge {
  display: inline-block;
  background: rgba(59,130,246,0.25);
  color: #bfdbfe;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer {
  margin-top: auto;
  padding: 20px;
  text-align: center;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  font-size: 28px;
}

.footer-icons a {
  color: #ffffff;
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-icons a:hover {
  transform: translateY(-3px);
  text-shadow: 0 0 10px var(--accent);
}

.work-flex { display: flex; gap: 20px; align-items: flex-start; }
.work-preview { width: 160px; height: auto; border-radius: 12px; object-fit: cover; border: 2px solid rgba(255,255,255,0.1); box-shadow: 0 0 20px rgba(59,130,246,0.3); }
.work-info { flex: 1; text-align: left; }
.work-caption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 6px; }
.work-media { display: flex; flex-direction: column; align-items: center; }


/* ABOUT PAGE */

.about-card {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 0 20px rgba(15, 23, 42, 0.8);
  padding: 24px;
  margin: 40px auto;
  max-width: 760px;
  width: 100%;
  text-align: center;
  transition: 0.25s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.25);
}

.about-header {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 25px;
  justify-content: center;
}

.about-cat {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.25);
  box-shadow: 0 0 20px rgba(59,130,246,0.4);
}

.page-content {
  padding: 32px 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.about-title {
  font-size: 28px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

.about-text {
  font-size: 17px;
  line-height: 1.6;
  color: #d1d5db;
}

.progress-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.25);
  overflow: hidden;
  margin-top: 14px;
}

.progress-bar-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #60a5fa, #a855f7);
  animation: progress-fill 6s ease-in-out infinite;
}

@keyframes progress-fill {
  0% { width: 0%; }
  60% { width: 100%; }
  100% { width: 100%; }
}

/* HOMEPAGE */

.home-grid {
  max-width: 900px;
  width: 100%;
  margin: 40px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 60px;
}

.home-profile-card,
.home-work-card {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 0 20px rgba(15, 23, 42, 0.8);
  padding: 24px;
  text-align: center;
  transition: 0.25s ease;
}

.home-profile-card:hover,
.home-work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.25);
}

.home-cat {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.25);
  box-shadow: 0 0 20px rgba(59,130,246,0.4);
}

/* UPDATE LOG (shared) */

.update-section {
  max-width: 900px;
  width: 100%;
  margin: 60px auto 40px;
  text-align: center;
  margin-bottom: 80px;
}

.update-title {
  font-size: 24px;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 20px;
}

.update-scroll::-webkit-scrollbar {
  height: 8px;
}

.update-scroll::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
}

.update-card {
  min-width: 260px;
  max-width: 280px;
  background: rgba(15,23,42,0.6);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(148,163,184,0.3);
  border-radius: var(--radius);
  padding: 20px;
  text-align: left;
  transition: 0.25s ease;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.update-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 25px rgba(59,130,246,0.25);
}

.update-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.update-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}

.time-ago {
  font-size: 13px;
  color: #9ca3af;
}

@media (max-width: 600px) {
  .about-card {
    padding: 20px;
    margin: 30px auto;
  }

  .update-card {
    min-width: 220px;
    padding: 16px;
  }

  .update-title {
    font-size: 20px;
  }

  .home-grid {
    grid-template-columns: 1fr;
  }
}

.tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.chip {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 16px;
  color: #d1d5db;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.2s ease;
}

.chip:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.update-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: normal;
  padding: 10px 0 20px;
  scroll-behavior: smooth;
  scroll-snap-type: none;
  scroll-padding-left: 20px;
  position: relative;
  z-index: 1;
}

/* PROJECTS PAGE */

.projects-header-card {
  max-width: 900px;
  width: 100%;
  margin: 40px auto;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 0 20px rgba(15, 23, 42, 0.8);
  padding: 30px;
  text-align: center;
}

.projects-header-cat {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.25);
  box-shadow: 0 0 20px rgba(59,130,246,0.4);
  margin-bottom: 15px;
}

.projects-header-title {
  font-size: 32px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  margin-bottom: 10px;
}

.projects-header-subtitle {
  font-size: 16px;
  color: var(--muted);
}

.projects-grid {
  max-width: 900px;
  width: 100%;
  margin: 40px auto 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.projects-card {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 0 20px rgba(15, 23, 42, 0.8);
  padding: 24px;
  text-align: center;
  transition: 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.projects-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(59,130,246,0.25);
}

.projects-cat {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.25);
  box-shadow: 0 0 20px rgba(59,130,246,0.4);
  margin-bottom: 15px;
}

.projects-card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.projects-card-desc {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.projects-tags {
  margin-bottom: 16px;
  margin-top: auto;
}

.projects-tag {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 14px;
  color: #d1d5db;
  display: inline-block;
}

.projects-btn {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 15px;
  color: #d1d5db;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s ease;
  width: auto;
  align-self: center;
}

.projects-btn:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
  box-shadow: 0 0 10px var(--accent);
}

.projects-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.projects-modal-overlay.active {
  display: flex;
}

.projects-modal {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(22px);
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 0 30px rgba(15, 23, 42, 0.9);
  max-width: 700px;
  width: 100%;
  padding: 26px 26px 22px;
  position: relative;
  animation: projects-modal-in 0.22s ease-out;
}

@keyframes projects-modal-in {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(6px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.projects-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: transparent;
  border: none;
  color: #e5e7eb;
  font-size: 24px;
  cursor: pointer;
}

.projects-modal-cat {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.25);
  box-shadow: 0 0 20px rgba(59,130,246,0.4);
  display: block;
  margin: 0 auto 14px;
}

.projects-modal-title {
  font-size: 24px;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  margin-bottom: 8px;
}

.projects-modal-desc {
  font-size: 15px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 16px;
}

.projects-modal-tags {
  text-align: center;
  margin-bottom: 18px;
}

.projects-modal-tag {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 14px;
  color: #d1d5db;
  display: inline-block;
}

.projects-modal-images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 18px;
}

.projects-modal-images img {
  width: 85%;
  max-width: 520px;
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,0.4);
  display: block;
  margin: 0 auto;
}

.projects-modal-footer {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.projects-modal-footer a {
  color: #93c5fd;
  text-decoration: none;
}

.projects-modal-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .projects-modal {
    margin: 0 16px;
    padding: 22px 18px 18px;
  }

  .projects-modal-images img {
    max-width: 100%;
  }
}

.projects-modal-images img:hover {
  box-shadow: 0 0 20px rgba(59,130,246,0.35);
  transform: translateY(-2px);
  transition: 0.25s ease;
}

/* Contact Page */

.contact-wrapper {
  max-width: 900px;
  width: 100%;
  margin: 40px auto;
  display: flex;
  justify-content: center;
  min-height: 70vh;
}

.contact-card {
  width: 100%;
  max-width: 600px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 0 25px rgba(59,130,246,0.25);
  padding: 32px;
  text-align: center;
  transition: 0.25s ease;
}

.contact-card:hover {
  box-shadow: 0 0 35px rgba(59,130,246,0.35);
  transform: translateY(-4px);
}

.contact-cat {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.25);
  box-shadow: 0 0 20px rgba(59,130,246,0.4);
  margin-bottom: 16px;
}

.contact-title {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  margin-bottom: 10px;
}

.contact-subtext {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 22px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: var(--text);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto;
}

.contact-textarea {
  width: 100%;
  height: 140px;
  box-sizing: border-box;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: var(--text);
  font-size: 15px;
  resize: none;
  max-width: 480px;
  margin: 0 auto;
}

.contact-submit {
  background: rgba(59,130,246,0.25);
  border: 1px solid rgba(59,130,246,0.4);
  padding: 12px;
  border-radius: 12px;
  color: #dbeafe;
  font-size: 16px;
  cursor: pointer;
  transition: 0.25s ease;
  max-width: 480px;
  width: 100%;
  display: block;
  margin: 0 auto;
  box-sizing: border-box;
  line-height: 1.2;
}

.contact-submit:hover {
  background: rgba(59,130,246,0.35);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(59,130,246,0.4);
}

.contact-join {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  transition: 0.25s ease;
  max-width: 480px;
  width: 76%;
  display: block;
  margin: 0 auto;
}



.contact-join:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(59,130,246,0.4);
}

.contact-success {
  margin-top: 18px;
  font-size: 15px;
  color: #86efac;
  opacity: 0;
  transition: 0.3s ease;
}

@keyframes floatCat {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.contact-cat {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.25);
  box-shadow: 0 0 20px rgba(59,130,246,0.4);
  margin-bottom: 16px;
  animation: floatCat 4s ease-in-out infinite;
}


/* Calculator Page */

.calc-wrapper {
  display: flex;
  gap: 30px;
  padding: 40px;
}

.calc-sidebar {
  width: 220px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 16px;
}

.sidebar-header {
  font-family: 'Poppins';
  margin: 10px 0;
  opacity: 0.8;
}

.sidebar-btn {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: none;
  color: white;
  cursor: pointer;
  text-align: left;
  font-size: 14px;
}

.sidebar-btn.active {
  background: rgba(255,255,255,0.25);
}

.calc-main {
  flex: 1;
}

.mode-section {
  display: none;
}

.mode-section.active {
  display: block;
}

.stat-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-card {
  flex: 1;
  min-width: 260px;
  padding: 18px 18px 20px;
  border-radius: 18px;
  background: rgba(10,10,20,0.8);
  box-shadow: 0 0 24px rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 360px;
  width: 100%;
  max-width: 320px;
}

.stat-card h3 {
  margin-bottom: 6px;
  text-align: center;
  width: 100%;
  font-family: 'Poppins';
}

.stat-card .calc-input,
.yen-card .calc-input {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.stat-strength {
  border-top: 3px solid rgba(255, 80, 80, 0.9);
  background: linear-gradient(145deg, rgba(255,80,80,0.18), rgba(20,10,20,0.9));
}

.stat-durability {
  border-top: 3px solid rgba(80, 160, 255, 0.9);
  background: linear-gradient(145deg, rgba(80,160,255,0.18), rgba(10,15,30,0.9));
}

.stat-chakra {
  border-top: 3px solid rgba(180, 80, 255, 0.9);
  background: linear-gradient(145deg, rgba(180,80,255,0.18), rgba(20,10,30,0.9));
}

.stat-sword {
  border-top: 3px solid rgba(80, 220, 140, 0.9);
  background: linear-gradient(145deg, rgba(80,220,140,0.18), rgba(10,25,20,0.9));
}

.calc-input {
  width: 100%;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.35);
  color: white;
  font-size: 14px;
  margin-bottom: 8px;
}

.calc-input::placeholder {
  color: rgba(255,255,255,0.5);
}

.result-panel {
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
}

.result-strength {
  background: linear-gradient(145deg, rgba(255,80,80,0.18), rgba(40,20,20,0.9));
}

.result-durability {
  background: linear-gradient(145deg, rgba(80,160,255,0.18), rgba(20,30,40,0.9));
}

.result-chakra {
  background: linear-gradient(145deg, rgba(180,80,255,0.18), rgba(30,20,40,0.9));
}

.result-sword {
  background: linear-gradient(145deg, rgba(80,220,140,0.18), rgba(20,40,30,0.9));
}

.result-yen {
  background: linear-gradient(145deg, rgba(255,220,80,0.18), rgba(40,35,20,0.9));
}

.result-label {
  font-weight: 600;
  margin-bottom: 4px;
}

.result-time {
  font-size: 13px;
  margin-bottom: 2px;
}

.result-at {
  font-size: 12px;
  opacity: 0.85;
}

.return-time-group {
  margin-top: 4px;
}

.return-label {
  font-size: 13px;
  margin-bottom: 4px;
  opacity: 0.9;
}

.return-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.return-sub {
  font-size: 11px;
  opacity: 0.8;
  margin-bottom: 2px;
}

.yen-layout {
  display: flex;
  gap: 20px;
}

.yen-card {
  flex: 1;
  padding: 18px 18px 20px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,220,80,0.18), rgba(25,20,10,0.9));
  box-shadow: 0 0 24px rgba(0,0,0,0.45);
  min-height: 360px;
}

.yen-main h3,
.yen-modifiers h3 {
  margin-bottom: 8px;
  font-family: 'Poppins';
}

.mod-label {
  font-size: 13px;
  margin-top: 6px;
  margin-bottom: 4px;
  display: block;
}

.select-wrapper {
  position: relative;
  margin-bottom: 8px;
}

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 32px;
}

.select-arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: rgba(255,255,255,0.7);
  font-size: 11px;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0;
  font-size: 14px;
}

/* Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255,255,255,0.25);
  transition: 0.2s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #0e0e1a;
  transition: 0.2s;
  border-radius: 50%;
}

.switch input:checked + .slider {
  background-color: #00ffa8;
}

.switch input:checked + .slider:before {
  transform: translateX(18px);
}

@media (max-width: 900px) {
  .calc-wrapper {
    flex-direction: column;
  }

  .stat-row {
    flex-direction: column;
    justify-content: center;
    gap: 20px;
  }

  .yen-layout {
    flex-direction: column;
  }
}
.community-section {
  max-width: 900px;
  width: 100%;
  margin: 0 auto 60px;
  padding: 0 16px;
}

.community-header-card {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 0 20px rgba(15, 23, 42, 0.8);
  padding: 28px;
  text-align: center;
  margin-bottom: 25px;
  transition: 0.25s ease;
}

.community-header-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.25);
}

.community-title {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.community-subtitle {
  font-size: 15px;
  color: var(--muted);
}

.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  align-items: start;
}

.status-card,
.widget-card {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 0 20px rgba(15, 23, 42, 0.8);
  padding: 28px;
  transition: 0.25s ease;
}

.status-card:hover,
.widget-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.25);
}

.status-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.status-subtext {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.status-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.green {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
}

.status-dot.yellow {
  background: #eab308;
  box-shadow: 0 0 8px rgba(234, 179, 8, 0.7);
}

.status-dot.red {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.7);
}

.status-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.status-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.status-label {
  font-size: 12px;
  font-weight: 500;
}

.status-label.online {
  color: #86efac;
}

.status-label.idle {
  color: #fde047;
}

.status-label.offline {
  color: #fca5a5;
}

.discord-widget {
  border-radius: 12px;
  display: block;
}

@media (max-width: 660px) {
  .community-grid {
    grid-template-columns: 1fr;
  }
}
