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

@font-face {
  font-family: 'RoGSanSrfStd';
  src: url('../fonts/RoGSanSrfStd-Bd.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


:root {
  --primary: #4C8FEC;
  --primary-dark: #3A7BD5;
  --primary-light: #7EB8FF;
  --accent: #FFD700;
  --accent-dark: #E6C200;
  --bg: #F0F5FF;
  --bg-card: #FFFFFF;
  --text: #1B2A4A;
  --text-light: #7B8FAD;
  --text-white: #FFFFFF;
  --border: #D4E4F7;
  --shadow: 0 4px 20px rgba(76, 143, 236, 0.10);
  --shadow-hover: 0 8px 32px rgba(76, 143, 236, 0.18);
  --radius: 20px;
  --radius-sm: 10px;
  --transition: 0.3s ease;
  --font-logo: 'RoGSanSrfStd', sans-serif;
  --font-heading: 'Noto Sans', -apple-system, sans-serif;
  --font-body: 'Noto Sans', -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) rgba(76, 143, 236, 0.08);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(76, 143, 236, 0.08);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(240, 245, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.header__logo {
  font-family: var(--font-logo);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
  border-radius: 2px;
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--primary);
}

.header__nav a:hover::after,
.header__nav a.active::after {
  width: 100%;
}

.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
  background: url('../assets/background_wallpaper.jpg') center / cover no-repeat;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(240, 245, 255, 0.88) 0%, rgba(240, 245, 255, 0.7) 45%, rgba(240, 245, 255, 0.3) 100%);
  opacity: 0;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 24px;
}

.hero__content {
  max-width: 540px;
}

.hero__greeting {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.hero__name {
  font-family: var(--font-logo);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 16px;
}

.hero__desc {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 440px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-heading);
  border-radius: 999px;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: 0.3px;
}

.btn--primary {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}

.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 143, 236, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 400px;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}

.hero__shape--1 {
  width: 320px;
  height: 320px;
  background: var(--primary);
  animation: float 6s ease-in-out infinite;
}

.hero__shape--2 {
  width: 200px;
  height: 200px;
  background: var(--accent);
  top: 20px;
  right: 40px;
  animation: float 8s ease-in-out infinite reverse;
}

.hero__shape--3 {
  width: 120px;
  height: 120px;
  background: var(--primary-light);
  bottom: 40px;
  left: 20px;
  animation: float 7s ease-in-out infinite 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-24px) scale(1.04); }
}

.hero__greeting,
.hero__name,
.hero__title,
.hero__desc,
.hero__actions {
  opacity: 0;
  transform: translateY(20px);
}

.hero__visual {
  opacity: 0;
}

.hero.revealed .hero__bg { animation: hero-reveal 0.8s ease 0s forwards; }
.hero.revealed .hero__greeting { animation: hero-reveal 0.6s ease 0s forwards; }
.hero.revealed .hero__name { animation: hero-reveal 0.6s ease 0.15s forwards; }
.hero.revealed .hero__title { animation: hero-reveal 0.6s ease 0.3s forwards; }
.hero.revealed .hero__desc { animation: hero-reveal 0.6s ease 0.45s forwards; }
.hero.revealed .hero__actions { animation: hero-reveal 0.6s ease 0.6s forwards; }
.hero.revealed .hero__visual { animation: hero-reveal 0.8s ease 0.3s forwards; }

@keyframes hero-reveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: -50px auto -16px;
  position: relative;
  z-index: 5;
  color: var(--text);
  opacity: 0.7;
  animation: scroll-bounce 2s ease-in-out infinite;
  text-decoration: none;
  transition: opacity 0.4s;
}

.hero__scroll-hint.hide {
  opacity: 0;
  pointer-events: none;
}

.hero__scroll-hint:hover {
  opacity: 1;
}

.hero__scroll-hint svg {
  width: 32px;
  height: 32px;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* Section */
.section {
  padding: 100px 0;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  color: var(--text);
  margin-bottom: 8px;
}

.section__subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 56px;
}

/* About */
.about {
  background: linear-gradient(to right, rgba(240, 245, 255, 0.95) 0%, rgba(240, 245, 255, 0.95) 50%, rgba(240, 245, 255, 0.65) 100%), url('../assets/MainChar.png') right center / contain no-repeat;
}

