body {
    background-color: #000000;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent),
        radial-gradient(2px 2px at 15% 90%, white, transparent);
    background-size: 200% 200%;
    background-position: 0% 0%, 40% 40%, 130% 130%, 70% 70%, 100% 100%, 150% 150%, 180% 180%;
    font-family: "Comic Sans MS", "Comic Sans", cursive;
    color: #FFFF00;
    margin: 0;
    padding: 0;
}

h1 {
    text-align: center;
    font-size: 48px;
    color: #FF6600;
    letter-spacing: 2px;
    margin: 20px 0;
    text-shadow: 3px 3px 0px #000000, -1px -1px 0px #FFFF00;
    text-transform: uppercase;
    font-weight: bold;
}

h2 {
    font-size: 28px;
    color: #FF6600;
    text-shadow: 2px 2px 0px #000000;
    text-transform: uppercase;
    font-weight: bold;
}

h3 {
    font-size: 20px;
    color: #00CCFF;
    text-shadow: 1px 1px 0px #000000;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #0000AA;
    border: 5px solid #FF6600;
}

nav {
    background-color: #FF6600;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    border-bottom: 5px solid #000000;
}

nav a {
    display: inline-block;
    padding: 15px 25px;
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    border-right: 3px solid #000000;
    transition: all 0.1s;
    text-transform: uppercase;
    background-color: #FF6600;
}

nav a:last-child {
    border-right: none;
}

nav a:hover {
    background-color: #FFFF00;
    color: #FF6600;
}

.header-bar {
    background-color: #FFFF00;
    border-bottom: 3px solid #000000;
    padding: 15px;
    text-align: center;
    font-size: 16px;
    color: #000000;
    font-weight: bold;
    text-transform: uppercase;
}

.content {
    padding: 25px;
    background-color: #0000AA;
}

.section {
    background-color: #6633FF;
    border: 5px solid #00CCFF;
    padding: 20px;
    margin: 20px 0;
}

.section h2 {
    color: #FFFF00;
    border-bottom: 5px solid #FF6600;
    padding-bottom: 10px;
    margin-top: 0;
}

.buddy-list-item {
    background-color: #0000AA;
    border: 3px solid #00CCFF;
    padding: 15px;
    margin: 15px 0;
    border-left: 8px solid #FF6600;
}

.buddy-list-item h3 {
    color: #00CCFF;
    margin-top: 0;
    font-size: 20px;
    text-transform: uppercase;
}

.buddy-list-item p {
    margin: 10px 0;
    line-height: 1.8;
    color: #FFFFFF;
}

.buddy-list-item ul {
    color: #FFFFFF;
}

button {
    background-color: #FF6600;
    color: #000000;
    border: 4px solid #FFFF00;
    padding: 12px 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    font-family: "Comic Sans MS", "Comic Sans", cursive;
    text-transform: uppercase;
    transition: all 0.1s;
}

button:hover {
    background-color: #FFFF00;
    color: #FF6600;
    border-color: #FF6600;
}

button:active {
    transform: scale(0.95);
}

.quiz {
    background-color: #FF6600;
    padding: 20px;
    border: 5px solid #FFFF00;
}

.quiz h2 {
    color: #000000;
    border-bottom: 5px solid #0000AA;
}

.quiz-question {
    margin: 15px 0;
    font-size: 16px;
    color: #000000;
    font-weight: bold;
}

.quiz-question label {
    display: block;
    padding: 8px;
    cursor: pointer;
    color: #000000;
}

.quiz-question label:hover {
    background-color: #FFFF00;
}

.quiz-result {
    margin-top: 20px;
    padding: 20px;
    background-color: #FFFF00;
    border: 5px solid #000000;
    font-size: 18px;
    color: #000000;
}

.quiz-result h3 {
    color: #FF6600;
    margin-top: 0;
    text-shadow: none;
}

.hidden {
    display: none;
}

a {
    color: #00CCFF;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.2s;
}

a:visited {
    color: #FFFF00;
}

a:hover {
    color: #FF6600;
}

ul {
    line-height: 2;
}

.guestbook-entry {
    background-color: #0000AA;
    padding: 15px;
    margin: 10px 0;
    border: 3px solid #00CCFF;
    border-left: 8px solid #FFFF00;
    color: #FFFFFF;
}

.guestbook-entry strong {
    color: #00CCFF;
    font-size: 18px;
}

.guestbook-form {
    background-color: #6633FF;
    padding: 20px;
    border: 5px solid #00CCFF;
    margin-bottom: 20px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 3px solid #000000;
    background-color: #FFFF00;
    color: #000000;
    font-family: "Comic Sans MS", "Comic Sans", cursive;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: bold;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #FF6600;
    background-color: #FFFFFF;
}

.status-online {
    color: #00FF00;
    font-weight: bold;
    text-shadow: 0 0 5px #00FF00;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.counter {
    text-align: center;
    background-color: #000000;
    color: #00FF00;
    padding: 20px;
    font-family: "Courier New", monospace;
    border: 5px solid #00FF00;
    display: inline-block;
    margin: 20px 0;
    font-size: 16px;
    box-shadow: 0 0 20px #00FF00;
}

.skills-badge {
    display: inline-block;
    background-color: #FF6600;
    border: 3px solid #000000;
    padding: 8px 16px;
    margin: 5px;
    font-size: 14px;
    color: #000000;
    font-weight: bold;
    text-transform: uppercase;
}

.footer {
    background-color: #FF6600;
    border-top: 5px solid #000000;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    color: #000000;
    font-weight: bold;
    text-transform: uppercase;
}

.footer a {
    color: #000000;
    text-decoration: underline;
}

.footer a:hover {
    color: #FFFF00;
}

/* Star decorations */
.section::before {
    content: "★";
    color: #FFFF00;
    font-size: 28px;
    margin-right: 10px;
}

/* Additional starfield effect */
@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

p, li {
    color: #FFFFFF;
}

strong {
    color: #FFFF00;
}

/* Fun animation for header */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

h1:hover {
    animation: bounce 0.5s;
}