/* ===== LURA - Professional Design System v2 ===== */

/* ===== SPLASH / LOADING SCREEN ===== */
#splash {
  position: fixed; inset: 0; z-index: 9999;
  background: #09090b;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s cubic-bezier(0.22,1,0.36,1);
}
#splash.hide {
  opacity: 0; pointer-events: none;
}
.splash-inner {
  text-align: center;
  animation: splashFadeIn 0.6s cubic-bezier(0.22,1,0.36,1);
}
@keyframes splashFadeIn {
  from { opacity: 0; transform: scale(0.95) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.splash-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  border: 2px solid rgba(124,92,252,0.4);
  margin: 0 auto 16px;
  animation: splashPulse 2s ease-in-out infinite;
}
@keyframes splashPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124,92,252,0.3); }
  50% { box-shadow: 0 0 20px 4px rgba(124,92,252,0.15); }
}
.splash-name {
  font-family: 'Inter', sans-serif;
  font-size: 24px; font-weight: 900; letter-spacing: 6px;
  color: white; margin-bottom: 20px;
}
.splash-loader {
  width: 160px; height: 3px; background: #1e1e24;
  border-radius: 2px; margin: 0 auto 12px;
  overflow: hidden;
}
.splash-bar {
  height: 100%; width: 30%; background: #7c5cfc;
  border-radius: 2px;
  animation: splashProgress 1.2s ease-in-out infinite;
}
@keyframes splashProgress {
  0% { transform: translateX(-100%); width: 30%; }
  50% { width: 60%; }
  100% { transform: translateX(540%); width: 30%; }
}
.splash-text {
  font-size: 12px; color: #5c5c6f; letter-spacing: 1px;
}

/* Refreshed color scheme - warm tones, not AI-like */
:root {
  --primary: #7c5cfc;
  --primary-light: #a78bfa;
  --primary-dark: #5b3fd4;
  --accent: #f472b6;
  --accent2: #fb923c;
  --bg-dark: #09090b;
  --bg-card: #111113;
  --bg-card-hover: #18181b;
  --bg-elevated: #0c0c0e;
  --border: #1e1e24;
  --border-light: #2a2a33;
  --text-primary: #e8e8ec;
  --text-secondary: #a0a0b0;
  --text-muted: #5c5c6f;
  --success: #34d399;
  --danger: #f87171;
  --warning: #fbbf24;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: rgba(124,92,252,0.35); color: #fff; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #222230; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ===== SMOOTH PAGE TRANSITIONS ===== */
#app {
  animation: pageIn 0.5s var(--ease-out);
}
@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== NAV ===== */
.nav-main {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(9,9,11,0.5);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid transparent;
  transition: all 0.5s var(--ease-out);
}
.nav-main.scrolled {
  background: rgba(9,9,11,0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 32px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  height: 56px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: white;
}
.nav-logo img {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid rgba(124,92,252,0.4);
}
.nav-logo span {
  font-size: 17px; font-weight: 800; letter-spacing: 4px;
  background: linear-gradient(135deg, #fff, var(--primary-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex; align-items: center; gap: 1px;
}
.nav-links a {
  color: var(--text-muted); text-decoration: none;
  padding: 6px 11px; border-radius: var(--radius-sm);
  font-size: 12.5px; font-weight: 500;
  transition: all 0.25s var(--ease-out);
  position: relative;
}
.nav-links a:hover { color: var(--text-primary); background: rgba(124,92,252,0.08); }
.nav-links a.active { color: white; background: rgba(124,92,252,0.15); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 26px; height: 18px; position: relative; padding: 0;
}
.nav-toggle span {
  display: block; width: 100%; height: 2px; background: white;
  position: absolute; left: 0; transition: all 0.35s var(--ease-out);
  border-radius: 1px;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 8px; }
.nav-toggle span:nth-child(3) { top: 16px; }
.nav-toggle.open span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links {
    display: none; position: fixed; top: 56px; left: 0; right: 0; bottom: 0;
    background: rgba(9,9,11,0.98); backdrop-filter: blur(20px);
    flex-direction: column; padding: 16px; gap: 2px; z-index: 999;
    overflow-y: auto;
  }
  .nav-links.open { display: flex; animation: navSlideIn 0.35s var(--ease-out); }
  .nav-links a { padding: 14px 20px; font-size: 15px; border-radius: var(--radius); }
  .nav-toggle { display: block; }
}
@keyframes navSlideIn {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; position: relative; overflow: hidden;
}
.hero-bg-video {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg-video video {
  width: 100%; height: 100%; object-fit: cover;
  filter: blur(1px) brightness(0.2) saturate(1.2);
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 35%, rgba(124,92,252,0.08) 0%, transparent 70%),
    linear-gradient(to bottom, rgba(9,9,11,0.2) 0%, rgba(9,9,11,0.85) 100%);
}
.hero-content {
  position: relative; z-index: 2; text-align: center; padding: 0 24px;
  animation: heroContentIn 1s var(--ease-out) 0.2s both;
}
@keyframes heroContentIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-avatar {
  width: 120px; height: 120px; border-radius: 50%;
  border: 2px solid rgba(124,92,252,0.4);
  box-shadow: 0 0 50px rgba(124,92,252,0.15), 0 0 100px rgba(124,92,252,0.05);
  margin: 0 auto 24px; object-fit: cover;
  animation: heroAvatarFloat 8s ease-in-out infinite;
}
@keyframes heroAvatarFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.01); }
}
.hero-name {
  font-size: clamp(44px, 8vw, 82px); font-weight: 900;
  letter-spacing: 12px; line-height: 1; margin-bottom: 12px;
  color: white;
}
.hero-tagline {
  font-size: clamp(11px, 1.4vw, 15px);
  color: var(--primary-light);
  letter-spacing: 6px; font-weight: 600; margin-bottom: 8px;
  text-transform: uppercase;
}
.hero-subtitle {
  font-size: clamp(11px, 1.1vw, 13px);
  color: var(--text-muted); letter-spacing: 3px; margin-bottom: 32px;
}
.hero-socials {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin-bottom: 36px;
}
.hero-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--radius);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  color: var(--text-secondary); font-size: 17px;
  transition: all 0.35s var(--ease-out); text-decoration: none;
}
.hero-socials a:hover {
  background: var(--primary); border-color: var(--primary);
  color: white; transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(124,92,252,0.3);
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: white;
  padding: 11px 28px; border-radius: var(--radius);
  text-decoration: none; font-weight: 600; font-size: 13px;
  letter-spacing: 1px; transition: all 0.35s var(--ease-out);
}
.hero-cta:hover {
  background: var(--primary-dark);
  box-shadow: 0 8px 28px rgba(124,92,252,0.3);
  transform: translateY(-2px);
}
.hero-cta i { font-size: 11px; transition: transform 0.3s var(--ease-out); }
.hero-cta:hover i { transform: translateX(3px); }
.hero-scroll {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%); animation: heroScrollBounce 3s ease-in-out infinite;
  color: var(--text-muted); font-size: 18px; opacity: 0.6;
}
@keyframes heroScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

