/* Marquee Name Component */
.marquee-name {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 60px 40px 40px;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  overflow: visible;
}

.marquee-name__text {
  font-size: clamp(1.5rem, 8vw, 7rem);
  font-weight: 600;
  margin: 0;
  letter-spacing: clamp(0.1px, 0.2vw, 1.5px);
  font-family: var(--font-display);
  line-height: 1.1;
  color: rgba(255, 255, 255, 1);
  text-shadow: 
    0 0 5px var(--glow-white),
    0 0 10px var(--glow-white),
    0 0 15px var(--glow-white),
    0 0 20px var(--glow-blue),
    0 0 25px var(--glow-blue),
    0 0 30px var(--glow-blue),
    0 0 35px var(--glow-blue),
    3px 3px 0px #000080,
    6px 6px 0px #000060,
    9px 9px 0px #000040,
    12px 12px 0px #000030,
    15px 15px 0px #000020,
    18px 18px 0px #000010;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  text-rendering: geometricPrecision;
  font-variation-settings: "TOTD" 750, "DIST" 333;
  animation: neonPulse 2s ease-in-out infinite alternate;
  overflow: visible;
  text-overflow: ellipsis;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marquee-name__line {
  display: block;
  white-space: nowrap;
  width: 100%;
  text-align: center;
}

/* Blog Menu Component */
.blog-menu {
  margin-top: 60px;
  padding: 40px;
  display: flex;
  justify-content: center;
}

.blog-menu__container {
  position: relative;
  background: var(--primary-blue);
  padding: 30px 40px;
  font-family: var(--font-primary);
  min-width: 500px;
  max-width: 90vw;
  box-shadow: 
    0 0 20px rgba(255, 255, 255, 0.2),
    inset 0 0 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

/* Compact style when script content is active */
.script-content.active ~ .blog-menu .blog-menu__container {
  padding: 20px 30px;
  margin-top: 20px;
}

.script-content.active ~ .blog-menu .blog-menu__container::before {
  content: "More Scenes:";
  display: block;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--medium-gray);
  font-size: 0.9rem;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.blog-menu__entries {
  margin-left: 0;
}


/* Blog Entry Component - Script Format */
.blog-entry {
  display: block;
  padding: 16px 0;
  color: var(--white);
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 8px;
}

.blog-entry:hover,
.blog-entry--selected {
  background: rgba(255, 255, 255, 0.05);
  padding-left: 13px;
}

.blog-entry__title {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--white);
  font-family: var(--font-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  line-height: 1.2;
  position: relative;
}

.blog-entry__title::before {
  content: "SCENE " counter(scene-counter) ". ";
  counter-increment: scene-counter;
  font-weight: normal;
  opacity: 0.7;
  font-size: 0.9em;
}

.blog-entry__location {
  font-size: 0.95rem;
  color: var(--light-gray);
  font-family: var(--font-primary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 2px;
  opacity: 0.8;
}

.blog-entry__date {
  font-size: 0.8rem;
  color: var(--medium-gray);
  font-family: var(--font-primary);
  text-transform: uppercase;
  letter-spacing: 0.2px;
  opacity: 0.6;
}

.blog-entry:hover .blog-entry__title,
.blog-entry--selected .blog-entry__title {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.blog-entry:hover .blog-entry__location,
.blog-entry--selected .blog-entry__location {
  color: var(--white);
  opacity: 0.9;
}

.blog-entry:hover .blog-entry__date,
.blog-entry--selected .blog-entry__date {
  color: var(--light-gray);
  opacity: 0.8;
}

/* Scene counter reset */
.blog-menu__entries {
  counter-reset: scene-counter;
}

/* Script Content Section */
.script-content {
  min-height: 0;
  padding: 0 40px;
  color: var(--white);
  font-family: var(--font-primary);
  transition: all 0.3s ease;
  overflow: hidden;
}

.script-content.active {
  min-height: 60vh;
  padding: 40px;
  margin-bottom: 40px;
}

.script-scene {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.script-scene__heading {
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: var(--white);
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 10px;
}

.script-scene__location {
  text-align: center;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
  color: var(--light-gray);
  font-weight: normal;
}

.script-scene__content {
  margin-top: 40px;
}

.script-action {
  margin: 20px 0;
  font-style: italic;
  color: var(--light-gray);
  line-height: 1.8;
}

.script-character {
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 30px 0 10px 0;
  color: var(--white);
  font-size: 1.1rem;
}

.script-dialogue {
  max-width: 400px;
  margin: 0 auto 20px auto;
  text-align: center;
  line-height: 1.6;
  color: var(--white);
  padding: 0 20px;
}

.script-parenthetical {
  text-align: center;
  font-style: italic;
  color: var(--medium-gray);
  margin: 5px auto;
  max-width: 300px;
  font-size: 0.9rem;
}

.script-transition {
  text-align: right;
  text-transform: uppercase;
  font-weight: bold;
  margin: 30px 0;
  color: var(--medium-gray);
  letter-spacing: 1px;
}

/* Script Navigation */
.script-navigation {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.script-navigation .script-character {
  margin-bottom: 5px;
}

.script-navigation-action {
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.script-navigation-action:hover {
  color: var(--white);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}