/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
@layer properties;
.container {
  width: 100%;
  @media (width >= 40rem) {
    max-width: 40rem;
  }
  @media (width >= 48rem) {
    max-width: 48rem;
  }
  @media (width >= 64rem) {
    max-width: 64rem;
  }
  @media (width >= 80rem) {
    max-width: 80rem;
  }
  @media (width >= 96rem) {
    max-width: 96rem;
  }
}
.transform {
  transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
}
.outline {
  outline-style: var(--tw-outline-style);
  outline-width: 1px;
}
@layer components {
  .nav-custom {
    position: sticky;
    top: calc(var(--spacing) * 0);
    z-index: 20;
    margin-inline: auto;
    display: flex;
    width: 100%;
    max-width: 1100px;
    align-items: center;
    justify-content: space-between;
    padding-inline: calc(var(--spacing) * 6);
    padding-block: calc(var(--spacing) * 3);
    --tw-backdrop-blur: blur(var(--blur-2xl));
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.4));
  }
  .container-custom {
    margin-inline: auto;
    width: 100%;
    max-width: 1100px;
    border-radius: var(--radius-2xl);
    padding-inline: calc(var(--spacing) * 6);
  }
}
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --spacing: 0.25rem;
    --radius-2xl: 1rem;
    --blur-2xl: 40px;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities;
