.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/PRZ231.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}
/* Discord link positioned with rem */
.discord-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(50%, 0%);
    color: white;
    font-size: clamp(1rem, 3vw, 2.5rem);
    text-decoration: none;
    font-family: 'Luckiest Guy', cursive;
}

.discord-link:hover {
    text-decoration: underline;
}

.howto-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(40%, 180%);
    color: white;
    font-size: clamp(1rem, 3vw, 2.5rem);
    text-decoration: none;
    font-family: 'Luckiest Guy', cursive;
}

.howto-link:hover {
    text-decoration: underline;
}

.howto-link1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(35%, -180%);
    color: white;
    font-size: clamp(1rem, 3vw, 2.5rem);
    text-decoration: none;
    font-family: 'Luckiest Guy', cursive;
}

.howto-link1:hover {
    text-decoration: underline;
}

.chan {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(55%, -360%);
    color: white;
    font-size: clamp(1rem, 3vw, 2.5rem);
    text-decoration: none;
    font-family: 'Luckiest Guy', cursive;
}

.chan:hover {
    text-decoration: underline;
}

/* Link styling */
.review-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(35%, -180%);
    color: white;
    font-size: clamp(1rem, 3vw, 2.5rem);
    text-decoration: none;
    font-family: 'Luckiest Guy', cursive;
}

.review-link:hover {
    text-decoration: underline;
}

/* Modal Styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 300px;
    position: relative;
    font-family: 'Luckiest Guy', cursive;
}
.modal-content input[type="text"] {
    width: 100%;
    height: 40px; /* Small Discord Name input */
    margin-top: 10px;
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.2rem;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.modal-content textarea {
    width: 100%;
    height: 100px; /* Large review text area */
    margin-top: 10px;
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.2rem;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.modal-content button {
    margin-top: 10px;
    padding: 10px 20px;
    font-family: 'Luckiest Guy', cursive;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}
.star-rating {
    display: flex;
    justify-content: center;
    font-size: 2rem;
    margin: 10px 0;
    cursor: pointer;
}

.star-rating span {
    color: #ccc;
    transition: color 0.2s;
}

.star-rating span.active {
    color: gold;
}

#reviewCharCount {
    text-align: right;
    font-size: 0.8rem;
    color: #555;
    margin-top: 5px;
}