/* ============ CSS Variables & Reset ============ */
:root {
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-shadow: rgba(0, 0, 0, 0.3);
  --glass-highlight: rgba(255, 255, 255, 0.12);
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-tertiary: #6e6e73;
  --accent: #0071e3;
  --accent-glow: rgba(0, 113, 227, 0.4);
  --red-live: #ff3b30;
  --green: #34c759;
  --orange: #ff9500;
  --purple: #af52de;
  --teal: #5ac8fa;
  --pink: #ff2d55;
  --yellow: #ffcc00;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #000;
  color: var(--text-primary);
  cursor: none;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ============ Animated Background ============ */
.bg-animation {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  animation: orbFloat 20s ease-in-out infinite;
}
.bg-orb:nth-child(1) { width: 600px; height: 600px; background: radial-gradient(circle, #0071e3, transparent 70%); top: -200px; left: -100px; animation-delay: 0s; }
.bg-orb:nth-child(2) { width: 500px; height: 500px; background: radial-gradient(circle, #af52de, transparent 70%); top: 50%; right: -200px; animation-delay: -5s; }
.bg-orb:nth-child(3) { width: 450px; height: 450px; background: radial-gradient(circle, #ff2d55, transparent 70%); bottom: -150px; left: 30%; animation-delay: -10s; }
.bg-orb:nth-child(4) { width: 400px; height: 400px; background: radial-gradient(circle, #5ac8fa, transparent 70%); top: 30%; left: 50%; animation-delay: -15s; }

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, -30px) scale(1.1); }
  50% { transform: translate(-30px, 20px) scale(0.9); }
  75% { transform: translate(-20px, -40px) scale(1.05); }
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* ============ Mouse Glow Trail ============ */
.mouse-glow {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.15) 0%, rgba(175, 82, 222, 0.08) 30%, rgba(255, 45, 85, 0.04) 60%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: left 0.05s linear, top 0.05s linear;
  will-change: left, top;
}

/* ============ Custom Cursor ============ */
.custom-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
  transition: left 0.03s linear, top 0.03s linear;
  will-change: left, top;
}
.cursor-live-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cursor-live-icon.active { opacity: 1; }
.cursor-live-dot {
  width: 16px;
  height: 16px;
  background: var(--red-live);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 16px var(--red-live), 0 0 32px var(--red-live), 0 0 48px rgba(255, 59, 48, 0.6);
  animation: livePulse 1.2s ease-in-out infinite;
}
.cursor-live-ring {
  position: absolute;
  inset: 2px;
  border: 2px solid rgba(255, 59, 48, 0.4);
  border-radius: 50%;
  animation: liveRing 2s ease-in-out infinite;
}
.cursor-live-ring:nth-child(2) { animation-delay: 0.6s; }
.cursor-live-ring:nth-child(3) { animation-delay: 1.2s; }
.cursor-live-label {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 700;
  color: var(--red-live);
  letter-spacing: 1px;
  white-space: nowrap;
  text-shadow: 0 0 8px var(--red-live);
}

/* Idle cursor: small blue breathing dot */
.cursor-idle-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}
.cursor-idle-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent), 0 0 40px rgba(0, 113, 227, 0.5);
  animation: idleBreath 2s ease-in-out infinite;
}
.cursor-idle-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(0, 113, 227, 0.3);
  border-radius: 50%;
  animation: idleRing 3s ease-in-out infinite;
}
.cursor-idle-ring:nth-child(2) { animation-delay: 1s; }

/* Hover cursor: yellow breathing dot over links */
.cursor-hover-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.cursor-hover-icon.active { opacity: 1; }
.cursor-hover-dot {
  width: 12px;
  height: 12px;
  background: var(--yellow);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px var(--yellow), 0 0 28px var(--yellow), 0 0 52px rgba(255, 204, 0, 0.6);
  animation: hoverBreath 1.5s ease-in-out infinite;
}
.cursor-hover-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border: 1.5px solid rgba(255, 204, 0, 0.3);
  border-radius: 50%;
  animation: hoverRing 2.5s ease-in-out infinite;
}
.cursor-hover-ring:nth-child(2) { animation-delay: 0.8s; }

/* Click burst ripple */
.cursor-click-burst {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 204, 0, 0.5);
  pointer-events: none;
  opacity: 0;
  z-index: 0;
}
.cursor-click-burst.fire {
  animation: clickBurst 0.8s ease-out forwards;
}

