/* Professional Enhanced Extended Functionalities Section - Hacktoberfest 2025 */
/* Performance Optimized with will-change and GPU acceleration */

/* Professional Variables */
:root {
  --extend-primary: #6366f1;
  --extend-secondary: #8b5cf6;
  --extend-accent: #ff7518;
  --extend-success: #18c97f;
  --extend-bg-primary: #0f172a;
  --extend-bg-card: rgba(30, 41, 59, 0.85);
  --extend-bg-glass: rgba(255, 255, 255, 0.05);
  --extend-text-primary: #f8fafc;
  --extend-text-secondary: #cbd5e1;
  --extend-text-muted: #64748b;
  --extend-border: rgba(255, 255, 255, 0.1);
  --extend-glow: rgba(255, 117, 24, 0.3);
}

/* Global Performance Optimizations */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  overscroll-behavior-y: none;
}

/* Performance: Reduce unnecessary repaints */
*,
*::before,
*::after {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Professional Patch Notes Container */
.patchNotes {
  position: relative;
  width: 100%;
  min-height: 400px;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 2rem 2rem 3rem;
  margin: 3rem 0 0;
  z-index: 1;
}

/* Enhanced Gradient Header */
.maskedGradientPurple {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 180px;
  width: 95%;
  max-width: 1400px;
  box-shadow: 
    0 20px 40px rgba(102, 1, 130, 0.3),
    inset 0 -5px 20px rgba(255, 210, 21, 0.2);
  border-bottom-right-radius: 80px;
  border-bottom-left-radius: 80px;
  background: linear-gradient(180deg, 
    rgba(102, 1, 130, 0.9) 0%, 
    rgba(139, 92, 246, 0.6) 50%,
    rgba(0, 0, 0, 0.3) 100%);
  backdrop-filter: blur(20px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  gap: 2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 5;
}

.maskedGradientPurple::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 117, 24, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

/* Professional ASCII Art Zone */
.asciiArtZone {
  color: #e2bcf4;
  position: relative;
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
  background: transparent;
  font-family: 'Courier New', monospace;
  opacity: 0.9;
  text-shadow: 0 0 10px rgba(226, 188, 244, 0.3);
  flex: 1;
  margin: 0 1rem;
  max-width: 600px;
  z-index: 6;
}

/* Professional Header Buttons */
.visitGithub,
.visitIntegration {
  position: relative;
  z-index: 10;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.visitGithub:hover,
.visitIntegration:hover {
  transform: scale(1.05) translateZ(0);
}

/* Professional Section Title Button */
.btn_patchNotes {
  position: relative;
  margin: 3rem auto 2rem;
  left: 0;
  right: 0;
  --duration: 7s;
  --easing: linear;
  --c-color-1: rgba(255, 163, 26, 0.7);
  --c-color-2: #1a23ff;
  --c-color-3: #e21bda;
  --c-color-4: rgba(255, 232, 26, 0.7);
  --c-shadow: rgba(255, 223, 87, 0.5);
  --c-shadow-inset-top: rgba(255, 223, 52, 0.9);
  --c-shadow-inset-bottom: rgba(255, 250, 215, 0.8);
  --c-radial-inner: #ffd215;
  --c-radial-outer: #fff172;
  --c-color: #fff;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  cursor: pointer;
  border: none;
  display: block;
  border-radius: 24px;
  padding: 0;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: var(--c-color);
  background: radial-gradient(circle,
      var(--c-radial-inner),
      var(--c-radial-outer) 80%);
  box-shadow: 0 0 20px var(--c-shadow);
  transform: scale(1.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  align-self: center;
}

.btn_patchNotes::before {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 3;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  border-radius: 24px;
  box-shadow:
    inset 0 3px 12px var(--c-shadow-inset-top),
    inset 0 -3px 4px var(--c-shadow-inset-bottom);
}

.btn_patchNotes:hover {
  --duration: 2000ms;
  transform: scale(1.18);
  box-shadow: 0 0 30px var(--c-shadow);
}

.btn_patchNotes .btn_patchNotes_wrapper {
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
  overflow: hidden;
  border-radius: 24px;
  min-width: 162px;
  padding: 12px 20px;
}

.btn_patchNotes .btn_patchNotes_wrapper span {
  display: inline-block;
  position: relative;
  z-index: 1;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  color: #190535;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

/* Professional FAQ Section - Optimized */
.faqSection {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 2rem;
  padding: 3rem 2.5rem 3rem;
  background: linear-gradient(135deg, 
    rgba(99, 102, 241, 0.08) 0%, 
    rgba(139, 92, 246, 0.06) 50%,
    rgba(255, 117, 24, 0.05) 100%);
  backdrop-filter: blur(20px);
  border-radius: 2rem;
  border: 1px solid var(--extend-border);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: sectionFadeIn 0.8s ease-out;
  overflow: hidden;
  will-change: transform;
  transform: translateZ(0);
}

.faqSection::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 117, 24, 0.04) 50%,
    transparent 100%
  );
  animation: shimmerMove 4s ease-in-out infinite;
  pointer-events: none;
  will-change: transform;
}

/* Professional Headings */
.faqSection .faqHeading {
  font-family: "Space Grotesk", "Georgia", serif;
  font-size: clamp(1.875rem, 5vw, 2.75rem);
  font-weight: 800;
  background: linear-gradient(135deg, 
    #ff80c0 0%, 
    #ff7518 25%,
    #ffd700 50%,
    #ff7518 75%,
    #ff80c0 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  animation: fadeInUp 0.8s ease-out, gradientShift 4s ease-in-out infinite;
  line-height: 1.15;
  position: relative;
  display: inline-block;
  width: 100%;
  text-shadow: 0 0 30px rgba(255, 117, 24, 0.3);
  filter: drop-shadow(0 2px 8px rgba(255, 117, 24, 0.2));
}

.faqSection .faqHeading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    #ff7518 50%, 
    transparent 100%);
  border-radius: 2px;
  animation: lineExpand 1s ease-out 0.5s both;
}

.faqSection .faqDesc {
  font-family: "Inter", "Verdana", sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--extend-text-secondary);
  text-align: center;
  margin: 1.5rem auto 1.5rem;
  max-width: 700px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.3s both;
  font-weight: 400;
  position: relative;
  padding: 0 1rem;
  opacity: 0.95;
}

