html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); overflow-x: hidden; }
section[id] { scroll-margin-top: 4rem; }
.dancing-script { font-family: 'Dancing Script', cursive; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Glowing effects */
.glow { text-shadow: 0 0 20px rgba(255,255,255,.5); }
.glow-pink { text-shadow: 0 0 30px rgba(236,72,153,.6); }
.glow-gold { text-shadow: 0 0 25px rgba(245,158,11,.7); }

/* Animated gradient background */
.animated-bg { background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab); background-size: 400% 400%; animation: gradient 15s ease infinite; }
@keyframes gradient { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }

/* Glass morphism */
.glass { background: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.2); }

.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%{transform:translateY(0)} 50%{transform:translateY(-20px)} 100%{transform:translateY(0)} }
.pulse-glow { animation: pulse-glow 2s infinite; }
@keyframes pulse-glow { 0%{box-shadow:0 0 0 0 rgba(236,72,153,.7)} 70%{box-shadow:0 0 0 20px rgba(236,72,153,0)} 100%{box-shadow:0 0 0 0 rgba(236,72,153,0)} }

.shimmer { background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent); background-size: 200% 100%; animation: shimmer 3s infinite; -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes shimmer { 0%{background-position:-200% 0} 100%{background-position:200% 0} }

/* Profile image */
.profile-img { width: 220px; height: 220px; border-radius: 50%; border: 4px solid #fff; object-fit: cover;
  box-shadow: 0 0 30px rgba(236,72,153,.6), 0 0 60px rgba(168,85,247,.4), 0 0 100px rgba(99,102,241,.2); transition: all .5s ease; }
.profile-img:hover { transform: scale(1.05); box-shadow: 0 0 40px rgba(236,72,153,.8), 0 0 80px rgba(168,85,247,.6), 0 0 120px rgba(99,102,241,.4); }

/* Portfolio cards (always 9:16) */
.card { border-radius: 20px; overflow: hidden; transition: all .4s cubic-bezier(.175,.885,.32,1.275); position: relative; aspect-ratio: 9 / 16; background: #2a1744; cursor: pointer; outline: none; }
.card::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(45deg, transparent, rgba(255,255,255,.1), transparent); transform: translateX(-100%); transition: transform .6s; }
.card:hover::before { transform: translateX(100%); }
.card:hover, .card:focus-visible { transform: translateY(-15px) scale(1.03); box-shadow: 0 25px 50px rgba(0,0,0,.25), 0 0 30px rgba(236,72,153,.4); }
.card img, .card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.card:hover img, .card:hover video { transform: scale(1.1); }
.card-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 1rem; color: #fff; font-size: .875rem; font-weight: 600;
  background: linear-gradient(to top, rgba(0,0,0,.8), transparent); transform: translateY(1rem); opacity: 0; transition: all .3s; }
.card:hover .card-cap, .card:focus-visible .card-cap { transform: none; opacity: 1; }
.card-badge { position: absolute; top: .75rem; right: .75rem; z-index: 3; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .8rem; }

/* Buttons */
.btn-glow { position: relative; overflow: hidden; transition: all .3s ease; }
.btn-glow::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent); transition: left .5s; }
.btn-glow:hover::before { left: 100%; }
.btn-glow:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,.2); }

/* Social icons */
.social-icon { transition: all .3s ease; position: relative; }
.social-icon:hover { transform: scale(1.2) rotate(5deg); }
.social-icon::after { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: rgba(255,255,255,.2); border-radius: 50%; transform: translate(-50%,-50%); transition: all .3s ease; }
.social-icon:hover::after { width: 60px; height: 60px; }

/* Section backgrounds */
.section-bg { position: relative; background-size: cover; background-position: center; }
.section-bg::before { content: ''; position: absolute; inset: 0; background: linear-gradient(45deg, rgba(168,85,247,.8), rgba(236,72,153,.7)); }
@media (min-width: 1024px) and (hover: hover) { .section-bg { background-attachment: fixed; } }
.content-wrapper { position: relative; z-index: 10; }