/* ===== SECTIONS ===== */
.content-section {
  padding: 72px 20px; max-width: 1200px; margin: 0 auto;
}
.page-content {
  padding: 88px 20px 56px; max-width: 1200px; margin: 0 auto;
}
.section-header { margin-bottom: 28px; }
.section-tag {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--primary-light); margin-bottom: 6px;
}
.section-header h2 {
  font-size: clamp(22px, 3.2vw, 32px); font-weight: 800; letter-spacing: 0.5px;
}
.section-header h2 span { color: var(--primary-light); }
.page-desc { color: var(--text-secondary); margin-bottom: 20px; font-size: 14px; line-height: 1.7; }

/* ===== REVEAL ANIMATION (slower) ===== */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== ABOUT PREVIEW ===== */
.about-preview {
  display: flex; gap: 28px; align-items: center;
}
.about-preview-img {
  width: 130px; height: 130px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); flex-shrink: 0;
  object-fit: cover;
}
.about-preview-text p {
  font-size: 14.5px; line-height: 1.85; color: var(--text-secondary); margin-bottom: 14px;
}
.about-preview-text strong { color: white; }

.tag-list { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  padding: 5px 14px; border-radius: 6px; font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.3px;
}
.tag-indigo { background: rgba(124,92,252,0.1); color: var(--primary-light); }
.tag-purple { background: rgba(244,114,182,0.1); color: var(--accent); }
.tag-green { background: rgba(52,211,153,0.1); color: var(--success); }

@media (max-width: 640px) {
  .about-preview { flex-direction: column; text-align: center; }
  .about-preview-img { width: 100px; height: 100px; margin: 0 auto; }
  .tag-list { justify-content: center; }
}

/* ===== GAME CARDS ===== */
.games-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px;
}
.game-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all 0.4s var(--ease-out); position: relative;
}
.game-card:hover {
  border-color: var(--border-light); transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.game-card-accent { height: 3px; width: 100%; }
.game-card-body { padding: 18px; }
.game-card-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;
}
.game-card-header h3 { font-size: 16px; font-weight: 700; }
.game-badge {
  font-size: 10px; font-weight: 600; padding: 3px 10px;
  border-radius: 4px; border: 1px solid; letter-spacing: 0.3px;
}
.game-card-body p { color: var(--text-muted); font-size: 12.5px; line-height: 1.55; }

