/**
 * AKSALAB Memories - Elegant Neo-Brutalism Design
 * ===============================================
 * Refined neo-brutalism with elegant color palette
 */

/* ========================================
   ELEGANT NEO-BRUTALISM COLOR PALETTE
   ======================================== */
:root {
  /* Primary Colors from provided palette */
  --neo-primary: #003366; /* Deep Navy Blue */
  --neo-secondary: #0055a4; /* Medium Blue */
  --neo-accent: #3399ff; /* Bright Blue */
  --neo-cta-hover: #66b2ff; /* Light Blue for CTA Hover */
  --neo-success: #28a745; /* Green */
  --neo-warning: #ffc107; /* Yellow */
  --neo-danger: #dc3545; /* Red */
  --neo-muted: #aab7c4; /* Gray */
  --neo-dark: #1a2c40; /* Dark Blue-Gray */

  /* Background Colors */
  --neo-bg-primary: #ffffff; /* Pure White */
  --neo-bg-secondary: #f0f4f8; /* Light Gray-Blue */
  --neo-bg-alt: #f0f4f8; /* Alternative Background */
  --neo-bg-dark: #1a2c40; /* Dark Background */

  /* Text Colors */
  --neo-text-primary: #1a2c40; /* Dark Blue-Gray */
  --neo-text-secondary: #003366; /* Deep Navy */
  --neo-text-muted: #aab7c4; /* Gray */
  --neo-text-white: #ffffff; /* Pure White */

  /* Border & Shadow - More subtle */
  --neo-border-width: 3px;
  --neo-border-color: #003366;
  --neo-shadow-offset: 6px;
  --neo-shadow-color: rgba(0, 51, 102, 0.2);

  /* Spacing */
  --neo-space-xs: 4px;
  --neo-space-sm: 8px;
  --neo-space-md: 16px;
  --neo-space-lg: 24px;
  --neo-space-xl: 32px;
  --neo-space-2xl: 48px;

  /* Typography - More elegant */
  --neo-font-family:
    "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --neo-font-family-display: "Inter", "Segoe UI", sans-serif;
  --neo-font-size-xs: 12px;
  --neo-font-size-sm: 14px;
  --neo-font-size-base: 16px;
  --neo-font-size-lg: 18px;
  --neo-font-size-xl: 24px;
  --neo-font-size-2xl: 32px;
  --neo-font-size-3xl: 48px;
  --neo-font-size-4xl: 56px;

  /* Transitions */
  --neo-transition: 0.2s ease-out;
}

/* ========================================
   ENHANCED NEO-BRUTALISM DESIGN
   ======================================== */

/* Base styles with more brutalist characteristics */
.neo-body {
  font-family: var(--neo-font-family) !important;
  background: var(--neo-bg-primary) !important;
  color: var(--neo-text-primary) !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  overflow-x: hidden;
}

/* Remove default noise overlay */
.neo-body::before {
  display: none !important;
}

/* Add brutalist grid background */
.neo-body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(0, 51, 102, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 51, 102, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: -1;
}

/* ========================================
   ELEGANT NEO-BRUTALISM COMPONENTS
   ======================================== */

/* Cards - Enhanced brutalist style */
.neo-card {
  background: var(--neo-bg-primary);
  border: var(--neo-border-width) solid var(--neo-border-color);
  box-shadow:
    var(--neo-shadow-offset) var(--neo-shadow-offset) 0 var(--neo-shadow-color),
    inset 2px 2px 0 rgba(255, 255, 255, 0.1);
  padding: var(--neo-space-lg);
  position: relative;
  transition: var(--neo-transition);
  border-radius: 0;
}

.neo-card::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border: 1px solid rgba(0, 51, 102, 0.1);
  pointer-events: none;
}

.neo-card:hover {
  transform: translate(-3px, -3px);
  box-shadow:
    calc(var(--neo-shadow-offset) + 3px) calc(var(--neo-shadow-offset) + 3px) 0
      var(--neo-shadow-color),
    inset 2px 2px 0 rgba(255, 255, 255, 0.2);
}

.neo-card--header {
  background: linear-gradient(
    135deg,
    var(--neo-bg-primary) 0%,
    var(--neo-bg-secondary) 100%
  );
  color: var(--neo-text-primary);
  text-align: center;
  margin-bottom: var(--neo-space-xl);
  border: var(--neo-border-width) solid var(--neo-primary);
  position: relative;
  box-shadow:
    var(--neo-shadow-offset) var(--neo-shadow-offset) 0 var(--neo-shadow-color),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  padding: var(--neo-space-xl) var(--neo-space-lg);
}

