* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  line-height: 1.5;
  color: #ffffff;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  min-height: 100vh;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

header {
  background: linear-gradient(135deg, #000000 0%, #1a0000 100%);
  color: #ffffff;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(176, 0, 0, 0.15);
  border-bottom: 1px solid rgba(176, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center top, rgba(176, 0, 0, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

header p {
  font-family: 'Russo One', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  font-weight: 400;
  margin-bottom: 20px;
  color: #e0e0e0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hours {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 16px;
  letter-spacing: 0.5px;
  color: #b00000;
  background: rgba(176, 0, 0, 0.1);
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid rgba(176, 0, 0, 0.2);
  display: inline-block;
}

.service-requirements {
  margin-top: 16px;
}

.requirements-text {
  font-size: 0.9rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.3px;
  color: #ffffff;
  background: rgba(176, 0, 0, 0.15);
  padding: 10px 16px;
  border-radius: 6px;
  border-left: 3px solid #b00000;
  display: inline-block;
  max-width: 320px;
}

.payment-methods {
  margin-top: 20px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid rgba(176, 0, 0, 0.2);
  max-width: 400px;
  margin: 20px auto 0;
}

.payment-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
  color: #ffffff;
}

.payment-options {
  font-size: 0.9rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
  color: #b00000;
}

header h1 {
  font-size: 2.5em;
  font-weight: bold;
  margin: 20px 0;
  overflow: hidden;
  font-family: 'Russo One', sans-serif;
  transform: skew(-5deg);
  letter-spacing: 2px;
}

.racing-letter {
  display: inline-block;
  opacity: 0;
  transform: translateX(-100px);
  animation: raceIn 0.6s ease-out forwards;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.racing-letter:nth-child(1) { animation-delay: 0.1s; }
.racing-letter:nth-child(2) { animation-delay: 0.15s; }
.racing-letter:nth-child(3) { animation-delay: 0.2s; }
.racing-letter:nth-child(4) { animation-delay: 0.25s; }
.racing-letter:nth-child(5) { animation-delay: 0.3s; }
.racing-letter:nth-child(6) { animation-delay: 0.35s; }
.racing-letter:nth-child(7) { animation-delay: 0.4s; }
.racing-letter:nth-child(8) { animation-delay: 0.45s; }
.racing-letter:nth-child(9) { animation-delay: 0.5s; }
.racing-letter:nth-child(10) { animation-delay: 0.55s; }
.racing-letter:nth-child(11) { animation-delay: 0.6s; }
.racing-letter:nth-child(12) { animation-delay: 0.65s; }
.racing-letter:nth-child(13) { animation-delay: 0.7s; }
.racing-letter:nth-child(14) { animation-delay: 0.75s; }
.racing-letter:nth-child(15) { animation-delay: 0.8s; }
.racing-letter:nth-child(16) { animation-delay: 0.85s; }
.racing-letter:nth-child(17) { animation-delay: 0.9s; }
.racing-letter:nth-child(18) { animation-delay: 0.95s; }
.racing-letter:nth-child(19) { animation-delay: 1.0s; }

.logo {
  max-height: 200px;
  width: auto;
  margin-bottom: 24px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

#services, #contact {
  margin-bottom: 60px;
}

#services h2, #contact h2 {
  color: #ffffff;
  font-weight: 700;
  font-size: 2.2rem;
  margin-bottom: 32px;
  text-align: center;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 0%, #b00000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

#contact p {
  font-weight: 600;
  font-size: 1.1rem;
  color: #e0e0e0;
  text-align: center;
  margin-bottom: 24px;
}

.contact-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.contact-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.contact-item {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a1a1a 100%);
  padding: 20px 24px;
  border-radius: 12px;
  border: 1px solid rgba(176, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.contact-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #b00000 0%, #ff4444 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.contact-item:hover::before {
  transform: scaleX(1);
}

.contact-item:hover {
  background: linear-gradient(135deg, #2a1a1a 0%, #3a1a1a 100%);
  transform: translateY(-4px);
  border-color: rgba(176, 0, 0, 0.4);
  box-shadow: 
    0 12px 48px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(176, 0, 0, 0.2);
}

.contact-item .icon {
  font-size: 1.6rem;
  margin-right: 16px;
  min-width: 40px;
  text-align: center;
  filter: grayscale(0);
}

.contact-text {
  color: #ffffff;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.3px;
}

.service-item {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a1a1a 100%);
  padding: 32px;
  margin: 24px 0;
  border-radius: 16px;
  border: 1px solid rgba(176, 0, 0, 0.2);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(176, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #b00000 0%, #ff4444 100%);
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 12px 48px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(176, 0, 0, 0.2);
}

.service-item h3 {
  color: #ffffff;
  margin-bottom: 16px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  background: linear-gradient(135deg, #ffffff 0%, #b00000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-item p {
  color: #e0e0e0;
  line-height: 1.7;
  margin: 0 0 24px 0;
  font-weight: 400;
  font-size: 1rem;
}

.service-form {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.service-form input,
.service-form textarea {
  width: 100%;
  padding: 16px;
  border: 2px solid rgba(176, 0, 0, 0.2);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.service-form input:focus,
.service-form textarea:focus {
  outline: none;
  border-color: #b00000;
  box-shadow: 
    0 0 0 4px rgba(176, 0, 0, 0.1),
    0 0 20px rgba(176, 0, 0, 0.3);
  background: rgba(0, 0, 0, 0.6);
}

.quote-btn {
  width: 100%;
  padding: 12px;
  background: #b00000;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 
    0 0 15px rgba(176, 0, 0, 0.4),
    0 0 30px rgba(176, 0, 0, 0.2),
    0 0 45px rgba(176, 0, 0, 0.1);
}

.quote-btn::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #b00000, #ff0000, #b00000);
  border-radius: 7px;
  z-index: -1;
  opacity: 0.3;
  filter: blur(8px);
  transition: all 0.3s ease;
}

.quote-btn:hover {
  background: #d00000;
  transform: translateY(-2px);
  box-shadow: 
    0 0 25px rgba(176, 0, 0, 0.8),
    0 0 50px rgba(176, 0, 0, 0.6),
    0 0 75px rgba(176, 0, 0, 0.4),
    0 0 100px rgba(176, 0, 0, 0.2);
}

.quote-btn:hover::before {
  opacity: 0.6;
  filter: blur(12px);
  background: linear-gradient(45deg, #ff0000, #b00000, #ff0000, #b00000);
}

.quote-btn:active {
  transform: translateY(0);
}

form input, form textarea, form button {
  display: block;
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  font-size: 1em;
  background: #000;
  color: #fff;
  border: 1px solid #b00000;
  border-radius: 5px;
}

form button {
  background: #b00000;
  color: #b00000change ;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background: #e00000;
}

footer {
  background: linear-gradient(135deg, #000000 0%, #1a0000 100%);
  color: #e0e0e0;
  text-align: center;
  padding: 32px 20px;
  border-top: 1px solid rgba(176, 0, 0, 0.2);
  margin-top: 60px;
}

footer p {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

a {
  color: #ff4a4a;
  text-decoration: underline;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes raceIn {
  0% {
    opacity: 0;
    transform: translateX(-100px) skew(20deg);
  }
  50% {
    opacity: 0.8;
    transform: translateX(10px) skew(-5deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) skew(0deg);
  }
}

/* Left-to-right text animations with lighting */
@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  }
  50% {
    opacity: 0.7;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.6), 0 0 40px rgba(176, 0, 0, 0.4);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  }
}

/* Apply animation to all text elements */
header h1 {
  animation: slideInFromLeft 1.2s ease-out 0.3s backwards;
}

header p {
  animation: slideInFromLeft 1s ease-out 0.6s backwards;
}

#services h2 {
  animation: slideInFromLeft 1s ease-out 0.8s backwards;
}

.service-item h3 {
  animation: slideInFromLeft 0.8s ease-out backwards;
}

.service-item:nth-child(1) h3 { animation-delay: 1s; }
.service-item:nth-child(2) h3 { animation-delay: 1.2s; }
.service-item:nth-child(3) h3 { animation-delay: 1.4s; }

.service-item p {
  animation: slideInFromLeft 0.8s ease-out backwards;
}

.service-item:nth-child(1) p { animation-delay: 1.3s; }
.service-item:nth-child(2) p { animation-delay: 1.5s; }
.service-item:nth-child(3) p { animation-delay: 1.7s; }

#contact h2 {
  animation: slideInFromLeft 1s ease-out 2s backwards;
}

#contact p {
  animation: slideInFromLeft 0.8s ease-out 2.2s backwards;
}

footer p {
  animation: slideInFromLeft 0.8s ease-out 2.5s backwards;
}

/* Contact section animation */

/* Mobile Browser Compatibility */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 16px;
}

body {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
  -webkit-font-feature-settings: "kern" 1;
  -moz-font-feature-settings: "kern" 1;
}

/* Reset all browser defaults */
*, *::before, *::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* Fix for mobile Safari and other webkit browsers */
input, textarea, button, select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
  background-clip: padding-box;
  -webkit-background-clip: padding-box;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* Remove iOS input shadows and glows */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
textarea {
  -webkit-appearance: none;
  -moz-appearance: textfield;
  -webkit-border-radius: 0;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

/* Prevent horizontal scrolling on mobile */
html, body {
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

/* Force consistent font rendering across browsers */
body, input, textarea, button {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.logo {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  header {
    padding: 32px 20px;
  }

  .logo {
    max-height: 160px;
    margin-bottom: 20px;
  }

  header p {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  .hours {
    font-size: 0.85rem;
    padding: 6px 12px;
  }

  .requirements-text {
    font-size: 0.8rem;
    padding: 8px 12px;
  }

  .payment-methods {
    padding: 12px;
    margin: 16px auto 0;
  }

  .payment-title {
    font-size: 0.85rem;
  }

  .payment-options {
    font-size: 0.8rem;
  }

  main {
    padding: 32px 16px;
  }

  #services h2, #contact h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
  }

  .service-item {
    padding: 24px;
    margin: 20px 0;
    border-radius: 12px;
  }

  .service-item h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .service-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .service-form {
    gap: 12px;
  }

  .service-form input,
  .service-form textarea {
    padding: 14px;
    font-size: 16px; /* Prevents zoom on iOS */
    border-radius: 6px;
  }

  .quote-btn {
    padding: 16px;
    font-size: 16px;
    border-radius: 8px;
  }

  .contact-icons {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }

  .contact-item {
    padding: 16px 20px;
    border-radius: 10px;
  }

  .contact-item .icon {
    font-size: 1.4rem;
    margin-right: 14px;
    min-width: 36px;
  }

  .contact-text {
    font-size: 1rem;
  }

  footer {
    padding: 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  header {
    padding: 15px 10px;
  }

  .logo {
    max-height: 150px;
  }

  header h1 {
    font-size: 1.5em;
  }

  header p,
  .hours,
  .requirements-text,
  .payment-title,
  .payment-options {
    font-size: 0.75em;
  }

  .service-item {
    padding: 12px;
  }

  .service-item h3 {
    font-size: 1em;
  }

  .service-item p {
    font-size: 0.85em;
  }

  .contact-item {
    padding: 10px 12px;
  }

  .contact-text {
    font-size: 0.9em;
  }
}

/* Additional Mobile Fixes */
@media screen and (max-width: 768px) {
  /* Force consistent viewport behavior */
  html {
    height: 100%;
    height: -webkit-fill-available;
  }

  body {
    min-height: 100vh;
    min-height: -webkit-fill-available;
    min-height: -moz-available;
    width: 100%;
    position: relative;
    overflow-x: hidden;
  }

  /* Prevent zooming on form inputs */
  input[type="text"],
  input[type="number"],
  input[type="email"],
  input[type="tel"],
  textarea {
    font-size: 16px !important;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    line-height: 1.5;
    padding: 12px !important;
    border: 1px solid #444 !important;
    background: #222 !important;
    color: #f0f0f0 !important;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
  }

  /* Improve touch targets for accessibility */
  .contact-item,
  .quote-btn {
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
  }

  /* Prevent text selection issues on mobile */
  .contact-item,
  .quote-btn {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  /* Fix for mobile browser address bars */
  header {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 20px 15px;
  }

  /* Consistent spacing and sizing */
  .service-item {
    width: 100%;
    box-sizing: border-box;
    margin: 10px 0;
    padding: 15px;
  }

  /* Fix button and form consistency */
  .quote-btn {
    width: 100%;
    padding: 15px;
    font-size: 16px !important;
    line-height: 1.4;
    touch-action: manipulation;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #b00000;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 
      0 0 15px rgba(176, 0, 0, 0.4),
      0 0 30px rgba(176, 0, 0, 0.2),
      0 0 45px rgba(176, 0, 0, 0.1);
  }

  .quote-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #b00000, #ff0000, #b00000);
    border-radius: 7px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(8px);
    transition: all 0.3s ease;
  }

  .quote-btn:hover {
    background: #d00000;
    transform: translateY(-2px);
    box-shadow: 
      0 0 25px rgba(176, 0, 0, 0.8),
      0 0 50px rgba(176, 0, 0, 0.6),
      0 0 75px rgba(176, 0, 0, 0.4),
      0 0 100px rgba(176, 0, 0, 0.2);
  }

  .quote-btn:hover::before {
    opacity: 0.6;
    filter: blur(12px);
    background: linear-gradient(45deg, #ff0000, #b00000, #ff0000, #b00000);
  }

  .quote-btn:active {
    transform: translateY(0);
  }

  /* Logo sizing consistency */
  .logo {
    max-height: 180px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto 15px auto;
  }

  /* Contact items mobile optimization */
  .contact-icons {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .contact-link {
    width: 100%;
    max-width: 100%;
    display: block;
  }

  /* Mobile contact item glow effects */
  .contact-item {
    display: flex;
    align-items: center;
    background: #1a1a1a;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #b00000;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 
      0 0 15px rgba(176, 0, 0, 0.4),
      0 0 30px rgba(176, 0, 0, 0.2),
      0 0 45px rgba(176, 0, 0, 0.1);
    position: relative;
  }

  .contact-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #b00000, #ff0000, #b00000);
    border-radius: 10px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(8px);
    transition: all 0.3s ease;
  }

  .contact-item:hover {
    background: #2a2a2a;
    transform: translateY(-2px);
    box-shadow: 
      0 0 25px rgba(176, 0, 0, 0.8),
      0 0 50px rgba(176, 0, 0, 0.6),
      0 0 75px rgba(176, 0, 0, 0.4),
      0 0 100px rgba(176, 0, 0, 0.2);
  }

  .contact-item:hover::before {
    opacity: 0.6;
    filter: blur(12px);
    background: linear-gradient(45deg, #ff0000, #b00000, #ff0000, #b00000);
  }

  /* Mobile service items with border glow */
  .service-item {
    background: #1a1a1a;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    border-left: 4px solid #b00000;
    position: relative;
    box-shadow: 
      0 0 10px rgba(176, 0, 0, 0.3),
      0 0 20px rgba(176, 0, 0, 0.1);
  }

  .service-item::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, #b00000, #ff0000, #b00000);
    border-radius: 9px;
    z-index: -1;
    opacity: 0.2;
    filter: blur(4px);
  }
}

/* Premium Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #b00000, #ff0000);
  border-radius: 10px;
  border: 2px solid rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 10px rgba(176, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #d00000, #ff4444);
  box-shadow: 0 0 15px rgba(176, 0, 0, 0.8);
}

/* Premium Text Selection */
::selection {
  background: rgba(176, 0, 0, 0.3);
  color: #ffffff;
  text-shadow: 0 0 8px rgba(176, 0, 0, 0.8);
}

::-moz-selection {
  background: rgba(176, 0, 0, 0.3);
  color: #ffffff;
  text-shadow: 0 0 8px rgba(176, 0, 0, 0.8);
}

/* Premium Focus States */
input:focus, textarea:focus {
  outline: none;
  border-color: #b00000 !important;
  box-shadow: 
    0 0 0 3px rgba(176, 0, 0, 0.2),
    0 0 20px rgba(176, 0, 0, 0.4) !important;
  background: rgba(34, 34, 34, 0.95) !important;
}

/* Smooth Page Transitions */
* {
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

/* Premium Loading Animation */
@keyframes loadingGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* Advanced Typography Enhancement */
body {
  font-feature-settings: "liga" 1, "kern" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}



/* PWA Install Button Animation */
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 4px 15px rgba(176, 0, 0, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 6px 25px rgba(176, 0, 0, 0.8); }
  100% { transform: scale(1); box-shadow: 0 4px 15px rgba(176, 0, 0, 0.4); }
}

.install-btn:hover {
  background: linear-gradient(45deg, #d00000, #ff4444) !important;
  transform: scale(1.1) !important;
}