﻿/* ==========================================================================
   1. RESET & BASE STYLES
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #0f2027; 
}

::-webkit-scrollbar-thumb {
  background: #00eaff; 
  border-radius: 6px;
  border: 3px solid #0f2027;
}

::-webkit-scrollbar-thumb:hover {
  background: #008c99; 
}

body {
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ==========================================================================
   2. TYPOGRAPHY & UTILITIES
   ========================================================================== */
a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

.section-subtitle {
  margin-bottom: 30px;
  color: #cfcfcf;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
  width: auto;
  height: auto;
  padding: 10px 15px;
  background: #fff;
  color: #000;
  border-radius: 4px;
  z-index: 10001;
  font-weight: bold;
}

/* ==========================================================================
   3. COMPONENTS
   ========================================================================== */

/* Buttons */
.btn-hero,
.btn-comprar {
  display: inline-block;
  padding: 12px 30px;
  background: #00eaff;
  color: #050505;
  border-radius: 30px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 2px solid #00eaff;
  text-transform: uppercase;
  font-size: 14px;
}

.btn-hero {
  font-size: 18px;
  padding: 15px 40px;
}

.btn-hero:hover,
.btn-comprar:hover {
  background: transparent;
  color: #00eaff;
  box-shadow: 0 0 20px rgba(0, 234, 255, 0.4);
  transform: translateY(-2px);
}

/* Scroll To Top */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #00eaff;
  color: #000;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 234, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  transform: translateY(-5px);
  background: #fff;
}

/* Cards */
.card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 234, 255, 0.3);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
  transition: transform 0.3s;
}

.card:hover img {
  transform: scale(1.05);
}

.card h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #fff;
}

.card .price {
  font-size: 24px;
  color: #00eaff;
  font-weight: bold;
  margin-bottom: 20px;
}

.card .price-offer {
  color: #ff4757;
}

.old-price {
  font-size: 0.8em;
  text-decoration: line-through;
  color: #aaa;
  margin-left: 5px;
}

.badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ff4757;
  color: white;
  padding: 5px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
}

/* Search Bar */
.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.search-wrapper i {
  position: absolute;
  left: 15px;
  color: #00eaff;
}

#searchInput {
  padding: 10px 10px 10px 40px;
  border-radius: 25px;
  border: 1px solid #00eaff;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  width: 250px;
  transition: all 0.3s ease;
}

#searchInput:focus {
  outline: none;
  box-shadow: 0 0 15px rgba(0, 234, 255, 0.5);
  width: 300px;
  background: rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   4. LAYOUT: HEADER
   ========================================================================== */
