/* ============ CURSOR EFFECT ============ */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-amber);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

.cursor-outline {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(245,158,11,0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.2s ease;
}

.cursor-outline.hovered {
  transform: translate(-50%, -50%) scale(1.6);
  background: rgba(245,158,11,0.1);
  border-color: var(--accent-amber);
}

/* ============ LOADING SCREEN ============ */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loading-logo {
  font-family: var(--font-display);
  font-size: 32px;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ============ SECTION TRANSITIONS ============ */
.section-transition {
  position: relative;
}

.section-transition::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-amber), transparent);
  opacity: 0.3;
}

/* ============ CARD HOVER EFFECTS ============ */
.card-hover {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

/* ============ IMAGE EFFECTS ============ */
.image-glow {
  position: relative;
  overflow: hidden;
}

.image-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.8s ease;
}

.image-glow:hover::after {
  left: 100%;
}

/* ============ BUTTON HOVER ============ */
.btn-hover-lift {
  transition: all 0.3s var(--ease-out);
}

.btn-hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.btn-hover-lift:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ============ TEXT REVEAL ============ */
.text-reveal {
  overflow: hidden;
}

.text-reveal span {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.6s var(--ease-out);
}

.text-reveal.visible span {
  transform: translateY(0);
}

/* ============ DIVIDER LINES ============ */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
  margin: 80px 0;
}

/* ============ SCROLL INDICATOR ============ */
.scroll-indicator {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border: 2px solid var(--text-secondary);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-indicator::before {
  content: '';
  width: 4px;
  height: 8px;
  background: var(--accent-amber);
  border-radius: 2px;
  animation: scrollDown 2s ease infinite;
}

@keyframes scrollDown {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0; }
}

/* ============ SHADOWS ============ */
.shadow-soft {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.shadow-medium {
  box-shadow: 0 16px 48px rgba(0,0,0,0.16);
}

.shadow-hard {
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
}

/* ============ BORDERS ============ */
.border-glow {
  border: 1px solid transparent;
  background: linear-gradient(var(--bg-primary), var(--bg-primary)) padding-box,
              linear-gradient(135deg, var(--accent-amber), transparent) border-box;
}

/* ============ GLASSMORPHISM ============ */
.glass-effect {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
}

/* ============ RESPONSIVE ADJUSTMENTS ============ */
@media (max-width: 768px) {
  .scroll-indicator {
    display: none;
  }
  
  .cursor-dot,
  .cursor-outline {
    display: none;
  }
}
