body {
margin: 0;
background: black;
color: #00ff66;
font-family: "Courier New", monospace;
overflow-x: hidden;
}

canvas {
position: fixed;
top: 0;
left: 0;
z-index: -1;
}

.container {
width: calc(100% - 20px);
margin: 10px auto;
padding: 10px;
box-sizing: border-box;
}

header {
text-align: center;
border: 2px solid #00ff66;
padding: 25px;
background: rgba(0, 0, 0, 0.85);
box-shadow: 0 0 20px #00ff66;
}

h1 {
font-size: 52px;
margin: 0;
letter-spacing: 4px;
text-shadow: 0 0 15px #00ff66;
}

h2 {
border-bottom: 2px solid #00ff66;
padding-bottom: 10px;
text-shadow: 0 0 12px #00ff66;
}

.subtitle {
margin-top: 10px;
color: #baffd0;
}

nav {
margin-top: 25px;
text-align: center;
}

nav a {
color: #00ff66;
text-decoration: none;
margin: 0 18px;
font-weight: bold;
text-shadow: 0 0 10px #00ff66;
}

nav a:hover {
color: white;
}

main.grid {
display: grid;
grid-template-columns: 1fr 2fr 1fr;
gap: 20px;
margin-top: 20px;
}

main {
margin-top: 20px;
}

.box {
border: 2px solid #00ff66;
background: rgba(0, 0, 0, 0.82);
padding: 20px;
box-shadow: 0 0 18px #00ff66;
}

.boot {
color: #baffd0;
line-height: 1.6;
}

.status {
color: white;
text-shadow: 0 0 12px #00ff66;
}

.profile-pic {
text-align: center;
}

.profile-pic img {
width: 100%;
max-width: 320px;
height: auto;
border: 2px solid #00ff66;
box-shadow: 0 0 20px #00ff66;
}

.counter {
display: flex;
justify-content: center;
gap: 4px;
margin-top: 10px;
}

.counter span {
background: black;
color: #00ff66;
border: 1px solid #00ff66;
padding: 6px 8px;
font-weight: bold;
box-shadow: 0 0 8px #00ff66;
}

footer {
text-align: center;
margin-top: 30px;
padding: 20px;
color: #77ffaa;
}

/* BOOT SCREEN */

#boot-screen {
position: fixed;
inset: 0;
background: #000;
color: #00ff66;
z-index: 9999;
display: flex;
justify-content: center;
align-items: center;
font-family: "Courier New", monospace;
}

.boot-box {
width: 520px;
max-width: 90%;
padding: 30px;
border: 2px solid #00ff66;
background: rgba(0, 0, 0, 0.95);
box-shadow: 0 0 25px #00ff66;
}

.boot-box p {
margin: 10px 0;
}

.boot-line {
opacity: 0;
transition: opacity 0.6s ease;
}

.boot-line.show {
opacity: 1;
}

.access {
margin-top: 20px;
font-size: 24px;
text-align: center;
color: white;
text-shadow: 0 0 15px #00ff66;
}

.launch-line {
text-align: center;
color: #baffd0;
}

#enter-btn {
background: black;
color: #00ff66;
border: 2px solid #00ff66;
padding: 18px 32px;
font-family: "Courier New", monospace;
font-weight: bold;
font-size: 18px;
cursor: pointer;
box-shadow: 0 0 20px #00ff66;
}

#enter-btn:hover {
background: #00ff66;
color: black;
}

.progress-bar {
display: none;
width: 100%;
height: 18px;
border: 2px solid #00ff66;
margin-top: 20px;
overflow: hidden;
}

#progress-fill {
width: 0;
height: 100%;
background: #00ff66;
transition: width 5s linear;
}

.fade-out {
opacity: 0;
transition: opacity 1s ease;
pointer-events: none;
}

#crt-flash {
position: fixed;
inset: 0;
background: white;
opacity: 0;
pointer-events: none;
z-index: 10000;
}

#crt-flash.flash {
animation: softFlash 0.6s ease;
}

@keyframes softFlash {
0% { opacity: 0; }
35% { opacity: 0.35; }
100% { opacity: 0; }
}

/* FORMS / ADMIN / GUESTBOOK / BLOG */

.guestbook-box {
margin-top: 20px;
}

.guestbook-form {
display: flex;
flex-direction: column;
gap: 12px;
}

.guestbook-form label {
color: #baffd0;
font-weight: bold;
}

.guestbook-form input,
.guestbook-form textarea,
#adminChoice {
background: #000;
color: #00ff66;
border: 1px solid #00ff66;
padding: 10px;
font-family: "Courier New", monospace;
box-shadow: 0 0 10px rgba(0,255,102,.4);
}

.guestbook-form textarea {
min-height: 160px;
resize: vertical;
}

button,
.guestbook-form button {
background: #000;
color: #00ff66;
border: 2px solid #00ff66;
padding: 12px 22px;
font-family: "Courier New", monospace;
font-weight: bold;
cursor: pointer;
box-shadow: 0 0 15px #00ff66;
}

button:hover,
.guestbook-form button:hover {
background: #00ff66;
color: #000;
}

.hidden-field {
display: none;
}

.success-message {
color: white;
text-shadow: 0 0 12px #00ff66;
font-weight: bold;
}

.transmission {
border: 1px solid #00ff66;
padding: 15px;
margin-top: 18px;
background: rgba(0,0,0,.75);
box-shadow: 0 0 14px rgba(0,255,102,.5);
}

.transmission h3 {
margin-top: 0;
color: white;
text-shadow: 0 0 12px #00ff66;
}

.transmission-message {
color: #baffd0;
line-height: 1.5;
}

.transmission-date {
font-size: 13px;
color: #77ffaa;
}

.terminal-link {
color: #00ff66;
font-weight: bold;
text-decoration: none;
}

.terminal-link:hover {
color: white;
}

/* PHOTO GALLERY */

.gallery {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 240px));
gap: 25px;
justify-content: center;
align-items: start;
margin-top: 25px;
}

.photo-card {
width: 220px;
max-width: 220px;
background: #050505;
border: 2px solid #00ff66;
padding: 12px;
text-align: center;
box-shadow: 0 0 15px rgba(0,255,100,.35);
overflow: hidden;
}

.photo-card img {
width: 180px !important;
height: 180px !important;
max-width: 180px !important;
max-height: 180px !important;
object-fit: cover !important;
border: 2px solid #00ff66;
display: block !important;
margin: 0 auto 12px auto !important;
}

.photo-card h3 {
margin: 8px 0;
font-size: 14px;
}

.photo-card p {
margin: 4px 0;
font-size: 13px;
color: #baffd0;
}

/* MOBILE */

@media (max-width: 850px) {
main.grid {
grid-template-columns: 1fr;
}

h1 {
font-size: 36px;
}

nav a {
display: inline-block;
margin: 8px 10px;
}

.profile-pic img {
max-width: 90%;
}
}
