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

:root {
  --primary: #d6a85f;
  --primary-light: #e6c07b;
  --accent: #ffcf87;
  --primary-dark: #b8863c;
  --bg: #0f1115;
  --surface: #171a21;
  --surface-light: #20242d;
  --surface-hover: #252a35;
  --border: rgba(214, 168, 95, 0.15);
  --border-hover: rgba(214, 168, 95, 0.4);
  --text: #ffffff;
  --text-secondary: #b8bcc7;
  --text-muted: #6b7280;
  --success: #4ade80;
  --font-main: 'Kanit', 'Inter', sans-serif;
  --font-code: 'Fira Code', 'Courier New', monospace;
  --section-pad: 120px;
  --container: 1200px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul {
  list-style: none;
}


::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-dark);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}


#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px var(--accent);
}

#cursor-glow {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 168, 95, 0.08) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s var(--ease);
  top: -200px;
  left: -200px;
}

#ice-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(214, 168, 95, 0.3), transparent 70%);
  top: -200px;
  right: -200px;
  animation: orbFloat1 12s ease-in-out infinite;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 207, 135, 0.2), transparent 70%);
  bottom: -100px;
  left: -150px;
  animation: orbFloat2 15s ease-in-out infinite;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(184, 134, 60, 0.25), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbFloat3 20s ease-in-out infinite;
}

@keyframes orbFloat1 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-50px, 80px);
  }
}

@keyframes orbFloat2 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(60px, -60px);
  }
}

@keyframes orbFloat3 {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.2);
  }
}


.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}


.section {
  position: relative;
  z-index: 2;
  padding: var(--section-pad) 0;
}


.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gold {
  color: var(--primary-light);
  font-weight: 500;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(214, 168, 95, 0.1);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 60px;
}


.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--bg);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 50px;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 35px rgba(214, 168, 95, 0.4);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-arrow {
  transition: transform 0.25s var(--ease);
  position: relative;
  z-index: 1;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--border-hover);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(214, 168, 95, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(214, 168, 95, 0.15);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  color: var(--primary-light);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), gap 0.25s var(--ease);
  gap: 6px;
}

.btn-ghost:hover {
  border-color: var(--primary);
  gap: 10px;
}

.btn-ghost::after {
  content: '→';
}


.glass-card {
  background: rgba(23, 26, 33, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(15, 17, 21, 0.8);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#header.scrolled {
  border-color: var(--border);
  background: rgba(15, 17, 21, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}


.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(214, 168, 95, 0.35);
  box-shadow: 0 4px 20px rgba(214, 168, 95, 0.25);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(214, 168, 95, 0.06);
  flex-shrink: 0;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
}

.logo-area:hover .logo-icon-img {
  transform: rotate(-4deg) scale(1.08);
  box-shadow: 0 8px 30px rgba(214, 168, 95, 0.5);
}

.logo-name {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.logo-title {
  display: block;
  font-size: 0.7rem;
  color: var(--text-secondary);
  line-height: 1;
  margin-top: 2px;
}


.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  transition: transform 0.3s var(--ease-spring);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(214, 168, 95, 0.06);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}


.btn-resume {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--bg);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 20px;
  border-radius: 50px;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease);
}

.btn-resume:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 25px rgba(214, 168, 95, 0.4);
}

.btn-resume-icon {
  font-size: 0.85rem;
}


.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), width 0.3s var(--ease);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


.mobile-menu {
  display: none;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background: rgba(15, 17, 21, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 20px 32px;
}

.mobile-menu.open {
  display: block;
}

.mobile-nav-link {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.mobile-nav-link:hover {
  color: var(--primary-light);
  padding-left: 8px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  min-height: calc(100vh - 80px);
  padding: 60px 32px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.25);
  color: var(--success);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
  width: fit-content;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(74, 222, 128, 0);
  }
}

