/* Dark Theme (Default) */
:root,
[data-theme="dark"]{
  --bg:#0f1220;
  --bg-gradient:linear-gradient(180deg,#0b0e1a 0%, #101632 50%, #0b0e1a 100%);
  --card:#151a2e;
  --card-border:rgba(255,255,255,.08);
  --muted:#8b91aa;
  --text:#e6e9ff;
  --accent:#6ea8ff;
  --accent-2:#9ef0a8;
  --brand:#b5ff75;
  --ring:rgba(110,168,255,.35);
  --nav-bg:rgba(10,12,25,.75);
  --input-bg:rgba(255,255,255,.05);
  --aurora-opacity:1;
  --stars-opacity:1;
}

/* Light Theme - Blue Sky Palette */
[data-theme="light"]{
  --bg:#c5d9f1;
  --bg-gradient:linear-gradient(180deg,#b8d0ec 0%, #c5d9f1 50%, #d4e4f7 100%);
  --card:#dce8f5;
  --card-border:rgba(30,58,110,.15);
  --muted:#4a6a95;
  --text:#2a4a75;
  --accent:#3a6aaa;
  --accent-2:#4a7abb;
  --brand:#5a8acc;
  --ring:rgba(59,106,171,.35);
  --nav-bg:rgba(197,217,241,.92);
  --input-bg:rgba(30,58,110,.06);
  --aurora-opacity:0.2;
  --stars-opacity:0.15;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{margin:0;padding:0;color:var(--text);font:16px/1.6 system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif;transition:background 0.3s ease, color 0.3s ease;}
body{background:var(--bg-gradient);background-attachment:fixed}

/* Page sections for single-page layout */
.page-section{
  padding-top:40px;
  scroll-margin-top:70px;
}
.page-section h1{
  margin-bottom:20px;
}

/* === Clouds Background (Light Mode Only) === */
.clouds {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.8s ease;
}

[data-theme="light"] .clouds {
  opacity: 1;
}

.cloud {
  position: absolute;
  background: radial-gradient(ellipse at center,
    rgba(255,255,255,0.95) 0%,
    rgba(255,255,255,0.8) 30%,
    rgba(255,255,255,0.4) 60%,
    rgba(255,255,255,0) 100%);
  border-radius: 50%;
  filter: blur(8px);
}

.cloud::before,
.cloud::after {
  content: '';
  position: absolute;
  background: radial-gradient(ellipse at center,
    rgba(255,255,255,0.9) 0%,
    rgba(255,255,255,0.6) 40%,
    rgba(255,255,255,0) 70%);
  border-radius: 50%;
}

.cloud-1 {
  width: 400px;
  height: 120px;
  top: 6%;
  right: -450px;
  filter: blur(12px);
  opacity: 0.7;
  animation: cloud-drift-slow 90s linear infinite;
}
.cloud-1::before {
  width: 180px;
  height: 140px;
  top: -60px;
  left: 60px;
  filter: blur(6px);
}
.cloud-1::after {
  width: 220px;
  height: 160px;
  top: -80px;
  left: 150px;
  filter: blur(8px);
}

.cloud-2 {
  width: 300px;
  height: 90px;
  top: 18%;
  right: -350px;
  filter: blur(6px);
  opacity: 0.85;
  animation: cloud-drift-medium 70s linear infinite;
  animation-delay: -20s;
}
.cloud-2::before {
  width: 140px;
  height: 110px;
  top: -50px;
  left: 40px;
  filter: blur(4px);
}
.cloud-2::after {
  width: 160px;
  height: 120px;
  top: -60px;
  left: 120px;
  filter: blur(5px);
}

.cloud-3 {
  width: 500px;
  height: 150px;
  top: 35%;
  right: -550px;
  filter: blur(10px);
  opacity: 0.75;
  animation: cloud-drift-slow 100s linear infinite;
  animation-delay: -40s;
}
.cloud-3::before {
  width: 200px;
  height: 160px;
  top: -70px;
  left: 80px;
  filter: blur(6px);
}
.cloud-3::after {
  width: 250px;
  height: 180px;
  top: -90px;
  left: 200px;
  filter: blur(8px);
}

.cloud-4 {
  width: 250px;
  height: 70px;
  top: 55%;
  right: -300px;
  filter: blur(8px);
  opacity: 0.6;
  animation: cloud-drift-fast 55s linear infinite;
  animation-delay: -10s;
}
.cloud-4::before {
  width: 100px;
  height: 80px;
  top: -35px;
  left: 30px;
  filter: blur(5px);
}
.cloud-4::after {
  width: 130px;
  height: 90px;
  top: -45px;
  left: 100px;
  filter: blur(6px);
}

.cloud-5 {
  width: 200px;
  height: 60px;
  top: 75%;
  right: -250px;
  filter: blur(10px);
  opacity: 0.5;
  animation: cloud-drift-medium 65s linear infinite;
  animation-delay: -30s;
}
.cloud-5::before {
  width: 80px;
  height: 65px;
  top: -30px;
  left: 25px;
  filter: blur(6px);
}
.cloud-5::after {
  width: 100px;
  height: 75px;
  top: -40px;
  left: 80px;
  filter: blur(7px);
}

@keyframes cloud-drift-slow {
  0% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(calc(-50vw - 150px)) translateY(-8px); }
  100% { transform: translateX(calc(-100vw - 600px)) translateY(0); }
}

@keyframes cloud-drift-medium {
  0% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(calc(-50vw - 100px)) translateY(5px); }
  100% { transform: translateX(calc(-100vw - 400px)) translateY(0); }
}

@keyframes cloud-drift-fast {
  0% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(calc(-50vw - 80px)) translateY(-4px); }
  100% { transform: translateX(calc(-100vw - 350px)) translateY(0); }
}

/* === Aurora Borealis Background === */
.aurora {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: var(--aurora-opacity);
  transition: opacity 0.3s ease;
}

.aurora-line {
  position: absolute;
  height: 150%;
  width: 3px;
  top: -25%;
  filter: blur(10px);
  opacity: 0;
  animation: aurora-drift 14s ease-in-out infinite;
}

/* Cosmic Orchid Aurora - using palette colors */
.aurora-line:nth-child(1) {
  left: 2%;
  background: linear-gradient(180deg, transparent 0%, rgba(224, 122, 230, 0.5) 20%, rgba(161, 72, 211, 0.6) 50%, rgba(155, 135, 238, 0.5) 80%, transparent 100%);
  animation-delay: 0s;
  filter: blur(22px);
  width: 10px;
}

.aurora-line:nth-child(2) {
  left: 8%;
  background: linear-gradient(180deg, transparent 0%, rgba(235, 185, 239, 0.4) 30%, rgba(224, 122, 230, 0.5) 60%, transparent 100%);
  animation-delay: -4s;
  filter: blur(18px);
  width: 6px;
}