.neo-card--header::after {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 1px solid var(--neo-accent);
  z-index: -1;
}

.neo-card--header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--neo-accent) 0%,
    var(--neo-secondary) 25%,
    var(--neo-warning) 50%,
    var(--neo-secondary) 75%,
    var(--neo-accent) 100%
  );
  box-shadow: 0 2px 0 var(--neo-primary);
}

.neo-card--footer {
  background: var(--neo-bg-dark);
  color: var(--neo-text-white);
  border: var(--neo-border-width) solid var(--neo-primary);
}

.neo-card--info {
  background: var(--neo-secondary);
  color: var(--neo-text-white);
  padding: var(--neo-space-sm) var(--neo-space-md);
}

/* Buttons - Enhanced brutalist style */
.neo-btn {
  font-family: var(--neo-font-family);
  font-weight: 700;
  font-size: var(--neo-font-size-base);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: var(--neo-space-md) var(--neo-space-xl);
  border: var(--neo-border-width) solid var(--neo-border-color);
  background: var(--neo-bg-primary);
  color: var(--neo-text-primary);
  cursor: pointer;
  transition: var(--neo-transition);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--neo-space-sm);
  box-shadow:
    var(--neo-shadow-offset) var(--neo-shadow-offset) 0 var(--neo-shadow-color),
    inset 1px 1px 0 rgba(255, 255, 255, 0.2);
  border-radius: 0;
}

.neo-btn::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  border: 1px solid rgba(0, 51, 102, 0.1);
  pointer-events: none;
}

.neo-btn:hover {
  transform: translate(-3px, -3px);
  box-shadow:
    calc(var(--neo-shadow-offset) + 3px) calc(var(--neo-shadow-offset) + 3px) 0
      var(--neo-shadow-color),
    inset 1px 1px 0 rgba(255, 255, 255, 0.3);
}

.neo-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--neo-shadow-color);
}

.neo-btn--primary {
  background: var(--neo-accent);
  color: var(--neo-text-white);
  border-color: var(--neo-primary);
}

.neo-btn--primary:hover {
  background: var(--neo-cta-hover);
}

.neo-btn--secondary {
  background: var(--neo-secondary);
  color: var(--neo-text-white);
  border-color: var(--neo-primary);
}

.neo-btn--filter {
  background: var(--neo-bg-primary);
  color: var(--neo-text-primary);
  flex-direction: column;
  align-items: center;
  padding: var(--neo-space-md);
  width: 100%;
  text-align: center;
  border-color: var(--neo-primary);
  gap: var(--neo-space-sm);
  justify-content: center;
  position: relative;
  min-height: 80px;
}

.neo-btn--filter::after {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 1px solid var(--neo-accent);
  opacity: 0;
  transition: var(--neo-transition);
}

.neo-btn--filter:hover::after {
  opacity: 1;
}

.neo-btn--filter.active {
  background: var(--neo-primary);
  color: var(--neo-text-white);
  border-color: var(--neo-primary);
  position: relative;
}

.neo-btn--filter.active::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border: 2px solid var(--neo-accent);
  z-index: -1;
}

.neo-btn--close,
.neo-btn--download,
.neo-btn--nav {
  width: 48px;
  height: 48px;
  padding: 0;
  justify-content: center;
  background: var(--neo-danger);
  color: var(--neo-text-white);
  position: fixed;
  z-index: 1001;
  border-color: var(--neo-primary);
}

.neo-btn--close {
  top: var(--neo-space-lg);
  right: var(--neo-space-lg);
}

.neo-btn--download {
  top: var(--neo-space-lg);
  right: calc(var(--neo-space-lg) + 64px);
  background: var(--neo-success);
}

.neo-btn--prev {
  left: var(--neo-space-lg);
  top: 50%;
  transform: translateY(-50%);
  background: var(--neo-secondary);
}

.neo-btn--next {
  right: var(--neo-space-lg);
  top: 50%;
  transform: translateY(-50%);
  background: var(--neo-secondary);
}

