/* ===== RESOURCES PAGE STYLES ===== */

/* Page Hero Section */
.res-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.1s ease;
}

.res-hero:hover {
  transform: perspective(1000px) rotateX(2deg) rotateY(2deg);
}

.res-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%236c2bd9" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%233b82f6" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%236c2bd9" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="%233b82f6" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  animation: grain 8s steps(10) infinite;
}

.res-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}

.res-hero .wrap {
  position: relative;
  z-index: 1;
}

/* Floating particles */
.res-hero .particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.2) 70%, transparent 100%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite, pulse 2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.res-hero .particle:nth-child(1) { 
  top: 20%; left: 10%; 
  animation-delay: 0s; 
  animation-duration: 6s;
}
.res-hero .particle:nth-child(2) { 
  top: 60%; left: 20%; 
  animation-delay: 1s; 
  animation-duration: 8s;
  width: 8px;
  height: 8px;
}
.res-hero .particle:nth-child(3) { 
  top: 30%; left: 80%; 
  animation-delay: 2s; 
  animation-duration: 7s;
}
.res-hero .particle:nth-child(4) { 
  top: 70%; left: 70%; 
  animation-delay: 3s; 
  animation-duration: 9s;
  width: 5px;
  height: 5px;
}
.res-hero .particle:nth-child(5) { 
  top: 40%; left: 50%; 
  animation-delay: 4s; 
  animation-duration: 6.5s;
  width: 10px;
  height: 10px;
}
.res-hero .particle:nth-child(6) { 
  top: 15%; left: 60%; 
  animation-delay: 0.5s; 
  animation-duration: 7.5s;
  width: 4px;
  height: 4px;
}
.res-hero .particle:nth-child(7) { 
  top: 80%; left: 30%; 
  animation-delay: 1.5s; 
  animation-duration: 8.5s;
  width: 7px;
  height: 7px;
}
.res-hero .particle:nth-child(8) { 
  top: 45%; left: 90%; 
  animation-delay: 2.5s; 
  animation-duration: 6s;
  width: 5px;
  height: 5px;
}
.res-hero .particle:nth-child(9) { 
  top: 10%; left: 40%; 
  animation-delay: 3.5s; 
  animation-duration: 7.5s;
  width: 9px;
  height: 9px;
}
.res-hero .particle:nth-child(10) { 
  top: 25%; left: 35%; 
  animation-delay: 4.5s; 
  animation-duration: 7s;
  width: 8px;
  height: 8px;
}

.res-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: white;
  margin: 0 0 16px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
  animation: titleGlow 2s ease-in-out infinite alternate, titleFadeIn 3s ease-out 1s both;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.res-hero h1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: scan 2s ease-in-out infinite;
}

.res-hero h1:hover {
  transform: translateY(-2px);
  text-shadow: 0 4px 8px rgba(0,0,0,0.2), 0 0 20px rgba(255,255,255,0.3);
}

.res-hero h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ffd700, #ffed4e);
  margin: 20px auto 0;
  border-radius: 2px;
  animation: lineExpand 1.5s ease-out 0.5s both;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.res-hero p {
  font-size: clamp(16px, 2.5vw, 20px);
  color: #f8f8f8;
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  animation: titleFadeIn 3s ease-out 1.5s both;
  opacity: 0;
  transform: translateY(20px);
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Resource Sections */
.res-section {
  padding: 30px 0;
  position: relative;
  background: var(--surface);
}

.talks-bob-in-action {
  padding-top: 100px;
}

.res-section .wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  width: 100%;
  box-sizing: border-box;
}

.res-section h2 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  text-align: center;
  position: relative;
}

.res-section h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.res-section .subhead {
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 40px;
  text-align: center;
}

/* Carousel Styles */
.carousel {
  position: relative;
  margin: 40px 0;
  width: 100%;
  overflow: visible;
  box-sizing: border-box;
  padding: 0 60px;
}

.c-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(108, 43, 217, 0.15);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--primary);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 3;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(108, 43, 217, 0.1);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.c-btn:hover:not(:disabled):not([aria-disabled="true"]) {
  background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
  color: var(--surface);
  border-color: var(--primary);
  box-shadow: 0 12px 32px rgba(108, 43, 217, 0.35), 0 4px 12px rgba(108, 43, 217, 0.2);
  transform: translateY(-50%) scale(1.15);
}

