/* ============================================================
   REHAN SHAHID v15 — Portfolio Cleanup
   Goal: clean professional portfolio, keep Friends + Chatbot intact
   (Legacy [data-rs-theme] rules removed — that attribute is never set
   by the live theme system, which uses [data-theme] on <html>. See
   inline theme tokens in index.html for the active dark/white/gray themes.)
   ============================================================ */

/* ---------- clean portfolio: hide removed experimental UI hooks safely ---------- */
#rs-notif-bell-nav,
#rs-notif-drawer,
#rs-activity-feed,
#achievementToast,
#rs-drawer-toggle,
#rs-drawer-backdrop,
#rs-live-panel,
#rs-news-bar,
#rs-news-track,
section:has(.integ-teaser){
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

.nav-links a[href="ai-tools.html"],
.nav-links a[href="integrations.html"],
.mobile-menu a[href="ai-tools.html"],
.mobile-menu a[href="integrations.html"]{display:none!important;}

/* ---------- social colors remain real brand colors ---------- */
.social-cta-row .btn{color:#fff!important;text-shadow:none!important;}
.social-cta-row a.btn.whatsapp,
.social-cta-row a.btn[href*="wa.me"]{background:linear-gradient(135deg,#25D366,#128C7E)!important;color:#05160a!important;}
.social-cta-row a.btn.btn-telegram,
.social-cta-row a.btn[href*="t.me"]{background:linear-gradient(135deg,#2AABEE,#168ACD)!important;color:#fff!important;}
.social-cta-row a.btn.instagram,
.social-cta-row a.btn[href*="instagram.com"]{background:linear-gradient(135deg,#FEDA75,#FA7E1E,#D62976,#962FBF,#4F5BD5)!important;color:#fff!important;}
.social-cta-row a.btn.threads,
.social-cta-row a.btn[href*="threads.com"]{background:linear-gradient(135deg,#242424,#000)!important;color:#fff!important;}
.social-cta-row a.btn.tiktok,
.social-cta-row a.btn[href*="tiktok.com"]{background:linear-gradient(135deg,#00F2EA,#111 46%,#FF0050)!important;color:#fff!important;}
.social-cta-row a.btn.facebook,
.social-cta-row a.btn[href*="facebook.com"]{background:linear-gradient(135deg,#1877F2,#0f5bc9)!important;color:#fff!important;}
.social-cta-row a.btn.btn-email,
.social-cta-row a.btn[href^="mailto:"]{background:linear-gradient(135deg,#EA4335,#FBBC05,#34A853)!important;color:#fff!important;}
.social .social-icon{filter:saturate(1.04) contrast(1.02)!important;}

/* ---------- cleaner homepage details ---------- */
.marquee span{color:var(--muted)!important;}

/* ---------- demo cards mobile quality ---------- */
.demo-grid,.demo-slider-track{scroll-behavior:smooth!important;}
.demo-card{overflow:hidden!important;}
.demo-preview{border-color:var(--bdr)!important;}
.proj-card-actions{gap:10px!important;}
.proj-card-actions .btn,
.proj-card-actions button{min-height:44px!important;border-radius:16px!important;}

/* ---------- footer polish ---------- */
.footer{border-top:1px solid var(--bdr)!important;background:var(--sur)!important;}
.footer-col a{color:var(--txt3)!important;}
.footer-col a:hover{color:var(--gold2)!important;}

/* ---------- mobile fixes ---------- */
@media (max-width:900px){
  .nav-links{display:none!important;}
  .nav-actions{gap:8px!important;}
  .desktop-only{display:none!important;}
  .hero-actions,.social-cta-row{width:100%!important;}
  .hero-actions .btn{flex:1 1 160px!important;justify-content:center!important;}
}
@media (max-width:640px){
  .section{padding-left:0!important;padding-right:0!important;}
  .container{width:min(100% - 26px,var(--max))!important;}
  .hero{padding-top:calc(104px + env(safe-area-inset-top))!important;}
  .social-cta-row{grid-template-columns:1fr 1fr!important;gap:11px!important;}
  .social-cta-row .btn{min-height:56px!important;border-radius:20px!important;font-size:12px!important;padding:0 10px!important;}
  .grid-2,.grid-3{gap:16px!important;}
  .card,.skill,.service,.demo-card{border-radius:24px!important;}
  #project-request form > div[style*="grid-template-columns"]{grid-template-columns:1fr!important;}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;}
}
