body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to bottom, #000033, #000066) url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"%3E%3Ccircle cx="10" cy="10" r="1" fill="%23fff" /%3E%3Ccircle cx="20" cy="30" r="0.5" fill="%23fff" /%3E%3Ccircle cx="50" cy="50" r="1" fill="%23fff" /%3E%3Ccircle cx="80" cy="20" r="0.8" fill="%23fff" /%3E%3C/svg%3E') repeat;  /* Starry background */
    color: #fff;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

header {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

nav a {
    color: #ffd700;  /* Gold for magical feel */
    text-decoration: none;
    padding: 10px;
    transition: color 0.3s;
}

nav a:hover {
    color: #fff;
}

.content {
    max-width: 800px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 20px;
    text-align: center;
}

button, input[type="submit"] {
    background: linear-gradient(#ffd700, #ffaa00);
    border: none;
    color: #000;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s;
}

button:hover {
    transform: scale(1.05);
}

.like-dislike {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.like-dislike button {
    background: none;
    color: #fff;
    font-size: 20px;
}

#ad-placeholder {
    background: #333;
    padding: 10px;
    margin: 20px 0;
    text-align: center;
}

/* Responsive for vertical screens */
@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
    }
    .content {
        max-width: 100%;
        margin: 10px;
    }
}

/* Horizontal adjustments */
@media (min-width: 601px) {
    body {
        flex-direction: row;
        justify-content: center;
    }
    header {
        position: fixed;
        top: 0;
    }
}