.aurora-line:nth-child(3) {
  right: 2%;
  left: auto;
  background: linear-gradient(180deg, transparent 0%, rgba(155, 135, 238, 0.45) 40%, rgba(43, 90, 182, 0.5) 70%, transparent 100%);
  animation-delay: -7s;
  filter: blur(22px);
  width: 10px;
}

.aurora-line:nth-child(4) {
  right: 8%;
  left: auto;
  background: linear-gradient(180deg, transparent 0%, rgba(161, 72, 211, 0.35) 25%, rgba(224, 122, 230, 0.45) 55%, transparent 100%);
  animation-delay: -11s;
  filter: blur(16px);
  width: 6px;
}

.aurora-line:nth-child(5) {
  right: 15%;
  left: auto;
  background: linear-gradient(180deg, transparent 0%, rgba(43, 90, 182, 0.4) 35%, rgba(155, 135, 238, 0.45) 65%, transparent 100%);
  animation-delay: -2s;
  filter: blur(20px);
  width: 8px;
}

@keyframes aurora-drift {
  0%, 100% {
    transform: translateY(-10%) scaleX(1);
    opacity: 0;
  }
  10% { opacity: 0.6; }
  50% {
    transform: translateY(10%) scaleX(1.5);
    opacity: 0.8;
  }
  90% { opacity: 0.6; }
}

.container{max-width:1100px;margin:0 auto;padding:24px}
@media (max-width: 640px){
  .container{padding:16px}
}

/* Navigation */
.nav{
  position:sticky;top:0;z-index:10;
  backdrop-filter:saturate(180%) blur(12px);
  background:var(--nav-bg);
  border-bottom:1px solid var(--card-border);
  box-shadow:0 4px 30px rgba(0,0,0,.3);
  transition:background 0.3s ease, border-color 0.3s ease;
}
.nav .inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0}
.brand{display:flex;align-items:center;gap:12px;font-weight:700;letter-spacing:.3px;font-size:18px;transition:all 0.3s ease}
.brand .dot{
  width:18px;
  height:18px;
  position:relative;
  transition:all 0.3s ease;
  animation:pulse-star 2s ease-in-out infinite;
  filter:drop-shadow(0 0 12px rgba(110,168,255,.9)) drop-shadow(0 0 25px rgba(170,117,255,.7)) drop-shadow(0 0 40px rgba(110,168,255,.5));
}
.brand .dot::before,
.brand .dot::after{
  content:'';
  position:absolute;
  left:50%;
  top:50%;
}
.brand .dot::before{
  width:4px;
  height:18px;
  background:linear-gradient(180deg, #ffffff 0%, #6ea8ff 40%, #6ea8ff 60%, #ffffff 100%);
  clip-path:polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  transform:translate(-50%,-50%);
}
.brand .dot::after{
  width:18px;
  height:4px;
  background:linear-gradient(90deg, #ffffff 0%, #aa75ff 40%, #aa75ff 60%, #ffffff 100%);
  clip-path:polygon(0% 50%, 50% 0%, 100% 50%, 50% 100%);
  transform:translate(-50%,-50%);
}
@keyframes pulse-star{
  0%,100%{filter:drop-shadow(0 0 12px rgba(110,168,255,.9)) drop-shadow(0 0 25px rgba(170,117,255,.7)) drop-shadow(0 0 40px rgba(110,168,255,.5));transform:scale(1)}
  50%{filter:drop-shadow(0 0 18px rgba(110,168,255,1)) drop-shadow(0 0 35px rgba(170,117,255,.9)) drop-shadow(0 0 55px rgba(110,168,255,.7));transform:scale(1.15)}
}
.brand:hover{transform:translateX(4px)}
.brand:hover .dot{transform:scale(1.4);filter:drop-shadow(0 0 20px rgba(110,168,255,1)) drop-shadow(0 0 40px rgba(170,117,255,.9)) drop-shadow(0 0 60px rgba(110,168,255,.7))}
.nav a{color:var(--text);text-decoration:none;opacity:.8;transition:all 0.3s ease;position:relative}
.nav a:hover{opacity:1;color:var(--accent)}
.links{display:flex;gap:8px;flex-wrap:wrap}
.links a{
  padding:8px 16px;
  border-radius:8px;
  font-size:14px;
  font-weight:500;
  transition:all 0.3s ease;
}
.links a:hover{
  background:rgba(110,168,255,.1);
  color:var(--accent);
  transform:translateY(-2px);
}
.links a.active{
  background:rgba(110,168,255,.15);
  color:var(--accent);
}

[data-theme="light"] .links a:hover{
  background:rgba(30,58,110,.1);
}
[data-theme="light"] .links a.active{
  background:rgba(30,58,110,.12);
}

/* Theme Toggle Button */
.theme-toggle-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border:none;
  border-radius:10px;
  background:var(--input-bg);
  cursor:pointer;
  transition:all 0.3s ease;
  margin-left:8px;
  position:relative;
  overflow:hidden;
}

.theme-toggle-btn:hover{
  background:rgba(110,168,255,.15);
  transform:translateY(-2px);
}

[data-theme="light"] .theme-toggle-btn:hover{
  background:rgba(30,58,110,.12);
}

.theme-toggle-btn i{
  position:absolute;
  font-size:18px;
  transition:all 0.4s ease;
}

[data-theme="dark"] .theme-toggle-btn .fa-moon{
  opacity:1;
  transform:rotate(0deg) scale(1);
  color:var(--accent);
}
[data-theme="dark"] .theme-toggle-btn .fa-sun{
  opacity:0;
  transform:rotate(-90deg) scale(0);
}

[data-theme="light"] .theme-toggle-btn .fa-sun{
  opacity:1;
  transform:rotate(0deg) scale(1);
  color:#f59e0b;
}
[data-theme="light"] .theme-toggle-btn .fa-moon{
  opacity:0;
  transform:rotate(90deg) scale(0);
}

/* Hamburger Menu Button */
.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:32px;
  height:32px;
  background:none;
  border:none;
  cursor:pointer;
  padding:4px;
  z-index:20;
}
.nav-toggle span{
  display:block;
  width:100%;
  height:2px;
  background:var(--text);
  border-radius:2px;
  transition:all 0.3s ease;
}
.nav-toggle.active span:nth-child(1){
  transform:rotate(45deg) translate(5px,5px);
}
.nav-toggle.active span:nth-child(2){
  opacity:0;
}
.nav-toggle.active span:nth-child(3){
  transform:rotate(-45deg) translate(5px,-5px);
}