.neo-btn--scroll-top {
  position: fixed;
  bottom: var(--neo-space-lg);
  right: var(--neo-space-lg);
  width: 48px;
  height: 48px;
  padding: 0;
  justify-content: center;
  background: var(--neo-accent);
  color: var(--neo-text-white);
  opacity: 0;
  visibility: hidden;
  transition: var(--neo-transition);
  z-index: 100;
  border-color: var(--neo-primary);
}

.neo-btn--scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.neo-btn__icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

/* Badges - Refined */
.neo-badge {
  font-family: var(--neo-font-family);
  font-weight: 700;
  font-size: var(--neo-font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: var(--neo-space-xs) var(--neo-space-md);
  border: 2px solid var(--neo-border-color);
  background: var(--neo-bg-primary);
  color: var(--neo-text-primary);
  display: inline-block;
  box-shadow: 3px 3px 0 var(--neo-shadow-color);
}

.neo-badge--accent {
  background: var(--neo-warning);
  color: var(--neo-text-primary);
  border-color: var(--neo-primary);
}

.neo-badge--count {
  background: var(--neo-primary);
  color: var(--neo-text-white);
  min-width: 28px;
  height: 20px;
  text-align: center;
  border-color: var(--neo-primary);
  border-radius: 10px;
  font-size: var(--neo-font-size-xs);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: var(--neo-space-sm);
  box-shadow: 2px 2px 0 var(--neo-shadow-color);
}

.neo-btn--filter.active .neo-badge--count {
  background: var(--neo-accent);
  color: var(--neo-text-primary);
  border-color: var(--neo-accent);
}

.neo-badge--counter {
  position: fixed;
  bottom: var(--neo-space-lg);
  left: 50%;
  transform: translateX(-50%);
  background: var(--neo-bg-primary);
  color: var(--neo-text-primary);
  z-index: 1001;
  font-size: var(--neo-font-size-sm);
  padding: var(--neo-space-sm) var(--neo-space-lg);
  border-color: var(--neo-primary);
}

/* Typography - Enhanced brutalist */
.neo-title {
  font-family: var(--neo-font-family-display);
  font-size: var(--neo-font-size-4xl);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--neo-text-primary);
  margin: 0;
  position: relative;
  text-shadow:
    3px 3px 0 var(--neo-accent),
    6px 6px 0 var(--neo-primary);
}

.neo-title::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid var(--neo-primary);
  z-index: -1;
}

.neo-subtitle {
  font-family: var(--neo-font-family);
  font-size: var(--neo-font-size-lg);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--neo-text-secondary);
  margin: var(--neo-space-lg) 0;
  position: relative;
}

.neo-section-title {
  font-family: var(--neo-font-family-display);
  font-size: var(--neo-font-size-2xl);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0;
  color: var(--neo-primary);
  text-shadow:
    1px 1px 0 var(--neo-accent),
    2px 2px 0 rgba(0, 51, 102, 0.1);
  position: relative;
  line-height: 1.2;
}

.neo-section-title::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--neo-secondary) 0%,
    var(--neo-accent) 50%,
    var(--neo-secondary) 100%
  );
  box-shadow: 0 3px 0 var(--neo-primary);
}

.neo-section-subtitle {
  font-family: var(--neo-font-family);
  font-size: var(--neo-font-size-base);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.5px;
  margin: var(--neo-space-lg) 0 0 0;
  opacity: 0.9;
  color: var(--neo-text-secondary);
  font-style: italic;
  line-height: 1.5;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Dividers */
.neo-divider {
  width: 100%;
  height: var(--neo-border-width);
  background: var(--neo-primary);
  margin: var(--neo-space-lg) 0;
  box-shadow: none;
}

/* ========================================
   ELEGANT LAYOUT COMPONENTS
   ======================================== */

/* Hero Section - Enhanced brutalist design */
.neo-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(
      135deg,
      var(--neo-bg-secondary) 0%,
      var(--neo-bg-primary) 100%
    ),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 20px,
      rgba(0, 51, 102, 0.02) 20px,
      rgba(0, 51, 102, 0.02) 40px
    );
  color: var(--neo-text-primary);
  padding: var(--neo-space-2xl) var(--neo-space-lg);
  position: relative;
  overflow: hidden;
}

/* Brutalist geometric shapes */
.neo-hero::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 5%;
  width: 60px;
  height: 60px;
  background: var(--neo-warning);
  border: var(--neo-border-width) solid var(--neo-primary);
  box-shadow: 6px 6px 0 var(--neo-primary);
  transform: rotate(15deg);
  z-index: 0;
}