@keyframes livePulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.6; }
}
@keyframes liveRing {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}
@keyframes idleBreath {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  50% { transform: translate(-50%, -50%) scale(1.8); opacity: 1; }
}
@keyframes idleRing {
  0% { transform: translate(-50%, -50%) scale(0.6); opacity: 0.5; border-width: 1.5px; }
  50% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; border-width: 0px; }
  100% { transform: translate(-50%, -50%) scale(0.6); opacity: 0.5; border-width: 1.5px; }
}
@keyframes hoverBreath {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  50% { transform: translate(-50%, -50%) scale(2); opacity: 1; }
}
@keyframes hoverRing {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.4; border-width: 1.5px; }
  50% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; border-width: 0px; }
  100% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.4; border-width: 1.5px; }
}
@keyframes clickBurst {
  0% { width: 0; height: 0; opacity: 1; }
  100% { width: 100px; height: 100px; opacity: 0; }
}

/* ============ Main Layout ============ */
.page-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* ============ Glass Card Base ============ */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: 0 8px 32px var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1.2);
}
.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ============ Language Switcher ============ */
.lang-switcher {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 5000;
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  padding: 5px 6px;
}
.lang-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.2);
  position: relative;
  outline: none;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.lang-btn::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(0, 113, 227, 0.3);
  opacity: 0;
  animation: langGlow 2.5s ease-in-out infinite;
}
.lang-btn:hover::after,
.lang-btn.active::after {
  opacity: 1;
}
.lang-btn:hover {
  background: rgba(0, 113, 227, 0.2);
  color: var(--text-primary);
  transform: scale(1.1);
}
.lang-btn.active {
  background: rgba(0, 113, 227, 0.25);
  color: #fff;
  box-shadow: 0 0 12px rgba(0, 113, 227, 0.4);
}
@keyframes langGlow {
  0%, 100% { transform: scale(0.85); opacity: 0.3; border-color: rgba(0, 113, 227, 0.15); }
  50% { transform: scale(1.15); opacity: 1; border-color: rgba(0, 113, 227, 0.7); }
}

/* ============ Bellows Animation ============ */
@keyframes bellows {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.015); }
}
.bellows-anim {
  animation: bellows 4s ease-in-out infinite;
}
.bellows-anim-delay-1 { animation-delay: 0.5s; }
.bellows-anim-delay-2 { animation-delay: 1s; }
.bellows-anim-delay-3 { animation-delay: 1.5s; }
.bellows-anim-delay-4 { animation-delay: 2s; }

