@tailwind base;
@tailwind components;
@tailwind utilities;

/* 引入海外通用字体Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;900&display=swap');

/* 基础样式 */
* {
  font-family: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* 轮播动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(220, 38, 38, 0.6);
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes border-flow {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 200% 0%;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* 滚动动画 */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 数字计数器动画 */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 图标脉冲动画 */
@keyframes iconPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.85;
  }
}

/* 动画类 */
.banner-active {
  animation: fadeIn 0.8s ease-out;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradient-shift 5s ease infinite;
}

.animate-scroll {
  animation: scroll 40s linear infinite;
}

.animate-scroll:hover {
  animation-play-state: paused;
}

.shimmer-effect {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* 导航栏滚动效果 */
.nav-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* 卡片悬停效果 */
.card-hover {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-12px) scale(1.02);
}

/* 按钮效果 */
.btn-glow {
  position: relative;
  overflow: hidden;
}

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

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

/* 边框动画 */
.border-animate {
  position: relative;
}

.border-animate::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(90deg, #dc2626, #2563eb, #dc2626, #2563eb);
  background-size: 400% 100%;
  border-radius: inherit;
  z-index: -1;
  animation: border-flow 4s linear infinite;
}

/* 图片悬停缩放 */
.img-zoom {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-zoom:hover {
  transform: scale(1.15);
}

/* 3D倾斜效果 */
.perspective-1000 {
  perspective: 1000px;
}

.tilt-container {
  transform-style: preserve-3d;
}

.tilt-img,
.tilt-glow {
  transform-style: preserve-3d;
}

/* 滚动渐入效果 */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 文字渐变 */
.text-gradient {
  background: linear-gradient(135deg, #dc2626, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 品牌标题样式 */
.brand-title {
  font-family: "Inter", sans-serif;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-title:hover {
  transform: scale(1.02);
}

.brand-icon {
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: iconPulse 3s ease-in-out infinite;
}

.brand-title:hover .brand-icon {
  transform: rotate(5deg) scale(1.1);
}

.brand-icon svg {
  filter: drop-shadow(0 4px 8px rgba(220, 38, 38, 0.3));
  transition: filter 0.3s ease;
}

.brand-title:hover .brand-icon svg {
  filter: drop-shadow(0 6px 16px rgba(220, 38, 38, 0.5));
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.brand-word {
  font-size: 1.75rem;
  font-weight: 900;
  background: linear-gradient(135deg, #1f2937, #374151);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  position: relative;
}

.brand-word.brand-accent {
  font-size: 1.5rem;
  background: linear-gradient(135deg, #dc2626, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.brand-word.brand-accent::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #dc2626, #2563eb);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-title:hover .brand-word.brand-accent::after {
  transform: scaleX(1);
}

/* 导航激活状态 */
.nav-item.active {
  color: #dc2626;
  position: relative;
}

.nav-item.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #dc2626, #2563eb);
  border-radius: 2px;
}

/* 模块隐藏/显示 */
.page-section {
  display: none;
}

.page-section.active {
  display: block;
  animation: fadeIn 0.5s ease-out;
}

.partners-section {
  display: block;
}

/* 阴影效果 */
.shadow-red-blue {
  box-shadow:
    0 10px 40px rgba(220, 38, 38, 0.15),
    0 4px 15px rgba(37, 99, 235, 0.1);
}

.shadow-red-blue-lg {
  box-shadow:
    0 20px 60px rgba(220, 38, 38, 0.2),
    0 8px 25px rgba(37, 99, 235, 0.15);
}

/* 页脚导航项 */
.footer-nav-item {
  display: inline-block;
}

.footer-nav-item.active {
  color: #2563eb;
}

/* 页脚新配色 */
.footer-title {
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.footer-contact-item:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  border-color: rgba(255,255,255,0.2);
  transform: translateX(4px);
}

.footer-contact-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.1) 100%);
  border-radius: 10px;
  color: #3b82f6;
  transition: all 0.3s ease;
}

.footer-contact-item:hover .footer-contact-icon {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: white;
  transform: scale(1.05);
}

.footer-social-link {
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Tooltip 样式 */
.tooltip-container {
  position: relative;
  cursor: help;
}

.tooltip {
  position: absolute;
  bottom: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  max-width: 90vw;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 25px rgba(220, 38, 38, 0.1);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  border: 1px solid rgba(220, 38, 38, 0.1);
}

.tooltip::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #ffffff;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.tooltip-container:hover .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}

.tooltip-title {
  font-size: 1.125rem;
  font-weight: 700;
  background: linear-gradient(135deg, #dc2626, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tooltip-title::before {
  content: "";
  width: 4px;
  height: 20px;
  background: linear-gradient(135deg, #dc2626, #2563eb);
  border-radius: 2px;
}

.tooltip-content {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #4b5563;
}

.tooltip-content p {
  margin-bottom: 12px;
}

.tooltip-content p:last-child {
  margin-bottom: 0;
}

.tooltip-example {
  margin-top: 16px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(37, 99, 235, 0.05));
  border-radius: 12px;
  border-left: 4px solid #dc2626;
}

.tooltip-example-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tooltip-example-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tooltip-example-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #4b5563;
}

.tooltip-example-list li:last-child {
  margin-bottom: 0;
}

.tooltip-example-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: bold;
  font-size: 1rem;
}

.tooltip-highlight {
  background: linear-gradient(120deg, rgba(220, 38, 38, 0.15) 0%, rgba(220, 38, 38, 0.05) 100%);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
  color: #dc2626;
}

/* 蓝色变体 */
.tooltip-container.tooltip-blue .tooltip {
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.tooltip-container.tooltip-blue .tooltip::before {
  border-top-color: #ffffff;
}

.tooltip-container.tooltip-blue .tooltip-title {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tooltip-container.tooltip-blue .tooltip-title::before {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.tooltip-container.tooltip-blue .tooltip-example {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(59, 130, 246, 0.05));
  border-left-color: #2563eb;
}

.tooltip-container.tooltip-blue .tooltip-example-list li::before {
  color: #2563eb;
}

.tooltip-container.tooltip-blue .tooltip-highlight {
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.15) 0%, rgba(37, 99, 235, 0.05) 100%);
  color: #2563eb;
}

/* 紫色变体 */
.tooltip-container.tooltip-purple .tooltip {
  border: 1px solid rgba(147, 51, 234, 0.1);
}

.tooltip-container.tooltip-purple .tooltip::before {
  border-top-color: #ffffff;
}

.tooltip-container.tooltip-purple .tooltip-title {
  background: linear-gradient(135deg, #9333ea, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tooltip-container.tooltip-purple .tooltip-title::before {
  background: linear-gradient(135deg, #9333ea, #a855f7);
}

.tooltip-container.tooltip-purple .tooltip-example {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.05), rgba(168, 85, 247, 0.05));
  border-left-color: #9333ea;
}

.tooltip-container.tooltip-purple .tooltip-example-list li::before {
  color: #9333ea;
}

.tooltip-container.tooltip-purple .tooltip-highlight {
  background: linear-gradient(120deg, rgba(147, 51, 234, 0.15) 0%, rgba(147, 51, 234, 0.05) 100%);
  color: #9333ea;
}

/* 绿色变体 */
.tooltip-container.tooltip-green .tooltip {
  border: 1px solid rgba(22, 163, 74, 0.1);
}

.tooltip-container.tooltip-green .tooltip::before {
  border-top-color: #ffffff;
}

.tooltip-container.tooltip-green .tooltip-title {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tooltip-container.tooltip-green .tooltip-title::before {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

.tooltip-container.tooltip-green .tooltip-example {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.05), rgba(34, 197, 94, 0.05));
  border-left-color: #16a34a;
}

.tooltip-container.tooltip-green .tooltip-example-list li::before {
  color: #16a34a;
}

.tooltip-container.tooltip-green .tooltip-highlight {
  background: linear-gradient(120deg, rgba(22, 163, 74, 0.15) 0%, rgba(22, 163, 74, 0.05) 100%);
  color: #16a34a;
}

/* 红色变体（默认） */
.tooltip-container.tooltip-red .tooltip {
  border: 1px solid rgba(220, 38, 38, 0.1);
}

.tooltip-container.tooltip-red .tooltip::before {
  border-top-color: #ffffff;
}

.tooltip-container.tooltip-red .tooltip-title {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tooltip-container.tooltip-red .tooltip-title::before {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}

.tooltip-container.tooltip-red .tooltip-example {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(239, 68, 68, 0.05));
  border-left-color: #dc2626;
}

.tooltip-container.tooltip-red .tooltip-example-list li::before {
  color: #dc2626;
}

.tooltip-container.tooltip-red .tooltip-highlight {
  background: linear-gradient(120deg, rgba(220, 38, 38, 0.15) 0%, rgba(220, 38, 38, 0.05) 100%);
  color: #dc2626;
}

/* ============ HOME HERO ENHANCEMENTS ============ */

/* Dot grid background */
@keyframes dotsMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, 40px); }
}

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 36px 36px;
  animation: dotsMove 30s linear infinite;
  pointer-events: none;
  z-index: 1;
}