.about__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
}

.about__avatar {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(76, 143, 236, 0.25);
}

.about__avatar-text {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -2px;
}

.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.about__text h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.about__text p {
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.7;
}

.about__stats {
  display: flex;
  gap: 32px;
  margin-top: 28px;
}

.about__stat {
  text-align: center;
}

.about__stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.about__stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 4px;
}

.about__social {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.about__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(76, 143, 236, 0.10);
  color: var(--primary);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.about__social a:hover {
  background: var(--primary);
  color: var(--text-white);
  transform: translateY(-2px);
}

.about__social svg {
  width: 20px;
  height: 20px;
}

/* Skills */
.skills {
  background: var(--bg-card);
}

.skills__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.skills__heading {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text);
}

.skill-bar {
  margin-bottom: 20px;
}

.skill-bar__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.skill-bar__name {
  font-weight: 600;
}

.skill-bar__percent {
  color: var(--text-light);
  font-weight: 500;
}

.skill-bar__track {
  height: 8px;
  background: var(--bg);
  border-radius: 999px;
  overflow: hidden;
}

.skill-bar__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 999px;
  transition: width 1.2s ease;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--border);
}

.timeline__item {
  position: relative;
  margin-bottom: 28px;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: -22px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--bg-card);
  box-shadow: 0 0 0 2px var(--primary), 0 0 8px rgba(76, 143, 236, 0.3);
}

.timeline__date {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(76, 143, 236, 0.10);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.timeline__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.timeline__company {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.timeline__desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

.timeline__role {
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px dashed var(--border);
}

.timeline__role:first-child {
  padding-top: 0;
  margin-top: 0;
  border-top: none;
}

.timeline__item[data-page] {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.timeline__item.page-hidden {
  display: none;
}

.timeline__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.timeline__page-btn {
  padding: 6px 18px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  background: transparent;
  border: 2px solid var(--primary);
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
}

.timeline__page-btn:hover:not(:disabled) {
  background: var(--primary);
  color: var(--text-white);
}

.timeline__page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.timeline__page-info {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
}

/* Education */
.education {
  background: linear-gradient(rgba(240, 245, 255, 0.82), rgba(240, 245, 255, 0.82)), url('../assets/Study.webp') center / cover no-repeat;
}

.education__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}

.edu-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.edu-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.edu-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(76, 143, 236, 0.10);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.edu-card__icon svg {
  width: 24px;
  height: 24px;
}

.edu-card__body {
  flex: 1;
}

.edu-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.edu-card__school {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 2px;
}

.edu-card__year {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.edu-card__desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Achievements */
.achievements {
  background: var(--bg-card);
}

.achievements__category {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  margin-top: 32px;
  color: var(--text);
}

.achievements__category:first-of-type {
  margin-top: 0;
}

.achievements__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.ach-card {
  padding: 20px 16px;
  text-align: center;
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
}

.ach-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

.ach-card--first {
  background: linear-gradient(135deg, #FFFCE8, #FFF3C4);
}

.highlight {
  background: rgba(76, 143, 236, 0.12);
  color: var(--primary);
  padding: 1px 8px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.82rem;
}

.ach-card--second {
  background: linear-gradient(135deg, #F8FAFC, #E2E8F0);
}

.ach-card--other {
  background: linear-gradient(135deg, #E8F1FF, #D0E3FF);
}

.ach-card__badge {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.ach-card__title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--text);
}

.ach-card__meta {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 4px;
}

.ach-card__desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Recommendations */
.recommendations {
  background: linear-gradient(rgba(240, 245, 255, 0.82), rgba(240, 245, 255, 0.82)), url('../assets/Friends.jpg') center / cover no-repeat;
}

.recommendations__carousel {
  position: relative;
  overflow: visible;
  padding: 12px 0 60px;
}

.rec-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 3px solid var(--primary);
}

.rec-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.rec-card__quote {
  color: var(--primary);
  opacity: 0.15;
  margin-bottom: 8px;
  line-height: 0;
}

.rec-card__quote svg {
  width: 32px;
  height: 32px;
}

.rec-card__text {
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 0;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: -webkit-line-clamp 0.2s;
}

.rec-card__text--expanded {
  -webkit-line-clamp: unset;
}

.rec-card__expand {
  background: none;
  border: none;
  color: var(--primary);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 0 0;
  display: inline-block;
  align-self: flex-start;
  transition: color var(--transition);
}

.rec-card__expand:hover {
  color: var(--primary-dark);
}

.rec-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.rec-card__avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.rec-card__info {
  flex: 1;
  min-width: 0;
}

.rec-card__name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1px;
}

.rec-card__link {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.rec-card__link:hover {
  color: var(--primary);
  text-decoration: underline;
}

.rec-card__title {
  display: block;
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 2px;
}

.rec-card__meta {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
}

.recommendations .swiper-slide {
  width: 500px;
  height: auto;
  display: flex;
}

@media (max-width: 600px) {
  .recommendations .swiper-slide {
    width: 320px;
  }

  .rec-card {
    padding: 24px 20px;
  }
}

.projects {
  background: var(--bg-card);
}

/* Projects */
.projects__carousel {
  position: relative;
  overflow: visible;
}

.carousel__btn {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--bg-card);
  box-shadow: var(--shadow);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition), transform var(--transition);
  opacity: 0;
  transform: translateY(-50%) scale(0.9);
}
.carousel__btn svg {
  width: 20px;
  height: 20px;
}
.carousel__btn:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
.carousel__btn--prev {
  left: -20px;
}
.carousel__btn--next {
  right: -20px;
}
.projects__carousel:hover .carousel__btn {
  opacity: 0.85;
}

/* Swiper overrides */
#projectsSwiper .swiper-wrapper {
  align-items: center;
}

#projectsSwiper .swiper-slide {
  width: 380px;
  transition: transform 0.3s ease;
}