/* ============ Hero Section ============ */
.hero {
  text-align: center;
  padding: 60px 20px 40px;
  margin-bottom: 30px;
}
.hero-avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
}
.hero-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0071e3, #af52de, #ff2d55);
  padding: 3px;
}
.hero-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(20, 20, 22, 0.9);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.hero-status {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid #000;
  box-shadow: 0 0 12px rgba(52, 199, 89, 0.5);
}
.hero-title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #f5f5f7 0%, #a1a1a6 50%, #f5f5f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 24px;
}
.hero-tags {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-tag {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  color: var(--text-secondary);
  transition: all 0.3s;
}
.hero-tag:hover {
  border-color: var(--accent);
  color: var(--text-primary);
  background: rgba(0, 113, 227, 0.15);
}

/* ============ Section Titles ============ */
.section-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title::before {
  content: '';
  width: 4px;
  height: 28px;
  border-radius: 2px;
  background: var(--accent);
}

/* ============ Skills Grid ============ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.skill-card {
  padding: 28px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.skill-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.03) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}
.skill-card:hover::before { opacity: 1; }
.skill-icon {
  font-size: 36px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.skill-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.skill-desc {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}
.skill-bar {
  margin-top: 14px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.skill-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 1.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.skill-bar-fill.blue { background: var(--accent); }
.skill-bar-fill.purple { background: var(--purple); }
.skill-bar-fill.red { background: var(--pink); }
.skill-bar-fill.teal { background: var(--teal); }
.skill-bar-fill.orange { background: var(--orange); }
.skill-bar-fill.green { background: var(--green); }

/* ============ Platform Ecosystem ============ */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.platform-card {
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.platform-logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}
.platform-logo.douyin { background: linear-gradient(135deg, #000, #1a1a1a); }
.platform-logo.kuaishou { background: linear-gradient(135deg, #ff4906, #ff8c00); }
.platform-logo.bilibili { background: linear-gradient(135deg, #fb7299, #fc8bab); }
.platform-logo.xiaohongshu { background: linear-gradient(135deg, #fe2c55, #ff6b81); }
.platform-logo.wechat { background: linear-gradient(135deg, #07c160, #06ad56); }
.platform-logo.obs { background: linear-gradient(135deg, #2d2d2d, #4a4a4a); }
.platform-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.platform-info .platform-stats {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 6px;
}
.platform-info p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.platform-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.platform-tag {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-tertiary);
}

/* ============ Contact & QR ============ */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.contact-card {
  padding: 32px;
}
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s;
}
.contact-item:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}
.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-icon.wechat { background: rgba(7, 193, 96, 0.2); }
.contact-icon.email { background: rgba(0, 113, 227, 0.2); }
.contact-icon.phone { background: rgba(52, 199, 89, 0.2); }
.contact-icon.qq { background: rgba(94, 180, 255, 0.2); }
.contact-icon.bilibili { background: rgba(251, 114, 153, 0.2); }
.contact-icon.douyin { background: rgba(255, 255, 255, 0.1); }
.contact-text h5 { font-size: 14px; font-weight: 600; }
.contact-text span { font-size: 13px; color: var(--text-secondary); }

.qr-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  justify-items: center;
}
.qr-card {
  padding: 16px;
  text-align: center;
}
.qr-glow-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 12px;
}
.qr-code {
  width: 160px;
  height: 160px;
  margin: 10px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.qr-code img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}
.qr-breath-ring {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 2px solid rgba(0, 113, 227, 0.4);
  z-index: 1;
  animation: qrBreath 2.5s ease-in-out infinite;
}
.qr-breath-ring:nth-child(2) { animation-delay: 0.8s; }
.qr-breath-ring:nth-child(3) { animation-delay: 1.6s; }

@keyframes qrBreath {
  0%, 100% { transform: scale(0.92); opacity: 0.3; border-color: rgba(0, 113, 227, 0.2); }
  50% { transform: scale(1.06); opacity: 1; border-color: rgba(0, 113, 227, 0.8); }
}
.qr-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ============ Stats Bar ============ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.stat-card {
  padding: 24px;
  text-align: center;
}
.stat-number {
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ============ Footer ============ */
.footer {
  text-align: center;
  padding: 40px 0 20px;
  color: var(--text-tertiary);
  font-size: 13px;
}
.footer a {
  color: var(--accent);
  text-decoration: none;
}
.footer-clock {
  font-size: 13px;
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
  font-family: "SF Mono", "Menlo", "Consolas", "PingFang SC", monospace;
  letter-spacing: 1px;
}
.footer-clock .sec-pulse {
  display: inline-block;
  animation: secBlink 1s step-end infinite;
}
@keyframes secBlink {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ============ Ticket Portals (友情链接传送门) ============ */
.ticket-section-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.ticket-section-title::before {
  content: '';
  width: 4px;
  height: 28px;
  border-radius: 2px;
  background: var(--accent);
}

.ticket-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 50px;
}
.ticket {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1.2);
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  min-height: 90px;
  transform: rotate(0deg);
}
.ticket:hover {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-4px) rotate(0.5deg);
}

/* Ticket perforation line */
.ticket::after {
  content: '';
  position: absolute;
  left: 52px;
  top: 8px;
  bottom: 8px;
  width: 0;
  border-left: 2px dashed rgba(255, 255, 255, 0.15);
  z-index: 1;
  pointer-events: none;
}

/* Ticket semicircle cutouts on the dashed line */
.ticket::before {
  content: '';
  position: absolute;
  left: 44px;
  top: -8px;
  width: 16px;
  height: 16px;
  background: #000;
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
}
.ticket-cut-bottom {
  position: absolute;
  left: 44px;
  bottom: -8px;
  width: 16px;
  height: 16px;
  background: #000;
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
}

.ticket-stub {
  width: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 6px;
  flex-shrink: 0;
  position: relative;
  z-index: 0;
}
.ticket-stub-icon {
  font-size: 22px;
}
.ticket-stub-code {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-tertiary);
  letter-spacing: 1px;
  writing-mode: vertical-rl;
}

.ticket-body {
  flex: 1;
  padding: 14px 14px 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  overflow: hidden;
}
.ticket-dest {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.ticket-desc {
  font-size: 11px;
  color: var(--text-tertiary);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.ticket-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--text-tertiary);
  transition: all 0.3s;
  opacity: 0.5;
}
.ticket:hover .ticket-arrow {
  opacity: 1;
  color: var(--accent);
  right: 10px;
}
.ticket:nth-child(4n+1) { transform: rotate(-0.8deg); }
.ticket:nth-child(4n+2) { transform: rotate(0.6deg); }
.ticket:nth-child(4n+3) { transform: rotate(-0.4deg); }
.ticket:nth-child(4n+4) { transform: rotate(0.7deg); }
.ticket:hover { transform: translateY(-4px) rotate(0deg) !important; }

/* ============ Scroll Animations ============ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Tooltip for glass hover ============ */
.tool-section {
  margin-bottom: 50px;
}

/* ============ Responsive ============ */
@media (max-width: 768px) {
  .hero-title { font-size: 32px; }
  .contact-section { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .platforms-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .ticket-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .skills-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .ticket-grid { grid-template-columns: 1fr; }
}

/* ============ Particles Canvas ============ */
#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
