/* ==========================================================================
   Muhammed Shibil A - Portfolio Stylesheet
   Modern, Sleek, Mobile & Desktop Responsive Design
   ========================================================================== */

:root {
  /* Color Palette - Dark Mode Default */
  --bg-primary: #0b0f19;
  --bg-secondary: #111827;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(31, 41, 55, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.75);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(56, 189, 248, 0.3);
  
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  /* Brand Accents - Flutter & Firebase themed */
  --flutter-blue: #02569B;
  --flutter-cyan: #0175C2;
  --accent-cyan: #38bdf8;
  --accent-indigo: #6366f1;
  --accent-orange: #f59e0b; /* Firebase Orange */
  --accent-gradient: linear-gradient(135deg, #38bdf8 0%, #6366f1 50%, #f59e0b 100%);
  --accent-gradient-flutter: linear-gradient(135deg, #02569B 0%, #0175C2 50%, #38bdf8 100%);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(56, 189, 248, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 76px;
  --container-max: 1200px;
}

[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(241, 245, 249, 0.95);
  --bg-glass: rgba(255, 255, 255, 0.85);
  --border-color: rgba(0, 0, 0, 0.08);
  --border-color-hover: rgba(2, 86, 155, 0.3);
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 25px rgba(2, 86, 155, 0.15);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Typography & General */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-flutter {
  background: var(--accent-gradient-flutter);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
}

/* ==========================================================================
   Navbar & Navigation
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition);
}

.navbar .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.nav-logo svg {
  width: 28px;
  height: 28px;
  color: var(--accent-cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.35rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-cyan);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 1.15rem;
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  border-color: var(--accent-cyan);
  transform: rotate(15deg);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Exact Netflix Profile Switcher (Top-Right Navbar) - 1:1 Match with Netflix UI
   ========================================================================== */
.btn-netflix-build {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: #e5132b;
  padding: 0.5rem 1.25rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 20px rgba(229, 19, 43, 0.35);
  white-space: nowrap;
}

.btn-netflix-build:hover {
  background-color: #ff1f38;
  box-shadow: 0 0 25px rgba(229, 19, 43, 0.5);
  transform: translateY(-1px);
}

.netflix-profile-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.netflix-profile-circle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s ease;
  outline: none;
}

.netflix-profile-circle-btn:hover,
.netflix-profile-wrapper.open .netflix-profile-circle-btn {
  border-color: rgba(255, 255, 255, 0.35);
}

.netflix-profile-circle-inner {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #ffffff;
  overflow: hidden;
  user-select: none;
}

.netflix-profile-circle-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.netflix-profile-exact-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: 224px;
  border-radius: 12px;
  background-color: #0e0e13;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 99999;
  display: none;
  flex-direction: column;
  gap: 2px;
  font-family: 'Inter', sans-serif;
  animation: netflixMenuFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes netflixMenuFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.netflix-profile-wrapper.open .netflix-profile-exact-menu,
.netflix-profile-wrapper:hover .netflix-profile-exact-menu {
  display: flex;
}

.netflix-exact-header {
  padding: 6px 12px;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #71717a;
  margin: 0;
  text-align: left;
}

.netflix-exact-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  text-align: left;
  font-size: 12px;
  font-weight: 500;
  color: #a1a1aa;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.netflix-exact-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #f4f4f5;
}

.netflix-exact-item.active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 700;
}

.netflix-exact-thumb {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #ffffff;
  overflow: hidden;
  flex-shrink: 0;
  font-weight: 700;
}

.netflix-exact-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

@media (max-width: 768px) {
  .btn-netflix-build {
    display: none;
  }
  .navbar .nav-container {
    padding: 0 0.85rem;
  }
  .nav-logo {
    font-size: 1.15rem;
    gap: 0.4rem;
  }
  .nav-logo svg {
    width: 22px;
    height: 22px;
  }
  .nav-actions {
    gap: 0.5rem;
  }
  .theme-toggle-btn {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }
  #btn-open-resume-nav {
    display: none;
  }
  .netflix-profile-circle-btn {
    padding: 3px;
  }
  .netflix-profile-circle-inner {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .hamburger-btn {
    width: 34px;
    height: 34px;
    padding: 7px;
  }
}