:root {
  --bg: #0a0a0a;
  --bg-alt: #000000;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #38bdf8;
  --card-bg: rgba(17, 24, 39, 0.6);
  --border: #1f2937;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.9);
}
:root.light-theme {
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --text: #111827;
  --muted: #6b7280;
  --accent: #2563eb;
  --card-bg: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  transition: background 0.3s ease;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(6px 6px at 20% 30%, white, transparent), radial-gradient(6px 6px at 60% 70%, white, transparent), radial-gradient(4px 4px at 50% 50%, white, transparent), radial-gradient(4px 4px at 80% 10%, white, transparent), radial-gradient(6px 6px at 90% 60%, white, transparent), radial-gradient(4px 4px at 33% 80%, white, transparent), radial-gradient(4px 4px at 15% 60%, white, transparent);
  background-size: 200% 200%;
  background-position: 0% 0%;
  animation: twinkle 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.3s ease;
}
:root.light-theme body::before {
  opacity: 0;
}
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(4px 4px at 10% 20%, white, transparent), radial-gradient(4px 4px at 40% 40%, white, transparent), radial-gradient(4px 4px at 70% 80%, white, transparent), radial-gradient(6px 6px at 25% 90%, white, transparent), radial-gradient(4px 4px at 85% 50%, white, transparent), radial-gradient(4px 4px at 95% 25%, white, transparent), radial-gradient(6px 6px at 45% 15%, white, transparent);
  background-size: 220% 220%;
  background-position: 0% 0%;
  animation: twinkle 4s ease-in-out infinite reverse;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.3s ease;
}
:root.light-theme body::after {
  opacity: 0;
}
@keyframes twinkle {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
body > * {
  position: relative;
  z-index: 2;
}
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.header {
  position: relative;
  min-height: 80vh;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.4));
}
.logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width 0.2s ease;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
}
.theme-toggle {
  border: none;
  background: var(--card-bg);
  color: var(--text);
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 3rem;
  align-items: center;
  padding: 3rem 0 4rem;
}
.hero-subtitle {
  font-size: 0.9rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.wave {
  display: inline-block;
  animation: wave 2.5s infinite;
  transform-origin: 70% 70%;
  font-size: 1.2rem;
}
@keyframes wave {
  0%, 100% {
    transform: rotate(0deg);
  }
  10%, 30% {
    transform: rotate(14deg);
  }
  20% {
    transform: rotate(-8deg);
  }
  40%, 60% {
    transform: rotate(14deg);
  }
  50% {
    transform: rotate(-8deg);
  }
  70% {
    transform: rotate(0deg);
  }
}
.fade-in-1 {
  opacity: 0;
  animation: fadeIn 0.6s ease-in forwards;
}
.fade-in-2 {
  opacity: 0;
  animation: fadeIn 0.6s ease-in 0.4s forwards;
}
.fade-in-3 {
  opacity: 0;
  animation: fadeIn 0.6s ease-in 0.8s forwards;
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.1rem);
  margin: 0;
}
.hero-role {
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 0.4rem;
}
.hero-desc {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 35rem;
}
.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  gap: 0.9rem;
}
.btn {
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}
.btn:hover {
  transform: scale(1.05);
}
.btn.primary {
  background: oklch(74.34% 0.11534 238.009);
  color: #0b1120;
  box-shadow: var(--shadow);
}
.btn.primary:hover {
  filter: brightness(1.1);
}
.btn.outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn.outline:hover {
  border-color: var(--accent);
}
.hero-image {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 2px solid var(--accent);
}
.section {
  padding: 4rem 0;
  background: linear-gradient(to bottom, var(--bg), var(--bg-alt));
}
.section-alt {
  background: linear-gradient(to bottom, var(--bg-alt), var(--bg));
}
.section-title {
  font-size: 1.7rem;
  margin: 0 0 1rem;
}
.section-text {
  max-width: 40rem;
  color: #d1d5db;
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.7;
}
.skills-scroll-container {
  margin-top: 2rem;
  overflow: hidden;
  width: 100%;
}
.skills-grid {
  display: flex;
  gap: 1.5rem;
  animation: scroll-left 20s linear infinite;
  width: max-content;
}
.skills-grid:hover {
  animation-play-state: paused;
}
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-260px * 4 - 1.5rem * 4));
  }
}
.skill-card {
  background: var(--card-bg);
  border-radius: 1rem;
  padding: 1.25rem 1.4rem 1.4rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-width: 260px;
  flex-shrink: 0;
}
.skill-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}
.projects-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.project-card {
  background: var(--card-bg);
  border-radius: 1rem;
  padding: 1.25rem 1.4rem 1.4rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.project-card h3 {
  margin-top: 0;
}
.project-tech {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.6rem;
}
.project-links {
  margin-top: 1rem;
  display: flex;
  gap: 0.8rem;
  font-size: 0.9rem;
}
.project-links a {
  color: var(--accent);
  text-decoration: none;
}
.project-links a:hover {
  text-decoration: underline;
}
.contact-wrapper {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}
.contact-content {
  max-width: 450px;
}
.contact-form {
  margin-top: 1.5rem;
}
.contact-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  opacity: 0.01;
  mix-blend-mode: screen;
  filter: brightness(0.9);
}
.form-group {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
label {
  font-size: 0.9rem;
}
input, textarea {
  padding: 0.6rem 0.75rem;
  border-radius: 0.6rem;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  font: inherit;
}
input:focus, textarea:focus {
  outline: 1px solid var(--accent);
}
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 1.5rem 0;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 0.8rem;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--accent);
}
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hero-image {
    order: -1;
  }
  .nav-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 56px;
    right: 1.5rem;
    flex-direction: column;
    background: var(--bg-alt);
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-image {
    order: -1;
  }
  .contact-image img {
    max-width: 280px;
  }
  .skills-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .skill-card:nth-child(5), .skill-card:nth-child(6), .skill-card:nth-child(7), .skill-card:nth-child(8) {
    display: none;
  }
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-backdrop-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-sepia {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-outline-style: solid;
      --tw-backdrop-blur: initial;
      --tw-backdrop-brightness: initial;
      --tw-backdrop-contrast: initial;
      --tw-backdrop-grayscale: initial;
      --tw-backdrop-hue-rotate: initial;
      --tw-backdrop-invert: initial;
      --tw-backdrop-opacity: initial;
      --tw-backdrop-saturate: initial;
      --tw-backdrop-sepia: initial;
    }
  }
}