.games-detail-list { display: flex; flex-direction: column; gap: 14px; }
.game-detail-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; display: flex;
  transition: all 0.4s var(--ease-out);
}
.game-detail-card:hover {
  border-color: var(--border-light);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.game-detail-accent { width: 4px; flex-shrink: 0; }
.game-detail-content { padding: 22px; flex: 1; }
.game-detail-content h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.game-detail-content p { color: var(--text-secondary); font-size: 13.5px; line-height: 1.7; margin-bottom: 12px; }
.game-detail-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.game-detail-tags span {
  padding: 4px 10px; border-radius: 4px; font-size: 11.5px; font-weight: 500;
  border: 1px solid;
}

@media (max-width: 640px) {
  .game-detail-card { flex-direction: column; }
  .game-detail-accent { width: 100%; height: 3px; }
}

/* ===== SNS ===== */
.sns-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px;
}
.sns-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 16px;
  text-decoration: none; color: var(--text-primary);
  transition: all 0.35s var(--ease-out);
}
.sns-card:hover {
  border-color: var(--border-light); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.sns-icon { font-size: 20px; width: 22px; text-align: center; flex-shrink: 0; }
.sns-info strong { display: block; font-size: 13px; }
.sns-info span { font-size: 11px; color: var(--text-muted); }

/* ===== CUSTOM VIDEO PLAYER ===== */
.custom-player {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow 0.4s;
}
.custom-player:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.player-video-wrap { position: relative; background: #000; aspect-ratio: 16/9; }
.player-video-wrap video { width: 100%; height: 100%; object-fit: contain; display: block; }
.player-overlay {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; background: rgba(0,0,0,0.35);
  cursor: pointer; transition: opacity 0.4s var(--ease-out);
}
.player-overlay.hide { opacity: 0; pointer-events: none; }
.player-big-play {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(124,92,252,0.9); display: flex;
  align-items: center; justify-content: center;
  font-size: 20px; color: white;
  transition: all 0.3s var(--ease-spring);
  box-shadow: 0 4px 20px rgba(124,92,252,0.4);
}
.player-big-play:hover { transform: scale(1.08); }
.player-controls {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px; background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}
.player-btn {
  background: none; border: none; color: var(--text-secondary);
  cursor: pointer; font-size: 13px; padding: 4px;
  transition: color 0.2s;
}
.player-btn:hover { color: white; }
.player-progress { flex: 1; }
.player-progress-bar {
  height: 4px; background: var(--border); border-radius: 2px;
  cursor: pointer; position: relative; transition: height 0.15s;
}
.player-progress-bar:hover { height: 6px; }
.player-progress-fill {
  height: 100%; background: var(--primary); border-radius: 2px;
  width: 0%; transition: width 0.15s linear;
  position: relative;
}
.player-progress-fill::after {
  content: ''; position: absolute; right: -4px; top: 50%;
  transform: translateY(-50%); width: 10px; height: 10px;
  background: var(--primary); border-radius: 50%;
  opacity: 0; transition: opacity 0.15s;
}
.player-progress-bar:hover .player-progress-fill::after { opacity: 1; }
.player-time { font-size: 11px; color: var(--text-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.player-info { padding: 14px 18px; }
.player-info h3 { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.player-info p { font-size: 12.5px; color: var(--text-muted); }

.custom-player:fullscreen { background: #000; }
.custom-player:fullscreen .player-video-wrap { aspect-ratio: auto; height: calc(100vh - 48px); }
.custom-player:fullscreen .player-video-wrap video { height: 100%; object-fit: contain; }

/* ===== DISCORD-STYLE CHAT ===== */
.discord-chat {
  display: flex; height: 100vh; padding-top: 56px;
}
.dc-sidebar {
  width: 240px; background: #1a1a1e; border-right: 1px solid #26262c;
  padding: 16px; display: none; flex-direction: column;
}
.dc-channel-header { font-weight: 700; font-size: 14px; color: #fff; margin-bottom: 3px; display: flex; align-items: center; gap: 6px; }
.dc-channel-info { font-size: 11.5px; color: #72727e; }
.dc-main { flex: 1; display: flex; flex-direction: column; background: #2b2b30; }
.dc-header {
  height: 46px; padding: 0 16px; display: flex; align-items: center;
  gap: 8px; border-bottom: 1px solid #1a1a1e; flex-shrink: 0;
  background: rgba(43,43,48,0.95);
  backdrop-filter: blur(12px);
}
.dc-hash { color: #72727e; font-size: 18px; }
.dc-header-name { font-weight: 700; font-size: 14px; color: #fff; }
.dc-header-topic { font-size: 11.5px; color: #72727e; margin-left: 10px; }
.dc-messages {
  flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column;
  scroll-behavior: smooth;
}
.dc-welcome {
  text-align: center; padding: 20px 0 28px;
}
.dc-welcome-icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: white; margin: 0 auto 10px;
}
.dc-welcome h2 { font-size: 24px; font-weight: 800; margin-bottom: 3px; }
.dc-welcome p { color: #72727e; font-size: 13px; }

/* Chat message - SLOWER animation for bubbles */
.dc-message {
  display: flex; gap: 12px; padding: 6px 4px;
  margin-bottom: 1px; border-radius: 6px;
  transition: background 0.15s;
}
.dc-message:hover { background: rgba(0,0,0,0.08); }

/* Slower entrance animation for new messages */
.dc-msg-new {
  animation: dcMsgSlowIn 0.6s var(--ease-out);
}
@keyframes dcMsgSlowIn {
  0% { opacity: 0; transform: translateY(10px); }
  60% { opacity: 0.7; }
  100% { opacity: 1; transform: translateY(0); }
}

.dc-msg-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  object-fit: cover;
}
.dc-msg-avatar-letter {
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; color: white;
}
.dc-msg-body { flex: 1; min-width: 0; }
.dc-msg-header { display: flex; align-items: baseline; gap: 8px; margin-bottom: 2px; }
.dc-msg-name { font-weight: 600; font-size: 13.5px; }
.dc-msg-time { font-size: 10.5px; color: #72727e; }
.dc-msg-text {
  font-size: 13.5px; line-height: 1.5; color: #d8d8de;
  word-break: break-word; white-space: pre-wrap;
  /* Slower line-break rendering via animation */
  animation: msgTextReveal 0.5s var(--ease-out);
}
@keyframes msgTextReveal {
  from { opacity: 0.3; }
  to { opacity: 1; }
}
.dc-empty { text-align: center; color: #72727e; padding: 20px; font-size: 13px; }

.dc-input-area {
  padding: 0 14px 16px; flex-shrink: 0;
}
.dc-input-row {
  display: flex; align-items: center; gap: 8px;
  background: #353538; border-radius: 8px; padding: 3px 8px;
  transition: background 0.2s;
}
.dc-input-row:focus-within { background: #3a3a3e; }
.dc-avatar-upload {
  width: 34px; height: 34px; border-radius: 50%;
  background: #26262c; display: flex; align-items: center;
  justify-content: center; cursor: pointer; flex-shrink: 0;
  overflow: hidden; border: 2px solid transparent;
  transition: all 0.25s var(--ease-out);
}
.dc-avatar-upload:hover { border-color: var(--primary); background: #2e2e34; }
.dc-avatar-upload img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.dc-avatar-upload i { color: #72727e; font-size: 13px; }
.dc-nick-input {
  background: transparent; border: none; color: #fff;
  font-size: 13px; width: 90px; padding: 8px 4px;
  outline: none; font-family: var(--font);
}
.dc-nick-input::placeholder { color: #50505a; }
.dc-msg-input-wrap {
  flex: 1; display: flex; align-items: center;
  border-left: 1px solid rgba(78,80,88,0.5); padding-left: 8px;
}
.dc-msg-input-wrap input {
  flex: 1; background: transparent; border: none;
  color: #d8d8de; font-size: 13px; padding: 8px 4px;
  outline: none; font-family: var(--font);
}
.dc-msg-input-wrap input::placeholder { color: #50505a; }
.dc-send-btn {
  background: none; border: none; color: var(--primary);
  cursor: pointer; font-size: 15px; padding: 6px 8px;
  transition: all 0.2s;
}
.dc-send-btn:hover { color: var(--primary-light); transform: scale(1.1); }
.dc-send-btn:disabled { color: #3a3a42; cursor: default; transform: none; }

@media (min-width: 900px) {
  .dc-sidebar { display: flex; }
}
@media (max-width: 640px) {
  .dc-nick-input { width: 64px; font-size: 12px; }
  .dc-msg-input-wrap input { font-size: 12px; }
  .dc-msg-avatar { width: 32px; height: 32px; }
  .dc-msg-name { font-size: 12.5px; }
  .dc-msg-text { font-size: 12.5px; }
}

/* ===== GUESTBOOK / FAN VOICE (enlarged) ===== */
.guestbook-form {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; margin-bottom: 28px;
}
.guestbook-form h3 { font-size: 17px; font-weight: 700; margin-bottom: 3px; }
.form-hint { font-size: 11.5px; color: var(--text-muted); margin-bottom: 18px; }
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block; font-size: 11px; font-weight: 600;
  color: var(--text-secondary); margin-bottom: 5px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.form-group input, .form-group textarea {
  width: 100%; background: var(--bg-dark); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 11px 14px; color: white;
  font-size: 14px; font-family: var(--font); outline: none;
  transition: border-color 0.25s var(--ease-out);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(124,92,252,0.1); }
.form-group textarea { resize: vertical; min-height: 100px; }

.guestbook-list { display: flex; flex-direction: column; gap: 14px; }
.guestbook-entry {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 28px;
  transition: all 0.35s var(--ease-out);
}
.guestbook-entry:hover { border-color: var(--border-light); box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.guestbook-entry-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.guestbook-name {
  font-weight: 700; font-size: 16px;
  display: flex; align-items: center; gap: 8px;
}
.guestbook-name::before {
  content: ''; display: inline-block; width: 28px; height: 28px;
  border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent));
  flex-shrink: 0;
}
.guestbook-time { font-size: 11px; color: var(--text-muted); }
.guestbook-entry p {
  color: var(--text-secondary); font-size: 15px; line-height: 1.8;
  padding-left: 36px;
}

@media (max-width: 640px) {
  .guestbook-entry { padding: 18px 20px; }
  .guestbook-entry p { padding-left: 0; font-size: 14px; }
  .guestbook-name { font-size: 14.5px; }
}

/* ===== NEWS ===== */
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 22px;
  transition: all 0.35s var(--ease-out);
}
.news-item:hover { border-color: var(--border-light); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.news-item-meta {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.news-pin { color: var(--warning); font-size: 11px; }
.news-cat { font-size: 10px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.news-time { font-size: 10.5px; color: var(--text-muted); }
.news-item h3 { font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.news-item p { color: var(--text-secondary); font-size: 13.5px; line-height: 1.65; }

/* ===== PROFILE ===== */
.about-hero-section {
  display: flex; align-items: center; gap: 28px; margin-bottom: 36px;
}
.about-avatar {
  width: 150px; height: 150px; border-radius: 20px;
  border: 2px solid var(--border); flex-shrink: 0;
  transition: transform 0.4s var(--ease-out);
}
.about-avatar:hover { transform: scale(1.03); }
.about-name { font-size: clamp(26px, 3.5vw, 36px); font-weight: 900; margin-bottom: 10px; }
.about-name span { color: var(--primary-light); }
.about-bio-short { color: var(--text-secondary); font-size: 14px; line-height: 1.85; }

@media (max-width: 640px) {
  .about-hero-section { flex-direction: column; text-align: center; gap: 20px; }
  .about-avatar { width: 110px; height: 110px; margin: 0 auto; }
}

.profile-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px; margin-bottom: 36px;
}
.profile-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 18px;
  transition: all 0.3s var(--ease-out);
}
.profile-card:hover { border-color: var(--border-light); transform: translateY(-2px); }
.profile-card-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(124,92,252,0.08); color: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}
.profile-card-label { display: block; font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.profile-card-value { display: block; font-weight: 600; font-size: 14px; }

.card-block {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px; margin-bottom: 36px;
}
.card-block h3 { font-weight: 700; margin-bottom: 14px; }
.bio-text p { color: var(--text-secondary); font-size: 14px; line-height: 1.85; margin-bottom: 10px; }
.bio-text p:last-child { margin-bottom: 0; }
.bio-text strong { color: white; }

/* ===== SKILLS ===== */
.skills-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-bottom: 36px;
}
.skill-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 18px;
}
.skill-header { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 13px; }
.skill-header span:first-child { font-weight: 600; }
.skill-header span:last-child { color: var(--primary-light); font-weight: 700; }
.skill-bar { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.skill-fill {
  height: 100%; width: var(--w); background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px; transition: width 1.5s var(--ease-out);
}

/* ===== TIMELINE ===== */
.timeline { position: relative; padding-left: 24px; }
.timeline::before {
  content: ''; position: absolute; left: 5px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--primary), var(--border));
}
.timeline-item { position: relative; margin-bottom: 24px; padding-left: 28px; }
.timeline-dot {
  position: absolute; left: -23px; top: 6px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--primary); border: 2px solid var(--bg-dark);
  box-shadow: 0 0 8px rgba(124,92,252,0.3);
}
.timeline-date { font-size: 11px; font-weight: 700; color: var(--primary-light); letter-spacing: 1px; }
.timeline-content h4 { font-weight: 700; margin: 4px 0 2px; font-size: 14px; }
.timeline-content p { color: var(--text-muted); font-size: 12.5px; }

/* ===== LINKS PAGE ===== */
.links-hero {
  text-align: center; margin-bottom: 28px;
}
.links-hero img {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 10px;
  border: 2px solid var(--primary);
  box-shadow: 0 0 24px rgba(124,92,252,0.2);
}
.links-hero h1 { font-size: 22px; font-weight: 900; }
.links-hero p { color: var(--text-muted); font-size: 12px; }
.links-list { display: flex; flex-direction: column; gap: 8px; }
.link-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 18px;
  text-decoration: none; color: white; font-weight: 600; font-size: 14px;
  transition: all 0.3s var(--ease-out);
}
.link-item:hover { border-color: var(--border-light); transform: translateX(4px); }
.link-item i:first-child { font-size: 18px; width: 22px; text-align: center; }
.link-arrow { margin-left: auto; color: var(--text-muted); font-size: 11px; transition: transform 0.2s; }
.link-item:hover .link-arrow { transform: translateX(3px); }

/* ===== SETUP ===== */
.setup-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px;
}
.setup-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 18px;
  transition: all 0.3s var(--ease-out);
}
.setup-item:hover { border-color: var(--border-light); transform: translateY(-2px); }
.setup-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(124,92,252,0.08); color: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}
.setup-label { display: block; font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.setup-value { display: block; font-weight: 600; font-size: 14px; }

.facts-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px;
}
.fact-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 18px;
  font-size: 13px; color: var(--text-secondary);
  transition: all 0.3s var(--ease-out);
  display: flex; align-items: center; gap: 10px;
}
.fact-item:hover { border-color: var(--border-light); }
.fact-item::before {
  content: '\f005'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  font-size: 10px; color: var(--accent2); flex-shrink: 0;
}

/* ===== YT GRID ===== */
.yt-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px;
}
.yt-card {
  display: flex; gap: 12px; padding: 14px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); text-decoration: none; color: inherit;
  transition: all 0.3s var(--ease-out);
}
.yt-card:hover { border-color: var(--border-light); transform: translateY(-2px); }
.yt-card-icon { color: #ef4444; font-size: 16px; flex-shrink: 0; padding-top: 2px; }
.yt-card-text h4 { font-size: 13px; font-weight: 600; line-height: 1.4; margin-bottom: 3px; }
.yt-card-text span { font-size: 11px; color: var(--text-muted); }

/* ===== AVATAR GALLERY ===== */
.avatar-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.avatar-gallery-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all 0.35s var(--ease-out);
}
.avatar-gallery-item:hover { border-color: var(--border-light); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.avatar-gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.avatar-gallery-item span { display: block; padding: 10px 14px; font-size: 12px; font-weight: 600; }

/* ===== PLAYLIST ===== */
.playlist-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px;
}
.playlist-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px; text-align: center;
  text-decoration: none; color: inherit; transition: all 0.3s var(--ease-out);
}
.playlist-card:hover { border-color: var(--border-light); transform: translateY(-2px); }
.playlist-card i { font-size: 22px; color: var(--primary-light); display: block; margin-bottom: 8px; }
.playlist-card span { font-size: 12px; font-weight: 600; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-card); border-top: 1px solid var(--border);
  padding: 44px 20px; margin-top: 56px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-brand img { width: 26px; height: 26px; border-radius: 50%; }
.footer-brand span { font-weight: 800; font-size: 15px; letter-spacing: 2px; }
.footer-desc { color: var(--text-muted); font-size: 12px; line-height: 1.65; }
.footer-col h4 {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-secondary);
  margin-bottom: 10px;
}
.footer-col a {
  display: block; color: var(--text-muted); text-decoration: none;
  font-size: 12px; padding: 3px 0; transition: color 0.2s;
}
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
  max-width: 1200px; margin: 20px auto 0;
  padding-top: 18px; border-top: 1px solid var(--border);
  text-align: center; color: var(--text-muted); font-size: 11px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--primary); border: none; color: white;
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 13px; cursor: pointer;
  transition: all 0.25s var(--ease-out); font-family: var(--font);
}
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 4px 16px rgba(124,92,252,0.25); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-danger {
  background: var(--danger); border: none; color: white;
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 13px; cursor: pointer;
  transition: all 0.2s; font-family: var(--font);
}
.btn-danger:hover { background: #ef4444; }
.btn-ghost {
  background: var(--bg-dark); border: 1px solid var(--border); color: var(--text-secondary);
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 13px; cursor: pointer;
  transition: all 0.2s; font-family: var(--font);
}
.btn-ghost:hover { border-color: var(--border-light); color: white; }
.btn-danger-sm, .btn-success-sm {
  padding: 5px 10px; border-radius: 6px; border: none;
  font-size: 11px; cursor: pointer; transition: all 0.2s;
  font-family: var(--font); font-weight: 600;
}
.btn-danger-sm { background: var(--danger); color: white; }
.btn-success-sm { background: var(--success); color: white; }
.btn-danger-sm:hover, .btn-success-sm:hover { opacity: 0.85; transform: translateY(-1px); }

.text-link { color: var(--primary-light); text-decoration: none; font-weight: 600; font-size: 13px; transition: all 0.2s; display: inline-flex; align-items: center; gap: 6px; }
.text-link:hover { color: white; }
.text-link i { font-size: 10px; transition: transform 0.2s; }
.text-link:hover i { transform: translateX(3px); }

/* ===== TOAST (with "pon" notification style) ===== */
.toast-msg {
  position: fixed; bottom: 20px; right: 20px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 11px 18px;
  font-size: 13px; z-index: 9999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  transform: translateY(16px) scale(0.96); opacity: 0;
  transition: all 0.4s var(--ease-spring);
  display: flex; align-items: center; gap: 8px;
}
.toast-msg.show { transform: translateY(0) scale(1); opacity: 1; }
.toast-msg.success { border-color: var(--success); }
.toast-msg.error { border-color: var(--danger); }
.toast-msg.info { border-color: var(--primary); }

/* New message notification badge */
.chat-notification {
  position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--primary); color: white; padding: 8px 20px;
  border-radius: 20px; font-size: 13px; font-weight: 600;
  cursor: pointer; z-index: 100; opacity: 0;
  transition: all 0.4s var(--ease-spring);
  box-shadow: 0 4px 16px rgba(124,92,252,0.4);
}
.chat-notification.show {
  opacity: 1; transform: translateX(-50%) translateY(0);
}
.chat-notification:hover { background: var(--primary-dark); }

/* ===== POPUP (first-time visitor) ===== */
.popup-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.65);
  display: flex; align-items: center; justify-content: center;
  z-index: 2000; opacity: 0; transition: opacity 0.35s var(--ease-out);
  backdrop-filter: blur(4px);
}
.popup-overlay.show { opacity: 1; }
.popup-modal {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); max-width: 400px; width: 90%;
  overflow: hidden;
  transform: scale(0.92) translateY(10px);
  transition: transform 0.4s var(--ease-spring);
}
.popup-overlay.show .popup-modal { transform: scale(1) translateY(0); }
.popup-header {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 22px; border-bottom: 1px solid var(--border);
}
.popup-header img { width: 32px; height: 32px; border-radius: 50%; }
.popup-header h3 { font-weight: 700; font-size: 15px; flex: 1; }
.popup-close {
  background: none; border: none; color: var(--text-muted);
  font-size: 20px; cursor: pointer; padding: 0; line-height: 1;
  transition: color 0.2s;
}
.popup-close:hover { color: white; }
.popup-body { padding: 18px 22px; }
.popup-body h4 { font-weight: 700; margin-bottom: 6px; font-size: 15px; }
.popup-body p { color: var(--text-secondary); font-size: 13.5px; line-height: 1.75; }
.popup-ok {
  margin: 0 22px 18px; width: calc(100% - 44px);
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.65);
  display: flex; align-items: center; justify-content: center;
  z-index: 2000; opacity: 0; transition: opacity 0.25s;
  backdrop-filter: blur(4px);
}
.modal-overlay.show { opacity: 1; }
.modal-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); max-width: 480px; width: 90%; padding: 26px;
  transform: scale(0.92); transition: transform 0.3s var(--ease-spring);
}
.modal-overlay.show .modal-box { transform: scale(1); }
.modal-box h3 { font-weight: 700; margin-bottom: 18px; font-size: 16px; }
.modal-body { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.modal-input, .modal-textarea, .modal-select {
  background: var(--bg-dark); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 14px;
  color: white; font-size: 13px; width: 100%;
  outline: none; font-family: var(--font); transition: border-color 0.2s;
}
.modal-input:focus, .modal-textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(124,92,252,0.1); }
.modal-textarea { min-height: 80px; resize: vertical; }
.modal-check {
  display: flex; align-items: center; gap: 8px; font-size: 13px;
  cursor: pointer; color: var(--text-secondary);
}
.modal-check input { accent-color: var(--primary); width: 15px; height: 15px; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; }

