/* Graffiti Street Pack — BrainEdge KZ */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Base brick background texture */
.brick-bg {
  background-color: #1c1c1c;
  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: 100px 50px;
  position: relative;
}

/* Spray title with multi-color gradient and drip effect */
.spray-title {
  background: linear-gradient(135deg, #ff2e92 0%, #ffd600 25%, #36ff6b 50%, #4df3ff 75%, #ff2e92 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(255, 46, 146, 0.5));
  position: relative;
}

/* Drip text effect */
.drip-text {
  color: #f8f8f8;
  text-shadow: 0 2px 0 #ff2e92, 0 4px 0 #36ff6b, 0 6px 10px rgba(0, 0, 0, 0.5);
  position: relative;
}

/* Neon stroke outline */
.neon-stroke {
  border: 2px solid #4df3ff;
  box-shadow: 0 0 10px #4df3ff, inset 0 0 10px rgba(77, 243, 255, 0.2);
  color: #4df3ff;
  transition: all 0.3s ease;
}

.neon-stroke:hover {
  box-shadow: 0 0 20px #ff2e92, inset 0 0 20px rgba(255, 46, 146, 0.3);
  border-color: #ff2e92;
  color: #ff2e92;
}

/* Sticker tag style */
.sticker-tag {
  background: linear-gradient(135deg, #ffd600 0%, #ff2e92 100%);
  color: #1c1c1c;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: rotate(-2deg);
  display: inline-block;
}

/* Splatter background effect */
.splatter {
  position: relative;
}

.splatter::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 5%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 46, 146, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(20px);
  z-index: 0;
}

.splatter::after {
  content: "";
  position: absolute;
  bottom: 15%;
  right: 10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(54, 255, 107, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(30px);
  z-index: 0;
}

.splatter > * {
  position: relative;
  z-index: 1;
}

.splatter-bg {
  background: radial-gradient(circle at 20% 30%, rgba(255, 46, 146, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(54, 255, 107, 0.2) 0%, transparent 50%), #1c1c1c;
}

/* Urban card style */
.urban-card {
  background: rgba(40, 40, 40, 0.9);
  border: 2px solid #36ff6b;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(54, 255, 107, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.urban-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #ff2e92, #36ff6b, #4df3ff, #ffd600);
  border-radius: 12px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.urban-card:hover::before {
  opacity: 0.3;
}

/* Throwup style (bold graffiti text) */
.throwup {
  font-weight: 900;
  color: #f8f8f8;
  text-shadow: 3px 3px 0 #ff2e92, 6px 6px 0 #36ff6b, 9px 9px 20px rgba(0, 0, 0, 0.5);
  letter-spacing: 2px;
}

/* Bubble tag navigation style */
.bubble-tag {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(40, 40, 40, 0.8);
  border: 2px solid #4df3ff;
  border-radius: 25px;
  color: #f8f8f8;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 0 15px rgba(77, 243, 255, 0.4), inset 0 0 10px rgba(77, 243, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.bubble-tag:hover {
  background: rgba(77, 243, 255, 0.2);
  border-color: #ff2e92;
  box-shadow: 0 0 25px rgba(255, 46, 146, 0.6), inset 0 0 15px rgba(255, 46, 146, 0.2);
  transform: translateY(-2px);
}

/* Graffiti quote style */
.graffiti-quote {
  background: linear-gradient(135deg, rgba(255, 46, 146, 0.3) 0%, rgba(54, 255, 107, 0.3) 100%);
  border-left: 5px solid #ffd600;
  padding: 20px 30px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  color: #f8f8f8;
  font-style: italic;
  position: relative;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.graffiti-quote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 10px;
  font-size: 60px;
  color: #ff2e92;
  opacity: 0.5;
}

/* Rough frame for images */
.rough-frame {
  border: 4px solid #f8f8f8;
  border-radius: 8px;
  box-shadow: 0 0 0 8px #1c1c1c, 0 0 0 12px #36ff6b, 0 12px 24px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.rough-frame::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  pointer-events: none;
}

/* Spray shadow effect */
.spray-shadow {
  filter: drop-shadow(0 0 15px rgba(255, 46, 146, 0.6));
  transition: filter 0.3s ease;
}

.spray-shadow:hover {
  filter: drop-shadow(0 0 25px rgba(54, 255, 107, 0.8));
}

.spray-shadow-hover {
  transition: all 0.3s ease;
}

.spray-shadow-hover:hover {
  filter: drop-shadow(0 0 20px rgba(77, 243, 255, 0.7));
  transform: translateY(-5px);
}

/* Brick divider */
.brick-divider {
  height: 4px;
  background: linear-gradient(90deg, #ff2e92 0%, #36ff6b 25%, #4df3ff 50%, #ffd600 75%, #ff2e92 100%);
  position: relative;
  margin: 40px 0;
}

.brick-divider::after {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: #ffd600;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255, 214, 0, 0.8);
}

/* Drip border for images */
.drip-border {
  border: 3px solid #ff2e92;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 46, 146, 0.5);
  position: relative;
}

.drip-border::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 20%;
  width: 10px;
  height: 15px;
  background: #ff2e92;
  border-radius: 0 0 50% 50%;
  box-shadow: 0 5px 10px rgba(255, 46, 146, 0.5);
}

.drip-border::after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: 30%;
  width: 8px;
  height: 12px;
  background: #36ff6b;
  border-radius: 0 0 50% 50%;
  box-shadow: 0 5px 10px rgba(54, 255, 107, 0.5);
}

/* Spray stencil text */
.spray-stencil {
  font-family: "Courier New", monospace;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Spray can icon */
.spray-can-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  opacity: 0.3;
}

/* Neon focus effect for form inputs */
.focus\:shadow-neon:focus {
  box-shadow: 0 0 20px rgba(77, 243, 255, 0.6), inset 0 0 10px rgba(77, 243, 255, 0.2);
}

/* Header shrink on scroll */
#mainHeader.shrink {
  padding-top: 8px;
  padding-bottom: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 46, 146, 0.3);
}

#mainHeader.shrink .throwup {
  font-size: 24px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #1c1c1c;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff2e92 0%, #36ff6b 100%);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #36ff6b 0%, #4df3ff 100%);
}

/* Image loading placeholder */
img {
  background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

img[src] {
  animation: none;
  background: none;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Mobile menu animation */
#mobileMenu {
  transition: all 0.3s ease-in-out;
}

/* Cookie popup animation */
#cookiePopup {
  transition: transform 0.3s ease-in-out;
}

/* Form validation styles */
input.border-red-500,
textarea.border-red-500 {
  border-color: #ef4444 !important;
}

input.border-red-500:focus,
textarea.border-red-500:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.3);
}

/* Text selection color */
::selection {
  background-color: #ff2e92;
  color: #f8f8f8;
}

::-moz-selection {
  background-color: #ff2e92;
  color: #f8f8f8;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .spray-title {
    font-size: 36px !important;
  }

  .drip-text {
    font-size: 18px;
  }

  .urban-card {
    padding: 16px;
  }

  .graffiti-quote {
    font-size: 16px;
    padding: 15px 20px;
  }
}

/* Print styles */
@media print {
  header,
  footer,
  #cookiePopup,
  button {
    display: none;
  }

  section {
    page-break-inside: avoid;
  }
}