.c-btn:active:not(:disabled):not([aria-disabled="true"]) {
  transform: translateY(-50%) scale(1.05);
}

.c-btn[aria-disabled="true"], 
.c-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.6);
}

.c-btn.prev { left: 0; }
.c-btn.next { right: 0; }

.c-btn:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(108, 43, 217, 0.15);
}

.c-viewport {
  overflow: hidden;
  border-radius: 20px;
  width: 100%;
  position: relative;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.5) 0%, rgba(241, 245, 249, 0.3) 100%);
  padding: 4px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.04);
}

.carousel .c-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: visible;
}

/* Resource Cards */
.c-card {
  flex: 0 0 calc((100% - 48px) / 3);
  background: var(--surface);
  border-radius: 20px;
  border: 1.5px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s ease;
  position: relative;
  background-clip: padding-box;
  padding: 0;
}

.c-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.4s ease, background-position 0.6s ease;
  background-position: -100% 0;
  z-index: 1;
}

.c-card::after {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: 20px;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  pointer-events: none;
}

.c-card:hover {
  box-shadow: 0 8px 24px rgba(108, 43, 217, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: rgba(108, 43, 217, 0.3);
}

.c-card:hover::before {
  opacity: 1;
  background-position: 100% 0;
}

.c-card:hover::after {
  opacity: 1;
}

.c-media {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--grey-100) 0%, var(--surface-alt) 100%);
  position: relative;
  overflow: hidden;
  margin: 0;
  width: 100%;
  border-radius: 20px 20px 0 0;
  contain: layout style paint;
}

.c-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(108, 43, 217, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.c-card:hover .c-media::before {
  opacity: 1;
}

.c-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  background-color: var(--grey-100);
  min-height: 200px;
  opacity: 0;
  animation: fadeInImage 0.4s ease-in-out forwards;
}

@keyframes fadeInImage {
  to {
    opacity: 1;
  }
}

.c-media img[loading="lazy"] {
  content-visibility: auto;
}

.c-card:hover .c-media img {
  transform: scale(1.15);
}

.placeholder-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--grey-100), var(--surface-alt));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.c-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--surface);
  position: relative;
  z-index: 2;
}

.c-body .title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.c-card:hover .c-body .title {
  color: var(--primary);
}

.c-body .link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  align-self: flex-start;
  padding: 8px 0;
  position: relative;
}

.c-body .link::before {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1px;
}

.c-body .link:hover {
  color: var(--accent);
  transform: translateX(6px);
}

.c-body .link:hover::before {
  width: 100%;
}

.c-body .link::after {
  content: '→';
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 18px;
  line-height: 1;
}

.c-body .link:hover::after {
  transform: translateX(4px);
}

/* Book Cards Special Styling */
.c-card.book .c-media {
  aspect-ratio: 3 / 4;
}

.c-card.book .c-media img {
  object-fit: cover;
}

/* Economic Outlook Banner */
.econ-banner {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-alt);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin: 40px 0;
  overflow: hidden;
  position: relative;
}

.econ-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.econ-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding: 40px;
  align-items: center;
}

.econ-text h3 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 16px;
  line-height: 1.3;
}

.econ-text p {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 24px;
  line-height: 1.6;
}

.econ-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.econ-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.econ-actions .btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--surface);
  border: none;
  box-shadow: 0 8px 25px rgba(108, 43, 217, 0.3);
}

.econ-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(108, 43, 217, 0.4);
}

.econ-actions .btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.econ-actions .btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: left 0.3s ease;
  z-index: -1;
}

.econ-actions .btn-outline:hover {
  color: var(--surface);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 43, 217, 0.3);
}

.econ-actions .btn-outline:hover::before {
  left: 0;
}

.econ-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.econ-visual img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.econ-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--surface-alt), var(--grey-100));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border: 2px dashed var(--surface-alt);
}

.econ-placeholder svg {
  opacity: 0.5;
}

/* Responsive Design for Economic Banner */
@media (max-width: 991px) {
  .econ-content {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px;
  }
  
  .econ-visual {
    order: -1;
  }
  
  .econ-visual img,
  .econ-placeholder {
    height: 160px;
  }
}

@media (max-width: 767px) {
  .econ-content {
    padding: 24px;
  }
  
  .econ-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .econ-actions .btn {
    text-align: center;
    justify-content: center;
  }
  
  .econ-visual img,
  .econ-placeholder {
    height: 140px;
  }
}