/* ===== ADMIN ===== */
.admin-login-page {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; padding: 24px;
}
.admin-login-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 36px; max-width: 360px;
  width: 100%; text-align: center;
}
.admin-login-card img { width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 14px; display: block; }
.admin-login-card h2 { font-weight: 800; margin-bottom: 22px; font-size: 20px; }
.admin-login-fields { display: flex; flex-direction: column; gap: 10px; }
.admin-login-fields input {
  background: var(--bg-dark); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 11px 14px;
  color: white; font-size: 13px; outline: none; font-family: var(--font);
  transition: border-color 0.2s;
}
.admin-login-fields input:focus { border-color: var(--primary); }
.login-error { color: var(--danger); font-size: 12px; margin-top: 10px; }

.admin-layout { display: flex; min-height: 100vh; padding-top: 56px; }
.admin-sidebar {
  width: 210px; background: var(--bg-card); border-right: 1px solid var(--border);
  position: fixed; top: 56px; bottom: 0; overflow-y: auto; padding: 14px 8px;
}
.admin-sidebar-header {
  font-weight: 700; font-size: 11px; padding: 8px 12px; margin-bottom: 6px;
  color: var(--text-muted); letter-spacing: 1.5px; text-transform: uppercase;
}
.admin-sidebar a {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 12px; border-radius: var(--radius-sm);
  color: var(--text-secondary); text-decoration: none;
  font-size: 12.5px; font-weight: 500; transition: all 0.2s; margin-bottom: 1px;
}
.admin-sidebar a i { width: 14px; text-align: center; font-size: 11px; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(124,92,252,0.1); color: white; }
.admin-sidebar-divider { height: 1px; background: var(--border); margin: 8px 12px; }
.admin-logout-btn { color: var(--danger) !important; }