.neo-hero::after {
  content: "";
  position: absolute;
  bottom: 15%;
  right: 8%;
  width: 80px;
  height: 80px;
  background: var(--neo-success);
  border: var(--neo-border-width) solid var(--neo-primary);
  box-shadow: 8px 8px 0 var(--neo-primary);
  transform: rotate(-20deg);
  z-index: 0;
}

.neo-hero__content {
  text-align: center;
  max-width: 800px;
  position: relative;
  z-index: 1;
  background-color: #ffffff;
}

.neo-hero__client-logo {
  margin-bottom: var(--neo-space-xl);
}

.neo-hero__client-logo img {
  max-width: 100px;
  height: auto;
  filter: drop-shadow(2px 2px 0 var(--neo-shadow-color));
}

.neo-hero__title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--neo-space-lg);
  margin-bottom: var(--neo-space-xl);
  position: relative;
  z-index: 10;
}

.neo-hero__cta {
  margin-top: var(--neo-space-xl);
}

/* Main Content */
.neo-main {
  padding: var(--neo-space-2xl) var(--neo-space-lg);
  background: var(--neo-bg-primary);
  position: relative;
}

.neo-section-header {
  margin-bottom: var(--neo-space-xl);
  display: flex;
  justify-content: center;
}

/* Filter Bar - Mobile responsive oriented */
.neo-filter-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--neo-space-md);
  margin-bottom: var(--neo-space-xl);
  padding: var(--neo-space-lg);
  background: var(--neo-bg-secondary);
  border: var(--neo-border-width) solid var(--neo-primary);
  box-shadow: var(--neo-shadow-offset) var(--neo-shadow-offset) 0
    var(--neo-shadow-color);
  position: relative;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.neo-filter-bar::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 8px solid var(--neo-primary);
}

/* Gallery */
.neo-gallery {
  position: relative;
}

.neo-gallery__wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--neo-space-xl);
  padding: var(--neo-space-lg);
}

/* Media Items - Enhanced brutalist cards */
.neo-media-item {
  background: var(--neo-bg-primary);
  border: var(--neo-border-width) solid var(--neo-primary);
  box-shadow:
    var(--neo-shadow-offset) var(--neo-shadow-offset) 0 var(--neo-shadow-color),
    inset 2px 2px 0 rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: var(--neo-transition);
  position: relative;
  overflow: hidden;
}

.neo-media-item::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  border: 1px solid rgba(0, 51, 102, 0.1);
  pointer-events: none;
  z-index: 1;
}

.neo-media-item:hover {
  transform: translate(-4px, -4px);
  box-shadow:
    calc(var(--neo-shadow-offset) + 4px) calc(var(--neo-shadow-offset) + 4px) 0
      var(--neo-shadow-color),
    inset 2px 2px 0 rgba(255, 255, 255, 0.2);
  border-color: var(--neo-accent);
}

.neo-media-item:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--neo-shadow-color);
}

.neo-media-item__image {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--neo-transition);
}

.neo-media-item:hover .neo-media-item__image {
  transform: scale(1.02);
}

.neo-media-item__badge {
  position: absolute;
  top: var(--neo-space-sm);
  right: var(--neo-space-sm);
  background: var(--neo-primary);
  color: var(--neo-text-white);
  padding: var(--neo-space-xs) var(--neo-space-sm);
  border: 2px solid var(--neo-primary);
  font-family: var(--neo-font-family);
  font-weight: 700;
  font-size: var(--neo-font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 2px 2px 0 var(--neo-shadow-color);
}

.neo-media-item__badge--gif {
  background: var(--neo-success);
  border-color: var(--neo-success);
}

/* Lightbox - Clean and elegant */
.neo-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(240, 244, 248, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--neo-space-lg);
}

.neo-lightbox[aria-hidden="false"] {
  display: flex;
}

.neo-lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.neo-lightbox__image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border: var(--neo-border-width) solid var(--neo-primary);
  box-shadow: var(--neo-shadow-offset) var(--neo-shadow-offset) 0
    var(--neo-shadow-color);
}

.neo-lightbox__info {
  margin-top: var(--neo-space-md);
}