.hero-greeting {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.hero-name {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
}

.hero-role {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.hero-platforms {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.platform-tag {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-light);
}

.platform-sep {
  color: var(--text-muted);
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}


.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
}

.stat-item:first-child {
  padding-left: 0;
}

.stat-num {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}


.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-card {
  position: relative;
  width: 340px;
  padding: 36px 28px;
  background: rgba(23, 26, 33, 0.85);
  backdrop-filter: blur(30px);
  border: 1px solid var(--border);
  border-radius: 28px;
  text-align: center;
  animation: floatCard 6s ease-in-out infinite;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(214, 168, 95, 0.05);
  overflow: visible;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  33% {
    transform: translateY(-12px) rotate(1deg);
  }

  66% {
    transform: translateY(-6px) rotate(-0.5deg);
  }
}

.profile-card-glow {
  position: absolute;
  inset: -1px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(214, 168, 95, 0.3), transparent, rgba(255, 207, 135, 0.2));
  z-index: -1;
  animation: cardGlow 4s ease-in-out infinite alternate;
}

@keyframes cardGlow {
  0% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

.profile-avatar-wrap {
  position: relative;
  width: fit-content;
  margin: 0 auto 16px;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--surface-light), var(--surface-hover));
  border: 3px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(214, 168, 95, 0.3);
}

.profile-avatar-img {
  width: 88px;
  height: 88px;
  border: 3px solid var(--primary);
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(23, 26, 33, 0.9);
  box-shadow: 0 0 30px rgba(214, 168, 95, 0.35);
}

.avatar-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
}

.avatar-letter {
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.profile-online {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  background: var(--success);
  border: 3px solid var(--surface);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.profile-card-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.profile-card-role {
  font-size: 0.85rem;
  color: var(--primary-light);
  margin-bottom: 16px;
}

.profile-card-tags {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.ptag {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(214, 168, 95, 0.1);
  border: 1px solid var(--border);
  color: var(--primary-light);
  padding: 4px 12px;
  border-radius: 50px;
}

.profile-card-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 16px;
}


.code-snippet {
  background: rgba(15, 17, 21, 0.8);
  border: 1px solid rgba(214, 168, 95, 0.1);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
}

.code-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(214, 168, 95, 0.08);
}

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.code-dot.red {
  background: #ff6057;
}

.code-dot.yellow {
  background: #febc2e;
}

.code-dot.green {
  background: #28c840;
}

.code-file {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: 6px;
  font-family: var(--font-code);
}

.code-body {
  padding: 14px;
  font-family: var(--font-code);
  font-size: 0.72rem;
  line-height: 1.7;
  overflow: hidden;
}

.c-keyword {
  color: #c792ea;
}

.c-string {
  color: #c3e88d;
}

.c-paren {
  color: #89ddff;
}

.c-comment {
  color: #546e7a;
  font-style: italic;
}


.float-badge {
  position: absolute;
  background: rgba(23, 26, 33, 0.95);
  border: 1px solid var(--border-hover);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.float-badge-1 {
  top: -20px;
  right: -20px;
  animation: floatBadge1 4s ease-in-out infinite;
}

.float-badge-2 {
  bottom: 20px;
  left: -30px;
  animation: floatBadge2 5s ease-in-out infinite;
}

@keyframes floatBadge1 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes floatBadge2 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}


.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--primary-light);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(12px);
    opacity: 0;
  }
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(5px);
  }
}

.about-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 50%, var(--bg) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 60px;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-text strong {
  color: var(--text);
  font-weight: 600;
}

.about-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-card {
  padding: 24px;
  background: rgba(23, 26, 33, 0.7);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease-spring), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.about-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(214, 168, 95, 0.1);
}

.about-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.about-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.about-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.stack-section {}

.stack-category {
  margin-bottom: 48px;
}

.stack-cat-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.stack-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stack-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 24px;
  background: rgba(23, 26, 33, 0.7);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  min-width: 110px;
  cursor: default;
  transition: transform 0.3s var(--ease-spring), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.stack-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(214, 168, 95, 0.1);
  background: rgba(214, 168, 95, 0.05);
}

.stack-card-featured {
  border-color: rgba(214, 168, 95, 0.25);
  background: rgba(214, 168, 95, 0.04);
}

.stack-card-featured:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(214, 168, 95, 0.2);
}