/* Mobile Navigation */
@media (max-width: 640px){
  .nav .inner{
    padding:12px 16px;
  }
  .brand{
    font-size:16px;
  }
  .brand .dot{
    width:14px;
    height:14px;
  }
  .nav-toggle{
    display:flex;
    flex-shrink:0;
  }
  .links{
    position:fixed;
    top:0;
    right:-280px;
    width:260px;
    height:100vh;
    background:var(--card);
    backdrop-filter:blur(20px);
    flex-direction:column;
    padding:24px;
    padding-top:24px;
    gap:8px;
    transition:right 0.3s ease;
    box-shadow:-10px 0 40px rgba(0,0,0,.4);
    border-left:1px solid var(--card-border);
    z-index:15;
  }
  .links.active{
    right:0;
  }
  .links::before{
    content:'Menu';
    display:block;
    font-size:20px;
    font-weight:800;
    color:var(--text);
    padding-bottom:16px;
    margin-bottom:8px;
    border-bottom:1px solid var(--card-border);
  }
  .links a{
    padding:14px 18px;
    font-size:16px;
    border-radius:12px;
    width:100%;
    text-align:left;
    background:var(--input-bg);
    border:1px solid var(--card-border);
    transition:all 0.2s ease;
  }
  .links a:hover,
  .links a.active{
    background:rgba(110,168,255,.15);
    border-color:var(--accent);
    transform:translateX(-4px);
  }
  [data-theme="light"] .links a:hover,
  [data-theme="light"] .links a.active{
    background:rgba(30,58,110,.12);
  }
  .theme-toggle-btn{
    display:flex;
    margin-top:16px;
    margin-left:auto;
    margin-right:auto;
    width:40px;
    height:40px;
    border-radius:10px;
  }
  .nav-overlay{
    display:none;
  }
}

/* Hero Section */
.hero-section {
  padding: 60px 0 40px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  animation: fadeInUp 1s ease-out;
}

.hero-greeting {
  display: block;
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.hero-name {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 16px;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 50%, #aa75ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
  cursor: default;
  position: relative;
  display: inline-block;
}

.hero-name:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 0 20px rgba(110, 168, 255, 0.5)) drop-shadow(0 0 40px rgba(170, 117, 255, 0.3));
}