.neo-lightbox__title {
  font-family: var(--neo-font-family);
  font-size: var(--neo-font-size-lg);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

/* Footer - Neo-brutalist colors with better readability */
.neo-footer {
  padding: var(--neo-space-2xl) var(--neo-space-lg);
  background: var(--neo-bg-dark);
  color: var(--neo-text-white);
  border-top: var(--neo-border-width) solid var(--neo-accent);
  position: relative;
}

.neo-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--neo-accent) 0px,
    var(--neo-accent) 20px,
    var(--neo-warning) 20px,
    var(--neo-warning) 40px,
    var(--neo-success) 40px,
    var(--neo-success) 60px,
    var(--neo-danger) 60px,
    var(--neo-danger) 80px
  );
}

.neo-footer__content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.neo-footer__logo img {
  width: 50px;
  height: auto;
  margin-bottom: var(--neo-space-md);
  filter: drop-shadow(2px 2px 0 rgba(255, 255, 255, 0.1));
}

.neo-footer__tagline {
  font-family: var(--neo-font-family);
  font-size: var(--neo-font-size-base);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neo-muted);
  margin-bottom: var(--neo-space-lg);
}

.neo-footer__copyright {
  font-family: var(--neo-font-family);
  font-size: var(--neo-font-size-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neo-muted);
  margin-bottom: var(--neo-space-lg);
}

.neo-footer__powered {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--neo-space-sm);
  padding-top: var(--neo-space-lg);
  border-top: var(--neo-border-width) solid var(--neo-accent);
}

.neo-footer__powered-text {
  font-family: var(--neo-font-family);
  font-size: var(--neo-font-size-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neo-muted);
}

.neo-footer__powered-logo {
  display: flex;
  align-items: center;
  gap: var(--neo-space-sm);
}

.neo-footer__powered-logo img {
  width: 28px;
  height: auto;
  margin: 0;
}

.neo-footer__powered-logo span {
  font-family: var(--neo-font-family);
  font-size: var(--neo-font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neo-text-white);
}

/* ========================================
   LOADING STATES
   ======================================== */
.neo-card--loading,
.neo-card--error,
.neo-card--empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--neo-space-2xl);
  background: var(--neo-bg-secondary);
  border: var(--neo-border-width) solid var(--neo-muted);
  box-shadow: var(--neo-shadow-offset) var(--neo-shadow-offset) 0
    var(--neo-shadow-color);
}

.neo-card--error {
  background: var(--neo-danger);
  color: var(--neo-text-white);
  border-color: var(--neo-danger);
}

.neo-card--empty {
  background: var(--neo-warning);
  color: var(--neo-text-primary);
  border-color: var(--neo-warning);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--neo-bg-secondary);
  border-top-color: var(--neo-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto var(--neo-space-md);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
  :root {
    --neo-font-size-4xl: 40px;
    --neo-font-size-3xl: 32px;
    --neo-font-size-2xl: 24px;
    --neo-space-2xl: 32px;
    --neo-shadow-offset: 4px;
  }

  .neo-hero {
    min-height: 70vh;
    padding: var(--neo-space-xl) var(--neo-space-md);
  }

  .neo-main {
    padding: var(--neo-space-xl) var(--neo-space-md);
  }

  .neo-filter-bar {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--neo-space-sm);
    padding: var(--neo-space-md);
    margin-bottom: var(--neo-space-lg);
  }

  .neo-btn--filter {
    padding: var(--neo-space-sm);
    min-height: 70px;
    font-size: var(--neo-font-size-sm);
  }

  .neo-btn--filter .neo-btn__icon {
    width: 16px;
    height: 16px;
  }

  .neo-badge--count {
    min-width: 18px;
    height: 14px;
    font-size: 10px;
    margin-left: 0;
    margin-top: var(--neo-space-xs);
  }

  /* Section header mobile adjustments */
  .neo-section-header {
    margin-bottom: var(--neo-space-lg);
  }

  .neo-card--header {
    padding: var(--neo-space-lg) var(--neo-space-md);
    margin-bottom: var(--neo-space-lg);
  }

  .neo-section-title {
    font-size: var(--neo-font-size-xl);
    letter-spacing: 1px;
  }

  .neo-section-title::after {
    width: 60px;
    bottom: -10px;
  }

  .neo-section-subtitle {
    font-size: var(--neo-font-size-sm);
    margin-top: var(--neo-space-md);
    padding: 0 var(--neo-space-sm);
  }

  /* Hide decorative elements on mobile */
  .neo-hero__decorations {
    display: none;
  }

  .neo-hero__content::before {
    display: none;
  }

  /* Hide sketch lines on mobile for better performance */
  .neo-hero__sketch {
    display: none;
  }

  /* Simplify grid animation on mobile */
  .neo-hero__grid {
    animation-duration: 30s;
    opacity: 0.5;
  }

  /* Adjust AKSALAB branding for mobile */
  .neo-hero__branding {
    position: static;
    text-align: center;
    margin-bottom: var(--neo-space-md);
    z-index: 1;
  }

  .neo-hero__content {
    padding-top: var(--neo-space-md);
  }

  .neo-brand-text {
    font-size: 11px;
    letter-spacing: 1px;
    padding: 4px var(--neo-space-xs);
  }

  .neo-brand-tagline {
    font-size: 8px;
    letter-spacing: 0.5px;
    padding: 2px 6px;
  }

  .neo-gallery__wall {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--neo-space-lg);
    padding: var(--neo-space-md);
  }

  .neo-btn--close,
  .neo-btn--download,
  .neo-btn--nav {
    width: 44px;
    height: 44px;
  }

  .neo-btn--close {
    top: var(--neo-space-md);
    right: var(--neo-space-md);
  }

  .neo-btn--download {
    top: var(--neo-space-md);
    right: calc(var(--neo-space-md) + 56px);
  }

  .neo-btn--prev {
    left: var(--neo-space-md);
  }

  .neo-btn--next {
    right: var(--neo-space-md);
  }

  .neo-btn--scroll-top {
    bottom: var(--neo-space-md);
    right: var(--neo-space-md);
    width: 44px;
    height: 44px;
  }
}