/* Grid: 4-up desktop, 2-up on phones */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 320px)); justify-content: center; gap: 1.5rem; }
@media (max-width: 767px) { .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; } .card { border-radius: 14px; } }

/* Floating hearts */
.floating-hearts { position: fixed; inset: 0; pointer-events: none; z-index: 30; overflow: hidden; }
.heart { position: absolute; top: 0; color: rgba(255,255,255,.3); animation: float-heart 8s linear infinite; }
@keyframes float-heart { 0%{transform:translateY(100vh) rotate(0);opacity:0} 10%{opacity:1} 90%{opacity:1} 100%{transform:translateY(-100px) rotate(360deg);opacity:0} }

/* Hero / page hero */
.hero { display: flex; align-items: center; justify-content: center; min-height: 100vh; min-height: 100svh; padding: 6rem 0 3rem; }
.page-hero { padding: 8rem 0 4rem; }
@media (max-width: 480px) { .profile-img { width: 180px; height: 180px; } }

/* Reveal on scroll (hover-safe) */
.reveal { opacity: 0; }
.reveal.in { opacity: 1; animation: revealUp .6s ease backwards; }
@keyframes revealUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.no-js .reveal { opacity: 1; }

/* Navigation */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(60,20,90,.35); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.2); }
.nav-inner { max-width: 72rem; margin: 0 auto; padding: .6rem 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { color: #fff; font-size: 1.9rem; font-weight: 700; text-shadow: 0 0 20px rgba(255,255,255,.5); line-height: 1.2; }
.nav-links { display: flex; gap: .4rem; }
.nav-links a, .nav-mobile a { color: rgba(255,255,255,.9); font-weight: 500; padding: .45rem 1rem; border-radius: 999px; transition: all .25s; }
.nav-links a:hover, .nav-mobile a:hover { background: rgba(255,255,255,.18); color: #fff; }
.nav-links a.active, .nav-mobile a.active { background: #fff; color: #db2777; font-weight: 600; }
.nav-toggle { display: none; color: #fff; font-size: 1.4rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: rgba(255,255,255,.15); }
.nav-mobile { display: none; flex-direction: column; gap: .25rem; padding: .5rem 1rem 1rem; }
.nav-mobile.open { display: flex; }
.nav-mobile a { text-align: center; padding: .75rem 1rem; }
@media (max-width: 767px) { .nav-links { display: none; } .nav-toggle { display: block; } }

/* Filters */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.filters button { color: #fff; border: 1px solid rgba(255,255,255,.5); padding: .5rem 1.2rem; border-radius: 999px; font-weight: 500; transition: all .25s; }
.filters button.active, .filters button:hover { background: #fff; color: #db2777; }

/* Contact form */
.field { width: 100%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 1rem; padding: .9rem 1.1rem; font-size: 1rem; outline: none; transition: border-color .2s, background .2s; }
.field::placeholder { color: rgba(255,255,255,.65); }
.field:focus { border-color: #fff; background: rgba(255,255,255,.2); }
.notice { border-radius: 1rem; padding: .9rem 1.1rem; margin-bottom: 1rem; color: #fff; font-weight: 500; }
.notice.ok { background: rgba(16,185,129,.55); } .notice.bad { background: rgba(239,68,68,.6); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(10,0,20,.92); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb-stage { display: flex; align-items: center; justify-content: center; max-width: 94vw; max-height: 88vh; }
.lb-stage img, .lb-stage video { max-width: 94vw; max-height: 88vh; border-radius: 14px; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.6); background: #000; }
.lb-btn { position: absolute; color: #fff; background: rgba(255,255,255,.15); width: 2.8rem; height: 2.8rem; border-radius: 50%; font-size: 1.1rem; z-index: 2; }
.lb-btn:hover { background: rgba(255,255,255,.3); }
.lb-close { top: 1rem; right: 1rem; } .lb-prev { left: .75rem; top: 50%; } .lb-next { right: .75rem; top: 50%; }
.lb-cap { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: #fff; font-weight: 600; text-shadow: 0 2px 8px #000; padding: 0 4rem; }