#projectsSwiper .swiper-slide .project-card {
  width: 100%;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow var(--transition);
  transform: scale(0.8);
}

#projectsSwiper .swiper-slide-active .project-card {
  transform: scale(1);
}

#projectsSwiper .swiper-slide .project-card:hover {
  box-shadow: var(--shadow-hover);
}

#projectsSwiper .swiper-slide-active .project-card:hover {
  transform: scale(1) translateY(-6px);
}

/* Swiper pagination */
.swiper-pagination {
  position: relative;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--text-light);
  background: transparent;
  cursor: pointer;
  opacity: 1;
  transition: background var(--transition), border-color var(--transition);
}

.swiper-pagination-bullet-active {
  background: var(--primary);
  border-color: var(--primary);
}

.project-card__image {
  height: 200px;
  background: linear-gradient(135deg, #4C8FEC 0%, #3A7BD5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-card__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.06) 100%);
}

.project-card__placeholder {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 2px;
}

.project-card__body {
  padding: 24px;
}

.project-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.project-card__desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.project-card__tags span {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  background: rgba(76, 143, 236, 0.10);
  color: var(--primary);
  border-radius: 999px;
}

.project-card__links {
  display: flex;
  gap: 16px;
}

.project-card__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
}

.project-card__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--primary);
  transition: width var(--transition);
}

.project-card__link:hover::after {
  width: 100%;
}

.project-card__image-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  position: relative;
}

.project-card__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}

.project-card__play-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translate(-50%, -50%) scale(1.08);
}

.project-card__play-btn svg {
  width: 24px;
  height: 24px;
  color: #fff;
  margin-left: 3px;
}

/* Compact Projects */
.projects__compact-heading {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  margin-top: 56px;
  margin-bottom: 8px;
  color: var(--text);
}

.projects__category {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 20px;
  margin-top: 32px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.projects__compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, auto));
  gap: 10px;
  max-width: 780px;
  margin: 0 auto;
  justify-content: center;
}

.project-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px 10px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
}

.project-mini:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.project-mini__title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.3;
}

.project-mini__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}

.project-mini__tags span {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 8px;
  background: rgba(76, 143, 236, 0.10);
  color: var(--primary);
  border-radius: 999px;
}

/* Arona Touch Gate */
.arona-gate {
  text-align: center;
  width: 100%;
  position: relative;
}

.arona-gate.touched .arona-gate__touch,
.arona-gate.touched .arona-gate__prompt,
.arona-gate.touched .contact__title {
  opacity: 0;
  pointer-events: none;
  animation: none;
  transition: opacity 0.4s ease;
}