/* ========================================
   SUBTLE ANIMATIONS
   ======================================== */
@keyframes neo-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.neo-fade-in {
  animation: neo-fade-in 0.6s ease-out;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.neo-text-center {
  text-align: center;
}

.neo-text-left {
  text-align: left;
}

.neo-text-right {
  text-align: right;
}

.neo-hidden {
  display: none !important;
}

.neo-visible {
  display: block !important;
}

.neo-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* ========================================
   ENHANCED HERO DECORATIONS WITH ANIMATIONS
   ======================================== */

/* AKSALAB Branding with subtle animation */
.neo-hero__branding {
  position: absolute;
  top: var(--neo-space-sm);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: neo-brand-pulse 4s ease-in-out infinite;
  background-color: #ffffff;
}

.neo-brand-mark {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--neo-space-xs);
}

.neo-brand-text {
  font-family: var(--neo-font-family-display);
  font-size: var(--neo-font-size-xs);
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--neo-primary);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  background: var(--neo-bg-primary);
  padding: var(--neo-space-xs) var(--neo-space-sm);
  border: 2px solid var(--neo-primary);
  box-shadow: 3px 3px 0 var(--neo-accent);
  transition: var(--neo-transition);
}

.neo-brand-text:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--neo-accent);
}

.neo-brand-tagline {
  font-family: var(--neo-font-family);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--neo-secondary);
  text-transform: uppercase;
  background: var(--neo-accent);
  padding: 2px var(--neo-space-xs);
  border: 1px solid var(--neo-primary);
  box-shadow: 2px 2px 0 var(--neo-primary);
  margin-top: -1px;
  animation: neo-tagline-glow 3s ease-in-out infinite alternate;
}