/* Tech floating rings */
.tech-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.12);
  pointer-events: none;
  z-index: 1;
  animation: techRingFloat 12s ease-in-out infinite;
}

@keyframes techRingFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.25; }
  25% { transform: translateY(-25px) rotate(90deg); opacity: 0.5; }
  50% { transform: translateY(-12px) rotate(180deg); opacity: 0.3; }
  75% { transform: translateY(-35px) rotate(270deg); opacity: 0.5; }
}

/* Sparkle dots */
.sparkle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  pointer-events: none;
  z-index: 1;
  animation: sparkle 2.5s ease-in-out infinite;
}

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

/* Animated gradient text */
.hero-gradient-flow {
  background-size: 200% 200%;
  animation: heroGradShift 4s ease infinite;
}

@keyframes heroGradShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Pulse ring around image */
.hero-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 26px;
  border: 1.5px solid rgba(255,255,255,0.15);
  animation: heroPulse 3s ease-out infinite;
  pointer-events: none;
}

@keyframes heroPulse {
  0% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.04); opacity: 0.1; }
  100% { transform: scale(1); opacity: 0.4; }
}

/* Scroll indicator - mouse wheel */
.scroll-mouse {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
}

.scroll-mouse .mouse-body {
  width: 20px;
  height: 32px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 10px;
  position: relative;
}

