@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg-deep: #F0F4FA;
  --bg-surface: rgba(255, 255, 255, 0.78);
  --bg-surface-solid: #FFFFFF;
  --accent-cyan: #0EA5E9;
  --accent-gold: #D97706;
  --accent-red: #E11D48;
  --accent-green: #059669;
  --text-primary: #0B1121;
  --text-secondary: #334155;
  --text-muted: #94A3B8;
  --glass-border: rgba(0, 0, 0, 0.07);
  --glass-hover: rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --card-1: #0EA5E9;
  --card-2: #8B5CF6;
  --card-3: #D97706;
  --card-4: #059669;
  --card-5: #E11D48;
  --card-6: #6366F1;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent-cyan); color: #FFFFFF; }

:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============ BACKGROUND IMAGE ============ */

#bgImage {
  position: fixed; inset: 0; z-index: 0;
  background: url('../image/background.png') center/cover no-repeat;
  pointer-events: none;
}

#bgImage::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(240,244,250,0.4) 0%, rgba(255,255,255,0) 60%);
}

/* ============ BLUR OVERLAY + QR MODAL ============ */

.blur-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
              backdrop-filter 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.blur-overlay.closing {
  opacity: 0;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  pointer-events: none;
}

.blur-overlay.hidden { display: none; }

.qr-modal {
  text-align: center;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2.5rem 1.75rem;
  max-width: 400px;
  width: 90%;
  box-shadow:
    0 0 1px rgba(14, 165, 233, 0.15),
    0 0 60px rgba(14, 165, 233, 0.04),
    var(--shadow-lg);
}

@keyframes modalEnter {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.qr-modal {
  animation: modalEnter 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.qr-modal .qr-modal-icon {
  margin-bottom: 0.85rem;
  opacity: 0.5;
}

.qr-modal h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.qr-modal p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(0.8rem, 1.8vw, 0.9rem);
  color: var(--text-muted);
  margin-bottom: 1.35rem;
  line-height: 1.5;
}

.qr-code-wrapper {
  display: inline-block;
  padding: 0.65rem;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: 0 0 40px rgba(14, 165, 233, 0.08);
}

.qr-code-wrapper canvas,
.qr-code-wrapper img {
  display: block;
  width: 160px; height: 160px;
}

@keyframes qrGlow {
  0%, 100% { box-shadow: 0 0 30px rgba(14, 165, 233, 0.06); }
  50% { box-shadow: 0 0 50px rgba(14, 165, 233, 0.14); }
}

.qr-modal .qr-code-wrapper {
  animation: qrGlow 3s ease-in-out infinite;
}

.qr-session-id {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-muted);
  margin-top: 0.65rem;
  opacity: 0.35;
}

.qr-loading {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.qr-loading .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-cyan);
  animation: dotPulse 1.4s ease-in-out infinite;
}
.qr-loading .dot:nth-child(2) { animation-delay: 0.2s; }
.qr-loading .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
  0%, 80%, 100% { opacity: 0.2; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}

/* ============ ADMIN LOGIN MODAL ============ */

.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-overlay.active { display: flex; }

.modal-box {
  background: #FFFFFF;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: 90%;
  max-width: 380px;
  box-shadow: var(--shadow-lg);
}

.modal-box h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.modal-box .form-group { margin-bottom: 1rem; }

.modal-box label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.modal-box input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  min-height: 44px;
  background: #F8FAFC;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition);
}

.modal-box input:focus {
  border-color: var(--accent-cyan);
  outline: none;
}

.modal-box .btn {
  width: 100%;
  min-height: 44px;
  padding: 0.7rem;
  margin-top: 0.5rem;
  background: var(--accent-cyan);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: opacity var(--transition);
  margin-top: 0.75rem;
}

.modal-box .btn:hover { opacity: 0.85; }
.modal-box .btn:active { transform: scale(0.98); }

.modal-error {
  color: var(--accent-red);
  font-size: 0.8rem;
  margin-top: 0.5rem;
  display: none;
}

/* ============ MAIN LAYOUT ============ */

.main-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 0;
  min-height: 100vh;
  min-height: 100dvh;
}

@keyframes contentFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.main-content {
  animation: contentFadeIn 0.6s ease-out both;
}

/* ============ SCROLL REVEAL ============ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============ TOP BAR ============ */

.top-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 0.5rem 0 1.5rem;
}

.top-bar .greeting {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  color: var(--accent-cyan);
  letter-spacing: -0.01em;
  animation: greetingSlide 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

@keyframes greetingSlide {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}

.top-bar .admin-gear {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 1.1rem;
  text-decoration: none;
}

.top-bar .admin-gear.visible { display: flex; }

.top-bar .admin-gear:hover {
  background: var(--glass-hover);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

/* ============ NARASI BOX ============ */

.narasi-box {
  background: #FFFFFF;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--accent-cyan);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  margin-bottom: 1.5rem;
}

.narasi-box p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.95rem, 2.5vw, 1.25rem);
  color: var(--text-primary);
  line-height: 1.55;
  letter-spacing: -0.01em;
}

