/* Glassmorphism & Maximalist Visual Styles */

/* 1. Background Mesh and Zero-Lag Glow Ambient Lighting */
.bg-mesh-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background-color: #060913;
  background-image: 
    radial-gradient(circle at 12% 15%, rgba(99, 102, 241, 0.45) 0%, transparent 45%),
    radial-gradient(circle at 88% 80%, rgba(6, 182, 212, 0.42) 0%, transparent 48%),
    radial-gradient(circle at 45% 45%, rgba(236, 72, 153, 0.28) 0%, transparent 38%),
    radial-gradient(circle at 18% 85%, rgba(139, 92, 246, 0.35) 0%, transparent 42%),
    radial-gradient(circle at 50% 50%, #0d1527 0%, #060913 100%);
  background-attachment: fixed;
  transform: translate3d(0, 0, 0);
  contain: strict;
}

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

/* Glow orbs replaced with zero-lag native composite gradients */
.glow-orb {
  display: none !important;
}

.mesh-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

/* 2. Glass Cards & Surfaces */
.glass-card {
  background: rgba(18, 24, 38, 0.8);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
  padding: 2.2rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transform: skewX(-25deg);
  transition: 0.75s;
  pointer-events: none;
}

.glass-card:hover::before {
  left: 150%;
}

.glass-card:hover {
  border-color: var(--glass-hover);
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.2);
}

/* 3. Glass Floating Navbar */
.glass-navbar {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 94%;
  max-width: 1240px;
  background: rgba(13, 18, 30, 0.85);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: var(--radius-full);
  padding: 0.75rem 1.6rem;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

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

.brand-logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-bracket {
  color: var(--primary);
  font-weight: 900;
}

.logo-accent {
  color: var(--secondary);
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

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

.lang-switch {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.6rem;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.lang-btn {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  padding: 0.2rem 0.4rem;
  transition: var(--transition-fast);
}

.lang-btn.active {
  color: var(--secondary);
  text-shadow: 0 0 8px rgba(6, 182, 212, 0.6);
}

.lang-divider {
  color: var(--text-muted);
  opacity: 0.4;
  margin: 0 2px;
}

.btn-phone-quick {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-phone-quick:hover {
  background: #10b981;
  color: #fff;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0.4rem;
}

/* 4. Hero Visual & Avatar Frame */
.hero-section {
  min-height: 100vh;
  padding: 8.5rem 0 4.5rem 0;
  display: flex;
  align-items: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  color: #a5b4fc;
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}

.hero-title {
  font-size: 3.6rem;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-title .greeting {
  display: block;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.typewriter-container {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--secondary);
  font-family: monospace;
  margin-bottom: 1.5rem;
  line-height: 1.4;
  word-break: break-word;
}

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

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

.btn-discord-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #5865f2;
  color: #fff;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
  transition: var(--transition-fast);
}

.btn-discord-hero:hover {
  background: #4752c4;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.6);
}

.hero-stats-row {
  display: flex;
  gap: 1.2rem;
}

.stat-card {
  padding: 1.2rem 1.4rem;
  text-align: center;
  border-radius: var(--radius-md);
  flex: 1;
}

.stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #fff;
  background: linear-gradient(135deg, #fff, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Avatar Frame */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.avatar-glass-frame {
  position: relative;
  width: 320px;
  height: 320px;
  max-width: 100%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(6,182,212,0.2));
  border: 2px solid var(--glass-border);
  backdrop-filter: blur(15px);
  padding: 12px;
  box-shadow: 0 0 50px rgba(99, 102, 241, 0.3);
  animation: morphBlob 12s ease-in-out infinite alternate;
}

.hero-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.floating-badge {
  position: absolute;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--shadow-glass);
}

.badge-node { top: -10px; right: -10px; color: #facc15; }
.badge-docker { bottom: 10px; left: -15px; color: #4ade80; }
.badge-status { bottom: -15px; right: 15px; color: #fff; }
.status-indicator {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
}

/* 5. Bento Grid Layout */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.bento-span-2 {
  grid-column: span 2;
}

.bento-icon {
  width: 48px;
  height: 48px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #818cf8;
  margin-bottom: 1.2rem;
}

.bento-tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 5.1 Cyberpunk Discord Profile Card */
.bento-discord-custom {
  padding: 0 !important;
  background: #11121d !important;
  border: 1px solid rgba(139, 92, 246, 0.4) !important;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(139, 92, 246, 0.2);
}

.discord-custom-banner {
  height: 90px;
  background: linear-gradient(135deg, #1e1b4b, #4c1d95, #831843);
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.discord-custom-avatar {
  position: absolute;
  bottom: -22px;
  left: 18px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #0f172a;
  border: 3px solid #11121d;
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.6);
}

.discord-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.discord-custom-online {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  background: #23a55a;
  border: 2px solid #11121d;
  border-radius: 50%;
}

.discord-custom-body {
  padding: 2rem 1.4rem 1.4rem 1.4rem;
}

.discord-display-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  word-break: break-all;
}

.discord-tag-name {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.badge-sudo {
  background: #dc2626;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  letter-spacing: 1px;
}

.discord-quote-box {
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid #ec4899;
  padding: 0.6rem 0.8rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: #cbd5e1;
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.discord-games-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.8rem;
}

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

.game-badges {
  display: flex;
  gap: 0.5rem;
}

.game-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.game-badge.lol {
  background: rgba(14, 116, 144, 0.3);
  border: 1px solid #06b6d4;
  color: #38bdf8;
}

.game-badge.gta {
  background: rgba(22, 101, 52, 0.3);
  border: 1px solid #22c55e;
  color: #4ade80;
}

.btn-discord-copy {
  width: 100%;
  padding: 0.65rem;
  background: rgba(88, 101, 242, 0.25);
  border: 1px solid #5865f2;
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.btn-discord-copy:hover {
  background: #5865f2;
}

.focus-list-vertical {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.focus-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* 5.5 Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 2.2rem 1.8rem;
  background: rgba(18, 24, 38, 0.7);
}

.service-icon-wrap {
  width: 55px;
  height: 55px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.2));
  border: 1px solid rgba(99, 102, 241, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 1.4rem;
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.service-cta:hover {
  color: #fff;
  transform: translateX(4px);
}

/* 5.6 Language and tools Ribbon & Skills spacing */
.tech-icon-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  align-items: center;
  justify-items: center;
  gap: 1.5rem;
  padding: 1.8rem 1.5rem;
  background: rgba(15, 23, 42, 0.7);
  margin-bottom: 2.5rem !important;
}

.tech-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition-fast);
  color: inherit;
  text-align: center;
}

.tech-icon-item span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-heading);
}

.tech-icon-item:hover {
  transform: translateY(-6px) scale(1.1);
}

.tech-icon-item:hover span {
  color: #fff;
}

/* 6. Skills Grid with clear spacing */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.mt-4 { margin-top: 2rem !important; }

.skill-card {
  padding: 1.6rem;
}

.skill-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.skill-icon-wrap {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--secondary);
  flex-shrink: 0;
}

.skill-info {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skill-info h4 {
  font-size: 1rem;
  font-weight: 600;
}

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

.skill-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: var(--radius-full);
  transition: width 1.5s ease-in-out;
}

/* 7. Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.project-card {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.project-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #0d1322;
}

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

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

.project-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary);
}

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

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

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

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

.tech-tag {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: #c7d2fe;
}

.project-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn-project-action {
  flex: 1;
  min-width: 130px;
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.btn-project-action.primary {
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.5);
  color: #fff;
}

.btn-project-action.primary:hover {
  background: var(--primary);
}

.btn-project-action.secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
}

.btn-project-action.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* 8. Contact Section & Forms */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
}