.faqSection .faqDesc::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 3rem;
  color: rgba(255, 117, 24, 0.15);
  font-family: Georgia, serif;
  line-height: 1;
}

.faqSection .faqDesc::after {
  content: '"';
  position: absolute;
  right: 0;
  bottom: -25px;
  font-size: 3rem;
  color: rgba(255, 117, 24, 0.15);
  font-family: Georgia, serif;
  line-height: 1;
}

/* Professional Extension Cards Container - Optimized Grid */
.extendContainer {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  max-width: 1200px;
  margin: 2.5rem auto 4rem;
  padding: 0;
  width: 100%;
  animation: fadeInUp 0.7s ease-out 0.3s both;
}

/* Professional Extension Card - GPU Accelerated */
.extendCard {
  background: var(--extend-bg-card);
  backdrop-filter: blur(25px);
  border-radius: 1.75rem;
  cursor: pointer;
  min-height: 320px;
  position: relative;
  border: 1.5px solid var(--extend-border);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: cardSlideIn 0.5s ease-out backwards;
  will-change: transform, box-shadow;
  transform: translateZ(0);
  display: flex;
  align-items: center;
  justify-content: center;
}

.extendCard:nth-child(1) { animation-delay: 0.1s; }
.extendCard:nth-child(2) { animation-delay: 0.2s; }
.extendCard:nth-child(3) { animation-delay: 0.3s; }

.extendCard:hover {
  transform: translateY(-10px) scale(1.03) translateZ(0);
  border-color: var(--extend-accent);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.35),
    0 0 50px var(--extend-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Hacktoberfest Glow Effect - Optimized */
.extendCard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(255, 117, 24, 0.15) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  will-change: opacity;
}

.extendCard:hover::before {
  opacity: 1;
}

/* Professional Card Content - Proper Structure */
.extendCard-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: 2.5rem 2rem;
  position: relative;
  z-index: 2;
  gap: 1.25rem;
}

/* Professional Card Icon - GPU Optimized - ICON FIRST */
.extendCard-icon {
  color: var(--extend-accent);
  font-size: 5.5rem;
  opacity: 0.9;
  filter: drop-shadow(0 6px 16px rgba(255, 117, 24, 0.5));
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  animation: iconFloat 4s ease-in-out infinite;
  will-change: transform, filter;
  transform: translateZ(0);
  display: block;
  line-height: 1;
  margin: 0;
  order: 1;
}

.extendCard:nth-child(1) .extendCard-icon { animation-delay: 0s; }
.extendCard:nth-child(2) .extendCard-icon { animation-delay: 1.3s; }
.extendCard:nth-child(3) .extendCard-icon { animation-delay: 2.6s; }