/* ============ KELOMPOK PILLS ============ */

.kelompok-section { margin-bottom: 1.5rem; }

.kelompok-section .section-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.kelompok-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.kelompok-pill {
  padding: 0.55rem 1.35rem;
  min-height: 44px;
  background: #FFFFFF;
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.kelompok-pill:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(14, 165, 233, 0.04);
}

.kelompok-pill:active {
  transform: scale(0.96);
}

.kelompok-pill.active {
  background: var(--accent-cyan);
  color: #FFFFFF;
  border-color: var(--accent-cyan);
  font-weight: 600;
}

/* ============ WEBSITE CARDS ============ */

.website-section {
  margin-bottom: 1.5rem;
  display: none;
}

.website-section.visible { display: block; }

.website-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.website-section-header h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent-gold);
  letter-spacing: -0.01em;
}

.website-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.4rem 0.25rem 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.website-scroll::-webkit-scrollbar { height: 4px; }
.website-scroll::-webkit-scrollbar-track { background: transparent; }
.website-scroll::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 4px;
}

@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.website-card {
  flex: 0 0 280px;
  max-width: 280px;
  background: #FFFFFF;
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  scroll-snap-align: start;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  animation: cardFadeIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  cursor: pointer;
  position: relative;
  border-top: 3px solid var(--glass-border);
}

.website-card:nth-child(2) { animation-delay: 0.06s; }
.website-card:nth-child(3) { animation-delay: 0.12s; }
.website-card:nth-child(4) { animation-delay: 0.18s; }
.website-card:nth-child(5) { animation-delay: 0.24s; }

.website-card:hover {
  border-color: rgba(0, 0, 0, 0.02);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.website-card .card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.website-card .card-studi {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.website-card .card-narasi {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  background: rgba(0, 0, 0, 0.03);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem;
}

.website-card .card-data {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.website-card .card-data a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.65rem;
  min-height: 32px;
  background: rgba(14, 165, 233, 0.06);
  border: 1px solid rgba(14, 165, 233, 0.15);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-cyan);
  text-decoration: none;
  transition: all var(--transition);
}

.website-card .card-data a:hover {
  background: rgba(14, 165, 233, 0.14);
  border-color: rgba(14, 165, 233, 0.3);
}

.website-card.accent-1 { border-top-color: var(--card-1); }
.website-card.accent-2 { border-top-color: var(--card-2); }
.website-card.accent-3 { border-top-color: var(--card-3); }
.website-card.accent-4 { border-top-color: var(--card-4); }
.website-card.accent-5 { border-top-color: var(--card-5); }
.website-card.accent-6 { border-top-color: var(--card-6); }

.website-card.accent-1:hover { box-shadow: 0 16px 48px rgba(14, 165, 233, 0.1); }
.website-card.accent-2:hover { box-shadow: 0 16px 48px rgba(139, 92, 246, 0.1); }
.website-card.accent-3:hover { box-shadow: 0 16px 48px rgba(217, 119, 6, 0.1); }
.website-card.accent-4:hover { box-shadow: 0 16px 48px rgba(5, 150, 105, 0.1); }
.website-card.accent-5:hover { box-shadow: 0 16px 48px rgba(225, 29, 72, 0.1); }
.website-card.accent-6:hover { box-shadow: 0 16px 48px rgba(99, 102, 241, 0.1); }

/* ============ STATS SECTION ============ */

.stats-section { margin-bottom: 1.5rem; }

.stats-section .section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.stats-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.stats-chart-box {
  background: #FFFFFF;
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1rem 1rem 0.75rem;
}

.stats-chart-box h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.stats-chart-box canvas {
  max-height: 200px;
  max-width: 100%;
}

.stats-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.stat-item {
  background: #FFFFFF;
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.65rem;
  text-align: center;
}

.stat-item .stat-value {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--accent-cyan);
  line-height: 1.2;
}

.stat-item .stat-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.15rem;
  line-height: 1.3;
}

/* ============ DISKUSI SECTION ============ */

.diskusi-section { margin-bottom: 1.5rem; }

.diskusi-section .section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.visitor-toggle-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  min-height: 44px;
  background: #FFFFFF;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: 0.75rem;
}

.visitor-toggle-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(14,165,233,0.03);
}

.visitor-toggle-btn:active {
  transform: scale(0.995);
}

.visitor-toggle-btn svg {
  flex-shrink: 0;
}

.visitor-box {
  background: #FFFFFF;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  display: none;
}

.visitor-box.open {
  display: block;
}

.visitor-header {
  padding: 0.65rem 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--glass-border);
}

.visitor-list {
  max-height: 300px;
  overflow-y: auto;
}

.visitor-list::-webkit-scrollbar { width: 4px; }
.visitor-list::-webkit-scrollbar-track { background: transparent; }
.visitor-list::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 4px;
}

.visitor-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1rem;
  transition: background var(--transition);
}

.visitor-item:hover {
  background: rgba(0,0,0,0.03);
}

.visitor-item .vi-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  flex-shrink: 0;
}