.admin-content { flex: 1; margin-left: 210px; padding: 22px; }
.admin-title { font-weight: 800; font-size: 20px; margin-bottom: 18px; }
.admin-header-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }

.admin-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px; margin-bottom: 22px;
}
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px;
  transition: border-color 0.2s;
}
.stat-card:hover { border-color: var(--border-light); }
.stat-val { font-size: 24px; font-weight: 800; margin-bottom: 2px; }
.stat-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

.admin-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 768px) { .admin-grid-2 { grid-template-columns: 1fr; } }

.admin-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px;
}
.admin-card h3 { font-weight: 700; font-size: 13px; margin-bottom: 10px; }
.admin-row {
  display: flex; justify-content: space-between; padding: 5px 0;
  border-bottom: 1px solid var(--border); font-size: 12px;
}
.admin-row span:first-child { color: var(--text-secondary); }
.admin-row span:last-child { font-weight: 600; }

.mini-chart { display: flex; align-items: flex-end; gap: 2px; height: 72px; }
.mini-bar {
  flex: 1; background: linear-gradient(to top, var(--primary), var(--primary-light));
  border-radius: 2px 2px 0 0; min-height: 2px;
  transition: height 0.5s var(--ease-out);
}

.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  text-align: left; padding: 9px 10px; font-size: 9.5px;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--text-muted); border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 9px 10px; font-size: 12px; border-bottom: 1px solid var(--border);
}
.admin-table tr:hover td { background: rgba(124,92,252,0.03); }
.td-small { font-size: 11px; color: var(--text-muted); }
.td-mono { font-family: 'SF Mono', monospace; font-size: 10px; color: var(--text-muted); }
.td-clamp { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.td-actions { display: flex; gap: 4px; }

.admin-gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px;
}
.admin-gallery-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.admin-gallery-info {
  padding: 8px 10px; display: flex; justify-content: space-between; align-items: center;
}
.admin-gallery-info span { font-size: 12px; font-weight: 600; }

