/* Golden Syndicate Custom Animations & Overrides */

/* Keyframe Animations */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

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

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(218, 165, 32, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(218, 165, 32, 0.6);
  }
}

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

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

/* Marquee Animation */
.marquee-container {
  overflow: hidden;
  position: relative;
}

.marquee-content {
  display: flex;
  animation: marquee 30s linear infinite;
  will-change: transform;
}

.marquee-content:hover {
  animation-play-state: paused;
}

/* Parallax Layers */
.parallax-layer {
  transition: transform 0.3s ease-out;
  will-change: transform;
}

/* Golden Glow Effect */
.golden-glow {
  animation: glow 3s ease-in-out infinite;
}

/* Shimmer Effect */
.shimmer {
  background: linear-gradient(90deg, transparent, rgba(218, 165, 32, 0.3), transparent);
  background-size: 1000px 100%;
  animation: shimmer 3s infinite;
}

/* Fade In Animation */
.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Prose Styling for Readability */
.prose {
  color: #e8e6e3;
  line-height: 1.75;
  max-width: 100%;
}

.prose h2 {
  color: #daa520;
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-top: 2em;
  margin-bottom: 1em;
  letter-spacing: 0.025em;
  line-height: 1.3;
}

.prose h3 {
  color: #f4e4c1;
  font-weight: 600;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-top: 1.5em;
  margin-bottom: 0.75em;
  line-height: 1.4;
}

.prose p {
  margin-bottom: 1.25em;
  font-size: clamp(1rem, 2vw, 1.0625rem);
  color: #e8e6e3;
  max-width: 100%;
}

.prose p:first-of-type {
  font-size: clamp(1.0625rem, 2.2vw, 1.125rem);
  line-height: 1.8;
}

.prose ul,
.prose ol {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
  max-width: 100%;
}

.prose ul {
  list-style-type: disc;
}

.prose ol {
  list-style-type: decimal;
}

.prose li {
  margin-bottom: 0.5em;
  padding-left: 0.25em;
  color: #e8e6e3;
}

.prose li::marker {
  color: #daa520;
}

.prose strong {
  color: #daa520;
  font-weight: 600;
}

.prose em {
  color: #f4e4c1;
  font-style: italic;
}

.prose a {
  color: #daa520;
  text-decoration: underline;
  text-decoration-color: rgba(218, 165, 32, 0.4);
  text-underline-offset: 0.2em;
  transition: all 0.2s ease;
}

.prose a:hover {
  color: #f4e4c1;
  text-decoration-color: #f4e4c1;
}

.prose blockquote {
  border-left: 0.25rem solid #daa520;
  padding-left: 1.5em;
  margin: 1.5em 0;
  font-style: italic;
  color: #f4e4c1;
  background: rgba(218, 165, 32, 0.05);
  padding: 1em 1.5em;
  border-radius: 0 0.5rem 0.5rem 0;
}

.prose blockquote p {
  margin-bottom: 0;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 2em 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.prose table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: clamp(0.875rem, 1.8vw, 1rem);
}

.prose th {
  background: rgba(218, 165, 32, 0.15);
  color: #daa520;
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid #daa520;
  white-space: nowrap;
}

.prose td {
  padding: 0.75rem;
  border-bottom: 1px solid rgba(218, 165, 32, 0.2);
  color: #e8e6e3;
}

.prose tr:hover td {
  background: rgba(218, 165, 32, 0.05);
}

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

/* Table Responsive Wrapper */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
}

/* Custom Scrollbar */
.table-responsive::-webkit-scrollbar {
  height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: #daa520;
  border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
  background: #f4e4c1;
}

/* Marble Texture Pattern */
.marble-bg {
  background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(20, 20, 20, 0.9) 100%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(218, 165, 32, 0.03) 10px,
      rgba(218, 165, 32, 0.03) 20px
    );
}

/* Golden Border Accent */
.golden-border {
  border-image: linear-gradient(90deg, transparent, #daa520, transparent) 1;
}

/* Crimson Accent */
.crimson-accent {
  background: linear-gradient(135deg, #8b0000 0%, #dc143c 100%);
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Mobile Menu Transition */
.mobile-menu {
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Button Hover Effects */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

/* Card Hover Effect */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Floating Animation */
.float {
  animation: float 6s ease-in-out infinite;
}

/* Golden Gradient Text */
.golden-gradient-text {
  background: linear-gradient(135deg, #daa520 0%, #f4e4c1 50%, #daa520 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}
