/* ============================================
   m01.cz — Neon Cyber Dark Mode v2
   Barvy: #310C43 (bg), #FED000 (accent), #8CFF4C (secondary)
   Fonty: Special Gothic Expanded One (nadpisy), Outfit 300 (obsah)
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --bg-primary: #310C43;
  --bg-surface: #421560;
  --bg-surface-hover: #52207a;
  --bg-card: rgba(66, 21, 96, 0.6);
  --accent: #FED000;
  --accent-dim: rgba(254, 208, 0, 0.15);
  --secondary: #8CFF4C;
  --secondary-dim: rgba(140, 255, 76, 0.15);
  --text-primary: #f0f0f0;
  --text-secondary: #b8a0d0;
  --border: #4a1d6b;
  --border-glow: rgba(254, 208, 0, 0.3);
  --font-heading: 'Special Gothic Expanded One', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --corner-pad: 24px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-primary);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--secondary);
}

.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent {
  color: var(--accent);
}

/* ============================================
   4 CORNERS — Fixed layout
   ============================================ */
.corner {
  position: fixed;
  z-index: 1000;
  transition: var(--transition);
}

/* Top Left — Logo */
.corner--tl {
  top: var(--corner-pad);
  left: var(--corner-pad);
}

.corner-logo {
  font-family: var(--font-heading);
  font-size: 1.82rem;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  position: relative;
  text-shadow:
    0 0 15px rgba(254, 208, 0, 0.3),
    0 0 40px rgba(254, 208, 0, 0.1);
  animation: neon-pulse 3s ease-in-out infinite;
}
.corner-logo:hover {
  color: var(--text-primary);
}
.corner-logo .accent {
  color: var(--accent);
  text-shadow: 0 0 12px rgba(254, 208, 0, 0.6);
}

/* Glitch on logo */
.corner-logo.glitch::before,
.corner-logo.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  pointer-events: none;
}
.corner-logo.glitch::before {
  color: var(--accent);
  z-index: -1;
  animation: glitch-1 5s infinite linear alternate-reverse;
}
.corner-logo.glitch::after {
  color: var(--secondary);
  z-index: -2;
  animation: glitch-2 4s infinite linear alternate-reverse;
}

@keyframes glitch-1 {
  0%, 94%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
  95% { clip-path: inset(20% 0 60% 0); transform: translate(-3px, -1px); }
  96% { clip-path: inset(50% 0 30% 0); transform: translate(3px, 1px); }
  97% { clip-path: inset(80% 0 5% 0); transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
  0%, 92%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
  93% { clip-path: inset(40% 0 40% 0); transform: translate(2px, 1px); }
  94% { clip-path: inset(15% 0 65% 0); transform: translate(-3px, 1px); }
  95% { clip-path: inset(60% 0 20% 0); transform: translate(-2px, -2px); }
}

@keyframes neon-pulse {
  0%, 100% { text-shadow: 0 0 15px rgba(254, 208, 0, 0.3), 0 0 40px rgba(254, 208, 0, 0.1); }
  50% { text-shadow: 0 0 25px rgba(254, 208, 0, 0.5), 0 0 60px rgba(254, 208, 0, 0.2), 0 0 100px rgba(254, 208, 0, 0.05); }
}

/* Top Right — Nav */
.corner--tr {
  top: var(--corner-pad);
  right: var(--corner-pad);
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 0;
}

.nav-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  list-style: none;
  gap: 2px;
}

.nav-link {
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-align: right;
}
.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  background: var(--accent-dim);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Bottom Left — QR */
.corner--bl {
  bottom: var(--corner-pad);
  left: var(--corner-pad);
}

.qr-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.6;
  transition: var(--transition);
  cursor: pointer;
}
.qr-wrapper:hover {
  opacity: 1;
  transform: scale(1.08);
}
.qr-img {
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.qr-wrapper:hover .qr-img {
  filter: drop-shadow(0 0 12px rgba(254, 208, 0, 0.4));
  border-color: var(--accent);
}

.qr-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Bottom Right — Heart */
.corner--br {
  bottom: var(--corner-pad);
  right: var(--corner-pad);
}

.corner-heart {
  opacity: 0.6;
  transition: var(--transition);
  filter: drop-shadow(0 0 8px rgba(121, 42, 154, 0.3));
  cursor: pointer;
}
.corner-heart:hover {
  opacity: 1;
  transform: scale(1.15);
  filter: drop-shadow(0 0 20px rgba(254, 195, 0, 0.5));
}

/* ============================================
   MAIN CONTENT — Scrollable center
   ============================================ */
.main-content {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 80px 0;
  position: relative;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 12px;
  text-shadow: 0 0 20px rgba(254, 208, 0, 0.2);
  letter-spacing: 1px;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  margin-top: 12px;
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(254, 208, 0, 0.4);
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 48px;
  max-width: 600px;
}

/* ---------- BIO ---------- */
.bio-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}