.settings-row {
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.settings-row label {
  font-size: 12px; font-weight: 600; min-width: 100px;
}

.admin-mobile-tabs { display: none; }

@media (max-width: 768px) {
  .admin-sidebar { display: none; }
  .admin-content { margin-left: 0; padding: 16px; }
  .admin-mobile-tabs {
    display: flex !important; overflow-x: auto; gap: 6px;
    padding: 10px 0; margin-bottom: 14px;
    -webkit-overflow-scrolling: touch;
  }
  .admin-mobile-tabs::-webkit-scrollbar { display: none; }
  .admin-mobile-tabs a {
    white-space: nowrap; padding: 6px 12px; border-radius: 6px;
    color: var(--text-secondary); text-decoration: none; font-size: 11px;
    background: var(--bg-card); border: 1px solid var(--border);
    flex-shrink: 0;
  }
  .admin-mobile-tabs a.active { background: var(--primary); color: white; border-color: var(--primary); }
  .settings-row { flex-direction: column; align-items: stretch; }
  .settings-row label { min-width: auto; }
}

/* ===== UTILITY ===== */
.loading-text { text-align: center; color: var(--text-muted); padding: 36px; font-size: 13px; }
.empty-state { text-align: center; color: var(--text-muted); padding: 28px; font-size: 13px; }
.empty-text { color: var(--text-muted); font-size: 12px; }
.error-text { color: var(--danger); font-size: 13px; }

/* ===== GLOBAL RESPONSIVE POLISHING ===== */
@media (max-width: 640px) {
  .content-section { padding: 48px 16px; }
  .page-content { padding: 72px 16px 40px; }
  .hero-avatar { width: 90px; height: 90px; }
  .hero-socials { gap: 8px; }
  .hero-socials a { width: 38px; height: 38px; font-size: 15px; }
  .hero-cta { padding: 10px 22px; font-size: 12px; }
  .games-grid { grid-template-columns: 1fr; }
  .sns-grid { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr; }
  .setup-grid { grid-template-columns: 1fr; }
  .yt-grid { grid-template-columns: 1fr; }
  .avatar-gallery { grid-template-columns: repeat(2, 1fr); }
  .playlist-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .site-footer { padding: 32px 16px; }
  .guestbook-form { padding: 20px; }
  .news-item { padding: 16px 18px; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 380px) {
  .nav-logo span { font-size: 15px; letter-spacing: 3px; }
  .hero-name { letter-spacing: 6px; }
  .section-header h2 { font-size: 20px; }
}

@media (min-width: 1400px) {
  .content-section, .page-content { max-width: 1300px; }
}