/* Name sparkles */
.name-sparkle {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 0L14 10L24 12L14 14L12 24L10 14L0 12L10 10L12 0Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.hero-name:hover .name-sparkle {
  opacity: 1;
}

.name-sparkle-1 {
  top: -10px;
  left: 10%;
  width: 16px;
  height: 16px;
  filter: drop-shadow(0 0 6px #6ea8ff);
  animation: sparkle-float 2s ease-in-out infinite;
}

.name-sparkle-2 {
  top: 0;
  right: 5%;
  width: 12px;
  height: 12px;
  filter: drop-shadow(0 0 6px #aa75ff);
  animation: sparkle-float 2s ease-in-out infinite 0.5s;
}

.name-sparkle-3 {
  bottom: -5px;
  left: 30%;
  width: 10px;
  height: 10px;
  filter: drop-shadow(0 0 6px #7ef6d7);
  animation: sparkle-float 2s ease-in-out infinite 1s;
}

.name-sparkle-4 {
  bottom: 5px;
  right: 20%;
  width: 14px;
  height: 14px;
  filter: drop-shadow(0 0 6px #6ea8ff);
  animation: sparkle-float 2s ease-in-out infinite 1.5s;
}

.hero-tagline {
  font-size: 20px;
  font-style: italic;
  color: var(--accent);
  margin: 0 0 20px;
  font-weight: 500;
}

.hero-role {
  font-size: 22px;
  color: var(--muted);
  margin: 0 0 20px;
  font-weight: 500;
}

.role-text {
  color: var(--accent);
  font-weight: 600;
}

.role-cursor {
  color: var(--accent);
  font-weight: 300;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 500px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #0c1424;
  background: linear-gradient(135deg, #6ea8ff, #7ef6d7);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 24px rgba(110,168,255,.3);
}

.hero-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(110,168,255,.5);
}

.hero-image {
  display: flex;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-photo-wrapper {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 20px;
  overflow: visible;
  border: 3px solid rgba(110,168,255,.4);
  box-shadow: 0 12px 40px rgba(110,168,255,.25), 0 0 80px rgba(170,117,255,.15);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              border-color 0.4s ease,
              box-shadow 0.4s ease;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.hero-photo-wrapper img {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-photo-wrapper.bounce:not(.stretched) {
  animation: bounce 0.6s ease;
}

.hero-photo-wrapper.stretched,
.hero-photo-wrapper.stretched:hover {
  transform: scale(0.85, 1.25) !important;
  border-color: #ff6b6b !important;
  box-shadow: 0 12px 40px rgba(255,107,107,.4), 0 0 80px rgba(255,107,107,.2) !important;
}

@keyframes bounce {
  0% { transform: scale(1, 1); }
  15% { transform: scale(0.85, 1.15); }
  30% { transform: scale(1.15, 0.85); }
  45% { transform: scale(0.95, 1.05); }
  60% { transform: scale(1.05, 0.95); }
  75% { transform: scale(0.98, 1.02); }
  100% { transform: scale(1, 1); }
}

/* Photo Container - holds message outside of scaled wrapper */
.hero-photo-container {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Photo Click Message */
.photo-message {
  position: absolute;
  bottom: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--card);
  border: 2px solid var(--accent);
  color: var(--text);
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(110,168,255,.3);
  z-index: 100;
}

.photo-message::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: var(--accent);
}

.photo-message.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Hold message style */
.photo-message.hold-style {
  font-weight: 700;
  font-size: 18px;
  animation: message-shake 0.1s ease infinite;
}

@keyframes message-shake {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(0deg); }
  25% { transform: translateX(-50%) translateY(0) rotate(-2deg); }
  75% { transform: translateX(-50%) translateY(0) rotate(2deg); }
}

.hero-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 17px;
  transition: transform 0.4s ease;
}

.hero-photo-wrapper:hover {
  border-color: rgba(110,168,255,.7);
  box-shadow: 0 16px 50px rgba(110,168,255,.35), 0 0 100px rgba(170,117,255,.25);
  transform: translateY(-8px);
}

.hero-photo-wrapper:hover img {
  transform: scale(1.03);
}

/* Hero sparkles */
.hero-photo-wrapper .sparkle {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-photo-wrapper:hover .sparkle {
  opacity: 1;
}

.hero-photo-wrapper .sparkle-1 {
  top: -15px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 0L14 10L24 12L14 14L12 24L10 14L0 12L10 10L12 0Z'/%3E%3C/svg%3E") center/contain no-repeat;
  filter: drop-shadow(0 0 6px #6ea8ff);
  animation: sparkle-float 2s ease-in-out infinite;
}

.hero-photo-wrapper .sparkle-2 {
  top: 20%;
  right: -18px;
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 0L14 10L24 12L14 14L12 24L10 14L0 12L10 10L12 0Z'/%3E%3C/svg%3E") center/contain no-repeat;
  filter: drop-shadow(0 0 6px #aa75ff);
  animation: sparkle-float 2s ease-in-out infinite 0.3s;
}

.hero-photo-wrapper .sparkle-3 {
  bottom: 15%;
  right: -14px;
  width: 10px;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 0L14 10L24 12L14 14L12 24L10 14L0 12L10 10L12 0Z'/%3E%3C/svg%3E") center/contain no-repeat;
  filter: drop-shadow(0 0 6px #7ef6d7);
  animation: sparkle-float 2s ease-in-out infinite 0.7s;
}

.hero-photo-wrapper .sparkle-4 {
  bottom: -14px;
  right: 30%;
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 0L14 10L24 12L14 14L12 24L10 14L0 12L10 10L12 0Z'/%3E%3C/svg%3E") center/contain no-repeat;
  filter: drop-shadow(0 0 6px #6ea8ff);
  animation: sparkle-float 2s ease-in-out infinite 1s;
}

/* Mobile responsive hero */
@media (max-width: 800px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-image {
    order: -1;
  }

  .hero-photo-wrapper {
    width: 220px;
    height: 220px;
  }

  .hero-description {
    max-width: 100%;
  }

  .hero-name {
    font-size: clamp(32px, 8vw, 48px);
  }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.button{display:inline-flex;align-items:center;gap:10px;background:linear-gradient(135deg,#6ea8ff,#7ef6d7);color:#0c1424;font-weight:700;padding:12px 18px;border-radius:12px;border:none;cursor:pointer;text-decoration:none;box-shadow:0 6px 24px rgba(110,168,255,.25);transition:all 0.3s ease;transform:translateY(0)}
.button:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(110,168,255,.4)}
[data-theme="light"] .button{box-shadow:0 6px 24px rgba(30,58,110,.2)}
[data-theme="light"] .button:hover{box-shadow:0 12px 32px rgba(30,58,110,.25)}
.button:active{transform:translateY(-2px)}
.button.secondary{background:transparent;color:var(--text);border:1px solid var(--card-border)}
.button.secondary:hover{background:var(--input-bg);border-color:var(--accent);box-shadow:0 8px 24px rgba(0,0,0,.3)}

/* Cards */
.card{background:var(--card);border:1px solid var(--card-border);border-radius:16px;padding:20px;box-shadow:0 10px 30px rgba(0,0,0,.25), 0 0 60px rgba(15,18,32,0.8);transition:background 0.3s ease, border-color 0.3s ease;position:relative;z-index:1}
[data-theme="light"] .card{box-shadow:0 4px 12px rgba(30,58,110,.08)}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}

.section-title{margin:32px 0 16px;font-weight:800;font-size:20px;letter-spacing:.3px}
.footer{padding:40px 0 24px;color:var(--muted);text-align:center;border-top:1px solid var(--card-border);margin-top:30px;margin-bottom:0}
.footer-copy{margin:0;font-size:14px}

/* About Section */
.about-card {
  background: rgba(21, 25, 40, 0.85);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(0,0,0,.25), 0 0 80px rgba(15,18,32,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

[data-theme="light"] .about-card {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 12px rgba(30,58,110,.08);
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6ea8ff, #7ef6d7, #aa75ff);
}

.about-header {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.about-photo {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 16px;
  overflow: visible;
  border: 3px solid rgba(110,168,255,.4);
  box-shadow: 0 8px 32px rgba(110,168,255,.2);
  position: relative;
  transition: all 0.3s ease;
  background: radial-gradient(80% 80% at 30% 20%, #6ea8ff33 0%, transparent 60%), #0e142b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 13px;
  transition: transform 0.3s ease;
}

.about-photo:hover {
  border-color: rgba(110,168,255,.8);
  box-shadow: 0 8px 40px rgba(110,168,255,.4), 0 0 60px rgba(170,117,255,.3);
}

.about-photo:hover img {
  transform: scale(1.02);
}

/* Sparkle elements */
.about-photo .sparkle {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-photo:hover .sparkle {
  opacity: 1;
}

.about-photo .sparkle-1 {
  top: -15px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 0L14 10L24 12L14 14L12 24L10 14L0 12L10 10L12 0Z'/%3E%3C/svg%3E") center/contain no-repeat;
  filter: drop-shadow(0 0 4px #6ea8ff);
  animation: sparkle-float 2s ease-in-out infinite;
}

.about-photo .sparkle-2 {
  top: 20%;
  right: -18px;
  width: 10px;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 0L14 10L24 12L14 14L12 24L10 14L0 12L10 10L12 0Z'/%3E%3C/svg%3E") center/contain no-repeat;
  filter: drop-shadow(0 0 4px #aa75ff);
  animation: sparkle-float 2s ease-in-out infinite 0.3s;
}

.about-photo .sparkle-3 {
  bottom: 10%;
  right: -12px;
  width: 8px;
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 0L14 10L24 12L14 14L12 24L10 14L0 12L10 10L12 0Z'/%3E%3C/svg%3E") center/contain no-repeat;
  filter: drop-shadow(0 0 4px #7ef6d7);
  animation: sparkle-float 2s ease-in-out infinite 0.7s;
}

.about-photo .sparkle-4 {
  bottom: -12px;
  right: 30%;
  width: 10px;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 0L14 10L24 12L14 14L12 24L10 14L0 12L10 10L12 0Z'/%3E%3C/svg%3E") center/contain no-repeat;
  filter: drop-shadow(0 0 4px #6ea8ff);
  animation: sparkle-float 2s ease-in-out infinite 1s;
}

@keyframes sparkle-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.2); }
}

.about-header-text {
  flex: 1;
}

.about-header-text h2 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
}

.about-header-text .about-intro {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 24px;
  max-width: 700px;
}

.about-section {
  margin-bottom: 24px;
}

.about-section:last-child {
  margin-bottom: 0;
}

.about-section h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-section h3::before {
  content: "";
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, #6ea8ff, #7ef6d7);
  border-radius: 2px;
}

.about-grid-new {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.about-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #151a24;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  transition: all 0.3s ease;
}

[data-theme="light"] .about-item {
  background: #f0f5ff;
}

.about-item:hover {
  background: #1a2030;
  border-color: rgba(110,168,255,.3);
  transform: translateY(-4px);
}

[data-theme="light"] .about-item:hover {
  background: #e6edff;
  border-color: var(--accent);
}

.about-icon {
  font-size: 28px;
  line-height: 1;
}

.about-text h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.about-text p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 700px) {
  .about-card { padding: 24px; }
  .about-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }
  .about-photo {
    width: 160px;
    height: 160px;
  }
  .about-grid-new { grid-template-columns: 1fr; }
  .about-card h2, .about-header-text h2 { font-size: 24px; }
}

/* Section Header with Underline */
.section-header {
  text-align: left;
  margin-bottom: 32px;
}

.section-header h1 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.section-underline {
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, #6ea8ff, #7ef6d7);
  margin: 0;
  border-radius: 2px;
}

.contact-subtitle {
  margin: 16px 0 0;
  font-size: 18px;
  color: var(--muted);
}

/* Bento Grid Layout */
.bento-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.bento-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.bento-box:hover {
  transform: translateY(-4px);
  border-color: rgba(110,168,255,.3);
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
}

/* Large box spans 2 rows */
.bento-large {
  grid-row: span 2;
}

.bento-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(110,168,255,0.2), rgba(126,246,215,0.2));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
  color: var(--accent);
}

.bento-box h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.bento-box h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.bento-date {
  display: inline-block;
  font-size: 13px;
  color: var(--accent);
  background: rgba(110,168,255,0.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.bento-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.bento-list li {
  margin-bottom: 8px;
}

.bento-box p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* Experience Layout */
.experience-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.experience-card {
  background: rgba(21, 25, 40, 0.85);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 28px;
  padding-left: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.experience-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #6ea8ff, #7ef6d7, #aa75ff);
}

.experience-card:hover {
  border-color: rgba(110,168,255,0.3);
}

[data-theme="light"] .experience-card {
  background: rgba(255, 255, 255, 0.85);
}

.experience-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  justify-content: space-between;
}

.experience-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.experience-date {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
}

.experience-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.experience-list li {
  margin-bottom: 6px;
}

/* Skills Card */
.skills-card {
  background: rgba(21, 25, 40, 0.85);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 28px;
  padding-left: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.skills-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #6ea8ff, #7ef6d7, #aa75ff);
}

.skills-card:hover {
  border-color: rgba(110,168,255,0.3);
}

[data-theme="light"] .skills-card {
  background: rgba(255, 255, 255, 0.85);
}

.skills-title {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.skills-title i {
  color: var(--accent);
}

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

.skill-category {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skill-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Skill Pills */
.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-pill {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: rgba(110,168,255,0.1);
  border: 1px solid rgba(110,168,255,0.25);
  border-radius: 999px;
  transition: all 0.2s ease;
}

.skill-pill:hover {
  background: rgba(110,168,255,0.2);
  border-color: var(--accent);
  transform: translateY(-2px);
}

[data-theme="light"] .skill-pill:hover {
  background: rgba(30,58,110,0.15);
}

/* Responsive Experience */
@media (max-width: 700px) {
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .experience-header {
    flex-direction: column;
    text-align: center;
  }
}

/* Responsive bento */
@media (max-width: 800px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bento-large {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 500px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-large {
    grid-column: span 1;
  }
}

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

/* 2 columns on medium screens */
@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile swipe carousel */
@media (max-width: 600px) {
  .projects-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 10px 0 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .projects-grid::-webkit-scrollbar {
    display: none;
  }

  .projects-grid .project-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    min-width: 280px;
  }

  /* Carousel navigation */
  .projects-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
  }

  .projects-carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }

  .projects-carousel-btn:hover {
    background: var(--accent);
    color: #0c1424;
    border-color: var(--accent);
  }

  [data-theme="light"] .projects-carousel-btn {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
  }

  [data-theme="light"] .projects-carousel-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
  }

  .projects-carousel-dots {
    display: flex;
    gap: 8px;
  }

  .projects-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
  }

  .projects-carousel-dot.active {
    background: var(--accent);
    transform: scale(1.2);
  }

  [data-theme="light"] .projects-carousel-dot {
    background: rgba(0, 0, 0, 0.2);
  }

  [data-theme="light"] .projects-carousel-dot.active {
    background: var(--accent);
  }
}

/* Hide carousel nav on desktop */
.projects-carousel-nav {
  display: none;
}

/* Project Card */
.project-card {
  background: rgba(21, 25, 40, 0.85);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(0,0,0,.25), 0 0 60px rgba(15,18,32,0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(110,168,255,.4);
  box-shadow: 0 20px 50px rgba(0,0,0,.4), 0 0 30px rgba(110,168,255,.1);
}

[data-theme="light"] .project-card {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 12px rgba(30,58,110,.08);
}

[data-theme="light"] .project-card:hover {
  box-shadow: 0 8px 20px rgba(30,58,110,.12);
}

/* Project Card Image */
.project-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-card-image img {
  transform: scale(1.08);
}

/* Status Badge */
.status-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 999px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}

.status-badge.completed {
  background: linear-gradient(135deg, #9ef0a8, #7ef6d7);
  color: #052e16;
  border: 1px solid rgba(158,240,168,.5);
}

.status-badge.in-progress {
  background: linear-gradient(135deg, #e8c547, #d4a84b);
  color: #2a2000;
  border: 1px solid rgba(232,197,71,.5);
}

/* Project Card Content */
.project-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-card-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.project-card-desc {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  flex: 1;
}

.project-card-author {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--muted);
}

.project-card-author span {
  color: var(--accent);
  font-weight: 600;
}

/* Project Card Tags */
.project-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tech-tag {
  display: inline-flex;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(110,168,255,.1);
  border: 1px solid rgba(110,168,255,.25);
  border-radius: 999px;
  transition: all 0.2s ease;
}

.tech-tag:hover {
  background: rgba(110,168,255,.2);
  border-color: var(--accent);
}

[data-theme="light"] .tech-tag:hover {
  background: rgba(30,58,110,.15);
}

/* Project Card Button */
.project-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #0c1424;
  background: linear-gradient(135deg, #6ea8ff, #7ef6d7);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(110,168,255,.3);
}

.project-card-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(110,168,255,.4);
}

.project-card-btn.disabled {
  background: var(--input-bg);
  color: var(--muted);
  box-shadow: none;
  cursor: not-allowed;
}

.project-card-btn.disabled:hover {
  transform: none;
  box-shadow: none;
}

.project-card-btn i {
  font-size: 12px;
}

/* Legacy styles kept for compatibility */
.vn-author {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin: 4px 0 10px;
  letter-spacing: 0.2px;
}

.vn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 10px 20px;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(110,168,255,.5);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.vn-btn:hover {
  border-color: var(--accent);
  background: rgba(110,168,255,.1);
  box-shadow: 0 0 20px rgba(110,168,255,.2);
  transform: translateY(-2px);
}

/* Experience Section */
.experience-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--card-border);
}
.experience-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.exp-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}
.exp-date {
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
}
.exp-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}
.exp-list li {
  margin-bottom: 6px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.skill-category h4 {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--accent);
  font-weight: 700;
}
.skill-category p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 600px) {
  .skills-grid { grid-template-columns: 1fr; }
  .exp-header { flex-direction: column; }
}

/* Section Subtitle */
.section-subtitle {
  color: var(--muted);
  font-size: 15px;
  margin-top: 12px;
  text-align: left;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Service Card */
.service-card {
  background: rgba(21, 25, 40, 0.85);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  box-shadow: 0 10px 30px rgba(0,0,0,.25), 0 0 60px rgba(15,18,32,0.8);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.service-card .service-price {
  margin-top: auto;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(110,168,255,.3);
  box-shadow: 0 20px 50px rgba(0,0,0,.3), 0 0 30px rgba(110,168,255,.08);
}

.service-card.featured {
  border-color: rgba(110,168,255,.4);
  background: linear-gradient(180deg, rgba(110,168,255,.08) 0%, var(--card) 100%);
}

.service-card.featured:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 50px rgba(0,0,0,.4), 0 0 40px rgba(110,168,255,.15);
}

[data-theme="light"] .service-card {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 12px rgba(30,58,110,.08);
}

[data-theme="light"] .service-card:hover {
  box-shadow: 0 8px 20px rgba(30,58,110,.12);
}

[data-theme="light"] .service-card.featured {
  background: linear-gradient(180deg, rgba(58,106,170,.1) 0%, var(--card) 100%);
}

/* Service Badge */
.service-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #0c1424;
  background: linear-gradient(135deg, #6ea8ff, #7ef6d7);
  border-radius: 999px;
  box-shadow: 0 4px 15px rgba(110,168,255,.4);
}

/* Service Icon */
.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--accent);
  background: rgba(110,168,255,.1);
  border: 1px solid rgba(110,168,255,.2);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  background: rgba(110,168,255,.15);
  border-color: rgba(110,168,255,.4);
}

.service-card.featured .service-icon {
  background: rgba(110,168,255,.15);
  border-color: rgba(110,168,255,.3);
}

/* Service Title */
.service-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

/* Service Description */
.service-desc {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* Service List (Bullet Points) */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  text-align: left;
}

.service-list li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
}

.service-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 10px;
}

/* Service Price */
.service-price {
  padding-top: 16px;
  border-top: 1px solid var(--card-border);
}

.price-amount {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  background: linear-gradient(135deg, var(--accent), #7ef6d7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Services Category */
.services-category {
  margin-bottom: 48px;
}

.services-category-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 24px;
}

.services-category-title i {
  color: var(--accent);
  font-size: 20px;
}

.services-category-subtitle {
  color: var(--muted);
  font-size: 15px;
  margin: -16px 0 24px;
}

/* Art Services Layout */
.art-services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(0,0,0,.25), 0 0 70px rgba(15,18,32,0.85);
  transition: box-shadow 0.3s ease;
}

[data-theme="light"] .art-services-layout {
  box-shadow: 0 4px 12px rgba(30,58,110,.08);
}

@media (max-width: 800px) {
  .art-services-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Art Carousel */
.art-carousel {
  position: relative;
  display: flex;
  flex-direction: column;
}

.art-carousel-container {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 16px;
  overflow: hidden;
  background: var(--input-bg);
  cursor: zoom-in;
}

.art-carousel-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: zoom-in;
}

.art-carousel-image.active {
  opacity: 1;
}

.art-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.art-carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.art-carousel-btn:hover {
  background: var(--accent);
  color: #0c1424;
  border-color: var(--accent);
}

.art-carousel-dots {
  display: flex;
  gap: 8px;
}

.art-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--card-border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.art-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

.art-dot:hover {
  background: var(--accent);
}

/* Art Service Info */
.art-service-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  gap: 16px;
}

.art-price-highlight {
  background: linear-gradient(135deg, rgba(110,168,255,.15), rgba(126,246,215,.15));
  border: 2px solid rgba(110,168,255,.3);
  border-radius: 20px;
  padding: 24px 20px;
}

.art-price-label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.art-price-amount {
  display: block;
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), #7ef6d7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.art-service-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.art-service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.art-service-list li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
}

.art-service-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
}