.stack-card-creative {
  border-color: rgba(192, 132, 252, 0.2);
  background: rgba(192, 132, 252, 0.04);
}

.stack-card-creative:hover {
  border-color: rgba(192, 132, 252, 0.6);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(192, 132, 252, 0.15);
  background: rgba(192, 132, 252, 0.08);
}

.stack-card-creative:hover span {
  color: #e9d5ff;
}

.sc-icon {
  font-size: 2rem;
  line-height: 1;
}

.stack-card span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.stack-card:hover span {
  color: var(--primary-light);
}

.resume-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 50%, var(--bg) 100%);
}

.resume-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

.resume-col-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.resume-col-icon {
  font-size: 1.2rem;
}

.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), transparent);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-dot {
  position: absolute;
  left: -25px;
  top: 5px;
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: 3px solid var(--bg);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(214, 168, 95, 0.5);
  animation: timelinePulse 3s ease-in-out infinite;
}

@keyframes timelinePulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(214, 168, 95, 0.5);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(214, 168, 95, 0);
  }
}

.timeline-content {
  background: rgba(23, 26, 33, 0.7);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease);
}

.timeline-content:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.timeline-date {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
}

.timeline-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.timeline-tags span {
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(214, 168, 95, 0.08);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 3px 10px;
  border-radius: 50px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: rgba(23, 26, 33, 0.8);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: transform 0.4s var(--ease-spring), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: var(--border-hover);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(214, 168, 95, 0.15);
}

.project-img-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), filter 0.3s var(--ease);
}

.project-card:hover .project-img {
  transform: scale(1.08);
  filter: brightness(0.6);
}

.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.btn-view-details {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--bg);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 22px;
  border-radius: 50px;
  transition: transform 0.2s var(--ease-spring);
}

.btn-view-details:hover {
  transform: scale(1.05);
}


.project-img-placeholder {
  background: linear-gradient(135deg, var(--surface), var(--surface-hover));
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-placeholder-icon {
  font-size: 4rem;
  opacity: 0.5;
}

.project-card-alt .project-img-placeholder {
  background: linear-gradient(135deg, rgba(214, 168, 95, 0.08), rgba(255, 207, 135, 0.04));
  border-bottom: 1px solid var(--border);
}

.project-card-discord {
  border-color: rgba(99, 102, 241, 0.3);
}

.project-card-discord:hover {
  border-color: rgba(99, 102, 241, 0.7);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(99, 102, 241, 0.25);
}

.project-img-discord {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.06));
  border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.project-info {
  padding: 20px;
}

.project-platform-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 8px;
}

.project-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.project-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-tech span {
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(214, 168, 95, 0.08);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: 50px;
}

.contact-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 50%, var(--bg) 100%);
}

.contact-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 0;
}

.contact-card {
  flex: 1 1 280px;
  max-width: 360px;
  padding: 40px 32px;
  background: rgba(23, 26, 33, 0.8);
  border: 1px solid var(--border);
  border-radius: 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease-spring), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.contact-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(214, 168, 95, 0.1);
}

/* Custom Brand Colors for Hover States on Contact Cards */
#cc-discord:hover {
  border-color: rgba(88, 101, 242, 0.5);
  box-shadow: 0 20px 50px rgba(88, 101, 242, 0.2), 0 0 0 1px rgba(88, 101, 242, 0.15);
}

#cc-discord:hover .cc-icon {
  border-color: #5865F2;
  color: #5865F2;
  background: rgba(88, 101, 242, 0.1);
}

#cc-discord .btn-copy:hover {
  background: rgba(88, 101, 242, 0.15);
  border-color: #5865F2;
  color: #a5b4fc;
}

#cc-github:hover {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 50px rgba(255, 255, 255, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

#cc-github:hover .cc-icon {
  border-color: #ffffff;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

#cc-github .btn-copy:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

#cc-facebook:hover {
  border-color: rgba(24, 119, 242, 0.5);
  box-shadow: 0 20px 50px rgba(24, 119, 242, 0.2), 0 0 0 1px rgba(24, 119, 242, 0.15);
}

