/* set up */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
  font-family: 'CP437';
  src: url('./Perfect DOS VGA 437.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
body {
    background-image: url("./bgimg.jpg");
    font-family: 'CP437', monospace;
    color: #00ff00;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    overflow: hidden;
    position: relative;
    padding: 20px;
    -webkit-font-smoothing: none;
    font-smooth: never;
    text-rendering: optimizeSpeed;
}

/* screen effects */
html {
    perspective: 1500px;
}

body {
    border-radius: 50%;
    box-shadow: 
        inset 0 0 80px rgba(0, 0, 0, 0.8),
        inset 0 0 30px rgba(0, 255, 0, 0.1);
}

/* Fisheye vignette overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    pointer-events: none;
    z-index: 9997;
}

/* scanline effect */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 255, 0, 0.03),
        rgba(0, 255, 0, 0.03) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 9999;
}

/* Additional distortion */
html::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 0;
    width: 100%;
    height: 50%;
    background: radial-gradient(
        ellipse at 50% -50%,
        transparent 0%,
        rgba(0, 0, 0, 0.1) 30%,
        rgba(0, 0, 0, 0.4) 100%
    );
    pointer-events: none;
    z-index: 9998;
    border-radius: 100% 100% 0 0 / 50% 50% 0 0;
}

.flicker-section {
    position: fixed;
    pointer-events: none;
    z-index: 8000;
    background: rgba(0, 255, 0, 0.02);
    border: none;
}

/* Base positioning for sections */
.flicker-top-left {
    top: 20px;
    left: 20px;
    width: 25%;
    height: 20%;
}

.flicker-top-right {
    top: 20px;
    right: 20px;
    width: 25%;
    height: 20%;
}

.flicker-middle-left {
    top: 40%;
    left: 20px;
    width: 15%;
    height: 30%;
}

.flicker-middle-right {
    top: 40%;
    right: 20px;
    width: 15%;
    height: 30%;
}

.flicker-bottom-left {
    bottom: 20px;
    left: 20px;
    width: 20%;
    height: 15%;
}

.flicker-bottom-right {
    bottom: 20px;
    right: 20px;
    width: 20%;
    height: 15%;
}

/* ========================================
   TEXT AND FORM STYLING 
   ======================================== */

h1 {
    text-align: left;
    color: #00ff00;
    margin-bottom: 20px;
    font-size: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00;
}

p {
    text-align: left;
    color: #00ff00;
    margin-bottom: 20px;
    font-size: 20px;
    text-shadow: 0 0 5px #00ff00;
}

label {
    display: block;
    margin: 15px 0 5px 0;
    color: #00ff00;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 18px;
    text-shadow: 0 0 5px #00ff00;
}

input[type="text"],
input[type="password"] {
    width: 300%;
    padding: 10px;
    margin-bottom: 15px;
    background-color: #000;
    color: #00ff00;
    border: 2px solid #00ff00;
    font-family: 'CP437', monospace;
    font-size: 20px;
    transition: all 0.2s;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
    text-shadow: 0 0 5px #00ff00;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder {
    color: #00ff00;
    opacity: 0.6;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #00ff00;
    box-shadow: 0 0 25px rgba(0, 255, 0, 1), inset 0 0 15px rgba(0, 255, 0, 0.3), 0 0 15px rgba(0, 255, 0, 0.8);
    text-shadow: 0 0 15px #00ff00, 0 0 25px #00ff00;
}

button {
    width: 20%;
    padding: 12px;
    background-color: #000;
    color: #00ff00;
    border: 2px solid #00ff00;
    font-family: 'CP437', monospace;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
    text-shadow: 0 0 5px #00ff00;
}

button:hover {
    background-color: #00ff00;
    color: #000;
    box-shadow: 0 0 30px rgba(0, 255, 0, 1), 0 0 20px rgba(0, 255, 0, 0.9);
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

button:active {
    box-shadow: 0 0 15px rgba(0, 255, 0, 1), inset 0 0 15px rgba(0, 255, 0, 0.6);
}

a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #000;
    color: #00ff00;
    text-decoration: none;
    border: 2px solid #00ff00;
    font-family: 'CP437', monospace;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5), 0 0 20px rgba(0, 255, 0, 0.3);
    text-shadow: 0 0 10px #00ff00;
}

a:hover {
    background-color: #00ff00;
    color: #000;
    box-shadow: 0 0 30px rgba(0, 255, 0, 1), 0 0 20px rgba(0, 255, 0, 0.9);
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

.prompts {
    text-align: left;
    color: #00ff00;
    font-family: 'CP437', monospace;
    font-size: 18px;
    text-shadow: 0 0 10px #00ff00;
}
input[type="password"] {
    font-family: Courier-New; 
    letter-spacing: 5px; 
}
/* 
    LITTLE THINGS
    YOUR TIME RUNS THIN
    WHAT MADE YOU THINK
    FATE IS YOURS 
    TO WEAVE
    LET WORLDS
    BE TORN ASUNDER
    LOOK DOWN
    DONT YOU SEE
    HOW GOOD
    IT IS? 
    ||||
*/
