:root {
    --primary: #d9232e;
    --background: #f9f9f9;
    --card: #ffffff;
    --text: #333;
    --highlight: gold;
    --border: #e0e0e0;
}

body {
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
}

.container {
    max-width: 500px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(4px);
    position: relative;
    z-index: 1;
    transform: translateY(-100px);
}

h2 {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.star, .sub-star {
    font-size: 30px;
    cursor: pointer;
    color: gray;
    transition: color 0.2s ease-in-out;
}

.star.active, .sub-star.active {
    color: var(--highlight);
}

.filled {
    color: var(--highlight);
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

#popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 90%;
    text-align: center;
    z-index: 1000;
}

#popup button {
    margin: 0.5rem;
}

#googlePrompt {
    display: none;
    margin-top: 1.5rem;
    background-color: #fef6e4;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
}

#feedbackBox {
    display: none;
    margin-top: 1.5rem;
}

textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    resize: vertical;
    font-size: 1rem;
    margin-bottom: 1rem;
}

button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: #c01e28;
}

a {
    color: var(--primary);
    text-decoration: underline;
}

.thank-you-message {
    text-align: center;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 90%;
    margin: 100px auto;
}

.thank-you-message h1 {
    font-size: 2em;
    color: #333;
}

.thank-you-message p {
    font-size: 1.2em;
    color: #666;
}