/* Animated sketch lines */
.neo-hero__sketch {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.neo-sketch-line {
  position: absolute;
  border: 2px dashed var(--neo-primary);
  opacity: 0.3;
}

.neo-sketch-line--1 {
  top: 20%;
  left: 10%;
  width: 80px;
  height: 0;
  border-bottom: 2px dashed var(--neo-accent);
  animation: neo-sketch-draw-h 8s ease-in-out infinite;
}

.neo-sketch-line--2 {
  top: 60%;
  right: 15%;
  width: 0;
  height: 60px;
  border-right: 2px dashed var(--neo-success);
  animation: neo-sketch-draw-v 6s ease-in-out infinite;
}

.neo-sketch-line--3 {
  bottom: 25%;
  left: 20%;
  width: 100px;
  height: 0;
  border-bottom: 2px dashed var(--neo-warning);
  animation: neo-sketch-draw-h 10s ease-in-out infinite reverse;
}

.neo-sketch-line--4 {
  top: 30%;
  left: 5%;
  width: 0;
  height: 40px;
  border-right: 2px dashed var(--neo-danger);
  animation: neo-sketch-draw-v 7s ease-in-out infinite;
}

/* Floating decorative elements with enhanced animations */
.neo-hero__decorations {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

.neo-decoration {
  position: absolute;
  border: var(--neo-border-width) solid var(--neo-primary);
  box-shadow: 4px 4px 0 var(--neo-primary);
  transition: var(--neo-transition);
}

.neo-decoration--1 {
  top: 15%;
  left: 8%;
  width: 40px;
  height: 40px;
  background: var(--neo-warning);
  transform: rotate(45deg);
  animation: neo-float-rotate 8s ease-in-out infinite;
}

.neo-decoration--2 {
  top: 25%;
  right: 12%;
  width: 30px;
  height: 30px;
  background: var(--neo-success);
  border-radius: 50%;
  animation: neo-float-bounce 6s ease-in-out infinite;
}

.neo-decoration--3 {
  bottom: 20%;
  left: 15%;
  width: 50px;
  height: 20px;
  background: var(--neo-accent);
  animation: neo-float-slide 9s ease-in-out infinite;
}

.neo-decoration--4 {
  bottom: 30%;
  right: 10%;
  width: 35px;
  height: 35px;
  background: var(--neo-danger);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  animation: neo-float-spin 12s linear infinite;
}

.neo-decoration--5 {
  top: 40%;
  left: 3%;
  width: 25px;
  height: 25px;
  background: var(--neo-secondary);
  border-radius: 50% 0;
  animation: neo-float-wobble 5s ease-in-out infinite;
}

.neo-decoration--6 {
  top: 70%;
  right: 5%;
  width: 45px;
  height: 15px;
  background: var(--neo-accent);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  animation: neo-float-pulse 7s ease-in-out infinite;
}

/* Animated grid pattern */
.neo-hero__grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(0, 51, 102, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 51, 102, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  animation: neo-grid-move 20s linear infinite;
  pointer-events: none;
  z-index: 0;
}

/* Animation Keyframes */
@keyframes neo-brand-pulse {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.02);
  }
}

@keyframes neo-tagline-glow {
  0% {
    box-shadow: 2px 2px 0 var(--neo-primary);
  }
  100% {
    box-shadow:
      2px 2px 0 var(--neo-primary),
      0 0 10px rgba(51, 153, 255, 0.3);
  }
}

@keyframes neo-sketch-draw-h {
  0%,
  20% {
    width: 0;
  }
  50% {
    width: 80px;
  }
  80%,
  100% {
    width: 0;
  }
}

@keyframes neo-sketch-draw-v {
  0%,
  20% {
    height: 0;
  }
  50% {
    height: 60px;
  }
  80%,
  100% {
    height: 0;
  }
}

@keyframes neo-float-rotate {
  0%,
  100% {
    transform: rotate(45deg) translateY(0px);
  }
  25% {
    transform: rotate(90deg) translateY(-10px);
  }
  50% {
    transform: rotate(135deg) translateY(-15px);
  }
  75% {
    transform: rotate(180deg) translateY(-10px);
  }
}

@keyframes neo-float-bounce {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  25% {
    transform: translateY(-15px) scale(1.1);
  }
  50% {
    transform: translateY(-25px) scale(1.05);
  }
  75% {
    transform: translateY(-10px) scale(1.1);
  }
}

@keyframes neo-float-slide {
  0%,
  100% {
    transform: translateX(0px) rotate(0deg);
  }
  33% {
    transform: translateX(15px) rotate(5deg);
  }
  66% {
    transform: translateX(-10px) rotate(-3deg);
  }
}

@keyframes neo-float-spin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.1);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes neo-float-wobble {
  0%,
  100% {
    transform: rotate(0deg) translateY(0px);
  }
  25% {
    transform: rotate(5deg) translateY(-8px);
  }
  50% {
    transform: rotate(-3deg) translateY(-12px);
  }
  75% {
    transform: rotate(2deg) translateY(-5px);
  }
}

@keyframes neo-float-pulse {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.2) rotate(10deg);
    opacity: 1;
  }
}

@keyframes neo-grid-move {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 30px 30px;
  }
}

/* Enhanced title container with animation */
.neo-title-container {
  position: relative;
  display: inline-block;
  z-index: 10;
  animation: neo-title-entrance 2s ease-out;
}