.scroll-mouse .mouse-body::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  animation: scrollWheel 1.8s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(14px); opacity: 0; }
}

/* Reveal text animation for hero */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-reveal {
  animation: fadeUp 0.8s ease-out forwards;
  opacity: 0;
}

.hero-reveal-d1 { animation-delay: 0.1s; }
.hero-reveal-d2 { animation-delay: 0.3s; }
.hero-reveal-d3 { animation-delay: 0.5s; }
.hero-reveal-d4 { animation-delay: 0.7s; }

/* ============ EVENTS GALLERY ENHANCEMENTS ============ */

/* Floating background orbs for events section */
@keyframes eventsOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, -40px) scale(1.15); }
  50% { transform: translate(-30px, 30px) scale(0.85); }
  75% { transform: translate(40px, 50px) scale(1.05); }
}

.events-orb {
  animation: eventsOrb 20s ease-in-out infinite;
  pointer-events: none;
}

/* Gallery item base */
[data-lightbox] {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
  will-change: transform;
}

/* Neon glow box-shadow on hover */
[data-lightbox]:hover {
  transform: scale(1.02);
  box-shadow:
    0 0 20px rgba(220, 38, 38, 0.25),
    0 0 50px rgba(37, 99, 235, 0.15),
    0 0 80px rgba(139, 92, 246, 0.08);
}

/* Corner brackets via ::before and ::after */
[data-lightbox]::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 14px;
  width: 22px;
  height: 22px;
  border-top: 2px solid rgba(255,255,255,0);
  border-left: 2px solid rgba(255,255,255,0);
  z-index: 6;
  pointer-events: none;
  transition: all 0.4s ease;
}

[data-lightbox]::after {
  content: '';
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 22px;
  height: 22px;
  border-bottom: 2px solid rgba(255,255,255,0);
  border-right: 2px solid rgba(255,255,255,0);
  z-index: 6;
  pointer-events: none;
  transition: all 0.4s ease;
}

[data-lightbox]:hover::before {
  border-top-color: rgba(255,255,255,0.8);
  border-left-color: rgba(255,255,255,0.8);
}

[data-lightbox]:hover::after {
  border-bottom-color: rgba(255,255,255,0.8);
  border-right-color: rgba(255,255,255,0.8);
}

/* Enhanced image zoom on hover inside gallery items */
[data-lightbox] img {
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-lightbox]:hover img {
  transform: scale(1.08);
}

/* "+" button glass morphism enhancement - targets existing glass button in gallery items */
[data-lightbox] .rounded-full {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-lightbox]:hover .rounded-full {
  transform: scale(1.15) rotate(90deg);
  background: rgba(255,255,255,0.18) !important;
  box-shadow: 0 0 30px rgba(255,255,255,0.1);
}

/* Animated gradient title */
.events-title-glow {
  background-size: 200% 200%;
  animation: eventsTitleShift 4s ease infinite;
}

@keyframes eventsTitleShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Lightbox glassmorphism controls */
#lightbox-close,
#lightbox-prev,
#lightbox-next {
  background: rgba(255,255,255,0.08) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  transition: all 0.3s ease !important;
}

#lightbox-close:hover,
#lightbox-prev:hover,
#lightbox-next:hover {
  background: rgba(255,255,255,0.18) !important;
  transform: scale(1.08) !important;
  box-shadow: 0 0 30px rgba(255,255,255,0.1) !important;
}

#lightbox-close:active,
#lightbox-prev:active,
#lightbox-next:active {
  transform: scale(0.92) !important;
}

/* Image inside lightbox - cinematic transition */
#lightbox-image {
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