.arona-gate__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  pointer-events: none;
  z-index: 1;
  transition: background 0.8s ease;
}

.arona-gate__overlay.active {
  background: rgba(255, 255, 255, 0.55);
}

.arona-gate__image-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
}

.arona-gate__img {
  display: block;
  width: 100%;
  min-height: 100vh;
  object-fit: cover;
}

.arona-gate__touch {
  position: absolute;
  left: var(--touch-x, 50%);
  top: var(--touch-y, 58%);
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
}

.arona-gate__dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background: rgba(76, 143, 236, 0.5);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(76, 143, 236, 0.6);
  animation: dot-glow 2s ease-in-out infinite;
}

@keyframes dot-glow {
  0%, 100% { box-shadow: 0 0 12px rgba(76, 143, 236, 0.4); }
  50% { box-shadow: 0 0 24px rgba(76, 143, 236, 0.8); }
}

.arona-gate__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 2px solid rgba(76, 143, 236, 0.5);
  border-radius: 50%;
  animation: ring-pulse 2s ease-out infinite;
}

.arona-gate__ring--2 {
  width: 56px;
  height: 56px;
  animation-delay: 0.6s;
  border-color: rgba(76, 143, 236, 0.3);
}

@keyframes ring-pulse {
  0% { transform: translate(-50%, -50%) scale(0.7); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}

.arona-gate__flash {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  pointer-events: none;
  z-index: 3;
}

.arona-gate__flash.active {
  animation: touch-flash 0.6s ease-out forwards;
}

@keyframes touch-flash {
  0% { background: rgba(255, 255, 255, 0); }
  30% { background: rgba(255, 255, 255, 0.8); }
  100% { background: rgba(255, 255, 255, 0); }
}

.arona-gate__prompt {
  position: absolute;
  left: calc(var(--touch-x, 50%) + 48px);
  top: var(--touch-y, 58%);
  transform: translateY(-50%);
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: rgba(76, 143, 236, 0.75);
  backdrop-filter: blur(6px);
  padding: 8px 18px;
  border-radius: 999px;
  animation: prompt-pulse 2.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

.arona-gate__prompt::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: rgba(76, 143, 236, 0.75);
}

@keyframes prompt-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.contact--hidden {
  display: none !important;
}

.contact__panel {
  position: absolute;
  top: 50%;
  right: 48px;
  transform: translateY(-50%);
  width: 400px;
  max-height: 85vh;
  overflow-y: hidden;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(27, 42, 74, 0.2);
  padding: 32px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact--reveal {
  animation: panel-slide-in 0.6s ease forwards;
}

@keyframes panel-slide-in {
  from { opacity: 0; transform: translateY(-50%) translateX(40px); }
  to { opacity: 1; transform: translateY(-50%) translateX(0); }
}

/* Contact */
.contact__title {
  position: absolute;
  top: var(--bubble-y, 5%);
  left: var(--bubble-x, 85%);
  z-index: 4;
  background: var(--bg-card);
  border: 2px solid var(--primary-light);
  border-radius: 999px;
  padding: 12px 36px;
  box-shadow: 0 4px 16px rgba(76, 143, 236, 0.12);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(24px) scale(0.85);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.contact__title::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 28px;
  transform: rotate(45deg);
  width: 14px;
  height: 14px;
  background: var(--bg-card);
  border-right: 2px solid var(--primary-light);
  border-bottom: 2px solid var(--primary-light);
}

.contact {
  background: var(--bg);
  padding: 0;
  position: relative;
  overflow: hidden;
}


.contact__heading {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact__text {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.contact__details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__details li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text);
}

.contact__details li svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(76, 143, 236, 0.12);
}

.form-group label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  color: var(--text-light);
  background: var(--bg-card);
  padding: 0 4px;
  transition: all var(--transition);
  pointer-events: none;
}

.form-group--textarea label {
  top: 16px;
  transform: none;
}

.form-group input:focus ~ label{
  top: -1px;
  font-size: 0.78rem;
  color: var(--primary);
  background: var(--bg-card);
}

.form-group textarea:focus ~ label{
  top: -10px;
  font-size: 0.78rem;
  color: var(--primary);
  background: var(--bg-card);
}

.form-group input:not(:placeholder-shown) ~ label {
  top: -1px;
  font-size: 0.78rem;
  color: var(--primary);
  background: var(--bg-card);
}