.contact-intro {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-channels-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
  overflow: hidden;
}

.channel-card:not(.no-hover):hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateX(5px);
}

.channel-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.channel-icon.email { background: rgba(99, 102, 241, 0.2); color: #818cf8; }
.channel-icon.phone { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.channel-icon.discord { background: rgba(88, 101, 242, 0.2); color: #818cf8; }
.channel-icon.location { background: rgba(244, 63, 94, 0.2); color: #fb7185; }
.channel-icon.github-channel { background: rgba(255, 255, 255, 0.1); color: #fff; }

.channel-details {
  flex: 1;
  min-width: 0;
}

.channel-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.channel-value {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  word-break: break-all;
}

.arrow-icon {
  color: var(--text-muted);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.cursor-pointer { cursor: pointer; }

/* Glass Inputs */
.form-group {
  margin-bottom: 1.4rem;
}

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

.glass-input {
  width: 100%;
  padding: 0.85rem 1.2rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.glass-input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
  background: rgba(15, 23, 42, 0.85);
}

.form-status-alert {
  display: none;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
}

.form-status-alert.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.form-status-alert.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

/* 9. Footer */
.glass-footer {
  margin-top: 6rem;
  border-top: 1px solid var(--glass-border);
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(20px);
  padding: 4rem 0 2rem 0;
}

.footer-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 1rem 0 1.5rem 0;
  max-width: 400px;
  line-height: 1.6;
}

.social-links-row {
  display: flex;
  gap: 0.8rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: var(--transition-fast);
}

.social-icon:hover {
  background: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--primary-glow);
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: #fff;
  transform: translateX(4px);
}

.contact-quick li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-quick li a {
  color: var(--text-muted);
  text-decoration: none;
  word-break: break-all;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-admin-link a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  opacity: 0.6;
  transition: var(--transition-fast);
}

.footer-admin-link a:hover {
  opacity: 1;
  color: var(--secondary);
}

/* ========================================================= */
/* 📱 RESZPONZÍV ÉS MOBIL NÉZETI SZABÁLYOK (TÖKÉLETES TÖRDELÉS) */
/* ========================================================= */

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3.5rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }

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

  .hero-actions {
    justify-content: center;
  }

  .hero-stats-row {
    max-width: 500px;
    margin: 0 auto;
  }

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

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .glass-navbar {
    top: 0.6rem;
    padding: 0.6rem 1.2rem;
    width: 95%;
  }

  .btn-phone-quick {
    display: none; /* Hide phone in navbar on mobile to avoid overflow */
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: rgba(13, 18, 30, 0.96);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(25px);
    border-radius: var(--radius-lg);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
  }

  .nav-links.show {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-section {
    padding: 6.5rem 0 3.5rem 0;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-title .greeting {
    font-size: 1.2rem;
  }

  .typewriter-container {
    font-size: 1.1rem;
  }

  .hero-description {
    font-size: 0.98rem;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 0.35rem 0.9rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions a {
    width: 100%;
  }

  .hero-stats-row {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
  }

  .avatar-glass-frame {
    width: 250px;
    height: 250px;
  }

  .floating-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
  }

  .badge-node { top: -5px; right: -5px; }
  .badge-docker { bottom: 5px; left: -10px; }
  .badge-status { bottom: -10px; right: 10px; }

  .glass-card {
    padding: 1.4rem;
    border-radius: var(--radius-md);
  }

  .tech-icon-bar {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    padding: 1.2rem 0.8rem;
  }

  .tech-icon-item {
    font-size: 1.7rem;
  }

  .tech-icon-item span {
    font-size: 0.72rem;
  }

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

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

  .discord-display-name {
    font-size: 0.95rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.9rem;
  }

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

  .tech-icon-bar {
    grid-template-columns: repeat(3, 1fr);
  }
}