#cc-facebook:hover .cc-icon {
  border-color: #1877F2;
  color: #1877F2;
  background: rgba(24, 119, 242, 0.1);
}

#cc-facebook .btn-copy:hover {
  background: rgba(24, 119, 242, 0.15);
  border-color: #1877F2;
  color: #60a5fa;
}

#cc-youtube:hover {
  border-color: rgba(255, 0, 0, 0.5);
  box-shadow: 0 20px 50px rgba(255, 0, 0, 0.2), 0 0 0 1px rgba(255, 0, 0, 0.15);
}

#cc-youtube:hover .cc-icon {
  border-color: #FF0000;
  color: #FF0000;
  background: rgba(255, 0, 0, 0.1);
}

#cc-youtube .btn-copy:hover {
  background: rgba(255, 0, 0, 0.15);
  border-color: #FF0000;
  color: #fca5a5;
}

.cc-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(214, 168, 95, 0.15), rgba(255, 207, 135, 0.08));
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.contact-card:hover .cc-icon {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(214, 168, 95, 0.25), rgba(255, 207, 135, 0.12));
}

.contact-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.cc-value {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  word-break: break-all;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(214, 168, 95, 0.1);
  border: 1px solid var(--border-hover);
  color: var(--primary-light);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 20px;
  border-radius: 50px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease-spring), border-color 0.25s var(--ease);
}

.btn-copy:hover {
  background: rgba(214, 168, 95, 0.2);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.copy-icon {
  font-size: 0.9rem;
}

#footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding: 64px 32px 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin-bottom: 20px;
}

.footer-logo-img-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(214, 168, 95, 0.3);
  background: rgba(214, 168, 95, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.footer-logo-name {
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-logo-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-bio {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 300px;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--primary-light);
  gap: 12px;
}

.footer-social-icon {
  font-size: 1rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 32px;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-brand-center {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.footer-powered {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-at {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.footer-heart {
  color: var(--text-secondary);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.modal-overlay:not([hidden]) {
  opacity: 1;
}

.modal-overlay[hidden] {
  display: none !important;
}

.modal-box {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-hover);
  border-radius: 28px;
  padding: 40px;
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s var(--ease-spring);
}

.modal-overlay:not([hidden]) .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text);
}

.modal-project-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal-project-platform {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.modal-project-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}

.modal-project-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.modal-tech-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.modal-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-tech-list span {
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(214, 168, 95, 0.1);
  border: 1px solid var(--border-hover);
  color: var(--primary-light);
  padding: 6px 14px;
  border-radius: 50px;
}

.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--surface-hover);
  border: 1px solid var(--border-hover);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 12px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease-spring);
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-tab {
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(23, 26, 33, 0.8);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease-spring);
}

.filter-tab:hover {
  border-color: var(--border-hover);
  color: var(--primary-light);
  transform: translateY(-2px);
}

.filter-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-color: transparent;
  color: var(--bg);
  box-shadow: 0 6px 20px rgba(214, 168, 95, 0.35);
}


.page-hero-section {
  padding-top: calc(var(--section-pad) + 80px);
  padding-bottom: 40px;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.page-breadcrumb a {
  color: var(--primary);
  transition: color 0.2s;
}

.page-breadcrumb a:hover {
  color: var(--primary-light);
}

.page-title {
  margin-bottom: 24px;
}


.skills-section {
  margin-top: 60px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.skill-item {}

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.skill-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.skill-pct {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-light);
}

.skill-bar {
  height: 6px;
  background: var(--surface-hover);
  border-radius: 6px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 6px;
  box-shadow: 0 0 8px rgba(214, 168, 95, 0.4);
  transition: width 1s var(--ease);
}


.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;
}

@media (max-width: 1200px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-name {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
  }
}

