@font-face {
    font-family: "coolfont"; 
    src: url("https://roguepebble.neocities.org/Graphics/VCR_OSD_MONO_1.001.ttf") format("truetype");
}
html {
    min-height: 100%;
   cursor: url(https://roguepebble.neocities.org/Graphics/FRIEND!.gif) 16 16, auto !important; 
}
body {
    min-height: 100vh;
    margin: 0;
    font-family: "coolfont", monospace;
          }
          
          .fixed-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("https://roguepebble.neocities.org/My%20Graphics/bar-bg.jpg") no-repeat center center;
    background-size: cover;
    z-index: -10; 
    pointer-events: none;
}

button, .opt-btn, .btn, .chat-box, .dialogue-box, .dialogue-header, .panel-tab {
    font-family: "coolfont", monospace !important;
}

  .inactive { display: none; }

        .transition-box {
   pointer-events: none;
   position: fixed;
   left: 0;
   width: 100%;
   height: 50vh;
   background-color: black;
   z-index: 500;
   transform: scaleY(1);
}

        .start-animation {
   animation: open 3s ease 1 forwards;
}

        @keyframes open {
   0% { transform: scaleY(1); }
   100% { transform: scaleY(0); }
}

        @keyframes close {
   0% { transform: scaleY(0); }
   100% { transform: scaleY(1); }
}


  @keyframes neonPulse {
    0% {
        border-color: #ff0000;
        box-shadow: 0 0 5px #ff0000;
    }
    50% {
        border-color: #ff5555; 
        box-shadow: 0 0 20px #ff0000, 0 0 40px #ff0000; 
    }
    100% {
        border-color: #ff0000;
        box-shadow: 0 0 5px #ff0000;
    }
}
        
        .me-gif {
    position: fixed;
    bottom: 0;
    left: 40%;
    transform: translateX(calc(-50%));
    max-height: 98vh;
    width: clamp(300px, 125vw, 800px);
    object-fit:contain;
    z-index: 10;
    height: auto;
      user-select: none;         
    -webkit-user-select: none; 
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;    
    pointer-events: none;   
}

        .popup-window {
    position: fixed;
    width: 280px;
    background: #000; 
    border: 2px solid #ff0000; 
    z-index: 10000;
    display: none; 
    animation: neonPulse 3s infinite ease-in-out;
}

        .popup-header {
    background: #ff0000; 
    color: #000; 
    padding: 4px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    user-select: none; 
    -webkit-user-select: none;
}

        .popup-close {
    background: #000;
    border: 1px solid #ff0000;
    width: 18px;
    height: 18px;
    text-align: center;
    line-height: 14px;
    color: #ff0000;
    cursor: pointer;
    font-weight: bold;
}

        .popup-close:hover {
    background: #ff0000;
    color: #000;
}

        .popup-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #ff0000; 
    text-shadow: 0 0 5px #ff0000;
    user-select: none;
    -webkit-user-select: none;
}

        .wanted-text, .mugshot-gif {
    width: 100%;
    max-width: 220px;
    height: auto;
    border: 1px solid #ff0000;
    margin-bottom: 12px;
}

        .criminal-desc {
    font-size: 11px;
    line-height: 1.4;
    border-top: 1px dashed #ff0000;
    padding-top: 10px;
    width: 100%;
    text-transform: uppercase;
}

#enter-screen {
    transition: opacity 1.2s ease; 
    opacity: 1;
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: url('https://roguepebble.neocities.org/My%20Graphics/alleyway.jpg') no-repeat center center; 
    background-size: cover; 
    z-index: 9999; 
    display: flex; 
    flex-direction: column;
    justify-content: center; 
    align-items: center;
}

        .modal-box {
    background: rgba(0, 0, 0, 0.8); 
    padding: 30px;
    border: 3px double #ff0000;
    text-align: center; 
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.4);
    margin-bottom: 20px;
}

        .modal-box h2 {
    color: white; 
    margin: 0;
    letter-spacing: 4px; 
    text-shadow: 
        0 0 5px #ff0000,
        0 0 10px #ff0000,
        0 0 40px #ff0000;
}

        .button-container {
    display: flex; 
    gap: 40px; 
    justify-content: space-between;
    margin-bottom: 15px;
}

        .btn {
    padding: 15px 44px; 
    cursor: pointer; 
    font-family: inherit;
    font-size: 20px;
    transition: transform 0.2s;
    border: none;
}

#enter-button {
    background: #ff0000; 
    color: #000;
    margin-left: 0;
}

        .btn-no {
    background: rgba(0, 0, 0, 0.8);
    color: #ff0000; 
    border: 2px solid #ff0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
    margin-right: 0;
}

        .btn:hover {
    box-shadow: 0 0 25px #ff0000;
}

        .hint-text {
    color: #ffffff;
    font-family: inherit; 
    font-size: 15px; 
    margin-top: 15px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    text-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000, 0 0 15px #ff0000; 
    opacity: 0.9; 
    pointer-events: none;
    text-align: center; 
}

        .fade-out {
    opacity: 0 !important;
    pointer-events: none;
}

        .chat-container {
    position: fixed;
    bottom: 50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    pointer-events: none;
    z-index:400;
}

        .chat-wrapper {
    width: 80%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    pointer-events: none;
}

        .chat-name {
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px; 
    text-shadow:
        0 0 5px #ff0000,
        0 0 20px #ff0000;
    pointer-events: auto; 
}

        .chat-box {
     width: calc(100% - 46px); 
    background: rgba(0, 0, 0, 0.7); 
    color: white;
    padding: 20px;
    border-radius: 8px;
    border: 3px double #ff0000;
    height: 80px; 
    box-shadow:
    0 0 3px #ff0000;
    overflow-y: auto; 
    font-size: 20px;
    pointer-events: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

        .dialogue-box {
    display: none; 
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(240px, 25vw, 450px);
    background: rgba(0, 0, 0, 0.9);
    border: 3px double #ff0000;
    border-right: none;
    padding: 15px;
    z-index: 450; 
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
    max-height: 85vh;
    font-family: inherit; 
}

        .dialogue-box.active { display: block; }

        .dialogue-header {
    font-size: 10px;
    color: #ff0000;
    margin-bottom: 15px;
    letter-spacing: 2px;
    border-bottom: 1px dashed #ff0000;
    padding-bottom: 5px;
}

        .panel-tab {
    position: absolute;
    left: -35px;
    top: 20px;
    background: #ff0000;
    color: #000;
    padding: 12px 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 10px;
    writing-mode: vertical-rl;
    text-transform: uppercase;
    border: 3px double #ff0000;
}

        .opt-btn {
    display: block;
    width: 100%;
    background: transparent;
    border: 1px solid #ff0000;
    color: white;
    margin-bottom: 10px;
    padding: clamp(10px, 1.2vh, 18px);
    font-size: clamp(13px, 1vw, 16px);
    cursor: pointer;
    text-align: left;
    transition: 0.2s;
}

        .opt-btn:hover {
    background: #ff0000;
    color: black;
    box-shadow: 0 0 10px #ff0000;
}

@media only screen and (min-width: 801px) {
    .dialogue-box.closed { 
        transform: translate(100%, -50%); 
    }
}

@media only screen and (max-width: 800px) {
    .hint-text {
        font-size: 12px;
        text-shadow: 0 0 5px #ff0000, 0 0 8px #ff0000; 
    }

    .dialogue-box { 
        transform: translate(100%, -50%); 
    }

    .dialogue-box.open { 
        transform: translate(0, -50%); 
        z-index: 600; 
    }
}