html {
    scroll-behavior: smooth;
}

body {
  font-family: "Geist", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: large;
  color: antiquewhite;
  background: var(--background);
  min-height: 98vh;	
  overflow-x: hidden;
  -ms-user-select: none;
  user-select: none;
}

:root{
   --angle: 45deg;
   --background: linear-gradient(var(--angle), oklab(25% -0.009 -0.168), oklab(23.6% 0.079 -0.088));
   --cursor-glow-color: var(--glow-dark);
   --glow-dark: rgba(199, 12, 108, 0.3);
   --glow-light: rgba(242, 1, 255, 0.421);
   --sb-track-color: #a01971;
   --sb-thumb-color: #a01971;
   --sb-size: 8px;
}

/* Darkmode */
.darkmode{
    --background: radial-gradient(circle,rgba(238, 174, 202, 1) 0%, rgba(148, 187, 233, 1) 100%);
    --cursor-glow-color: var(--glow-light);
    
}

.theme-btn{
  border-radius: 50%;
  background-color: var(--base-variant);
  background:transparent;
  border: transparent;
  cursor: pointer;
}
.theme-btn svg{
  fill: var(--primary-color);
}
.theme-btn svg:last-child{
  display: none;
}
.darkmode .theme-btn svg:first-child{
  display: none;
}
.darkmode .theme-btn svg:last-child{
  display: block;
}

/* Header */
.top-head {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 999;
}

.navigation {
  display: flex;
  gap: 32px;
  align-items: center;
  border-radius: 14px;
  padding: 12px 24px;
  background: linear-gradient(
    120deg,
    rgba(26, 26, 74, 0.8),
    rgba(50, 26, 63, 0.8),
    rgba(62, 26, 57, 0.8)
  );
  box-shadow: 0 0 20px var(--glow-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.navigation span,
.navigation a {
  font-weight: 600;
  font-size: 1rem;
  color: antiquewhite;
  padding: 6px 14px;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
}

.navigation span:hover,
.navigation a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--accent, #f81ce5);
  box-shadow: 0 0 8px var(--glow-light);
}


/* About */
.about-section {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 3rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  color: antiquewhite;
  flex-wrap: wrap;
}

.profile-circle {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent, #f81ce5);
  display: flex;
  justify-content: center;
  align-items: center;
  background: #111;
}

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

.about-me {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-me h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0;
}

.section-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ddd;
}


/* Footer */
footer {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}

/* Custom cursor glow */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 120px;
  height: 120px;
  background: var(--cursor-glow-color);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .2s ease, height .2s ease;
  z-index: 9999;
}

@media (max-width: 768px) {
  .cursor-glow {
    display: none;
  }
}

/* Click bubles */
#wm-container {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  overflow: visible;
  z-index: 9999;
}

.buble {
  position: absolute;
  width: 24px;
  height: 24px;
  pointer-events: none;
  user-select: none;
  opacity: 1;
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.buble.fade-out {
  opacity: 0;
  transform: translate(var(--dx, 0), var(--dy, 0)) scale(0.5);
}

/* Scrollbar */

body::-webkit-scrollbar {
  width: var(--sb-size)
}

body::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 1px;
}

body::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 1px;
  
}

@supports not selector(::-webkit-scrollbar) {
  body {
    scrollbar-color: var(--sb-thumb-color)
                     var(--sb-track-color);
  }
}

/* Skill Section */
.skills-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 3rem;
  justify-content: center;
  color: antiquewhite;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  backdrop-filter: blur(6px);
  margin-top: 2rem;
}

.skill-category {
  flex: 1 1 300px;
  min-width: 250px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.skill-category h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: var(--accent, #f81ce5);
}

.skill-column {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.card {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 12px var(--accent, #f81ce5);
}

.card .icon {
  font-size: 2rem;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: #ddd;
}

.title {
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Experience section */

.experience-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 3rem;
  justify-content: center;
  color: antiquewhite;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  backdrop-filter: blur(6px);
  margin-top: 2rem;
}

.experience-category {
  flex: 1 1 300px;
  min-width: 250px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.experience-category h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: var(--accent, #f81ce5);
}

.experience-column {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.experience-card {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  align-items: center;
}

.experience-content {
  flex: 1 1 300px;
  color: antiquewhite;
}

.experience-role {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--accent, #f81ce5);
  margin-bottom: 0.5rem;
}

.experience-description,
.experience-date,
.experience-members {
  margin: 0.2rem 0;
  font-size: 1rem;
  color: #ddd;
}

.experience-logo img {
  max-width: 200px;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .experience-card {
    flex-direction: column;
    text-align: center;
  }

  .experience-logo img {
    max-width: 150px;
    margin-top: 1rem;
  }
}


/* Link */

.link {
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: antiquewhite;
}