.neo-title {
  position: relative;
  z-index: 10;
  animation: neo-title-glow 4s ease-in-out infinite alternate;
}

.neo-title::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid var(--neo-primary);
  z-index: -1;
  animation: neo-border-dance 6s ease-in-out infinite;
}

.neo-title-underline {
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--neo-accent);
  border: 2px solid var(--neo-primary);
  box-shadow: 2px 2px 0 var(--neo-primary);
  animation:
    neo-underline-expand 2s ease-out,
    neo-underline-pulse 3s ease-in-out infinite 2s;
}

/* Animated subtitle */
.neo-subtitle {
  font-family: var(--neo-font-family);
  font-size: var(--neo-font-size-lg);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--neo-text-secondary);
  margin: var(--neo-space-lg) 0;
  position: relative;
  animation: neo-subtitle-fade 2.5s ease-out 0.5s both;
}

.neo-subtitle::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--neo-accent) 50%,
    transparent 100%
  );
  animation: neo-subtitle-underline 3s ease-in-out infinite;
}

/* CTA Button animation */
.neo-hero__cta {
  margin-top: var(--neo-space-xl);
  animation: neo-cta-bounce 2s ease-out 1s both;
}

/* Badge animation */
.neo-badge--accent {
  animation: neo-badge-wiggle 4s ease-in-out infinite 3s;
}

/* Additional Animation Keyframes */
@keyframes neo-title-entrance {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes neo-title-glow {
  0% {
    text-shadow:
      3px 3px 0 var(--neo-accent),
      6px 6px 0 var(--neo-primary);
  }
  100% {
    text-shadow:
      3px 3px 0 var(--neo-accent),
      6px 6px 0 var(--neo-primary),
      0 0 20px rgba(51, 153, 255, 0.3);
  }
}

@keyframes neo-border-dance {
  0%,
  100% {
    border-color: var(--neo-primary);
    transform: rotate(0deg);
  }
  25% {
    border-color: var(--neo-accent);
    transform: rotate(1deg);
  }
  50% {
    border-color: var(--neo-secondary);
    transform: rotate(0deg);
  }
  75% {
    border-color: var(--neo-accent);
    transform: rotate(-1deg);
  }
}

@keyframes neo-underline-pulse {
  0%,
  100% {
    background: var(--neo-accent);
    box-shadow: 2px 2px 0 var(--neo-primary);
  }
  50% {
    background: var(--neo-warning);
    box-shadow:
      2px 2px 0 var(--neo-primary),
      0 0 10px rgba(255, 193, 7, 0.4);
  }
}

@keyframes neo-subtitle-fade {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes neo-subtitle-underline {
  0%,
  100% {
    transform: scaleX(0);
  }
  50% {
    transform: scaleX(1);
  }
}

@keyframes neo-cta-bounce {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  60% {
    opacity: 1;
    transform: translateY(-10px);
  }
  80% {
    transform: translateY(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes neo-badge-wiggle {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(2deg);
  }
  75% {
    transform: rotate(-2deg);
  }
}

/* Enhanced hero content positioning with interactive elements */
.neo-hero__content {
  text-align: center;
  max-width: 800px;
  position: relative;
  z-index: 5;
  padding-top: var(--neo-space-2xl);
}

/* Add sketch-like lines with animation */
.neo-hero__content::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border: 2px dashed var(--neo-primary);
  opacity: 0.3;
  border-radius: 20px;
  animation:
    neo-sketch-draw 3s ease-in-out,
    neo-sketch-breathe 8s ease-in-out infinite 3s;
}

/* Interactive hover effects for the entire hero content */
.neo-hero__content:hover .neo-decoration {
  animation-play-state: paused;
  transform: scale(1.1);
}

.neo-hero__content:hover .neo-sketch-line {
  opacity: 0.6;
  border-width: 3px;
}

.neo-hero__content:hover .neo-hero__grid {
  animation-duration: 10s;
}

/* Additional keyframes for new animations */
@keyframes neo-sketch-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.02);
    opacity: 0.5;
  }
}

@keyframes neo-underline-expand {
  0% {
    width: 0;
    left: 50%;
  }
  100% {
    width: 100%;
    left: 0;
  }
}

@keyframes neo-sketch-draw {
  0% {
    clip-path: polygon(0 0, 0 0, 0 0, 0 0);
  }
  25% {
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  }
  50% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  75% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}
