/**
 * Thunder CSS - Le Zeus Demo
 * Extended styles and animations
 */

a {
    color: var(--sky);
    text-decoration: none;
    position: relative;
    display: inline-block;
}

 a:hover{
    color: var(--thunder);
 }

 a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--thunder);
    transition: width 0.2s ease;

}

/* ===== ANIMATIONS ===== */
@keyframes thunderFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes boltPulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(249, 200, 70, 0.4); }
  50% { box-shadow: 0 4px 25px rgba(249, 200, 70, 0.6); }
}

@keyframes cloudFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== PROGRESSIVE ENHANCEMENT ===== */
/* Elements visible by default, animations only with JS */
.animate-ready .zeus-hero h1,
.animate-ready .zeus-hero .hero-sub,
.animate-ready .cta-group,
.animate-ready .hero-img {
  animation: thunderFade 0.6s ease-out forwards;
}

.animate-ready .zeus-hero .hero-sub {
  animation-delay: 0.1s;
}

.animate-ready .cta-group {
  animation-delay: 0.2s;
}

.animate-ready .hero-img {
  animation-delay: 0.3s;
}

.animate-ready .btn-primary {
  animation: boltPulse 2s ease-in-out infinite;
}

/* ===== ENHANCED HOVER STATES ===== */
.power-card {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.power-card:hover {
  transform: translateY(-8px);
  border-color: var(--thunder);
  box-shadow: 0 12px 30px rgba(249, 200, 70, 0.15);
}

.stat-card {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.stat-card:hover {
  transform: scale(1.03);
  border-color: var(--thunder);
}

.question-item {
  transition: border-color 0.2s ease, background 0.2s ease;
}

.question-item:hover {
  border-color: var(--cloud);
  background: rgba(196, 168, 216, 0.05);
}

/* ===== GALLERY LIGHTBOX STYLES ===== */
.gallery-grid img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* ===== TABLE ENHANCEMENTS ===== */
.specs-table tbody tr {
  transition: background 0.2s ease;
}

.specs-table tbody tr:hover {
  background: rgba(249, 200, 70, 0.08);
}

.specs-table .highlight-value {
  position: relative;
}

.specs-table .highlight-value::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--thunder), transparent);
}

/* ===== BUTTON ENHANCEMENTS ===== */
.bolt-btn {
  position: relative;
  overflow: hidden;
}

.bolt-btn::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 ease;
}

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

/* ===== NAVIGATION ENHANCEMENTS ===== */
.olympus-menu a {
  position: relative;
}

.olympus-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--thunder);
  transition: width 0.3s ease;
}

.olympus-menu a:hover::after {
  width: 100%;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--thunder), var(--cloud));
  z-index: 2001;
  transition: width 0.1s ease-out;
}

/* ===== AUTHOR CARD ENHANCEMENTS ===== */
.author-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.author-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.author-card img {
  transition: border-color 0.2s ease;
}

.author-card:hover img {
  border-color: var(--sky);
}

/* ===== VERDICT BOX ===== */
.verdict-box {
  position: relative;
  overflow: hidden;
}

.verdict-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--thunder), var(--cloud));
}

/* ===== FOOTER ENHANCEMENTS ===== */
.footer-col a {
  position: relative;
  display: inline-block;
}

.footer-col a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--thunder);
  transition: width 0.2s ease;
}

.footer-col a:hover::after {
  width: 100%;
}

/* ===== MOBILE MENU ANIMATIONS ===== */
@media (max-width: 768px) {
  .olympus-menu {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
  }

  .olympus-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .olympus-menu a::after {
    display: none;
  }
}

/* ===== DEMO MODAL ENHANCEMENTS ===== */
.demo-overlay {
  transition: opacity 0.3s ease;
  opacity: 0;
}

.demo-overlay.active {
  opacity: 1;
}

.demo-wrap {
  transition: transform 0.3s ease;
  transform: scale(0.95);
}

.demo-overlay.active .demo-wrap {
  transform: scale(1);
}

/* ===== LOADING STATES ===== */
.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--thunder);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ===== SELECTION STYLES ===== */
::selection {
  background: var(--thunder);
  color: var(--olympus);
}

::-moz-selection {
  background: var(--thunder);
  color: var(--olympus);
}

/* ===== SCROLLBAR STYLES ===== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--olympus);
}

::-webkit-scrollbar-thumb {
  background: var(--stone);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--cloud);
}

/* ===== PRINT STYLES ===== */
@media print {
  .zeus-banner,
  .thunder-nav,
  .mobile-cta,
  .demo-overlay,
  .bolt-btn,
  .cta-group {
    display: none !important;
  }

  body {
    padding-top: 0 !important;
    background: #fff !important;
    color: #000 !important;
  }

  .olympus-section {
    background: #fff !important;
  }

  a {
    color: #000 !important;
    text-decoration: underline !important;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }
}