.extendCard:hover .extendCard-icon {
  opacity: 1;
  filter: drop-shadow(0 8px 25px rgba(255, 117, 24, 0.7));
  transform: translateY(-6px) scale(1.15) translateZ(0);
  animation: none;
}

/* Professional Card Title - Better Typography - TITLE SECOND */
.extendCard-title {
  font-family: 'Space Grotesk', 'Courier New', Courier, monospace;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--extend-text-primary);
  text-align: center;
  line-height: 1.35;
  transition: all 0.3s ease;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.01em;
  will-change: transform, color;
  margin: 0;
  padding: 0;
  order: 2;
  max-width: 280px;
}

.extendCard:hover .extendCard-title {
  color: var(--extend-accent);
  text-shadow: 0 0 20px rgba(255, 117, 24, 0.7);
  transform: scale(1.06) translateZ(0);
}

/* Professional Badge - Enhanced - BADGE THIRD */
.extendCard-badge {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  background: linear-gradient(135deg, 
    rgba(24, 201, 127, 0.3) 0%, 
    rgba(24, 201, 127, 0.18) 100%);
  border: 1.5px solid rgba(24, 201, 127, 0.6);
  border-radius: 2rem;
  color: #20e89e;
  font-size: 1rem;
  font-family: 'Inter', 'Courier New', Courier, monospace;
  font-weight: 700;
  text-align: center;
  box-shadow: 
    0 6px 18px rgba(24, 201, 127, 0.35),
    inset 0 1px 0 rgba(24, 201, 127, 0.3);
  animation: badgePulse 2.5s ease-in-out infinite;
  letter-spacing: 0.03em;
  will-change: transform, box-shadow;
  transform: translateZ(0);
  white-space: nowrap;
  order: 3;
  margin: 0;
}

/* Development Badge Variant */
.extendCard-badge-dev {
  background: linear-gradient(135deg, 
    rgba(255, 117, 24, 0.3) 0%, 
    rgba(255, 117, 24, 0.18) 100%);
  border: 1.5px solid rgba(255, 117, 24, 0.6);
  color: #ff9a5a;
  animation: devBadgePulse 2.5s ease-in-out infinite;
}

/* Legacy Support - Remove old installCount styles */
#installCount {
  display: none;
}

/* ============================================
   PROFESSIONAL FOOTER SECTION - REDESIGNED
   ============================================ */

.professional-footer {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 4rem 0 0;
  padding: 0;
  background: linear-gradient(180deg,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(30, 41, 59, 0.98) 100%);
  border-top: 2px solid rgba(255, 117, 24, 0.3);
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out 0.6s both;
  will-change: transform;
  transform: translateZ(0);
  contain: layout style paint;
  box-shadow: 
    0 -20px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  clear: both;
}

.professional-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 117, 24, 0.8) 20%,
    rgba(99, 102, 241, 0.8) 50%,
    rgba(255, 117, 24, 0.8) 80%,
    transparent 100%);
  animation: shimmerMove 4s ease-in-out infinite;
  will-change: transform;
}

.footer-content {
  padding: 4rem 2.5rem 2rem;
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}

/* Footer Top Section - Enhanced Grid */
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: start;
}

/* Footer Brand - Enhanced */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  animation: fadeInUp 0.6s ease-out 0.7s both;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(255, 117, 24, 0.3);
}

.footer-logo i {
  font-size: 2rem;
  color: var(--extend-accent);
  filter: drop-shadow(0 3px 12px rgba(255, 117, 24, 0.6));
  animation: iconFloat 4s ease-in-out infinite;
}

.footer-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 320px;
  margin: 0;
  animation: fadeInUp 0.6s ease-out 0.8s both;
}

/* Footer Social Links - Enhanced */
.footer-social {
  display: flex;
  gap: 0.875rem;
  margin-top: 0.5rem;
  animation: fadeInUp 0.6s ease-out 0.9s both;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  will-change: transform;
  transform: translateZ(0);
}

.footer-social a:hover {
  background: linear-gradient(135deg,
    rgba(255, 117, 24, 0.2) 0%,
    rgba(99, 102, 241, 0.2) 100%);
  border-color: rgba(255, 117, 24, 0.6);
  color: #ffffff;
  transform: translateY(-3px) scale(1.08) translateZ(0);
  box-shadow: 
    0 8px 20px rgba(255, 117, 24, 0.3),
    0 0 15px rgba(255, 117, 24, 0.15);
}

