:root {
  --bg: #0E1526;
  --card: #1B2438;
  --text: #EDF1FA;
  --text-dim: #A6B0C3;
  --accent: #3D8BFF;
  --accent2: #22D3C0;
  --radius: 14px;
}

body.light-mode {
  --bg: #F4F6FB;
  --card: #FFFFFF;
  --text: #16213A;
  --text-dim: #5B6478;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Poppins', sans-serif;
}

h1, h2, h3, h4 {
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

nav {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5vw;
  background-color: var(--card);
}
.logo {
  font-weight: 800;
  font-size: 1.3rem;
}
.logo {
  transition: text-shadow 0.3s ease, transform 0.3s ease;
}
.logo:hover {
  text-shadow:
    0 0 10px rgba(61, 139, 255, 0.9),
    0 0 20px rgba(61, 139, 255, 0.7),
    0 0 35px rgba(61, 139, 255, 0.5);
  transform: scale(1.05);
}
.nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
}
.nav-links a {
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover {
  color: var(--accent);
  text-shadow: 0 0 8px rgba(61, 139, 255, 0.5);
}
.nav-links a:hover::after {
  width: 100%;
}

.section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 5rem 5vw;
}
.label {
  font-size: 0.85rem;
  color: var(--accent2);
  font-weight: 600;
  text-transform: uppercase;
}
.section-title {
  font-size: 2rem;
  margin: 0.4rem 0 2rem;
}
.sub-title {
  font-size: 1.1rem;
  margin: 2rem 0 1rem;
}

.btn-solid, .btn-outline {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}
.btn-solid {
  background-color: var(--accent);
  color: #fff;
}
.btn-outline {
  border: 2px solid var(--accent);
  margin-left: 0.8rem;
}
.btn-solid:hover, .btn-outline:hover {
  transform: translateY(-3px);
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5rem;
}
.hero-text {
  flex: 1;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-text h1 {
  font-size: 2.6rem;
  margin: 0.5rem 0;
}
.subtitle {
  color: var(--accent2);
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.intro {
  color: var(--text-dim);
  max-width: 420px;
  margin-bottom: 1.6rem;
  line-height: 1.6;
}
.profile-pic {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--accent);
  box-shadow: 0 0 25px rgba(61, 139, 255, 0.4);
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}
.profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-card {
  display: flex;
  gap: 2rem;
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  flex-wrap: wrap;
}
.about-photo {
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  border-radius: var(--radius);
  background-color: var(--bg);
  overflow: hidden;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-text p {
  margin-bottom: 0.5rem;
}
.about-bio {
  margin-top: 1rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.photo-row {
  display: flex;
  gap: 1rem;
}
.photo-box {
  flex: 1;
  aspect-ratio: 1 / 1;
  background-color: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.2s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: var(--text-dim);
}

.photo-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-box:hover {
  transform: translateY(-5px);
}
.caption {
  margin-top: 0.8rem;
  color: var(--text-dim);
}

.tag-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.tag {
  background-color: var(--card);
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
}

.playlist {
  list-style: none;
  max-width: 500px;
}
.playlist li {
  background-color: var(--card);
  padding: 0.8rem 1rem;
  border-radius: 10px;
  margin-bottom: 0.8rem;
}
.playlist li span {
  display: block;
  margin-bottom: 0.5rem;
}
.playlist audio {
  width: 100%;
}

.note-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.note {
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.note-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: var(--bg);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.8rem;
}
.note-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.note h4 {
  margin-bottom: 0.3rem;
}
.note p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.social-row {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 1.6rem 2rem;
  font-weight: 600;
  transition: transform 0.2s ease;
}
.social-card:hover {
  transform: translateY(-5px);
}
.social-icon {
  font-size: 1.8rem;
}
.fa-facebook {
  color: #1877F2;
}

.fa-instagram {
  color: #E4405F;
}

.fa-tiktok {
  color: #000;
}
.back-to-top {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
}

footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}

@media (max-width: 800px) {
  .about-card {
    flex-direction: column;
  }
}

#themeToggle {
  background: none;
  border: 2px solid var(--accent);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1rem;
  cursor: pointer;
}

.blurbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
}
.blurbox.open {
  display: flex;
}
.blurbox img {
  max-width: 80vw;
  max-height: 80vh;
  border-radius: 10px;
}
body,
nav,
.about-card,
.note,
.social-card,
.photo-box,
.tag,
.playlist li,
.btn-solid,
.btn-outline,
.profile-pic,
footer {
    transition:
        background-color 0.5s ease,
        color 0.5s ease,
        border-color 0.5s ease,
        box-shadow 0.5s ease,
        transform 0.3s ease;
}

#loader{
    position:fixed;
    inset:0;
    background:#08111f;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    z-index:99999;
    transition:opacity .8s ease;
}
.loader-ball{

    font-size:70px;

    animation:spinBall 2s linear infinite;

}

@keyframes spinBall{

from{

transform:rotate(0deg);

}

to{

transform:rotate(360deg);

}

}
.loader-title{

    font-family:'Bebas Neue',sans-serif;

    font-size:95px;

    color:white;

    letter-spacing:8px;

    line-height:.9;

    margin-top:25px;

    text-shadow:0 0 25px rgba(61,139,255,.4);

}

.loader-subtitle{

    font-family:'Bebas Neue',sans-serif;

    color:#66b2ff;

    letter-spacing:10px;

    font-size:26px;

    margin-bottom:40px;

}
.progress{

    width:360px;

    height:8px;

    background:#1c2940;

    border-radius:100px;

    overflow:hidden;

}

.progress-bar{

    width:0%;

    height:100%;

    border-radius:100px;

    background:linear-gradient(
        90deg,
        #ffffff,
        #72c8ff,
        #3D8BFF
    );

    box-shadow:0 0 20px #3D8BFF;

    animation:loading 3s forwards;

}

@keyframes loading{

from{

width:0%;

}

to{

width:100%;

}

}
.loading-text{

    margin-top:20px;

    color:#d5dff2;

    letter-spacing:4px;

    font-size:14px;

    text-transform:uppercase;

}