.hamburger-btn {
    width: 32px;
    height: 32px;
    padding: 6px;
  }
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  z-index: 1001;
}

.hamburger-btn span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   Buttons & UI Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient-flutter);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(2, 86, 155, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(2, 86, 155, 0.5);
}

.btn-secondary {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-outline {
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: var(--accent-cyan);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: var(--accent-cyan);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  background: radial-gradient(circle at top center, rgba(2, 86, 155, 0.15) 0%, transparent 65%);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.hero-role {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.social-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 1.25rem;
  transition: var(--transition);
}

.social-icon-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* Hero Visual & Phone Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup-wrapper {
  position: relative;
  width: 290px;
  height: 560px;
  background: #090d16;
  border-radius: 40px;
  border: 7px solid #232d42;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(2, 86, 155, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  width: 110px;
  height: 20px;
  background: #232d42;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.phone-cam {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0b0f19;
}

.phone-speaker {
  width: 32px;
  height: 3px;
  border-radius: 3px;
  background: #0b0f19;
}

.phone-screen {
  flex: 1;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #101827 0%, #0b0f19 100%);
  color: #ffffff;
  overflow: hidden;
}

.screen-app-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.screen-banner {
  background: var(--accent-gradient-flutter);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.screen-banner h4 {
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.screen-banner p {
  font-size: 0.7rem;
  opacity: 0.9;
}

.screen-chips {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
  overflow-x: auto;
}

.screen-chip {
  font-size: 0.65rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  white-space: nowrap;
}

.screen-chip.active {
  background: var(--accent-cyan);
  color: #0b0f19;
  font-weight: 700;
}

.screen-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.screen-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.6rem;
  border-radius: 10px;
}

.screen-item-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 0.8rem;
}

.screen-item-info h5 {
  font-size: 0.72rem;
}

.screen-item-info span {
  font-size: 0.62rem;
  color: #9ca3af;
}

/* Floating Tech Badges around phone */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  animation: floatAnim 4s ease-in-out infinite alternate;
  z-index: 2;
}

.floating-badge.badge-flutter {
  top: 10%;
  left: -35px;
}

.floating-badge.badge-firebase {
  bottom: 18%;
  right: -30px;
  animation-delay: -2s;
}

.floating-badge.badge-dart {
  top: 50%;
  left: -40px;
  animation-delay: -1s;
}

@keyframes floatAnim {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-12px); }
}

/* Quick Stats Bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
  padding: 1.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.stat-item {
  text-align: center;
  border-right: 1px solid var(--border-color);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-cyan);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

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

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}

.highlight-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.highlight-box:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-3px);
}

.highlight-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.highlight-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.highlight-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Experience Card inside About */
.about-experience-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-experience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--accent-gradient-flutter);
}

.experience-role {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.experience-company {
  font-size: 1.05rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.experience-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.experience-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.experience-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.experience-bullets li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.4rem;
}

.experience-bullets li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: 700;
}

/* ==========================================================================
   Skills Section
   ========================================================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.skill-category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.skill-category-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-header-with-icon {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.card-icon.firebase-icon {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-orange);
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.skills-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.skill-tag:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.08);
}

.skill-tag.featured {
  background: rgba(2, 86, 155, 0.15);
  border-color: rgba(56, 189, 248, 0.3);
  color: var(--accent-cyan);
  font-weight: 600;
}

/* ==========================================================================
   Projects Section
   ========================================================================== */
.projects-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.55rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-gradient-flutter);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 86, 155, 0.3);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2.2rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-lg);
}

.project-banner {
  height: 190px;
  position: relative;
  background: #1e293b;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-banner-decor {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-size: cover;
  background-position: center;
}

.project-banner-icon {
  font-size: 3.5rem;
  color: #ffffff;
  position: relative;
  z-index: 1;
  text-shadow: 0 4px 15px rgba(0,0,0,0.5);
  transition: transform 0.4s ease;
}

.project-card:hover .project-banner-icon {
  transform: scale(1.15) rotate(5deg);
}