/* Footer Links Section - Enhanced Grid */
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.footer-column {
  animation: fadeInUp 0.6s ease-out backwards;
  display: flex;
  flex-direction: column;
}

.footer-column:nth-child(1) { animation-delay: 0.7s; }
.footer-column:nth-child(2) { animation-delay: 0.8s; }
.footer-column:nth-child(3) { animation-delay: 0.9s; }

.footer-column h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 1rem 0;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 0.625rem;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2.5px;
  background: linear-gradient(90deg, var(--extend-accent) 0%, rgba(255, 117, 24, 0.3) 100%);
  border-radius: 2px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-column li {
  margin: 0;
  line-height: 1.3;
}

.footer-column a {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  position: relative;
  padding-left: 0;
  will-change: transform;
}

.footer-column a::before {
  content: '→';
  position: absolute;
  left: -16px;
  opacity: 0;
  color: var(--extend-accent);
  transition: all 0.25s ease;
  font-weight: 600;
}

.footer-column a:hover {
  color: #ffffff;
  padding-left: 16px;
  transform: translateX(2px);
}

.footer-column a:hover::before {
  opacity: 1;
  left: 0;
}

/* Footer Bottom Section - Enhanced */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  gap: 2rem;
  animation: fadeInUp 0.6s ease-out 1s both;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 2rem;
}

.footer-copyright {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  min-width: 220px;
}