.form-group textarea:not(:placeholder-shown) ~ label {
  top: -10px;
  font-size: 0.78rem;
  color: var(--primary);
  background: var(--bg-card);
}

.form-status {
  margin-top: 4px;
  font-size: 0.9rem;
  text-align: center;
  padding: 0;
  min-height: 1.2em;
}

.form-status--success {
  color: #2ecc71;
}

.form-status--error {
  color: #e67e22;
}

/* Footer */
.footer {
  background: #1B2A4A;
  color: rgba(255, 255, 255, 0.7);
  padding: 32px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer p {
  font-size: 0.88rem;
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer__social a:hover {
  color: var(--accent);
}

.footer__social svg {
  width: 22px;
  height: 22px;
}

/* Intro / Loading Screen */
body.intro-active {
  overflow: hidden;
  position: fixed;
  inset: 0;
  width: 100%;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: url('../assets/background_wallpaper.jpg') center / cover no-repeat #1B2A4A;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 60px;
  cursor: pointer;
}

.intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 600px;
  height: 200px;
  background: radial-gradient(ellipse at top left, rgba(255,255,255,0.65) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.intro__title {
  position: absolute;
  top: 32px;
  left: 32px;
  font-family: var(--font-logo);
  font-size: 1.5rem;
  font-weight: 700;
  font-style: italic;
  margin: 0;
  z-index: 2;
}

.intro__title--black {
  color: #4a4a4a;
}

.intro__title--blue {
  color: var(--primary);
}

.intro__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.intro__particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  animation: particle-float linear infinite;
}

@keyframes particle-float {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 0.6; }
  100% { transform: translate(-30vw, -110vh); opacity: 0; }
}

.intro__transition {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
}

.intro__transition.active {
  animation: transition-flash-in 0.6s ease forwards;
}

.intro__transition.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(76, 143, 236, 0.15), transparent);
  transform: skewX(-15deg);
  animation: transition-sweep 0.8s ease 0.1s forwards;
}

.intro__welcome,
.intro__sensei {
  position: absolute;
  top: 50%;
  left: 50%;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 500;
  color: var(--text);
  margin: 0;
  opacity: 0;
  transform: translate(-50%, -40%);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.intro__welcome.show,
.intro__sensei.show {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.intro__transition.fade-out {
  animation: transition-fade-out 0.6s ease forwards;
}

@keyframes transition-flash-in {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 1; }
}

@keyframes transition-sweep {
  0% { left: -60%; }
  100% { left: 120%; }
}

@keyframes transition-fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

.intro__content {
  position: relative;
  z-index: 4;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.intro__loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.intro__bar {
  width: 280px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  overflow: hidden;
}

.intro__bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(76, 143, 236, 0.5);
  transition: width 0.3s ease;
}

.intro__percent {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
}

.intro__start {
  background: url('../assets/BA_Button.png') center / 100% 100% no-repeat;
  border: none;
  cursor: pointer;
  width: 200%;
  max-width: 780px;
  height: 32px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
  text-shadow: 0 0 8px rgba(76, 143, 236, 0.3);
  transition: transform 0.2s ease, filter 0.2s ease;
  animation: btn-pulse 2s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro__start:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.intro__start:active {
  transform: scale(0.97);
}

@keyframes btn-pulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.15); }
}

.intro__copyright {
  font-size: 0.72rem;
  color: #000;
  margin-top: 8px;
}

.intro--hidden {
  display: none !important;
}



