/*
 * This file is part of the UX SDC Bundle
 *
 * (c) Jozef Môstka <https://github.com/tito10047/ux-sdc>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

@layer components {
  .result {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    background: #000;
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
    min-height: 200px;
    position: relative;
    overflow: hidden;

    & .result__burn-in {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      pointer-events: none;
      opacity: 0.03; /* Veľmi slabý efekt */
      z-index: 1;
      transform: rotate(-5deg) scale(1.2);
      filter: blur(2px);

      & .result__burn-in-text {
        font-family: var(--font-retro);
        font-size: 4rem;
        text-transform: uppercase;
        color: var(--color-phosphor);
      }
    }

    & .result__perforation {
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      align-items: center;
      padding-block: var(--space-s);

      & .result__perforation-hole {
        width: 12px;
        height: 18px;
        background: #111;
        border-radius: 2px;
        box-shadow: inset 1px 1px 2px rgba(0,0,0,1);
      }
    }

    & .result__frame-content {
      border-inline: 1px solid #222;
      padding: var(--space-m);
      display: flex;
      flex-direction: column;
      gap: var(--space-s);
      position: relative;
      z-index: 2;
    }

    & .result__frame-code {
      font-size: 12px;
      opacity: 0.7;
      border-bottom: 1px dashed var(--color-phosphor);
      /* Ink bleed effect */
      text-shadow: 0 0 1px var(--color-phosphor), 0 0 2px var(--color-phosphor-glow);
    }

    & .result__frame-text {
      font-size: var(--size-step-1);
      line-height: 1.4;
      /* Ink bleed effect - mierne rozpité okraje */
      text-shadow: 0 0 1px currentColor, 0.5px 0.5px 2px rgba(255, 255, 255, 0.2);
      letter-spacing: 0.5px;
    }
  }
}