.project-badge-pill {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(11, 15, 25, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  z-index: 2;
}

.project-content {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.project-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.4rem;
  flex: 1;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.6rem;
}

.tech-tag {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-secondary);
  color: var(--accent-cyan);
  border: 1px solid var(--border-color);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

.project-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.2rem;
}

.project-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
}

.project-link-btn:hover {
  color: var(--accent-cyan);
}

.project-link-btn.primary {
  color: var(--accent-cyan);
}

/* ==========================================================================
   Resume Banner Section
   ========================================================================== */
.resume-banner-section {
  padding: 4rem 0;
}

.resume-cta-box {
  background: linear-gradient(135deg, rgba(2, 86, 155, 0.25) 0%, rgba(99, 102, 241, 0.15) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.resume-cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.resume-info h3 {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.resume-info p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 550px;
}

.resume-actions-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--accent-cyan);
  transform: translateX(4px);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.contact-card-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

.contact-card-text a,
.contact-card-text p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-card-text a:hover {
  color: var(--accent-cyan);
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-feedback {
  margin-top: 1rem;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid #22c55e;
  color: #22c55e;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
  padding: 3rem 0;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 800;
}

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

.footer-links {
  display: flex;
  gap: 1.5rem;
}

/* ==========================================================================
   Modals (Project Details & Resume Viewer)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.8rem;
  border-bottom: 1px solid var(--border-color);
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 700;
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ef4444;
}

.modal-body {
  padding: 1.8rem;
}

/* Resume Iframe Container */
.resume-frame-wrapper {
  width: 100%;
  height: 650px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.resume-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #ffffff;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-role {
    justify-content: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions,
  .hero-socials {
    justify-content: center;
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }
  
  .hero-title {
    font-size: 2.6rem;
  }
  
  .hero-role {
    font-size: 1.3rem;
  }
  
  .hamburger-btn {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.4rem;
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  
  .nav-links.mobile-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    box-shadow: var(--shadow-lg);
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .stat-item:nth-child(2) {
    border-right: none;
  }
  
  .resume-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.5rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .about-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.1rem;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
  }
  
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
  }
  
  .stat-item:last-child {
    border-bottom: none;
  }
  
  .phone-mockup-wrapper {
    width: 250px;
    height: 480px;
  }
}

/* ==========================================================================
   New Enhancements: Profile Picture, Phone Mockups, Arch Diagrams, APK Badges
   ========================================================================== */

/* 1. Hero & About Profile Avatar */
.hero-profile-avatar-wrap {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.profile-avatar-ring {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  padding: 3.5px;
  background: linear-gradient(135deg, #0284c7, #38bdf8, #00d2b8);
  box-shadow: 0 0 25px rgba(2, 132, 199, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-avatar-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  background: var(--bg-card);
  border: 2px solid var(--bg-primary);
}

.profile-status-dot {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  background: #10b981;
  border: 3px solid var(--bg-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

.avatar-badge-text strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.avatar-badge-text span {
  font-size: 0.82rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

/* 2. Interactive Phone Mockup inside Project Banner */
.project-banner.has-mockup {
  height: 240px;
  background: linear-gradient(180deg, #0d1527 0%, #151f38 100%);
  position: relative;
  overflow: hidden;
  padding: 1.5rem 1rem 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.mini-phone-frame {
  width: 190px;
  height: 250px;
  background: #090d16;
  border: 5px solid #283548;
  border-bottom: none;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.15);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  transform: translateY(15px);
}

.project-card:hover .mini-phone-frame {
  transform: translateY(0);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 35px rgba(56, 189, 248, 0.3);
}

.mini-phone-island {
  width: 65px;
  height: 12px;
  background: #111827;
  border-radius: 10px;
  margin: 4px auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mini-phone-island::after {
  content: '';
  width: 5px;
  height: 5px;
  background: #0284c7;
  border-radius: 50%;
}

.mini-phone-screen {
  flex: 1;
  padding: 0.6rem 0.7rem;
  background: #0b0f19;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.65rem;
  overflow: hidden;
}

/* Project screen themes */
.screen-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.68rem;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-app-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mini-badge {
  display: inline-block;
  font-size: 0.55rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  width: fit-content;
}

.badge-kervia {
  background: rgba(99, 102, 241, 0.25);
  color: #818cf8;
}

.badge-dripstore {
  background: rgba(2, 132, 199, 0.25);
  color: #38bdf8;
}

.mini-btn {
  background: #0284c7;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  text-align: center;
  margin-top: 2px;
}

/* 3. Direct APK Download Button */
.project-link-btn.apk-btn {
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.project-link-btn.apk-btn:hover {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

/* 4. Architecture Diagram in Modal */
.arch-diagram-container {
  background: #090d16;
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.arch-layer-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.8rem;
  position: relative;
}

.arch-layer-box.presentation {
  border-left: 4px solid #38bdf8;
}

.arch-layer-box.domain {
  border-left: 4px solid #818cf8;
}

.arch-layer-box.data {
  border-left: 4px solid #34d399;
}

.arch-layer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.arch-layer-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.arch-layer-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.arch-arrow {
  text-align: center;
  color: var(--accent-cyan);
  font-size: 0.9rem;
  margin: -0.4rem 0 0.4rem;
  font-weight: 700;
}

.code-snippet-box {
  background: #050811;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 1rem;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.82rem;
  color: #e2e8f0;
  line-height: 1.5;
  overflow-x: auto;
  margin: 1rem 0;
}

/* 5. Contact Form Feedback & WhatsApp Quick Button */
.quick-contact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  border: none;
  font-weight: 600;
}

.btn-whatsapp:hover {
  background: #1eb956;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   ADVANCED VISUAL SUITE: Aurora, 3D Tilt, Orbit, Simulator, Code Slider, Confetti
   ========================================================================== */

/* 1. Aurora Ambient Mesh Background */
.aurora-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  opacity: 0.7;
}

.aurora-blob {
  position: absolute;
  filter: blur(100px);
  border-radius: 50%;
  animation: aurora-drift 18s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.blob-1 {
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.4) 0%, rgba(56, 189, 248, 0.08) 70%);
  top: -160px;
  left: 10%;
  animation-duration: 20s;
}

.blob-2 {
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, rgba(79, 70, 229, 0.06) 70%);
  top: 38%;
  right: -120px;
  animation-duration: 26s;
}

.blob-3 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.28) 0%, rgba(5, 150, 105, 0.05) 70%);
  bottom: 8%;
  left: 15%;
  animation-duration: 22s;
}

@keyframes aurora-drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 45px) scale(1.12); }
  100% { transform: translate(-40px, 80px) scale(0.94); }
}

/* 2. 3D Tilt & Cursor Spotlight */
.tilt-card {
  transition: transform 0.15s ease-out, box-shadow 0.25s ease;
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}

.spotlight-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(550px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(56, 189, 248, 0.18), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.tilt-card:hover .spotlight-overlay {
  opacity: 1;
}

/* 3. Live Interactive Phone Simulator */
.phone-mockup-wrapper.interactive {
  cursor: default;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.sim-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 3px;
  margin-bottom: 0.7rem;
}

.sim-switch-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 6px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.sim-switch-btn.active {
  background: var(--accent-gradient-flutter);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.4);
}

.sim-app-view {
  display: none;
  flex-direction: column;
  gap: 0.55rem;
  animation: sim-fade 0.25s ease forwards;
}

.sim-app-view.active {
  display: flex;
}

@keyframes sim-fade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.sim-cart-badge {
  background: #ef4444;
  color: #ffffff;
  border-radius: 10px;
  padding: 1px 6px;
  font-size: 0.55rem;
  font-weight: 800;
  display: inline-block;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sim-cart-badge.pop {
  transform: scale(1.4);
}

.sim-interactive-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.45rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sim-interactive-item:hover, .sim-interactive-item.selected {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--accent-cyan);
}

.sim-btn-action {
  background: var(--accent-cyan);
  color: #0b0f19;
  border: none;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 6px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.2s;
}

.sim-btn-action:hover {
  filter: brightness(1.15);
  transform: scale(1.02);
}

.sim-toast {
  position: absolute;
  bottom: 55px;
  left: 12px;
  right: 12px;
  background: #0284c7;
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.65rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 10;
}

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

/* 4. Confetti Canvas */
#confetti-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
}