/* Ebook Row Styles */
.ebook-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin: 40px 0;
  flex-wrap: wrap;
}

.flip-card {
  width: 200px;
  height: 280px;
  perspective: 1000px;
  cursor: pointer;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front, .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.flip-front {
  background: var(--surface);
}

.flip-back {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--surface);
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flip-back p {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  text-align: center;
}

/* CTA Section */
.res-ctas {
  padding: 30px 0;
  background: var(--surface);
  position: relative;
}

.res-ctas .wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  position: relative;
  z-index: 1;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.cta-tile {
  background: var(--surface);
  border: 1px solid var(--surface-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.cta-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.cta-tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.tile-media {
  aspect-ratio: 16 / 9;
  background: var(--grey-100);
  position: relative;
  overflow: hidden;
}

.tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cta-tile:hover .tile-media img {
  transform: scale(1.05);
}

.tile-body {
  padding: 32px;
  text-align: center;
}

.tile-body h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 20px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 50px;
  border: 2px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: left 0.3s ease;
  z-index: -1;
}

.btn-outline:hover {
  color: var(--surface);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 43, 217, 0.3);
}

.btn-outline:hover::before {
  left: 0;
}

.btn-outline::after {
  content: '→';
  transition: transform 0.2s ease;
}

.btn-outline:hover::after {
  transform: translateX(4px);
}

/* Responsive Design */
/* Ensure carousel track doesn't overflow */
.res-section .carousel .c-viewport {
  overflow: hidden !important;
  width: 100%;
}

.res-section .carousel .c-track {
  overflow: visible !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.res-section .carousel .c-track::-webkit-scrollbar {
  display: none;
}

@media (max-width: 1199px) {
  .c-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }
  
  .carousel {
    padding: 0 50px;
  }
  
  .c-btn.prev { left: 0; }
  .c-btn.next { right: 0; }
}

@media (max-width: 991px) {
  .res-hero {
    padding: 100px 0;
  }
}

@media (max-width: 767px) {
  .res-hero {
    padding: 80px 0;
  }
  
  .res-section {
    padding: 25px 0;
  }
  
  .c-card {
    flex: 0 0 100%;
  }
  
  .carousel {
    padding: 0 50px;
  }
  
  .c-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .c-btn.prev { left: 0; }
  .c-btn.next { right: 0; }
  
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .c-body {
    padding: 16px 20px;
  }
  
  .tile-body {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .res-hero h1 {
    font-size: 28px;
  }
  
  .res-hero p {
    font-size: 16px;
  }
  
  .c-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  
  .c-btn.prev { left: 4px; }
  .c-btn.next { right: 4px; }
}

/* ===== KEYFRAME ANIMATIONS ===== */

@keyframes float {
  0%, 100% { 
    transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    opacity: 0.6;
  }
  25% { 
    transform: translateY(-30px) translateX(10px) rotate(90deg) scale(1.2);
    opacity: 1;
  }
  50% { 
    transform: translateY(-20px) translateX(-15px) rotate(180deg) scale(0.8);
    opacity: 0.8;
  }
  75% { 
    transform: translateY(-40px) translateX(5px) rotate(270deg) scale(1.1);
    opacity: 0.9;
  }
}

@keyframes pulse {
  0%, 100% { 
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
  }
  50% { 
    box-shadow: 0 0 20px rgba(255,255,255,0.8), 0 0 30px rgba(255,255,255,0.3);
  }
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); }
  20% { transform: translate(-15%, 5%); }
  30% { transform: translate(6%, -25%); }
  40% { transform: translate(-5%, 25%); }
  50% { transform: translate(-15%, 10%); }
  60% { transform: translate(15%, 0%); }
  70% { transform: translate(0%, 15%); }
  80% { transform: translate(3%, 35%); }
  90% { transform: translate(-10%, 10%); }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes titleFadeIn {
  0% { 
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  100% { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes scan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes titleGlow {
  0% { 
    text-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 0 10px rgba(255,255,255,0.1);
  }
  100% { 
    text-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 0 20px rgba(255,255,255,0.2), 0 0 30px rgba(255,255,255,0.1);
  }
}

@keyframes lineExpand {
  0% { 
    width: 0;
    opacity: 0;
  }
  100% { 
    width: 80px;
    opacity: 1;
  }
}