@media (max-width: 992px) {
  :root {
    --section-pad: 80px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 80px 32px 60px;
    text-align: center;
  }

  .hero-badge,
  .hero-buttons,
  .hero-stats,
  .hero-platforms {
    justify-content: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-right {
    display: flex;
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .resume-columns {
    grid-template-columns: 1fr;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .btn-resume span:last-child {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
  }

  .container {
    padding: 0 20px;
  }

  .header-inner {
    padding: 0 20px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 0;
  }

  .stat-item {
    padding: 0 16px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 20px;
  }

  .footer-bottom {
    padding: 16px 20px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .modal-box {
    padding: 28px 20px;
  }
}

@media (max-width: 576px) {
  .hero-name {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons a {
    text-align: center;
    justify-content: center;
  }

  .profile-card {
    width: 280px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    padding: 0;
  }
}

main {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease-spring);
}

main.page-fade-out {
  opacity: 0;
  transform: translateY(12px);
}

.sc-icon svg {
  width: 36px;
  height: 36px;
  display: block;
  transition: transform 0.3s var(--ease-spring);
}

.stack-card:hover .sc-icon svg {
  transform: scale(1.18);
}

.sc-fav-star {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.75rem;
  animation: starPulse 2.5s ease-in-out infinite;
  z-index: 5;
  filter: drop-shadow(0 0 4px rgba(214, 168, 95, 0.6));
}

@keyframes starPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

#sc-lua:hover {
  border-color: #0059b2;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 89, 178, 0.35);
  background: rgba(0, 89, 178, 0.06);
}

#sc-html:hover {
  border-color: #e34c26;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(227, 76, 38, 0.35);
  background: rgba(227, 76, 38, 0.06);
}

#sc-css:hover {
  border-color: #264de4;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(38, 77, 228, 0.35);
  background: rgba(38, 77, 228, 0.06);
}

#sc-js:hover {
  border-color: #f7df1e;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(247, 223, 30, 0.3);
  background: rgba(247, 223, 30, 0.05);
}

#sc-db:hover {
  border-color: #008fbb;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 143, 187, 0.35);
  background: rgba(0, 143, 187, 0.06);
}

#sc-fivem:hover {
  border-color: #ff8c00;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(255, 140, 0, 0.4);
  background: rgba(255, 140, 0, 0.06);
}

#sc-roblox:hover {
  border-color: #ef4444;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.06);
}

#sc-mc:hover {
  border-color: #5b8731;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(91, 135, 49, 0.35);
  background: rgba(91, 135, 49, 0.06);
}

#sc-discord-bot:hover {
  border-color: #5865F2;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(88, 101, 242, 0.4);
  background: rgba(88, 101, 242, 0.06);
}

#sc-photoshop:hover {
  border-color: #31a8ff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(49, 168, 255, 0.35);
  background: rgba(49, 168, 255, 0.06);
}

#sc-premiere:hover {
  border-color: #ea77ff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(234, 119, 255, 0.35);
  background: rgba(234, 119, 255, 0.06);
}

#sc-blender:hover {
  border-color: #e87d0d;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(232, 125, 13, 0.35);
  background: rgba(232, 125, 13, 0.06);
}

#sc-3dsmax:hover {
  border-color: #3f7b80;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(63, 123, 128, 0.35);
  background: rgba(63, 123, 128, 0.06);
}

#sc-vscode:hover {
  border-color: #007acc;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 122, 204, 0.35);
  background: rgba(0, 122, 204, 0.06);
}

#sc-git:hover {
  border-color: #f05032;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(240, 80, 50, 0.35);
  background: rgba(240, 80, 50, 0.06);
}

#sc-github:hover {
  border-color: #ffffff;
  box-shadow: 0 20px 40px rgba(255, 255, 255, 0.15), 0 0 25px rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

#sc-mysql:hover {
  border-color: #00758f;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 117, 143, 0.35);
  background: rgba(0, 117, 143, 0.06);
}

#sc-xampp:hover {
  border-color: #4ba23f;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(75, 162, 63, 0.35);
  background: rgba(75, 162, 63, 0.06);
}

.modal-project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn-modal-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--border-hover);
  color: var(--text);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 20px;
  border-radius: 50px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease);
}

.btn-modal-link:hover {
  border-color: var(--primary);
  background: rgba(214, 168, 95, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(214, 168, 95, 0.15);
}

.btn-modal-link .link-icon {
  font-size: 0.95rem;
}