.art-service-list li:first-child {
  color: var(--text);
  font-weight: 600;
}

.art-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #5865F2, #7289da);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 24px rgba(88,101,242,.4);
}

.art-cta-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 35px rgba(88,101,242,.5);
}

.art-cta-btn i {
  font-size: 20px;
}

/* Service Card Images */
.service-card-images {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--input-bg);
  cursor: zoom-in;
}

.service-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card-img.active {
  opacity: 1;
}

/* Service Card Navigation - Below Image */
.service-card-img-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.service-img-dots {
  display: flex;
  gap: 6px;
}

.service-img-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--card-border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-img-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

.service-img-dot:hover {
  background: var(--accent);
}

/* Service card without navigation - add spacing to align */
.service-card.no-nav .service-card-images {
  margin-bottom: 60px;
}

/* Service Card Image Arrows - Below Image */
.service-img-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.service-img-arrow i {
  font-size: 10px;
}

.service-img-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Services CTA */
.services-cta {
  text-align: center;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
}

.services-cta p {
  margin: 0 0 20px;
  font-size: 18px;
  color: var(--text);
  font-weight: 500;
}

.services-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #5865F2, #7289da);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(88,101,242,.4);
}

.services-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(88,101,242,.5);
}

.services-cta-btn i {
  font-size: 20px;
}