/* iOS-style avatar */
.avatar-ios {
  position: relative;
  width: 120px;
  height: 120px;
}

.avatar-img {
  width: 120px;
  height: 120px;
  border-radius: 26%;
  object-fit: cover;
  border: 2px solid var(--accent);
  box-shadow: 0 0 25px rgba(254, 208, 0, 0.2);
  transition: var(--transition);
}
.avatar-img:hover {
  box-shadow: 0 0 40px rgba(254, 208, 0, 0.35);
  transform: scale(1.03);
}

/* Notification badge */
.notification-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 28px;
  height: 28px;
  background: #FF3B30;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  animation: badge-pulse 2s ease-in-out infinite;
  z-index: 2;
}
.notification-badge:hover {
  transform: scale(1.2);
  background: #FF2D20;
  box-shadow: 0 0 15px rgba(255, 59, 48, 0.5);
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(255, 59, 48, 0); }
}

.bio-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1rem;
}

/* Bio roles line */
.bio-roles {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.9;
  margin-bottom: 20px !important;
}
.bio-roles .dot {
  display: inline-block;
  margin: 0 6px;
  color: var(--accent);
  opacity: 0.5;
}

/* ---------- CARDS GRID ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.cards-grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  position: relative;
}

.card-link-wrap {
  display: block;
  color: inherit;
  text-decoration: none;
  position: relative;
}
.card-link-wrap:hover {
  color: inherit;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, var(--accent) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(254, 208, 0, 0.1);
  border-color: var(--accent);
}
.card:hover::before {
  opacity: 1;
}

/* Student cards — secondary glow */
.card--student:hover {
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(140, 255, 76, 0.1);
  border-color: var(--secondary);
}
.card--student:hover::before {
  background: linear-gradient(135deg, transparent 40%, var(--secondary) 100%);
}

/* Coming soon card */
.card--coming-soon {
  opacity: 0.45;
  filter: grayscale(0.6);
  pointer-events: none;
  position: relative;
}

.card-overlay-soon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(49, 12, 67, 0.6);
  backdrop-filter: blur(2px);
  z-index: 5;
  pointer-events: none;
}
.card-overlay-soon span {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(254, 208, 0, 0.4);
}

.card-image {
  height: 180px;
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.card:hover .card-img {
  transform: scale(1.05);
}

.card-image-placeholder {
  color: var(--text-secondary);
  opacity: 0.5;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.card:hover .card-image-placeholder {
  color: var(--accent);
  opacity: 1;
  transform: scale(1.15);
}
.card--student:hover .card-image-placeholder {
  color: var(--secondary);
}

.card-body {
  padding: 20px;
}

.card-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.card-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 14px;
  line-height: 1.6;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.tag-sm {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(254, 208, 0, 0.08);
  color: var(--accent);
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.card--student .tag-sm {
  background: rgba(140, 255, 76, 0.08);
  color: var(--secondary);
}

.card-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--accent);
  transition: var(--transition);
}
.card:hover .card-link {
  transform: translateX(4px);
}

.card--student .card-link {
  color: var(--secondary);
}
.card--student .card-link:hover {
  color: var(--accent);
}

/* ---------- SOCIALS ---------- */
.section--socials {
  text-align: center;
}

.section--socials .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

.socials-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-weight: 300;
  font-size: 0.9rem;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  min-width: 130px;
}

.social-card:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(254, 208, 0, 0.15);
}

.social-card svg {
  transition: var(--transition);
}
.social-card:hover svg {
  transform: scale(1.15);
}

/* Brand colors on hover */
.social-card--fb:hover {
  color: #1877F2;
  border-color: #1877F2;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(24, 119, 242, 0.2);
}
.social-card--fb:hover svg {
  filter: drop-shadow(0 0 8px rgba(24, 119, 242, 0.6));
}

.social-card--ig:hover {
  color: #E4405F;
  border-color: #E4405F;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(228, 64, 95, 0.2);
}
.social-card--ig:hover svg {
  filter: drop-shadow(0 0 8px rgba(228, 64, 95, 0.6));
}