/* Responsive — Tablet (compact nav) */
@media (max-width: 1024px) and (min-width: 901px) {
  .header__nav {
    gap: 12px;
  }

  .header__nav a {
    font-size: 0.78rem;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .header__nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  }

  .header__nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .header__toggle {
    display: flex;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 24px;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__desc {
    max-width: 100%;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    height: 260px;
  }

  .hero__shape--1 {
    width: 200px;
    height: 200px;
  }

  .hero__shape--2 {
    width: 120px;
    height: 120px;
  }

  .hero__shape--3 {
    width: 80px;
    height: 80px;
  }

  .about__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about__avatar {
    margin: 0 auto;
    width: 200px;
    height: 200px;
  }

  .about__avatar-text {
    font-size: 3.5rem;
  }

  .about__stats {
    justify-content: center;
  }

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

  .arona-gate {
    display: none;
  }

  .contact {
    padding: 72px 0 0;
  }

  .contact__panel.contact--hidden {
    display: flex !important;
  }

  .contact__panel {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 100%;
    max-height: none;
    margin: 0;
    border-radius: 0;
    animation: none;
  }

  .contact__title {
    display: none;
    right: 24px;
    top: 24px;
  }

  #projectsSwiper .swiper-slide {
    width: 100%;
  }

  #projectsSwiper .swiper-slide .project-card {
    transform: scale(1);
  }
  .carousel__btn {
    display: none;
  }
  .swiper-pagination {
    margin-top: 12px;
  }

  .section {
    padding: 72px 0;
  }

  .section__subtitle {
    margin-bottom: 40px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__shape--2 {
    display: none;
  }

  .hero__shape--3 {
    display: none;
  }

  .hero__actions {
    flex-direction: column;
  }

  .about__stats {
    flex-direction: column;
    gap: 16px;
  }

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

  .projects__compact {
    grid-template-columns: repeat(2, auto);
    justify-content: center;
  }
}

/* Video Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.modal__content {
  position: relative;
  width: 90%;
  max-width: 800px;
  background: #000;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transform: scale(0.9);
  transition: transform var(--transition);
}

.modal.active .modal__content {
  transform: scale(1);
}

.modal__close {
  position: absolute;
  top: 8px;
  right: 12px;
  z-index: 10;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition);
  line-height: 1;
}

.modal__close:hover {
  opacity: 1;
}

.modal__video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}

.modal__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Animations */
.skill-bar__fill.animate {
  width: var(--fill-width);
}

.project-card, .ach-card, .edu-card, .project-mini {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow var(--transition);
}

.project-card.visible, .ach-card.visible, .edu-card.visible, .project-mini.visible {
  opacity: 1;
  transform: translateY(0);
}

.about__avatar {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.about__avatar.visible {
  opacity: 1;
  transform: scale(1);
}

.timeline__item {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline__item.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Now Playing Widget */
.now-playing {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(27, 42, 74, 0.88);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(76, 143, 236, 0.3);
  border: 1px solid rgba(76, 143, 236, 0.3);
  color: #fff;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.now-playing.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.now-playing__bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
}

.now-playing__bars span {
  display: block;
  width: 3px;
  background: var(--primary-light);
  border-radius: 2px;
  animation: eq-bar 0.8s ease-in-out infinite;
}

.now-playing__bars span:nth-child(1) { height: 8px; animation-delay: 0s; }
.now-playing__bars span:nth-child(2) { height: 14px; animation-delay: 0.2s; }
.now-playing__bars span:nth-child(3) { height: 10px; animation-delay: 0.4s; }

.now-playing.paused .now-playing__bars span {
  animation-play-state: paused;
}

@keyframes eq-bar {
  0%, 100% { height: 4px; }
  50% { height: 16px; }
}

.now-playing__info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.now-playing__label {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.6;
}

.now-playing__title {
  font-size: 0.82rem;
  font-weight: 600;
}

.now-playing__toggle,
.now-playing__close {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.now-playing__toggle:hover,
.now-playing__close:hover {
  opacity: 1;
}

.now-playing__toggle svg {
  width: 18px;
  height: 18px;
}

.now-playing__close {
  font-size: 1.3rem;
  line-height: 1;
  margin-left: -4px;
}

.now-playing .now-playing__icon-play { display: none; }
.now-playing .now-playing__icon-pause { display: block; }
.now-playing.paused .now-playing__icon-play { display: block; }
.now-playing.paused .now-playing__icon-pause { display: none; }

.now-playing__enable {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1500;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(27, 42, 74, 0.75);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(76, 143, 236, 0.2);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s;
}

.now-playing__enable:hover {
  color: #fff;
}

.now-playing__enable.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.now-playing__enable svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 480px) {
  .now-playing {
    bottom: 4px;
    right: 16px;
    padding: 8px 12px;
    gap: 8px;
  }

  .now-playing__label {
    display: none;
  }

  .now-playing__title {
    font-size: 0.75rem;
  }

  .now-playing__enable {
    bottom: 16px;
    right: 16px;
  }
}