/* Legacy pricing styles */
.note{color:var(--muted);font-size:13px;margin-top:8px}

@media (max-width: 980px){
  .hero{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr 1fr}
  .grid-2{grid-template-columns:1fr}
  .pricing{grid-template-columns:1fr 1fr}
}
@media (max-width: 560px){
  .grid-3{grid-template-columns:1fr}
  .pricing{grid-template-columns:1fr}
}

/* Contact Section - Full Width Cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  transition: all 0.3s ease;
}

.contact-card.bluesky::before { background: #0085ff; }
.contact-card.gmail::before { background: #ea4335; }
.contact-card.discord::before { background: #5865F2; }

/* Preferred contact - 4-pointed twinkling stars */
.contact-card.preferred {
  border-color: rgba(88, 101, 242, 0.4);
  overflow: visible;
}

.contact-card.preferred .sparkle {
  position: absolute;
  pointer-events: none;
  animation: border-star-twinkle 2s ease-in-out infinite;
}

/* 4-pointed star using ::before and ::after */
.contact-card.preferred .sparkle::before,
.contact-card.preferred .sparkle::after {
  content: '';
  position: absolute;
  background: #fff;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 4px 1px rgba(255, 255, 255, 0.9);
}

.contact-card.preferred .sparkle::before {
  width: 2px;
  height: 12px;
}

.contact-card.preferred .sparkle::after {
  width: 12px;
  height: 2px;
}

/* Stars around the border - 4 stars with varied positions */
.sparkle-1 { top: -8px; left: 10%; }
.sparkle-2 { top: -6px; right: 15%; }
.sparkle-3 { bottom: -7px; right: 25%; }
.sparkle-4 { top: 40%; left: -7px; }