.footer-copyright p {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.footer-love {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-love i {
  color: #ff4757;
  animation: pulse 1.5s ease-in-out infinite;
}

/* Footer Badges - Enhanced */
.footer-badges {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  will-change: transform;
  transform: translateZ(0);
}

.footer-badge i {
  font-size: 1rem;
  color: var(--extend-accent);
  transition: transform 0.3s ease;
}

.footer-badge:hover {
  background: linear-gradient(135deg,
    rgba(255, 117, 24, 0.15) 0%,
    rgba(99, 102, 241, 0.12) 100%);
  border-color: rgba(255, 117, 24, 0.4);
  color: #ffffff;
  transform: translateY(-2px) scale(1.03) translateZ(0);
  box-shadow: 0 4px 15px rgba(255, 117, 24, 0.2);
  color: var(--extend-text-primary);
}

.footer-badge:hover i {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 2px 6px rgba(255, 117, 24, 0.4));
}

/* Heart Beat Animation */
@keyframes heartBeat {
  0%, 100% {
    transform: scale(1);
  }
  10%, 30% {
    transform: scale(1.1);
  }
  20%, 40% {
    transform: scale(1);
  }
}

/* Hide Old Footer */
.footerElement {
  display: none;
}

/* Professional Footer */
.footerElement {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0.5rem auto 0;
  padding: 1.25rem 1rem 1rem;
  border-top: 1px solid var(--extend-border);
}

.footerText {
  font-family: "Inter", "calibri", sans-serif;
  font-weight: 400;
  font-size: 0.925rem;
  letter-spacing: 0.05em;
  color: var(--extend-text-muted);
  text-align: center;
  transition: color 0.3s ease;
  line-height: 1.5;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  animation: fadeIn 1s ease-out 0.8s both;
}

.footerText:hover {
  color: var(--extend-text-secondary);
}

.footerText:hover {
  color: var(--extend-text-secondary);
}

/* Professional Animations - Optimized for Performance */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

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

@keyframes sectionFadeIn {
  from {
    opacity: 0;
    transform: scale3d(0.97, 0.97, 1);
  }
  to {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}

@keyframes cardSlideIn {
  from {
    opacity: 0;
    transform: translate3d(-15px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes iconFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -6px, 0);
  }
}

@keyframes textShimmer {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
  100% {
    background-position: 0% center;
  }
}

@keyframes lineExpand {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 80px;
    opacity: 1;
  }
}

@keyframes shimmerMove {
  0% {
    transform: translate3d(-100%, 0, 0);
  }
  100% {
    transform: translate3d(100%, 0, 0);
  }
}

@keyframes badgePulse {
  0%, 100% {
    box-shadow: 
      0 6px 18px rgba(24, 201, 127, 0.35),
      inset 0 1px 0 rgba(24, 201, 127, 0.3);
    transform: scale3d(1, 1, 1);
  }
  50% {
    box-shadow: 
      0 8px 26px rgba(24, 201, 127, 0.55),
      inset 0 1px 0 rgba(24, 201, 127, 0.4);
    transform: scale3d(1.04, 1.04, 1);
  }
}

@keyframes devBadgePulse {
  0%, 100% {
    box-shadow: 
      0 6px 18px rgba(255, 117, 24, 0.35),
      inset 0 1px 0 rgba(255, 117, 24, 0.3);
    transform: scale3d(1, 1, 1);
  }
  50% {
    box-shadow: 
      0 8px 26px rgba(255, 117, 24, 0.55),
      inset 0 1px 0 rgba(255, 117, 24, 0.4);
    transform: scale3d(1.04, 1.04, 1);
  }
}

/* Professional Responsive Design - Enhanced */
@media screen and (max-width: 1024px) {
  .maskedGradientPurple {
    width: 90%;
    height: 160px;
    padding: 0 1.5rem;
  }
  
  .asciiArtZone {
    font-size: 12px;
    max-width: 400px;
  }
  
  .visitGithub,
  .visitIntegration {
    font-size: 0.9rem;
    padding: 0.65rem 1.1rem;
  }
  
  .faqSection {
    padding: 2.5rem 2rem 2.75rem;
    margin: 0 auto 1.5rem;
  }
  
  .extendContainer {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
    margin: 2.5rem auto 3.5rem;
  }
  
  .extendCard {
    min-height: 300px;
  }
  
  .extendCard-content {
    padding: 2.25rem 1.75rem;
    gap: 1.15rem;
  }
  
  .extendCard-icon {
    font-size: 5rem;
  }
  
  .extendCard-title {
    font-size: 1.3rem;
  }
  
  .extendCard-badge {
    font-size: 0.95rem;
    padding: 0.6rem 1.3rem;
  }
  
  /* Footer Responsive - Tablet */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-links {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .patchNotes {
    padding: 2rem 1rem 2.5rem;
    margin-top: 2rem;
    min-height: 350px;
  }
  
  .btn_patchNotes {
    margin-top: 2.5rem;
    margin-bottom: 2rem;
    transform: scale(1) translateZ(0);
  }
  
  .btn_patchNotes:hover {
    transform: scale(1.05) translateZ(0);
  }
  
  .maskedGradientPurple {
    height: 140px;
    border-bottom-right-radius: 60px;
    border-bottom-left-radius: 60px;
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }
  
  .asciiArtZone {
    font-size: 11px;
    max-width: 100%;
  }
  
  .visitGithub,
  .visitIntegration {
    position: relative;
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }
  
  .faqSection {
    padding: 2.25rem 1.75rem 2.5rem;
    margin: 0 auto 1.25rem;
  }
  
  .faqSection .faqHeading {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  
  .faqSection .faqDesc {
    font-size: 1.05rem;
    margin: 1.5rem auto 1.5rem;
  }
  
  .extendContainer {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin: 2rem auto 3rem;
  }
  
  .extendCard {
    min-height: 300px;
  }
  
  .extendCard-content {
    padding: 2.25rem 1.75rem;
    gap: 1.15rem;
  }
  
  .extendCard-icon {
    font-size: 4.75rem;
  }
  
  .extendCard-title {
    font-size: 1.25rem;
  }
  
  .extendCard-badge {
    font-size: 0.95rem;
    padding: 0.6rem 1.25rem;
  }
  
  /* Footer Responsive - Mobile */
  .professional-footer {
    margin-top: 3rem;
  }
  
  .footer-content {
    padding: 3rem 2rem 2rem;
  }
  
  .footer-top {
    gap: 3rem;
    padding-bottom: 2rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding-top: 1.5rem;
  }
  
  .footer-badges {
    justify-content: flex-start;
  }
}

@media screen and (max-width: 600px) {
  .patchNotes {
    padding: 1.5rem 1rem 2rem;
    min-height: 320px;
  }
  
  .maskedGradientPurple {
    width: 95%;
    height: 200px;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 0.75rem;
  }
  
  .visitGithub,
  .visitIntegration {
    position: relative;
    margin: 0.25rem 0;
    transform: scale(0.95) translateZ(0);
    font-size: 0.8rem;
    padding: 0.55rem 0.9rem;
  }
  
  .asciiArtZone {
    font-size: 10px;
    line-height: 1.2;
    max-width: 100%;
    margin: 0.5rem 0;
  }
  
  .btn_patchNotes {
    margin: 2rem auto 1.75rem;
    transform: scale(0.95) translateZ(0);
  }
  
  .faqSection {
    padding: 2rem 1.25rem 2.25rem;
    border-radius: 1.5rem;
    margin: 0 auto 1rem;
  }
  
  .faqSection .faqHeading {
    font-size: 1.5rem;
    margin-bottom: 0.875rem;
  }
  
  .faqSection .faqDesc {
    font-size: 0.975rem;
    margin: 1.25rem auto 1.25rem;
    padding: 0 0.5rem;
  }
  
  .extendContainer {
    gap: 1.5rem;
    margin: 1.75rem auto 2.5rem;
    margin-top: 1.75rem;
  }
  
  .extendCard {
    min-height: 280px;
  }
  
  .extendCard-content {
    padding: 2rem 1.5rem;
    gap: 1rem;
  }
  
  .extendCard-icon {
    font-size: 4.25rem;
  }
  
  .extendCard-title {
    font-size: 1.15rem;
  }
  
  .extendCard-badge {
    font-size: 0.875rem;
    padding: 0.5rem 1.1rem;
  }
  
  /* Footer Responsive - Small Mobile */
  .professional-footer {
    margin-top: 2.5rem;
  }
  
  .footer-content {
    padding: 2.5rem 1.5rem 1.75rem;
  }
  
  .footer-logo {
    font-size: 1.5rem;
  }
  
  .footer-logo i {
    font-size: 1.75rem;
  }
  
  .footer-tagline {
    font-size: 0.875rem;
  }
  
  .footer-social a {
    width: 38px;
    height: 38px;
    font-size: 1.35rem;
  }
  
  .footer-column h3 {
    font-size: 1rem;
    margin-bottom: 0.875rem;
  }
  
  .footer-column a {
    font-size: 0.875rem;
  }
  
  .footer-copyright p {
    font-size: 0.8125rem;
  }
  
  .footer-badge {
    font-size: 0.75rem;
    padding: 0.45rem 0.875rem;
  }
  
  .footerElement {
    margin-top: 1rem;
    padding: 1rem 1rem 1rem;
  }
  
  .footerText {
    font-size: 0.85rem;
    padding: 0 0.5rem;
  }
}

/* Ultra Small Devices - Optimized */
@media screen and (max-width: 400px) {
  .patchNotes {
    min-height: 300px;
    padding: 1.25rem 0.75rem 1.75rem;
  }
  
  .maskedGradientPurple {
    height: 220px;
    padding: 0.75rem 0.5rem;
  }
  
  .visitGithub,
  .visitIntegration {
    font-size: 0.75rem;
    padding: 0.5rem 0.8rem;
  }
  
  .asciiArtZone {
    font-size: 9px;
  }
  
  .btn_patchNotes {
    transform: scale(0.85) translateZ(0);
    margin-top: 1.5rem;
  }
  
  .faqSection {
    padding: 1.75rem 1rem 2rem;
    margin: 0 auto 0.875rem;
  }
  
  .extendCard {
    min-height: 260px;
  }
  
  .extendCard-content {
    padding: 1.75rem 1.25rem;
    gap: 0.875rem;
  }
  
  .extendCard-icon {
    font-size: 3.75rem;
  }
  
  .extendCard-title {
    font-size: 1.05rem;
  }
  
  .extendCard-badge {
    font-size: 0.8rem;
    padding: 0.45rem 0.95rem;
  }
  
  /* Footer Responsive - Ultra Small */
  .professional-footer {
    margin-top: 2rem;
  }
  
  .footer-content {
    padding: 2rem 1.25rem 1.5rem;
  }
  
  .footer-top {
    gap: 2rem;
  }
  
  .footer-logo {
    font-size: 1.35rem;
  }
  
  .footer-logo i {
    font-size: 1.5rem;
  }
  
  .footer-tagline {
    font-size: 0.875rem;
  }
  
  .footer-social {
    gap: 0.75rem;
  }
  
  .footer-social a {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }
  
  .footer-links {
    gap: 1.75rem;
  }
  
  .footer-column h3 {
    font-size: 0.9375rem;
  }
  
  .footer-column a {
    font-size: 0.8125rem;
  }
  
  .footer-bottom {
    padding-top: 1.5rem;
  }
  
  .footer-copyright p {
    font-size: 0.75rem;
  }
  
  .footer-love {
    font-size: 0.75rem;
  }
  
  .footer-badges {
    gap: 0.625rem;
  }
  
  .footer-badge {
    font-size: 0.6875rem;
    padding: 0.375rem 0.75rem;
  }
  
  .footerText {
    font-size: 0.75rem;
  }
}

/* Performance Optimization: Reduce animations on lower-end devices */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
