/* ram.animisha.dev — Download More RAM satire funnel */
.ram-mantra-ribbon {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 115;
  pointer-events: none;
  opacity: 0.72;
}

.ram-mantra-ribbon--top {
  top: 3.15rem;
  transform: rotate(-1.25deg);
  transform-origin: center top;
}

.ram-mantra-ribbon--bottom {
  bottom: 3.75rem;
  transform: rotate(1deg);
  transform-origin: center bottom;
}

body.radio-bar-collapsed.ram-page .ram-mantra-ribbon--bottom {
  bottom: 2.75rem;
}

.ram-mantra-band {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(120, 20, 20, 0.72), rgba(60, 12, 40, 0.72), rgba(40, 10, 60, 0.72));
  border-top: 1px solid rgba(255, 215, 0, 0.4);
  border-bottom: 1px solid rgba(255, 215, 0, 0.4);
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.12);
  padding: 0.5rem 0;
}

.ram-mantra-scroll {
  display: flex;
  width: max-content;
  animation: ram-mantra-scroll 36s linear infinite;
}

.ram-mantra-ribbon--bottom .ram-mantra-scroll {
  animation-direction: reverse;
  animation-duration: 42s;
}

.ram-mantra-scroll span {
  flex-shrink: 0;
  padding: 0 2.75rem;
  white-space: nowrap;
  color: #ffd700;
  text-shadow: 0 0 14px rgba(255, 215, 0, 0.45);
}

.ram-mantra-en {
  font-family: "Michroma", "Orbitron", sans-serif;
  font-size: clamp(0.82rem, 2.8vw, 1.08rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.ram-mantra-hi {
  font-family: "Amita", "Tiro Devanagari", cursive;
  font-size: clamp(0.82rem, 2.8vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

@keyframes ram-mantra-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

body.ram-page {
  padding-top: 4.75rem;
  padding-bottom: 5.75rem;
}

body.radio-bar-collapsed.ram-page {
  padding-bottom: 4rem;
}

.ram-wrap {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.ram-hero-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.ram-badge {
  display: inline-block;
  margin: 0.5rem 0 0.75rem;
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--magenta);
  border-radius: 999px;
  font-family: "Press Start 2P", monospace;
  font-size: clamp(0.45rem, 1.4vw, 0.55rem);
  color: var(--magenta);
  animation: ram-badge-pulse 2s ease-in-out infinite;
}

@keyframes ram-badge-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(255, 42, 109, 0.4); }
  50% { box-shadow: 0 0 18px rgba(255, 42, 109, 0.7); }
}

.ram-title {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(0.85rem, 3.5vw, 1.15rem);
  line-height: 1.55;
  color: #00f5d4;
  text-shadow: 2px 2px 0 #ff2a6d, 0 0 20px rgba(0, 245, 212, 0.5);
  margin: 0.5rem 0;
}

.ram-sub {
  font-family: "Comic Sans MS", "Caveat", cursive;
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: #ffe566;
  margin-bottom: 1rem;
}

.ram-video {
  position: relative;
  margin: 1.25rem 0 1.75rem;
  border: 3px solid var(--teal);
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 40px rgba(0, 245, 212, 0.25), inset 0 0 30px rgba(157, 78, 221, 0.2);
  aspect-ratio: 9 / 16;
  max-height: min(70vh, 640px);
  margin-left: auto;
  margin-right: auto;
}

.ram-video iframe,
.ram-video video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}

.ram-video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, #1a0a3e, #0d3d5c);
}

.ram-video-placeholder p {
  font-family: "Orbitron", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0.35rem 0;
}

.ram-video-placeholder .big {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.ram-progress {
  margin: 1.5rem 0;
  padding: 1rem;
  border: 2px dashed rgba(255, 229, 102, 0.4);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s;
}

.ram-progress--shake {
  animation: ram-shake 0.45s ease-in-out;
  border-color: rgba(255, 42, 109, 0.65);
}

@keyframes ram-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.ram-progress-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  color: var(--teal);
  margin-bottom: 0.5rem;
  min-height: 2.6em;
}

.ram-progress-bar {
  height: 22px;
  border-radius: 4px;
  background: #1a1040;
  overflow: hidden;
  border: 1px solid var(--border);
}

.ram-progress-fill {
  height: 100%;
  width: 67%;
  background: linear-gradient(90deg, #ff2a6d, #00f5d4, #ffe566);
  animation: ram-progress-stall 3.5s ease-in-out infinite;
  transition: width 0.35s ease;
}

@keyframes ram-progress-stall {
  0%, 100% { width: 67%; }
  50% { width: 71%; }
}

.ram-btn {
  display: block;
  width: 100%;
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  font-family: "Press Start 2P", monospace;
  font-size: clamp(0.55rem, 2vw, 0.68rem);
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  color: #0a0a1a;
  background: linear-gradient(180deg, #00f5d4 0%, #1de9b6 50%, #00c9a7 100%);
  border: 3px solid #ffe566;
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(0, 245, 212, 0.5);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  animation: ram-btn-glow 2.2s ease-in-out infinite;
}

.ram-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 0 36px rgba(255, 229, 102, 0.6);
}

@keyframes ram-btn-glow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.15); }
}

.ram-meme {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.65;
  margin: 1rem 0;
}

.ram-meme strong {
  color: var(--gold-soft);
}

.ram-tiers {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.ram-tier {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(12, 18, 42, 0.85);
  font-size: 0.88rem;
}

.ram-tier h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--magenta);
  margin-bottom: 0.35rem;
}

.ram-fine {
  font-size: 0.68rem;
  color: var(--muted);
  text-align: center;
  margin-top: 1.5rem;
  line-height: 1.5;
}

.ram-funnel-cta {
  margin-top: 2rem;
  padding: 1.25rem;
  border: 2px solid var(--purple);
  border-radius: 10px;
  background: rgba(157, 78, 221, 0.1);
  text-align: center;
}

.ram-funnel-cta h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 0.85rem;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.ram-funnel-cta a {
  color: var(--magenta);
  font-weight: 600;
}

.site-topbar nav a.ram-nav-active {
  color: var(--gold-soft);
}

@media (max-width: 720px) {
  .ram-mantra-ribbon--top { top: 2.85rem; }
  .ram-mantra-ribbon--bottom { bottom: 3.25rem; }
  body.radio-bar-collapsed.ram-page .ram-mantra-ribbon--bottom { bottom: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ram-mantra-scroll,
  .ram-progress-fill,
  .ram-btn,
  .ram-badge,
  .ram-progress--shake {
    animation: none;
  }
}
