
@font-face {
  font-family: 'MusticaPro';
  src: url('fonts/MusticaPro-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Soledago';
  src: url('fonts/Soledago.ttf') format('truetype');
  font-weight: normal;
  font-display: swap;
}


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

:root {
  --bg-black: #050505;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-highlight: rgba(255, 255, 255, 0.2);
  --text-main: #f0f0f0;
  --text-muted: #a0a0a0;
  --accent-glow: rgba(139, 0, 255, 0.4);
}

body {
  background-color: var(--bg-black);
  color: var(--text-main);
  font-family: 'MusticaPro', -apple-system, sans-serif;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
  transition: transform 0.5s ease;
}
.glow-blue {
  width: 60vw; height: 60vw;
  background: rgba(10, 15, 46, 0.9);
  top: -10%; left: -20%;
}
.glow-purple {
  width: 70vw; height: 70vw;
  background: rgba(26, 10, 46, 0.8);
  bottom: -20%; right: -20%;
}


.scroll-container {
  height: 100vh;
  height: 100dvh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.scroll-container::-webkit-scrollbar {
  display: none;
}

.page {
  height: 100vh;
  height: 100dvh;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  position: relative;
}


.glass-card, .glass-btn {
  background: var(--glass-bg);
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  border: 1px solid var(--glass-border);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 var(--glass-highlight);
  border-radius: 36px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
              box-shadow 0.4s ease, 
              background 0.4s ease,
              border-color 0.4s ease;
}

.glass-card:hover, .glass-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(139, 0, 255, 0.5);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 25px var(--accent-glow);
}

.profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 30px;
  max-width: 480px;
  width: 100%;
  transform: scale(1);
  opacity: 1;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes introZoom {
  0% { transform: scale(1.3); opacity: 0; filter: blur(5px); }
  100% { transform: scale(1); opacity: 1; filter: blur(0); }
}
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.photo-wrapper {
  width: clamp(150px, 40vw, 200px);
  height: clamp(150px, 40vw, 200px);
  border-radius: 48px;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  animation: introZoom 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.name-heading {
  font-family: 'Soledago', serif;
  font-size: clamp(2rem, 6vw, 2.8rem);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  animation: introZoom 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.bio {
  font-family: 'MusticaPro', sans-serif;
  color: var(--text-muted);
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  line-height: 1.7;
  animation: fadeIn 1.5s ease forwards;
  opacity: 0;
  animation-delay: 0.3s;
}

.scroll-hint {
  position: absolute;
  bottom: 80px;
  font-family: 'MusticaPro', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: pulse 2s infinite;
  opacity: 0.6;
}
@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 0.8; transform: translateY(5px); }
}


.contacts-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 400px;
  
  max-height: 85vh;
  overflow-y: auto;
  padding: 10px;
  scrollbar-width: none;
}
.contacts-wrapper::-webkit-scrollbar {
  display: none;
}

.glass-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 24px;
  color: #fff;
  text-decoration: none;
  font-family: 'MusticaPro', sans-serif;
  font-size: clamp(1rem, 3vw, 1.15rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 28px;
  cursor: pointer;
  width: 100%;
}


.accordion-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(139, 0, 255, 0.1); 
  border-color: rgba(139, 0, 255, 0.3);
}

.arrow {
  font-size: 0.8rem;
  transition: transform 0.4s ease;
}

.accordion-toggle.open .arrow {
  transform: rotate(180deg);
}


.accordion-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
              opacity 0.4s ease, 
              margin-top 0.4s ease;
}

.accordion-content.open {
  max-height: 300px; 
  opacity: 1;
  margin-top: 4px;
}


.music-btn {
  padding: 16px 20px;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  border-color: rgba(255, 255, 255, 0.05);
}
.music-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}


.quote-card {
  padding: 40px 30px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
}

.quote-mark {
  font-family: 'Soledago', serif;
  font-size: 5rem;
  line-height: 0;
  color: rgba(139, 0, 255, 0.6);
  margin-top: 20px;
}

.quote-text {
  font-family: 'MusticaPro', sans-serif;
  font-size: clamp(1.1rem, 3vw, 1.25rem);
  line-height: 1.7;
  color: var(--text-main);
}


.pagination {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 100;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

.dot.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@media (max-width: 480px) {
  .profile-card, .quote-card {
    padding: 30px 20px;
    border-radius: 32px;
  }
  .glass-btn {
    padding: 18px;
  }
}