html, body {
  margin: 0;
  height: 100vh;
  overflow: hidden;
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #d8b4e2, #a7d7f6, #f6d1e7);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.55);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.container, .card {
  position: relative;
  z-index: 2;
  padding: 1rem 2rem 0.5rem;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  width: 960px;
  max-width: 95vw;
  height: auto;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.scroll-area {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: rgba(0, 0, 0, 0.08);
}

.scroll-area::-webkit-scrollbar {
  display: none;
}

h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, #ffb6c1, #dda0dd, #87cefa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

p {
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

a {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: #ffb6c1;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: 0.3s;
}

a:hover {
  background: #dda0dd;
}

.glass-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  backdrop-filter: blur(4px);
  transition: 0.15s;
}

.linkedin-link:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.blossom {
  position: absolute;
  top: -10vh;
  animation: fall linear infinite;
}

@keyframes fall {
  to {
    transform: translateX(var(--wind, 0vw)) translateY(110vh) rotate(360deg);
  }
}

.cursor-blossom {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  z-index: 9999;
  opacity: 0.7;
}

.copyright {
  position: fixed;
  bottom: 1rem;
  right: 1.5rem;
  font-size: 0.75rem;
  opacity: 0.5;
  color: rgba(0,0,0,0.4);
  text-shadow: 0 1px 2px rgba(255,255,255,0.3);
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

.tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-start;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.tab, #contact-form button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.15s;
  backdrop-filter: blur(4px);
  letter-spacing: 0.02em;
}

.tab svg {
  flex-shrink: 0;
}

.tab[data-tab="photos"] {
  display: none;
}

.tab:hover, #contact-form button:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.tab:active, #contact-form button:active {
  transform: scale(0.97);
}

.tab.active {
  position: relative;
  z-index: 3;
  background: linear-gradient(135deg, rgba(255,182,193,0.3), rgba(221,160,221,0.3));
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  box-shadow: 0 2px 12px rgba(255, 255, 255, 0.15);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-content.animating {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

@media (max-width: 640px) {
  .tabs {
    flex-wrap: nowrap;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .tabs::-webkit-scrollbar {
    display: none;
  }
  .tab, #contact-form button {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    gap: 0.3rem;
    white-space: nowrap;
  }
  .tab {
    flex: 1 1 0;
    justify-content: center;
    min-width: 0;
  }
  .tab svg {
    width: 0.85em;
    height: 0.85em;
  }
}

.scroll-wrapper {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}

.scroll-fade {
  position: absolute;
  left: 0;
  right: 0;
  height: 32px;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s;
}

.scroll-fade.top {
  top: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.12), transparent);
}

.scroll-fade.bottom {
  bottom: 0;
  background: linear-gradient(to top, rgba(255,255,255,0.12), transparent);
}

.scroll-fade.visible {
  opacity: 1;
}

.home-content {
  display: flex;
  gap: 2rem;
  align-items: center;
  text-align: left;
}

.home-image-wrapper {
  flex-shrink: 0;
  width: 280px;
  height: 350px;
  border-radius: 20px;
  overflow: hidden;
  mask-image:
    linear-gradient(to left, black 94%, transparent 100%),
    linear-gradient(to right, black 45%, transparent 100%),
    linear-gradient(to bottom, black 94%, transparent 100%),
    linear-gradient(to top, black 94%, transparent 100%);
  mask-repeat: no-repeat;
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(to left, black 94%, transparent 100%),
    linear-gradient(to right, black 45%, transparent 100%),
    linear-gradient(to bottom, black 94%, transparent 100%),
    linear-gradient(to top, black 94%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-composite: source-in;
}

.home-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-text {
  flex: 1;
}

.home-text h1 {
  text-align: left;
}

@media (max-width: 680px) {
  .home-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .home-image-wrapper {
    width: 180px;
    height: 220px;
  }
  .home-text h1 {
    text-align: center;
  }
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.photo-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: 0.3s;
}

.photo-grid img:hover {
  transform: scale(1.03);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  min-width: 200px;
}

#contact-form input,
#contact-form textarea {
  box-sizing: border-box;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  color: #000;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: inherit;
  transition: 0.3s;
}

#contact-form input {
  width: 100%;
}

#contact-form textarea {
  flex: 1;
  min-height: 150px;
  resize: vertical;
}

@media (min-width: 700px) {
  #contact-form {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
  }
  .form-fields {
    flex: 0 1 280px;
  }
  #contact-form textarea {
    flex: 1 1 240px;
  }
  .form-actions {
    flex: 1 1 100%;
    display: flex;
    justify-content: flex-end;
  }
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.25rem;
}

#contact-form button {
  align-self: flex-end;
  width: fit-content;
  margin-top: 0.25rem;
  background: linear-gradient(135deg, #ffb6c1, #dda0dd);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  box-shadow: 0 2px 12px rgba(255, 182, 193, 0.35);
}

#contact-form button:hover {
  background: linear-gradient(135deg, #ffc2cc, #e0b4e8);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 18px rgba(255, 182, 193, 0.45);
}

#form-status {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  text-align: center;
}

.bi {
  display: inline;
  height: 1.2em;
  width: auto;
  vertical-align: -0.15em;
}

.tab-content h2 {
  font-size: 1.3rem;
  margin: 1.2rem 0 0.5rem;
  background: linear-gradient(to right, #ffb6c1, #dda0dd, #87cefa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

#about {
  text-align: left;
  padding: 0 0.5rem;
}

#about h1,
#about h2 {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