.social-card--li:hover {
  color: #0A66C2;
  border-color: #0A66C2;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(10, 102, 194, 0.2);
}
.social-card--li:hover svg {
  filter: drop-shadow(0 0 8px rgba(10, 102, 194, 0.6));
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 32px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ============================================
   CHAT OVERLAY
   ============================================ */
.chat-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.chat-overlay.open {
  opacity: 1;
  visibility: visible;
}

.chat-window {
  width: 380px;
  max-width: 92vw;
  max-height: 80vh;
  background: var(--bg-surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(254, 208, 0, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s ease;
}
.chat-overlay.open .chat-window {
  transform: translateY(0) scale(1);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(49, 12, 67, 0.9);
  border-bottom: 1px solid var(--border);
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 26%;
  object-fit: cover;
  border: 1px solid var(--accent);
}

.chat-header-info strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text-primary);
  display: block;
}

.chat-status {
  font-size: 0.72rem;
  color: var(--secondary);
  font-weight: 300;
}

.chat-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: var(--transition);
  line-height: 1;
}
.chat-close:hover {
  color: var(--accent);
  background: var(--accent-dim);
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.chat-date {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-secondary);
  padding: 4px 12px;
  background: rgba(66, 21, 96, 0.5);
  border-radius: 10px;
  align-self: center;
  margin-bottom: 6px;
}

.chat-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px);
  animation: msg-appear 0.4s ease forwards;
  position: relative;
}

.chat-msg .msg-time {
  display: block;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
  text-align: right;
}

/* m01's messages (left) */
.chat-msg--m01 {
  align-self: flex-start;
  background: var(--accent);
  color: #1a0a2e;
  border-bottom-left-radius: 4px;
}
.chat-msg--m01 .msg-time {
  color: rgba(26, 10, 46, 0.5);
}

/* Visitor's messages (right) */
.chat-msg--visitor {
  align-self: flex-end;
  background: #5a2080;
  color: var(--text-primary);
  border-bottom-right-radius: 4px;
}

@keyframes msg-appear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* stagger delays set via JS inline style */

/* ============================================
   DECORATIVE VERTICAL TEXT
   ============================================ */
.deco-text {
  position: fixed;
  z-index: 10;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--text-secondary);
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  writing-mode: vertical-rl;
}

.deco-text--left {
  left: var(--corner-pad);
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  text-shadow: 0 0 20px rgba(254, 208, 0, 0.15);
}

.deco-text--right {
  right: var(--corner-pad);
  top: 50%;
  transform: translateY(-50%);
  text-shadow: 0 0 20px rgba(140, 255, 76, 0.15);
}

/* ============================================
   LÁSKA OVERLAY
   ============================================ */
.love-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(49, 12, 67, 0.85);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.love-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.love-text {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 22vw, 16rem);
  font-weight: 400;
  letter-spacing: 8px;
  background: linear-gradient(135deg, #792A9A 0%, #FEC300 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease;
}

.love-overlay.active .love-text {
  transform: scale(1);
  opacity: 1;
}

.love-overlay.dissolving .love-text {
  transform: scale(1.3);
  opacity: 0;
  filter: blur(20px);
  transition: transform 1s ease, opacity 1s ease, filter 1s ease;
}

/* ---------- ANIMATIONS (Scroll Reveal) ---------- */
.anim-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

.cards-grid.visible .card:nth-child(1) { transition-delay: 0s; }
.cards-grid.visible .card:nth-child(2) { transition-delay: 0.15s; }
.cards-grid.visible .card:nth-child(3) { transition-delay: 0.3s; }
.cards-grid.visible .card:nth-child(4) { transition-delay: 0.45s; }

.cards-grid .card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.cards-grid.visible .card {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  :root {
    --corner-pad: 16px;
  }

  .corner-logo {
    font-size: 1.4rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 280px;
    height: 100vh;
    background: rgba(49, 12, 67, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 80px 28px 28px;
    gap: 4px;
    transition: right 0.4s ease;
    border-left: 1px solid var(--border);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .bio-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

  .bio-avatar {
    display: flex;
    justify-content: center;
  }

  .bio-tags {
    justify-content: center;
  }

  .cards-grid,
  .cards-grid--4 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }

  .socials-grid {
    gap: 12px;
  }

  .social-card {
    padding: 20px 24px;
    min-width: 110px;
  }

  .corner--bl {
    display: none;
  }

  .corner--br {
    display: none;
  }

  .deco-text {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .corner-logo {
    font-size: 1.2rem;
  }

  .avatar-ios,
  .avatar-img {
    width: 100px;
    height: 100px;
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .corner-logo.glitch::before,
  .corner-logo.glitch::after {
    animation: none;
  }
  .corner-logo {
    animation: none;
  }
  .anim-fade {
    opacity: 1;
    transform: none;
  }
  .notification-badge {
    animation: none;
  }
  .chat-msg {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .love-text {
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}