.visitor-item .vi-info {
  flex: 1;
  min-width: 0;
}

.visitor-item .vi-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.vs-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94A3B8;
  flex-shrink: 0;
}
.vs-dot.active {
  background: #10B981;
  animation: blink-active 1.4s ease-in-out infinite;
}

@keyframes blink-active {
  0%, 100% { opacity: 1; box-shadow: 0 0 4px rgba(16, 185, 129, 0.4); }
  50% { opacity: 0.3; box-shadow: 0 0 8px rgba(16, 185, 129, 0.8); }
}

.visitor-item .vi-meta {
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.visitor-empty {
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.visitor-loading {
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.diskusi-box {
  background: #FFFFFF;
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.diskusi-messages {
  max-height: 320px;
  overflow-y: auto;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.diskusi-messages::-webkit-scrollbar { width: 4px; }
.diskusi-messages::-webkit-scrollbar-track { background: transparent; }
.diskusi-messages::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 4px;
}

.diskusi-msg {
  padding: 0.65rem 0.85rem;
  background: rgba(0, 0, 0, 0.02);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--glass-border);
}

.diskusi-msg.admin-msg {
  border-left-color: var(--accent-gold);
  background: rgba(217, 119, 6, 0.04);
}

.diskusi-msg .msg-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.2rem;
}

.diskusi-msg .msg-name {
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--accent-cyan);
}

.diskusi-msg .msg-time {
  font-size: 0.6rem;
  color: var(--text-muted);
}

.diskusi-msg .msg-text {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.diskusi-input-area {
  display: flex;
  gap: 0.5rem;
}

.diskusi-input-area input {
  flex: 1;
  padding: 0.6rem 0.85rem;
  min-height: 44px;
  background: #F8FAFC;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: border-color var(--transition);
}

.diskusi-input-area input:focus {
  border-color: var(--accent-cyan);
  outline: none;
}

.diskusi-input-area button {
  padding: 0.6rem 1.25rem;
  min-height: 44px;
  background: var(--accent-cyan);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: opacity var(--transition);
  white-space: nowrap;
}

.diskusi-input-area button:hover { opacity: 0.85; }
.diskusi-input-area button:active { transform: scale(0.97); }

/* ============ ABOUT SECTION ============ */

.about-section { margin-bottom: 1.5rem; }

.about-section .section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.about-card {
  background: #FFFFFF;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all var(--transition);
}

.about-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.about-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  transition: transform var(--transition);
}

.about-card:hover .about-avatar {
  transform: scale(1.1);
}

.about-role {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.about-name {
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.4;
}

.about-contact {
  background: #FFFFFF;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.about-contact:hover {
  border-color: rgba(14,165,233,0.2);
  box-shadow: 0 4px 16px rgba(14,165,233,0.06);
}

.about-contact svg {
  flex-shrink: 0;
  color: var(--accent-cyan);
}

.about-contact a {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 500;
  transition: opacity var(--transition);
}

.about-contact a:hover { opacity: 0.8; }

/* ============ FOOTER ============ */

.site-footer {
  text-align: center;
  padding: 0 0 2rem;
}

.footer-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  margin: 0 auto 1rem;
  border-radius: 2px;
}

.footer-text {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ============ RESPONSIVE ============ */

@media (min-width: 901px) {
  .website-card {
    flex: 0 0 300px;
    max-width: 300px;
  }
}

@media (max-width: 900px) {
  .stats-numbers {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .main-content { padding: 1rem 0.75rem 0; }

  .qr-modal { padding: 1.5rem; }
  .qr-code-wrapper canvas,
  .qr-code-wrapper img { width: 130px; height: 130px; }
  .qr-modal h1 { font-size: 1.1rem; }

  .stats-charts { grid-template-columns: 1fr; }

  .website-card {
    flex: 0 0 250px;
    max-width: 250px;
  }

  .narasi-box { padding: 1rem 1.25rem; }

  .stats-numbers {
    grid-template-columns: repeat(2, 1fr);
  }

  .diskusi-input-area { flex-direction: column; }

  .about-grid { grid-template-columns: 1fr; }

  .modal-box { padding: 1.5rem; }

  .kelompok-pill {
    font-size: 0.8rem;
    padding: 0.5rem 1.1rem;
  }
}

@media (max-width: 480px) {
  .website-card {
    flex: 0 0 230px;
    max-width: 230px;
  }

  .qr-code-wrapper canvas,
  .qr-code-wrapper img { width: 110px; height: 110px; }
  .qr-modal { padding: 1.25rem; }
}

@media (max-width: 375px) {
  .stats-numbers { grid-template-columns: repeat(2, 1fr); gap: 0.35rem; }
  .stat-item { padding: 0.5rem 0.4rem; }
  .stat-item .stat-value { font-size: 1rem; }
  .website-card { flex: 0 0 210px; max-width: 210px; }
}

/* ============ REDUCED MOTION ============ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .blur-overlay { transition: opacity 0.3s ease-out; }
  .qr-modal { animation: none; }
  .website-card { animation: none; }
  .main-content { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
