/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  color: #e0e0e0;
  line-height: 1.6;
}

/* Hero Background */
.hero-bg {
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/themes/highscorecr.com/assets/images/es.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Card Hover Effects */
.card-hover {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card-hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(55, 186, 212, 0.1), transparent);
  transition: left 0.5s;
}

.card-hover:hover::before {
  left: 100%;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(55, 162, 212, 0.3);
  border-color: #3773d4;
}

/* Button Styles */
.btn-blue {
  background: linear-gradient(45deg, #3773d4, #a6ccf4);
  border: none;
  color: #000;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-blue::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-blue:hover::before {
  left: 100%;
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(55, 173, 212, 0.4);
  background: linear-gradient(45deg, #a6ccf4, #3773d4);
}

/* Blue Glow Effect */
.blue-glow {
  text-shadow: 0 0 20px rgba(55, 157, 212, 0.5);
}

/* Age Modal Styles */
.age-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

.age-modal.active {
  display: flex;
}

.age-modal-content {
  background: #1a1a1a;
  color: #e0e0e0;
  border: 2px solid #3773d4;
  padding: 2rem;
  border-radius: 1rem;
  width: 90%;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  animation: modalSlideIn 0.3s ease-out;
}

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

.age-modal-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

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

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

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

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #3773d4;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a6ccf4;
}

/* Form Styles */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea {
  background: #1a1a1a;
  border: 1px solid rgba(55, 162, 212, 0.3);
  color: #e0e0e0;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
textarea:focus {
  outline: none;
  border-color: #3773d4;
  box-shadow: 0 0 0 3px rgba(55, 186, 212, 0.1);
}

input::placeholder,
textarea::placeholder {
  color: #888;
}

/* Content Styles */
.content {
  max-width: none;
  color: #e0e0e0;
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
  color: #3773d4;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.content p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.content ul,
.content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.content li {
  margin-bottom: 0.5rem;
}

.content a {
  color: #3773d4;
  text-decoration: none;
  transition: color 0.3s ease;
}

.content a:hover {
  color: #a6ccf4;
}

.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: #1a1a1a;
  border-radius: 0.5rem;
  overflow: hidden;
}

.content th {
  background: #3773d4;
  color: #000;
  font-weight: 600;
  padding: 1rem;
  text-align: left;
}

.content td {
  padding: 1rem;
  border-bottom: 1px solid rgba(55, 141, 212, 0.2);
}

.content tr:last-child td {
  border-bottom: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-bg {
      background-attachment: scroll;
  }
  
  .blue-glow {
      text-shadow: 0 0 10px #3773d4;
  }
  
  .card-hover:hover {
      transform: none;
  }
  
  h1 {
      font-size: 2rem;
  }
  
  h2 {
      font-size: 1.8rem;
  }
  
  h3 {
      font-size: 1.5rem;
  }
}

/* Loading Animation */
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #1a1a1a;
  border-top: 4px solid #3773d4;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Utility Classes */
.text-blue {
  color: #3773d4;
}

.text-blue-light {
  color: #a6ccf4;
}

.text-dark {
  color: #e0e0e0;
}

.bg-dark {
  background-color: #0a0a0a;
}

.bg-dark-card {
  background-color: #1a1a1a;
}

.border-blue {
  border-color: #3773d4;
}

.border-blue-light {
  border-color: rgba(55, 162, 212, 0.3);
}