nav a::after,
nav a::before {
  height: 2px;
  background: linear-gradient(90deg, #8b5cf6, #6366f1);
}
.glass-card,
.music-player {
  background: rgba(255, 255, 255, 0.03);
}
nav a::after,
nav a::before {
  position: absolute;
  content: "";
}
#terrain-bg,
#visualizer {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.control-btn,
body,
nav a.active,
nav a:hover {
  color: #fff;
}
.social-icons a,
.visit-btn,
nav a {
  text-decoration: none;
}
.elapsed-time,
.visit-btn,
nav a {
  font-weight: 500;
}
#visualizer,
.content-section,
.gradient-bg,
.pixel-cat {
  pointer-events: none;
}
.activity-details h4,
.clock-time,
.poland-gradient,
.header h1,
.project-info h3,
.stat-card h3 {
  -webkit-text-fill-color: transparent;
}
* {
  margin: 0;
  box-sizing: border-box;
  font-family: "Space Grotesk", sans-serif;
}
#terrain-bg {
  position: fixed;
  z-index: -1;
  opacity: 0.2;
}
body {
  background: linear-gradient(135deg, #13151a 0, #090909 100%);
  min-height: 100vh;
  margin-right: 0 !important;
  overflow: auto;
}
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 20px;
  position: relative;
  height: 100vh;
}
.content-wrapper,
nav a.active::after,
nav a:hover::after {
  width: 100%;
}
.content-section {
  opacity: 0;
  transform: translateY(20px);
  left: 0;
  top: 0;
}
.content-section.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: all;
}
.glass-card {
  border-radius: 16px;
  padding: 20px;
  margin: 15px 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: visible;
}
.music-player,
nav a {
  overflow: hidden;
  position: relative;
}
.glass-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}
.header {
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.controls,
.music-player-header {
  align-items: center;
  display: flex;
}
.header h1 {
  font-size: 2.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0, #d4d4d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  letter-spacing: -1px;
}
nav {
  margin: 20px 0;
  display: flex;
  gap: 25px;
  position: relative;
}
nav a {
  color: #a8a8a8;
  font-size: 1.2rem;
  transition: color 0.3s, transform 0.3s;
  padding: 5px 0;
}
nav a::after {
  width: 0;
  bottom: 0;
  left: 50%;
  transition: 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  transform: translateX(-50%);
}
nav a::before {
  bottom: -2px;
  left: 0;
  width: 100%;
  transform: translateX(-101%);
  transition: transform 0.3s;
}
nav a.active::before,
nav a:hover::before {
  transform: translateX(0);
}
nav a:hover {
  transform: translateY(-2px);
}
.music-player {
  border-radius: 16px;
  padding: 15px;
  margin: 15px 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
#visualizer {
  position: absolute;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
}
.music-player.playing #visualizer {
  opacity: 1;
}
.controls,
.music-player-header,
.progress-container,
.time-info {
  position: relative;
  z-index: 2;
}
.music-player-header {
  gap: 15px;
  margin-bottom: 15px;
}
.activity-status-content img,
.album-art,
.spotify-status-content img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spotify-status-content img:hover {
  transform: scale(1.1); 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.song-info h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #fff;
}
.activity-status-content .subtitle,
.song-info p,
.spotify-status-content .artist-name {
  color: #a8a8a8;
  font-size: 0.9rem;
}
.progress-container {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin: 20px 0;
  cursor: pointer;
  position: relative;
}
.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #8b5cf6, #6366f1);
  border-radius: 10px;
  width: 0;
  transition: width 0.1s linear;
}
.controls {
  justify-content: center;
  gap: 20px;
}
.control-btn {
  background: 0 0;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  transition: 0.3s;
}
.play-btn,
.stat-card h3 {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
}
.stat-card p,
.time-info {
  color: #a8a8a8;
}
.control-btn:hover {
  color: #8b5cf6;
  transform: scale(1.1);
}
.play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}
.time-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-top: 10px;
}
.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 20px 0;
}
.activity-item,
.spotify-card {
  align-items: center;
  gap: 25px;
  padding: 20px;
  display: flex;
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.stat-card h3 {
  font-size: 2.5rem;
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 10px;
}
.pixel-cat {
  width: 80px;
  height: 80px;
  position: absolute;
  top: -40px;
  right: -40px;
  z-index: 2;
  transform-origin: center;
  animation: 4s ease-in-out infinite gentleFloat;
}
.activity-item {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  margin: 15px 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.activity-item:hover,
.project-card:hover {
  transform: translateX(8px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}
.activity-item img {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  object-fit: cover;
  background-color: rgba(255, 255, 255, 0.05);
}
.activity-details h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 5px;
  background: linear-gradient(135deg, #fff 0, #d4d4d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.activity-details p {
  color: #a8a8a8;
  font-size: 1rem;
  line-height: 1.4;
}
.spotify-card {
  background: rgba(29, 185, 84, 0.1);
  border: 1px solid rgba(29, 185, 84, 0.2);
  border-radius: 20px;
  margin-top: 25px;
}
.spotify-card:hover {
  transform: translateX(8px) translateY(-2px);
  background: rgba(29, 185, 84, 0.15);
  border-color: rgba(29, 185, 84, 0.3);
}
.spotify-card i {
  font-size: 2.5rem;
  height: 90px;
  color: #1db954;
}
.spotify-album-art {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 15px;
  margin-left: 7px;
  transform-origin: center center;
}
.elapsed-time,
.social-icons a {
  border-radius: 14px;
  color: #a8a8a8;
}
.elapsed-time {
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 16px;
  font-size: 0.9rem;
  margin-left: auto;
  letter-spacing: 0.5px;
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s;
  margin-right: 30px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.social-icons a:hover {
  color: #fff;
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}
@keyframes gentleFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-15px) rotate(5deg);
  }
}
@media (max-width: 768px) {
  .container {
    padding: 30px 20px;
  }
  .header h1 {
    font-size: 2.5rem;
  }
  .glass-card {
    padding: 25px;
  }
  nav {
    gap: 20px;
  }
  nav a {
    font-size: 1.1rem;
  }
}
.contact-item,
.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}
.header-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.project-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px;
  margin: 20px 0;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-info h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff 0, #d4d4d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.project-info p {
  color: #a8a8a8;
  font-size: 1rem;
}
.visit-btn {
  padding: 12px 28px;
  background: #1a1a1a;
  border: none;
  border-radius: 14px;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}
