body {
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    padding: 0;
    background-color: #000000; /* Pitch black */
    color: #ffffff;
    line-height: 1.6;
}

header {
    background-color: #000000; /* Pitch black */
    color: white;
    padding: 20px 0;
    text-align: center;
    box-shadow: none;
    border-bottom: 2px solid #00ff00; /* Bright neon green divider */
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    color: #00ff00;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #00ffff; /* Cyan links */
    text-decoration: underline; /* Always underlined */
    font-weight: bold;
    transition: color 0.1s;
}

nav ul li a:hover {
    color: #ff00ff; /* Magenta hover */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

section {
    padding: 40px 0;
    border-bottom: 1px dashed #ffffff; /* White dash for stark contrast */
}

section h2 {
    text-align: center;
    color: #00ffff;
    margin-bottom: 30px;
    font-size: 2em;
}

#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    background-color: #000000; /* Pitch black */
    padding: 60px 20px;
    border-radius: 0;
    box-shadow: none; /* Remove shadows */
}

#hero img {
    width: 150px;
    height: 150px;
    border-radius: 0; /* Make square */
    object-fit: cover;
    border: 3px solid #ffffff; /* White border for emphasis, removing green outline */
    margin-bottom: 20px;
}

#hero p {
    font-size: 1.2em;
    max-width: 600px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    text-align: center;
}

.skill-card {
    background: #000000; /* Pitch black */
    color: #ffffff;
    padding: 30px;
    border-radius: 0;
    border: 1px solid #00ff00; /* Neon green outline */
    transition: none; /* Disable smooth transitions for retro look */
}

.skill-card:hover {
    transform: none;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    border-color: #00ffff;
}

.skill-card h3 {
    color: #ff00ff;
    margin-top: 0;
}

#fanart {
    background-color: #000;
    text-align: center;
    padding: 50px;
    border-radius: 0;
}

#fanart .warning {
    color: #ff3333;
    font-weight: bold;
    margin-top: 15px;
    border: 2px solid #ff3333;
    display: inline-block;
    padding: 10px;
    border-radius: 0;
    background-color: #000000; /* Pitch black background for warning box */
}

/* Upload button stylized as a blue underlined text link */
#upload-art-btn {
    padding: 0;
    background-color: transparent;
    color: #0000ff; /* Classic link blue */
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 1.1em;
    margin-top: 20px;
    transition: none;
    text-decoration: underline;
    font-family: 'Courier New', Courier, monospace; /* Use monospace font */
}

#upload-art-btn:hover {
    background-color: transparent;
    color: #ff00ff; /* Visited/hover link color */
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.fanart-item {
    background: #000000; /* Pitch black */
    border: 1px solid #444;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: none;
    position: relative;
}

.fanart-item:hover {
    transform: none;
    border-color: #00ff00;
}

.fanart-item img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1 / 1; 
    object-fit: cover;
}

.fanart-meta {
    padding: 10px;
    text-align: center;
    font-size: 0.9em;
    color: #aaaaaa;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed; 
    z-index: 100; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.99); /* Ensure it is very dark */
    padding-top: 60px;
}

.modal-content {
    background-color: #111111;
    color: #ffffff;
    margin: 5% auto; 
    padding: 30px;
    border: 2px solid #00ffff;
    width: 80%; 
    max-width: 500px;
    border-radius: 0;
    position: relative;
}

.close-btn {
    color: #00ffff;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: #ff00ff;
    text-decoration: none;
    cursor: pointer;
}

#upload-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

#fanart-file-input {
    padding: 10px;
    border: 1px solid #00ffff;
    border-radius: 0;
    background-color: #000000; /* Pitch black input background */
    color: white;
}

/* Submit button retro style (command prompt feel) */
#submit-fanart-btn {
    padding: 10px;
    background-color: #000000;
    color: #00ff00;
    border: 1px solid #00ff00;
    border-radius: 0;
    cursor: pointer;
    font-size: 1em;
    transition: none;
    text-decoration: underline; 
}

#submit-fanart-btn:hover {
    background-color: #003300;
    color: #ffffff;
    border-color: #ffffff;
}

#upload-message {
    padding: 10px;
    border-radius: 0;
    text-align: center;
}

.hidden {
    display: none;
}

.success {
    background-color: #001100;
    color: #00ff00;
    border: 1px solid #00ff00;
}

.error {
    background-color: #110000;
    color: #ff3333;
    border: 1px solid #ff3333;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #000000; /* Pitch black */
    color: #cccccc;
    margin-top: 20px;
    border-top: 2px solid #333333;
}