/**
 * Kodak Film Border - Dark Green Chemical Stains + Enhanced Layout
 */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

/* Film strip container - LEFT */
.film-strip-left {
  position: fixed;
  left: 0;
  top: 0;
  width: calc((100vw - 390px) / 2);
  height: 100vh;
  background:
    radial-gradient(ellipse 140% 40% at 85% 10%, rgba(22,52,30,0.95), transparent),
    radial-gradient(ellipse 100% 55% at 65% 48%, rgba(18,45,25,0.8), transparent),
    radial-gradient(ellipse 120% 45% at 75% 88%, rgba(20,48,28,0.9), transparent),
    radial-gradient(ellipse 60% 30% at 40% 30%, rgba(12,32,18,0.7), transparent),
    radial-gradient(ellipse 50% 40% at 90% 70%, rgba(25,55,32,0.6), transparent),
    linear-gradient(90deg, #0a0e0b 0%, #0d120f 60%, #0b0f0c 100%);
  z-index: 1000;
  pointer-events: none;
  overflow: hidden;
}

/* Film strip container - RIGHT */
.film-strip-right {
  position: fixed;
  right: 0;
  top: 0;
  width: calc((100vw - 390px) / 2);
  height: 100vh;
  background:
    radial-gradient(ellipse 130% 45% at 15% 12%, rgba(20,50,28,0.9), transparent),
    radial-gradient(ellipse 90% 50% at 35% 52%, rgba(16,42,24,0.75), transparent),
    radial-gradient(ellipse 110% 40% at 25% 85%, rgba(22,52,30,0.85), transparent),
    radial-gradient(ellipse 55% 35% at 60% 25%, rgba(14,38,22,0.65), transparent),
    radial-gradient(ellipse 45% 45% at 10% 65%, rgba(24,54,32,0.55), transparent),
    linear-gradient(90deg, #0b0f0c 0%, #0d120f 40%, #0a0e0b 100%);
  z-index: 1000;
  pointer-events: none;
  overflow: hidden;
}

/* Sprocket holes - LEFT */
.film-strip-left::before {
  content: '';
  position: absolute;
  right: 8px;
  top: 0;
  width: 14px;
  height: 100%;
  background: repeating-linear-gradient(
    180deg,
    transparent 0px,
    transparent 22px,
    #151515 22px,
    #151515 38px,
    transparent 38px,
    transparent 60px
  );
  border-radius: 2px;
}

/* Sprocket holes - RIGHT */
.film-strip-right::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  width: 14px;
  height: 100%;
  background: repeating-linear-gradient(
    180deg,
    transparent 0px,
    transparent 22px,
    #151515 22px,
    #151515 38px,
    transparent 38px,
    transparent 60px
  );
  border-radius: 2px;
}

/* ====== FILM TEXT ELEMENTS ====== */

/* Left film - main edge code (center) */
.film-strip-left::after {
  content: 'KODAK  5053  TMY  400';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center center;
  white-space: nowrap;
  font-family: 'Courier New', monospace;
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 3px;
  color: rgba(180,120,50,0.3);
}

/* Right film - frame numbers (center) */
.film-strip-right::after {
  content: '◀ 18  19  20  21  22  23 ▶';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center center;
  white-space: nowrap;
  font-family: 'Courier New', monospace;
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 4px;
  color: rgba(180,120,50,0.3);
}

/* Additional film text elements */
.film-text {
  position: absolute;
  font-family: 'Courier New', monospace;
  font-size: 8px;
  font-weight: bold;
  letter-spacing: 2px;
  color: rgba(180,120,50,0.25);
  white-space: nowrap;
  pointer-events: none;
}

/* Left strip texts */
.film-strip-left .film-text.top {
  top: 8%;
  left: 15px;
  writing-mode: vertical-rl;
}

.film-strip-left .film-text.bottom {
  bottom: 8%;
  left: 15px;
  writing-mode: vertical-rl;
}

/* Right strip texts */
.film-strip-right .film-text.top {
  top: 8%;
  right: 15px;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}

.film-strip-right .film-text.bottom {
  bottom: 8%;
  right: 15px;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}

/* ====== NOTICE LAYOUT - SINGLE LINE ====== */

/* 왼쪽: 컨텐츠 바로 옆 */
.notice-left {
  position: fixed;
  left: calc((100vw - 390px) / 2 - 140px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
  pointer-events: none;
  
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

/* 오른쪽: 화면 오른쪽 끝 */
.notice-right {
  position: fixed;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
  pointer-events: none;
  
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 12px;
}

/* 각 언어 - 세로 한 줄 */
.notice-line {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  white-space: nowrap;
  color: #F5C518;
  text-shadow: 
    0 0 8px rgba(245,197,24,0.4),
    0 0 15px rgba(245,197,24,0.2);
}

/* Hide on mobile */
@media (max-width: 500px) {
  .film-strip-left,
  .film-strip-right,
  .notice-left,
  .notice-right {
    display: none;
  }
}

/* Adjust for narrower desktop */
@media (max-width: 900px) and (min-width: 501px) {
  .notice-left {
    left: 15px;
    gap: 8px;
  }
  .notice-right {
    right: 15px;
    gap: 8px;
  }
  .notice-line {
    font-size: 9px;
  }
}