.visit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(26, 26, 26, 0.3);
}
.activity-item img.loading {
  animation: 1.5s infinite pulse;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.3;
  }
}
.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #747f8d;
  display: inline-block;
  margin-left: 10px;
  transition: background-color 0.3s;
}
.subtext {
  color: #a8a8a8;
  font-size: 1.1rem;
  font-weight: 400;
}
@media (max-width: 480px) {
  .content-section,
  .content-wrapper {
    height: auto;
    overflow: visible;
  }
  .header,
  .project-card {
    flex-direction: column;
  }
  .visit-btn,
  nav {
    width: 100%;
  }
  .spotify-card,
  .visit-btn {
    text-align: center;
  }
  body {
    overflow-y: visible;
    overflow-x: hidden;
    height: auto;
  }
  .container {
    min-height: 100vh;
    overflow: visible;
  }
  .content-wrapper {
    min-height: unset;
  }
  .container {
    padding: 20px 15px;
    overflow-y: auto;
    height: 100%;
    max-height: 100vh;
  }
  .header {
    align-items: flex-start;
    gap: 10px;
  }
  .header h1 {
    font-size: 2rem;
  }
  .subtext {
    font-size: 1rem;
  }
  nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    margin-bottom: 15px;
  }
  .glass-card {
    padding: 15px;
    margin: 10px 0;
  }
  .project-card {
    gap: 15px;
    align-items: flex-start;
  }
  .activity-item,
  .spotify-card {
    flex-direction: column;
    padding: 15px;
  }
  .about-content {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .activity-item {
    gap: 15px;
  }
  .activity-item img {
    width: 50px;
    height: 50px;
  }
  .spotify-album-art {
    margin: 0 auto 15px;
  }
  .elapsed-time {
    margin: 10px auto 0;
  }
  .social-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .social-icons a {
    margin-right: 0;
    justify-content: center;
  }
  .music-player {
    padding: 12px;
  }
  .music-player-header {
    flex-direction: column;
    text-align: center;
  }
  .controls {
    gap: 15px;
  }
  .pixel-cat {
    width: 60px;
    height: 60px;
    top: -30px;
    right: -30px;
  }
}
.spotify-status,
.touch-target {
  align-items: center;
  display: flex;
}
@media (hover: none) {
  .activity-item:hover,
  .glass-card:hover,
  .project-card:hover,
  .spotify-card:hover {
    transform: none;
  }
  .social-icons a {
    padding: 15px 20px;
  }
  .control-btn {
    min-height: 44px;
    min-width: 44px;
  }
  .progress-container {
    height: 15px;
  }
}
.scroll-container {
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
  height: 100%;
}
.touch-target {
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
}
.spotify-status {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 16px;
  margin: 15px 0;
  transition: 0.3s;
  overflow: hidden;
}
.spotify-status.visible {
  height: 110px;
  border-color: rgba(29, 185, 84, 0.2);
  background: rgba(29, 185, 84, 0.1);
}
.spotify-status i {
  font-size: 2rem;
  margin-right: 15px;
  color: #1db954;
}
.activity-status-content,
.spotify-status-content {
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateX(20px);
  transition: 0.3s;
  gap: 15px;
}
.activity-status-content.visible,
.spotify-status-content.visible {
  opacity: 1;
  transform: translateX(0);
}
.spotify-status-content .song-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.spotify-status-content .song-details p {
  margin: 0;
}
.activity-status-content .title,
.spotify-status-content .song-name {
  color: #fff;
  font-weight: 500;
}
.gradient-bg {
  background: conic-gradient(
    from 180deg at 50% 50%,
    #005f99 0,
    #006bb3 12%,
    #3383cc 25%,
    #66a3e0 37%,
    #99c3f5 50%,
    #c6d9ff 62%,
    #e2f0ff 75%,
    #b3d7ff 87%,
    #80b3ff 100%
  );
  border-radius: 50%;
  width: 250px;
  height: 250px;
  filter: blur(114px);
  position: fixed;
  right: 50px;
  top: 125px;
  opacity: 0.15;
  z-index: -1;
}
#activity-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.activity-status,
.toggle-presence {
  display: flex;
  align-items: center;
  transition: 0.3s;
}
.activity-status {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 16px;
  overflow: hidden;
}
.activity-status.visible {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}
.activity-status-content .details {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.elapsed-tag {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  color: #a8a8a8;
  margin-left: auto;
  white-space: nowrap;
}
.activity-status-content p,
.spotify-status-content p {
  color: #a8a8a8;
  margin: 0;
}
.toggle-presence {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  justify-content: center;
  cursor: pointer;
  z-index: 102;
}
.toggle-presence:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}
.toggle-presence i {
  color: #fff;
  font-size: 1rem;
  transition: transform 0.3s;
}
.presence-card.hidden .toggle-presence i {
  transform: rotate(180deg);
}
@media (max-width: 1200px) {
  .presence-card {
    width: min(450px, 50vw);
  }
}
@media (max-width: 900px) {
  .presence-card {
    width: min(400px, 60vw);
  }
}
.activity-status-content .title,
.spotify-status-content .song-name {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}
.activity-status-content .subtitle,
.spotify-status-content .artist-name {
  font-size: clamp(0.8rem, 1.2vw, 0.9rem);
}
.activity-status-content img,
.spotify-status-content img {
  width: clamp(40px, 5vw, 60px);
  height: clamp(40px, 5vw, 60px);
}
@keyframes moveGradient {
  0% {
    background-position: 0 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}
.poland-gradient {
  background: linear-gradient(
    90deg,
    #1a1a1a 0,
    #2a1a1a 10%,
    #3a1a1a 20%,
    #4a1515 25%,
    #661515 30%,
    #8a1515 35%,
    #b31515 40%,
    #d00 45%,
    red 50%,
    #f40 60%,
    #f80 70%,
    #fa0 80%,
    #ffc800 90%,
    gold 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  background-size: 200% auto;
  color: #000;
  font-weight: 700;
  animation: 6s ease-in-out infinite moveGradient;
  transition: 0.3s;
}
.poland-gradient:hover {
  filter: brightness(1.1);
  transform: scale(1.05);
}
.status-text {
  display: flex;
  align-items: center;
  flex: 1;
}
.status-text p {
  margin: 0;
  font-size: 0.95rem;
}
.activity-status-content .iconify {
  font-size: 24px;
  min-width: 24px;
}
.activity-status-content,
.spotify-status-content {
  opacity: 1;
  transform: none;
  width: 100%;
  padding: 8px;
}
.activity-status,
.spotify-status {
  height: auto;
  min-height: 50px;
}
@media (max-width: 768px) {
  .toggle-presence {
    display: none;
  }
  #about .glass-card:last-child,
  #contact .glass-card:last-child,
  #home .glass-card:last-child,
  #projects .project-card:last-child,
  .content-section {
    margin-bottom: 20px;
  }
  .content-section {
    position: relative;
  }
  .container,
  .content-wrapper {
    padding-bottom: 20px;
  }
  .presence-card {
    min-width: unset;
    bottom: auto;
    right: auto;
    animation: none;
    position: static;
    width: auto;
    margin: 15px 0;
    box-shadow: none;
  }
  .presence-card .pixel-cat {
    width: 50px;
    height: 50px;
    top: -25px;
    right: -25px;
  }
  .activity-status,
  .spotify-status {
    margin: 10px 0;
  }
  .content-section > :last-child {
    margin-bottom: 0;
  }
}
@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes fadeSlideOut {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
}
.fade-enter {
  animation: 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards fadeSlideIn;
}
.fade-exit {
  animation: 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards fadeSlideOut;
}
.content-section {
  display: none;
  position: absolute;
  width: 100%;
  transition: none;
}
.content-section.active {
  display: block;
  animation: 0.5s forwards fadeIn;
}
.content-section.exit {
  animation: 0.5s forwards fadeOut;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(20px) scale(0.95);
    visibility: hidden;
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
    visibility: visible;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
    visibility: visible;
  }
  to {
    opacity: 0;
    transform: translateX(-20px) scale(0.95);
    visibility: hidden;
  }
}
.content-wrapper {
  min-height: 500px;
  position: relative;
  perspective: 1000px;
}
.clock-container {
  margin-top: 20px;
  font-size: 2.5rem;
  font-weight: 300;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.3s;
}
.clock-container:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.clock-text {
  font-size: 1rem;
  color: #a8a8a8;
  margin-bottom: 5px;
}
.clock-time {
  background: linear-gradient(135deg, #fff 0, #d4d4d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: "Space Grotesk", monospace;
  letter-spacing: 2px;
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.skill-tag {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #fff;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.skill-tag i {
  font-size: 1.1rem;
}
.skill-tag:hover {
  background: rgba(139, 92, 246, 0.2);
  transform: translateY(-2px);
}
.timeline {
  position: relative;
  padding: 20px 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  height: 100%;
  width: 2px;
  background: rgba(139, 92, 246, 0.2);
}
.timeline-item {
  margin-bottom: 30px;
  position: relative;
  padding-left: 45px;
}
.timeline-dot {
  position: absolute;
  left: 16px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8b5cf6;
}
.timeline-content {
  background: rgba(255, 255, 255, 0.03);
  padding: 15px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.timeline-content h4 {
  margin: 0;
  color: #fff;
  font-size: 1.1rem;
}
.timeline-content p {
  margin: 5px 0;
  color: #a8a8a8;
}
.timeline-date {
  color: #8b5cf6;
  font-size: 0.9rem;
}
.project-tags {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.project-tag {
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  color: #a8a8a8;
}
.contact-info {
  display: grid;
  gap: 20px;
}
.contact-item i {
  font-size: 1.5rem;
  color: #8b5cf6;
}
.contact-item h4 {
  margin: 0;
  color: #fff;
}
.contact-item p {
  margin: 5px 0 0;
  color: #a8a8a8;
}
.visit-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
@media (max-width: 480px) {
  .presence-card {
    margin: 10px 0;
    padding: 15px;
  }
  .activity-status-content,
  .spotify-status-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .elapsed-tag {
    margin: 10px auto 0;
  }
  .presence-card .pixel-cat {
    width: 40px;
    height: 40px;
    top: -20px;
    right: -20px;
  }
  .clock-container {
    font-size: 2rem;
    padding: 15px;
  }
  .timeline::before {
    left: 15px;
  }
  .timeline-item {
    padding-left: 35px;
  }
  .timeline-dot {
    left: 11px;
  }
  .skill-tags {
    justify-content: center;
  }
  .contact-info {
    grid-template-columns: 1fr;
  }
}
.presence-card {
  backdrop-filter: blur(10px);
  will-change: transform, opacity;
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: min(650px, 40vw);
  min-width: 300px;
  max-width: calc(100vw - 60px);
  z-index: 100;
  margin: 0;
  backdrop-filter: blur(10px);
  transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}
.presence-card.hidden {
  transform: translateX(calc(100% + 30px));
  opacity: 0;
}
.unhide-presence {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 20px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  z-index: 101;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  transition: 0.3s;
}
.unhide-presence.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.unhide-presence:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-5px);
}
@media (max-width: 768px) {
  .toggle-presence,
  .unhide-presence {
    display: block;
  }
}