.site-header {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logo {
  color: #00eaff;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: none;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 0 10px rgba(0, 234, 255, 0.5);
}

.logo i {
  font-size: 38px;
  background: linear-gradient(to bottom right, #fff, #00eaff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 8px rgba(0, 234, 255, 0.8));
  transform: rotate(-5deg);
  transition: transform 0.3s ease;
}

.logo:hover i {
  transform: rotate(10deg) scale(1.1);
}

nav {
  display: flex;
  gap: 20px;
}

.nav-link {
  color: #f0f0f0;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav-link:hover,
.nav-link:focus {
  background: rgba(0, 234, 255, 0.15);
  color: #00eaff;
}

/* ==========================================================================
   5. LAYOUT: HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  overflow: hidden;
}

/* Hero Slider */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: 1;
  transition: opacity 1s ease-in-out 1.5s, transform 6s ease;
  transform: scale(1);
}

.slide.active {
  opacity: 1;
  z-index: 2;
  transition: opacity 1s ease-in-out 0s, transform 6s ease;
  transform: scale(1.1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.hero-inner {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 60px;
  margin-bottom: 20px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(0, 234, 255, 0.7);
  animation: textGlow 2s ease-in-out infinite alternate;
}

/* Glitch Effect */
.glitch {
  position: relative;
  color: #fff;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent; 
}

.glitch::before {
  left: 2px;
  text-shadow: -2px 0 #ff00de;
  clip-path: inset(0 0 0 0); 
  animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch::after {
  left: -2px;
  text-shadow: -2px 0 #00eaff;
  clip-path: inset(0 0 0 0); 
  animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.hero p {
  font-size: 22px;
  margin-bottom: 35px;
  color: #dcdcdc;
  line-height: 1.5;
}

/* ==========================================================================
   6. LAYOUT: CONTENT SECTIONS
   ========================================================================== */
section {
  padding: 80px 20px;
}

section h3 {
  text-align: center;
  font-size: 38px;
  margin-bottom: 50px;
  color: #00eaff;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

section h3::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #00eaff;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Video Section */
.video-section {
  text-align: center;
  padding: 40px 20px;
  background: rgba(0,0,0,0.2);
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 95%;
  margin: 0 auto;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 234, 255, 0.3), 0 0 60px rgba(0, 234, 255, 0.1);
  border: 1px solid rgba(0, 234, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
  transform: scale(1.02);
  box-shadow: 0 0 40px rgba(0, 234, 255, 0.5), 0 0 80px rgba(0, 234, 255, 0.2);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Timeline / Upcoming */
.upcoming-releases {
  padding: 60px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.timeline {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  width: 80%;
  height: 4px;
  background: #00eaff;
  z-index: 0;
  transform: translateY(-50%);
  opacity: 0.5;
}

.timeline-item {
  background: rgba(15, 32, 39, 0.9);
  border: 2px solid #00eaff;
  border-radius: 15px;
  padding: 20px;
  width: 250px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 234, 255, 0.2);
}

.timeline-item:hover {
  transform: translateY(-10px) scale(1.05);
  background: #000;
  box-shadow: 0 0 30px rgba(0, 234, 255, 0.6);
}

.timeline-item .date {
  display: inline-block;
  background: #ff4757;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.timeline-item h4 {
  color: #00eaff;
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.timeline-item p {
  font-size: 0.9rem;
  color: #ccc;
}

/* Products Section */
.filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid #00eaff;
  color: #00eaff;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #00eaff;
  color: #000;
  box-shadow: 0 0 15px rgba(0, 234, 255, 0.4);
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Testimonials */
.testimonials {
  background: linear-gradient(to right, rgba(0,0,0,0.5), rgba(0,0,0,0.2));
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(255,255,255,0.05);
  padding: 25px;
  border-radius: 15px;
  text-align: left;
}

.testimonial-card .stars {
  color: #ffd700;
  margin-bottom: 15px;
}

.testimonial-card p {
  font-style: italic;
  color: #ddd;
  margin-bottom: 20px;
  line-height: 1.6;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #00eaff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #000;
  font-size: 14px;
}

.avatar.red { background: #ff4757; }
.avatar.green { background: #2ed573; }

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
}

.faq-item {
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(0, 234, 255, 0.3);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
}

.faq-question i {
  color: #00eaff;
  transition: transform 0.3s ease;
}

.faq-question.active i {
  transform: rotate(45deg);
  color: #ff4757;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
  padding: 20px;
  color: #dcdcdc;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ==========================================================================
   7. EXTRAS (Gallery, Offers, Newsletter, Brands)
   ========================================================================== */

/* Countdown */
.countdown-container {
  text-align: center;
  margin-bottom: 40px;
}

.countdown-container p {
  color: #ff4757;
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.time-box {
  background: rgba(0, 234, 255, 0.1);
  border: 1px solid #00eaff;
  padding: 15px;
  border-radius: 10px;
  min-width: 80px;
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 0 15px rgba(0, 234, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-box span {
  font-size: 2rem;
  font-weight: bold;
  color: #00eaff;
  display: block;
  margin-bottom: 5px;
}

/* Gallery - Mosaic Grid */
.setup-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.setup-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  height: 100%; /* Important for grid stretch */
}

/* Mosaic Layout Logic */
.setup-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.setup-item:nth-child(2) {
  grid-column: span 2;
}

.setup-item:nth-child(5) {
  grid-column: span 2;
}

.setup-item:nth-child(6) {
  grid-column: span 2;
}

/* Responsive Mosaic */
@media (max-width: 900px) {
  .setup-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  
  .setup-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }
  
  .setup-item:nth-child(2),
  .setup-item:nth-child(5),
  .setup-item:nth-child(6) {
    grid-column: span 1; /* Reset spans on tablet */
  }
}

@media (max-width: 600px) {
  .setup-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .setup-item:nth-child(1) {
    grid-column: span 1;
    grid-row: span 1;
  }
}

.setup-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.setup-item:hover img {
  transform: scale(1.1);
}

.setup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.setup-item:hover .setup-overlay {
  opacity: 1;
}

.setup-overlay i {
  font-size: 3rem;
  color: #00eaff;
  text-shadow: 0 0 10px rgba(0, 234, 255, 0.8);
  transition: all 0.3s ease;
}

.setup-overlay i:hover {
  transform: scale(1.2);
}

.setup-overlay i.liked {
  color: #ff4757;
  animation: heartBeat 0.5s;
}

/* Newsletter Box */
.newsletter-box {
  margin-top: 60px;
  padding: 40px;
  background: rgba(0, 234, 255, 0.05);
  border-radius: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(0, 234, 255, 0.2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 234, 255, 0.1);
  animation: gamerPulse 3s infinite alternate;
}

.newsletter-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent, rgba(0, 234, 255, 0.3), transparent 30%);
  animation: rotateBorder 4s linear infinite;
  z-index: -1;
  opacity: 0.5;
}

.newsletter-box::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: #0b1a20;
  border-radius: 18px;
  z-index: -1;
}

.newsletter-box h3 {
  margin-bottom: 10px;
  text-align: center;
  font-size: 28px;
  text-shadow: 0 0 10px rgba(37, 211, 102, 0.6);
}

.newsletter-box p {
  margin-bottom: 25px;
  color: #ccc;
}

.newsletter-form {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.newsletter-form input {
  padding: 12px 20px;
  border-radius: 30px;
  border: none;
  width: 100%;
  max-width: 350px;
  background: rgba(255,255,255,0.9);
  color: #333;
}

.newsletter-form button {
  padding: 12px 30px;
  background: #00eaff;
  color: black;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.newsletter-form button:hover {
  background: #fff;
  color: #00eaff;
}

/* Brands Marquee */
.brands-section {
  padding: 40px 0;
  margin-top: 60px;
  background: rgba(0, 0, 0, 0.3);
  overflow: hidden;
  position: relative;
}

.brands-section::before,
.brands-section::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
}

.brands-section::before {
  left: 0;
  background: linear-gradient(to right, #0f2027, transparent);
}

.brands-section::after {
  right: 0;
  background: linear-gradient(to left, #0f2027, transparent);
}

.brands-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: scrollBrands 20s linear infinite;
}

.brand-item {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.3s ease;
}

.brand-item:hover {
  color: #00eaff;
  filter: drop-shadow(0 0 10px #00eaff);
}

/* Konami Modal */
.secret-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: rgba(0, 0, 0, 0.95);
  padding: 40px;
  border: 2px solid #00eaff;
  border-radius: 20px;
  z-index: 10000;
  text-align: center;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 0 50px rgba(0, 234, 255, 0.5);
}

.secret-modal.visible {
  transform: translate(-50%, -50%) scale(1);
}

.secret-modal h2 {
  color: #00eaff;
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 20px;
}

.secret-code {
  font-size: 2rem;
  color: #ff4757;
  font-weight: bold;
  border: 2px dashed #ff4757;
  padding: 10px 20px;
  display: inline-block;
  margin: 15px 0;
}

body.konami-active {
  animation: rainbow-bg 5s infinite;
}

body.konami-active * {
  font-family: 'Orbitron', sans-serif !important;
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
footer {
  background: rgba(0, 0, 0, 0.95);
  text-align: center;
  padding: 50px 20px;
  margin-top: auto;
  color: #aaa;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
}

.social-links a {
  color: #fff;
  font-size: 24px;
  transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
  color: #00eaff;
  transform: translateY(-3px);
}

/* ==========================================================================
   9. ANIMATIONS
   ========================================================================== */
@keyframes heartBeat {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

@keyframes scrollBrands {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes rainbow-bg {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

@keyframes textGlow {
  0% {
    text-shadow: 0 0 10px #00eaff, 0 0 20px #00eaff, 0 0 30px #00eaff;
    letter-spacing: 2px;
  }
  100% {
    text-shadow: 0 0 20px #ff00de, 0 0 40px #ff00de, 0 0 60px #ff00de;
    letter-spacing: 6px;
  }
}

@keyframes glitch-anim-1 {
  0% { clip-path: inset(20% 0 80% 0); }
  20% { clip-path: inset(60% 0 10% 0); }
  40% { clip-path: inset(40% 0 50% 0); }
  60% { clip-path: inset(80% 0 5% 0); }
  80% { clip-path: inset(10% 0 70% 0); }
  100% { clip-path: inset(30% 0 20% 0); }
}

@keyframes glitch-anim-2 {
  0% { clip-path: inset(15% 0 60% 0); }
  20% { clip-path: inset(80% 0 5% 0); }
  40% { clip-path: inset(30% 0 20% 0); }
  60% { clip-path: inset(10% 0 80% 0); }
  80% { clip-path: inset(50% 0 30% 0); }
  100% { clip-path: inset(70% 0 10% 0); }
}

@keyframes gamerPulse {
  0% {
    box-shadow: 0 0 15px rgba(0, 234, 255, 0.2);
    border-color: rgba(0, 234, 255, 0.4);
  }
  100% {
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.5), 0 0 10px rgba(0, 234, 255, 0.3);
    border-color: rgba(37, 211, 102, 0.8);
  }
}

@keyframes rotateBorder {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   10. MEDIA QUERIES
   ========================================================================== */
@media (max-width: 768px) {
  .hero h2 { font-size: 32px; }
  .hero p { font-size: 18px; }
  
  .site-header {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }
  
  nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .newsletter-form {
    flex-direction: column;
    align-items: center;
  }
  
  .card {
    padding: 20px;
  }
  
  .timeline::before {
    display: none;
  }
}

@media (max-width: 600px) {
  .countdown {
    gap: 10px;
  }
  .time-box {
    min-width: 60px;
    padding: 10px;
  }
  .time-box span {
    font-size: 1.5rem;
  }
}

/* =========================================
   BESTIAL MODE UPGRADES
   ========================================= */

/* --- 1. FONDO CYBER-GRID --- */
.cyber-grid-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2; /* Detrás de todo */
    overflow: hidden;
    perspective: 500px;
    background: #050510; /* Fondo muy oscuro */
}

.cyber-grid {
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(0, 234, 255, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 234, 255, 0.2) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: rotateX(45deg); /* Perspectiva "suelo" */
    transform-origin: 50% 0;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
}

.cyber-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, #050510 90%);
    pointer-events: none;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 0 500px; }
}

/* --- 2. CURSOR PRO-GAMER & PARTICLES --- */
body {
    cursor: none; /* Ocultar cursor sistema */
}

/* El elemento para hacer click real, transparente.
   El custom cursor solo es visual. */
a, button, input {
    cursor: none !important;
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 2px solid #00eaff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 200000; /* Asegurar que se ve sobre el overlay de boot */
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.2s, height 0.2s, border-color 0.2s, background 0.2s;
    mix-blend-mode: exclusion; /* Efecto interesante sobre fotos */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Mira de francotirador (líneas dentro del círculo) */
.custom-cursor::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ff4757;
    border-radius: 50%;
}

.custom-cursor.hovering {
    width: 60px;
    height: 60px;
    border-color: #ff4757; /* Cambia a rojo al hacer hover */
    background: rgba(255, 71, 87, 0.1);
}

.custom-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000; /* Encima del círculo */
    transform: translate(-50%, -50%);
}

/* Estela de Partículas */
.cursor-particle {
    position: fixed;
    width: 4px;
    height: 4px;
    background: #00eaff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    animation: particleFade 0.6s forwards;
}

@keyframes particleFade {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(3); background: transparent; }
}

/* --- 3. LOGROS (ACHIEVEMENTS) --- */
.achievement-toast {
    position: fixed;
    bottom: -100px; /* Oculto inicialmente */
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 40px; /* Estilo píldora Xbox moderno */
    display: flex;
    align-items: center;
    padding: 15px 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 20px rgba(0, 234, 255, 0.2);
    z-index: 10001;
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 350px;
}

.achievement-toast.visible {
    bottom: 30px;
}

.achievement-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00b894, #00cec9); /* Verde logro */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 24px;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 184, 148, 0.5);
    animation: trophyPop 0.5s ease;
}

@keyframes trophyPop {
    0% { transform: scale(0); }
    80% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.achievement-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.achievement-header {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa;
    margin-bottom: 2px;
}

.achievement-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
}

.achievement-score {
    font-size: 1.2rem;
    font-weight: 800;
    color: #feb47b; /* Color oro/moneda */
    margin-left: 15px;
}

/* Modificar el modal de código para que parezca clickable */
.secret-code {
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}
.secret-code:hover {
    transform: scale(1.1);
    background: #00eaff !important; /* Fuerza estilo hover */
    color: #000 !important;
}
.secret-code:active {
    transform: scale(0.95);
}

/* =========================================
   INTRO BOOT SEQUENCE
   ========================================= */
.boot-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
}

.boot-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.boot-content {
    text-align: center;
    color: #fff;
    font-family: "Orbitron", sans-serif;
}

.boot-logo {
    font-size: 4rem;
    font-weight: bold;
    color: #00eaff;
    text-shadow: 0 0 20px rgba(0, 234, 255, 0.8);
    margin-bottom: 40px;
    letter-spacing: 5px;
    animation: glitch 2s infinite alternate;
}

.press-start-btn {
    background: transparent;
    border: 2px solid #ff4757;
    color: #ff4757;
    padding: 15px 40px;
    font-size: 1.5rem;
    font-family: "Orbitron", sans-serif;
    cursor: pointer !important; /* Forzar cursor visible */
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: all 0.3s;
    animation: pulse 1s infinite alternate;
    position: relative;
    overflow: hidden;
}

.press-start-btn:hover {
    background: #ff4757;
    color: #fff;
    box-shadow: 0 0 30px #ff4757;
}

.boot-loader {
    width: 300px;
    height: 4px;
    background: #333;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.loader-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #00eaff;
    box-shadow: 0 0 10px #00eaff;
    animation: loadBar 2s ease-out forwards;
}

.boot-status {
    color: #888;
    font-size: 0.8rem;
    margin-top: 10px;
}

@keyframes glitch {
    0% { text-shadow: 2px 2px 0px #ff00de, -2px -2px 0px #00eaff; }
    90% { text-shadow: 2px 2px 0px #ff00de, -2px -2px 0px #00eaff; }
    92% { text-shadow: -2px 2px 0px #ff00de, 2px -2px 0px #00eaff; transform: skewX(10deg); }
    94% { text-shadow: 0px 0px 0px transparent; transform: skewX(0deg); }
    96% { text-shadow: 2px -2px 0px #ff00de, -2px 2px 0px #00eaff; transform: skewX(-10deg); }
    100% { text-shadow: 2px 2px 0px #ff00de, -2px -2px 0px #00eaff; }
}

@keyframes pulse {
    0% { opacity: 0.5; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes loadBar {
    0% { width: 0%; }
    50% { width: 60%; }
    100% { width: 100%; }
}