/* Varying star sizes - big, medium, small */
.sparkle-1::before { height: 16px; width: 3px; }
.sparkle-1::after { width: 16px; height: 3px; }

.sparkle-2::before { height: 10px; width: 2px; }
.sparkle-2::after { width: 10px; height: 2px; }

.sparkle-3::before { height: 8px; width: 1px; }
.sparkle-3::after { width: 8px; height: 1px; }

.sparkle-4::before { height: 12px; width: 2px; }
.sparkle-4::after { width: 12px; height: 2px; }

/* Varied animation delays - staggered so one is bright while others are dim */
.sparkle-1 { animation-delay: 0s; }
.sparkle-2 { animation-delay: 0.5s; }
.sparkle-3 { animation-delay: 1s; }
.sparkle-4 { animation-delay: 1.5s; }

@keyframes border-star-twinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.15; transform: scale(0.4); }
}

/* Fading Twitter card with visible cracks */
.contact-card.fading {
  opacity: 0.5;
}

.contact-card.fading:hover {
  opacity: 0.7;
}

.contact-card.fading .shatter {
  position: absolute;
  pointer-events: none;
  background: rgba(255,255,255,0.25);
  height: 1px;
}

.contact-card.fading .shatter-1 {
  top: 20%;
  left: 5%;
  width: 40%;
  transform: rotate(-15deg);
}

.contact-card.fading .shatter-2 {
  bottom: 30%;
  right: 8%;
  width: 35%;
  transform: rotate(10deg);
}

.contact-card:hover {
  transform: translateY(-4px) translateX(4px);
  border-color: rgba(110,168,255,.3);
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
}

.contact-card.bluesky:hover {
  border-color: rgba(0, 133, 255, 0.4);
  box-shadow: 0 16px 40px rgba(0, 133, 255, 0.15);
}

.contact-card.gmail:hover {
  border-color: rgba(234, 67, 53, 0.4);
  box-shadow: 0 16px 40px rgba(234, 67, 53, 0.15);
}

.contact-card.discord:hover {
  border-color: rgba(88, 101, 242, 0.4);
  box-shadow: 0 16px 40px rgba(88, 101, 242, 0.15);
}

[data-theme="light"] .contact-card:hover {
  box-shadow: 0 16px 40px rgba(30,58,110,.12);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-card.bluesky .contact-card-icon {
  background: rgba(0, 133, 255, 0.1);
  color: #0085ff;
}

.contact-card.gmail .contact-card-icon {
  background: rgba(234, 67, 53, 0.1);
  color: #ea4335;
}

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

.contact-card.github .contact-card-icon {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

[data-theme="light"] .contact-card.github .contact-card-icon {
  background: rgba(36, 41, 46, 0.1);
  color: #24292e;
}

.contact-card:hover .contact-card-icon {
  transform: scale(1.1);
}

.contact-card-info {
  flex: 1;
  min-width: 0;
}

.contact-card-info h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.contact-card-info span {
  font-size: 14px;
  color: var(--muted);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-arrow {
  color: var(--muted);
  font-size: 14px;
  transition: all 0.3s ease;
  opacity: 0.5;
}

.contact-card:hover .contact-arrow {
  opacity: 1;
  transform: translateX(4px);
  color: var(--accent);
}

.contact-card.bluesky:hover .contact-arrow { color: #0085ff; }
.contact-card.gmail:hover .contact-arrow { color: #ea4335; }
.contact-card.discord:hover .contact-arrow { color: #5865F2; }
.contact-card.github:hover .contact-arrow { color: #fff; }
[data-theme="light"] .contact-card.github:hover .contact-arrow { color: #24292e; }
.contact-card.twitter:hover .contact-arrow { color: #000; }

[data-theme="light"] .contact-card.twitter:hover .contact-arrow { color: #000; }

.contact-card.github::before { background: linear-gradient(135deg, #fff, #6e7681); }
[data-theme="light"] .contact-card.github::before { background: linear-gradient(135deg, #24292e, #57606a); }

.contact-card.github:hover {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .contact-card.github:hover {
  border-color: rgba(36, 41, 46, 0.3);
  box-shadow: 0 16px 40px rgba(36, 41, 46, 0.15);
}

.contact-card.twitter::before { background: #000; }

.contact-card.twitter:hover {
  border-color: rgba(0, 0, 0, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.contact-card.twitter .contact-card-icon {
  background: rgba(0, 0, 0, 0.1);
  color: #000;
}

[data-theme="light"] .contact-card.twitter .contact-card-icon {
  background: rgba(0, 0, 0, 0.08);
}

/* Age Warning Modal */
.age-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.age-modal.active {
  opacity: 1;
  visibility: visible;
}

.age-modal-content {
  background: #151928;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px;
  max-width: 450px;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1001;
}

[data-theme="light"] .age-modal-content {
  background: #ffffff;
}

.age-modal.active .age-modal-content {
  transform: scale(1);
}

.age-modal-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--accent);
  background: rgba(110, 168, 255, 0.15);
  border: 1px solid rgba(110, 168, 255, 0.3);
  border-radius: 50%;
}

.age-modal-content h2 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.age-modal-content p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.age-modal-content p strong {
  color: var(--accent);
}

.age-modal-subtitle {
  font-size: 13px !important;
  opacity: 0.8;
  margin-bottom: 24px !important;
}

.age-modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.age-modal-btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
}

.age-modal-btn.cancel {
  background: var(--input-bg);
  color: var(--text);
  border: 1px solid var(--card-border);
}

.age-modal-btn.cancel:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--accent);
}

.age-modal-btn.proceed {
  background: linear-gradient(135deg, #6ea8ff, #7ef6d7);
  color: #0c1424;
  box-shadow: 0 4px 15px rgba(110, 168, 255, 0.3);
}

.age-modal-btn.proceed:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(110, 168, 255, 0.4);
}

@media (max-width: 500px) {
  .age-modal-content {
    padding: 28px 20px;
  }
  .age-modal-buttons {
    flex-direction: column;
  }
  .age-modal-btn {
    width: 100%;
  }
}

/* Legacy Connect Section (kept for compatibility) */
.connect-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.connect-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6ea8ff, #7ef6d7, #aa75ff);
}

.connect-intro {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.connect-icons {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.connect-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.connect-link:hover {
  transform: translateY(-6px);
}

.connect-link span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.connect-link:hover span {
  color: var(--text);
}

.connect-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  transition: all 0.3s ease;
  border: 1px solid var(--card-border);
}

.connect-icon.bluesky {
  background: rgba(0, 133, 255, 0.1);
  color: #0085ff;
  border-color: rgba(0, 133, 255, 0.3);
}

.connect-link:hover .connect-icon.bluesky {
  background: rgba(0, 133, 255, 0.2);
  border-color: #0085ff;
  box-shadow: 0 8px 30px rgba(0, 133, 255, 0.3);
}

.connect-icon.gmail {
  background: rgba(234, 67, 53, 0.1);
  color: #ea4335;
  border-color: rgba(234, 67, 53, 0.3);
}

.connect-link:hover .connect-icon.gmail {
  background: rgba(234, 67, 53, 0.2);
  border-color: #ea4335;
  box-shadow: 0 8px 30px rgba(234, 67, 53, 0.3);
}

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

.connect-link:hover .connect-icon.discord {
  background: rgba(88, 101, 242, 0.2);
  border-color: #5865F2;
  box-shadow: 0 8px 30px rgba(88, 101, 242, 0.3);
}

@media (max-width: 500px) {
  .connect-card { padding: 28px 20px; }
  .connect-icons { gap: 20px; }
  .connect-icon { width: 70px; height: 70px; font-size: 28px; }
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1001;
}

.lightbox-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

.lightbox-caption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

/* Shooting Stars - Simple diagonal line */
.shooting-stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: var(--stars-opacity);
  mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.2) 70%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.2) 70%, rgba(0,0,0,0) 100%);
}

.shooting-star {
  position: absolute;
  width: 180px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffffff);
  transform: rotate(55deg);
  opacity: 0;
}

/* 1 star each side */
.shooting-star:nth-child(1) {
  top: 25%;
  left: -8%;
  animation: shoot-meteor 2.5s linear 0s infinite;
}

.shooting-star:nth-child(2) {
  top: -5%;
  left: 75%;
  animation: shoot-meteor 2.4s linear 5s infinite;
}

@keyframes shoot-meteor {
  0% {
    opacity: 0;
    transform: rotate(55deg) translateX(0);
  }
  5% {
    opacity: 1;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: rotate(55deg) translateX(calc(80vw + 300px));
  }
}

/* Shooting stars in light mode */
[data-theme="light"] .shooting-stars {
  opacity: 0.3;
}

[data-theme="light"] .shooting-star {
  background: linear-gradient(90deg, transparent, rgba(58, 106, 170, 0.8));
}

/* Twinkling Stars */
.twinkle-stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: var(--stars-opacity);
  transition: opacity 0.3s ease;
}

.twinkle-star {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #ffffff;
  border-radius: 50%;
  animation: twinkle 3s ease-in-out infinite;
}

/* Vary twinkle timing for each star */
.twinkle-star:nth-child(1) { animation-delay: 0s; }
.twinkle-star:nth-child(2) { animation-delay: 0.3s; width: 2px; height: 2px; }
.twinkle-star:nth-child(3) { animation-delay: 0.6s; }
.twinkle-star:nth-child(4) { animation-delay: 0.9s; width: 4px; height: 4px; }
.twinkle-star:nth-child(5) { animation-delay: 1.2s; width: 2px; height: 2px; }
.twinkle-star:nth-child(6) { animation-delay: 1.5s; }
.twinkle-star:nth-child(7) { animation-delay: 1.8s; width: 2px; height: 2px; }
.twinkle-star:nth-child(8) { animation-delay: 2.1s; width: 4px; height: 4px; }
.twinkle-star:nth-child(9) { animation-delay: 2.4s; }
.twinkle-star:nth-child(10) { animation-delay: 2.7s; width: 2px; height: 2px; }
.twinkle-star:nth-child(11) { animation-delay: 0.2s; }
.twinkle-star:nth-child(12) { animation-delay: 0.5s; width: 4px; height: 4px; }
.twinkle-star:nth-child(13) { animation-delay: 0.8s; width: 2px; height: 2px; }
.twinkle-star:nth-child(14) { animation-delay: 1.1s; }
.twinkle-star:nth-child(15) { animation-delay: 1.4s; width: 2px; height: 2px; }
.twinkle-star:nth-child(16) { animation-delay: 1.7s; width: 4px; height: 4px; }
.twinkle-star:nth-child(17) { animation-delay: 2s; }
.twinkle-star:nth-child(18) { animation-delay: 2.3s; width: 2px; height: 2px; }
.twinkle-star:nth-child(19) { animation-delay: 2.6s; }
.twinkle-star:nth-child(20) { animation-delay: 2.9s; width: 4px; height: 4px; }
.twinkle-star:nth-child(21) { animation-delay: 0.15s; width: 2px; height: 2px; }
.twinkle-star:nth-child(22) { animation-delay: 0.45s; }
.twinkle-star:nth-child(23) { animation-delay: 0.75s; width: 2px; height: 2px; }
.twinkle-star:nth-child(24) { animation-delay: 1.05s; width: 4px; height: 4px; }
.twinkle-star:nth-child(25) { animation-delay: 1.35s; }
.twinkle-star:nth-child(26) { animation-delay: 1.65s; width: 2px; height: 2px; }
.twinkle-star:nth-child(27) { animation-delay: 1.95s; }
.twinkle-star:nth-child(28) { animation-delay: 2.25s; width: 4px; height: 4px; }
.twinkle-star:nth-child(29) { animation-delay: 2.55s; width: 2px; height: 2px; }
.twinkle-star:nth-child(30) { animation-delay: 2.85s; }
.twinkle-star:nth-child(31) { animation-delay: 0.35s; width: 2px; height: 2px; }
.twinkle-star:nth-child(32) { animation-delay: 0.65s; width: 4px; height: 4px; }
.twinkle-star:nth-child(33) { animation-delay: 0.95s; }
.twinkle-star:nth-child(34) { animation-delay: 1.25s; width: 2px; height: 2px; }
.twinkle-star:nth-child(35) { animation-delay: 1.55s; }

/* Twinkle Animation */
@keyframes twinkle {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* Hide stars in light mode */
[data-theme="light"] .twinkle-stars {
  opacity: 0.15;
}

[data-theme="light"] .twinkle-star {
  background: rgba(58, 106, 170, 0.5);
}

/* Lava Lamp Effect */
.container{ position: relative; z-index: 0; }

.container::before{
  content:"";
  position:absolute;
  inset:-10%;
  z-index:-1;
  background:
    radial-gradient(700px 700px at 20% 30%, rgba(29, 117, 248, 0.28), transparent 70%),
    radial-gradient(800px 800px at 85% 35%, rgba(170, 117, 255, 0.22), transparent 70%),
    radial-gradient(600px 600px at 50% 85%, rgba(255,128,200,0.22), transparent 70%);
  filter: blur(70px);
  animation: lava-container 0.0000000000001s ease-in-out infinite alternate;
  pointer-events:none;
}

@keyframes lava-container{
  0%   { background-position: 20% 30%, 85% 35%, 50% 85%; }
  50%  { background-position: 26% 36%, 78% 38%, 55% 78%; }
  100% { background-position: 22% 26%, 82% 42%, 48% 84%; }
}
