body {
    margin: 0;
    padding: 0;
    background-color: #e5e5f7;
    background-image:  radial-gradient(#444cf7 0.5px, transparent 0.5px), radial-gradient(#444cf7 0.5px, #e5e5f7 0.5px);
    background-size: 20px 20px;
    background-position: 0 0,10px 10px;
    font-family: "Georgia", serif;
    color: #1e1e2f;
}

header h1 {
    font-family: "Playfair Display", serif;
    font-size: 3rem;
    margin-bottom: 0;
    text-align: center;
}

header h1 a {
    text-decoration: none;
    color: #2a2a55;
    text-align: center;
}

header h1 + h2 {
    font-family: "Dancing Script", cursive;
    font-size: 2rem;
    margin-top: -10px;
    color: #7c72b9;
    text-align: center;
}

p {
    line-height: 1.6;
    text-align: center;
}
nav {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    gap: 40px;
}

nav a {
    padding: 8px 25px;
    background: #1d1b44;
    color: #fff;
    border-radius: 30px;
    font-size: 1.1rem;
    text-decoration: none;
    transition: 0.3s;
}

nav a:hover {
    background: #4f4a89;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.form-control {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px;
}

.form-control input[type="checkbox"] {
    margin-right: 8px;
}

.form-control a {
    color: #4a3fa3;
    text-decoration: underline;
}
.form-control label {
    margin-bottom: 6px;
    font-size: 1.1rem;
    color: #1e1e2f;
    font-family: "Georgia", serif;
}

.content-wrapper {
    max-width: 900px;        
    margin: 40px auto;
    padding: 40px 50px;
    background: rgba(255, 255, 255, 1); 
    border-radius: 20px;
    box-shadow: 0px 4px 18px rgba(0, 0, 0, 0.08);
}

.decor-left, .decor-right {
    position: fixed;
    top: 0;
    width: 80px;
    height: 100%;
    background-repeat: repeat-y;
    background-size: contain;
    opacity: 0.5;
}

.decor-left {
    left: 0;
    background-image: url('squiggle-left.png');
}

.decor-right {
    right: 0;
    background-image: url('squiggle-right.png');
}

.section {
    padding: 40px 150px;
    max-width: 1200px;
    margin: auto;
}

.book-frame {
    width: 230px;
    height: 330px;
    border: 4px solid #8076aa;
    border-radius: 40px;
    padding: 10px;
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ecebfa;
}

.review-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.review-card {
    background: #c8c4e4;
    width: 260px;
    padding: 20px;
    border-radius: 15px;
    color: #1f1f2f;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
    text-align: left;
}

.review-card h4 {
    margin-bottom: 8px;
}

.review-card .stars {
    color: #4a3fa3;
    font-size: 1rem;
}

.review-card p {
    font-size: 0.9rem;
}

.review-form textarea {
    width: 90%;
    height: 130px;
    padding: 10px;
    border: 2px solid #8e86c6;
    border-radius: 10px;
    background: #f3f2ff;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 280px;
    padding: 10px;
    border: 2px solid #8e86c6;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #f3f2ff;
    font-family: "Georgia", serif; 
}

button, input[type="submit"] {
    padding: 8px 20px;
    margin-top: 10px;
    background: #7a72c3;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover, input[type="submit"]:hover {
    background: #524b8f;
}

#terms-modal {
    width: 300px;
    border-radius: 15px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

#progressBar {
    width: 80%;
    height: 20px;
    background: #bfbadf;
    border-radius: 15px;
    margin: 20px auto;
    overflow: hidden;
}

.progressFill {
    height: 100%;
    width: 0%;
    background: #463d96;
    border-radius: 15px;
    transition: width 0.4s ease;
}


.sidebar {
    background: #bfbadf;
    padding: 20px;
    width: 260px;
    border-radius: 15px;
    font-size: 0.95rem;
}

.sidebar li {
    margin-bottom: 6px;
}

.star {
    cursor: pointer;
    font-size: 2rem;
    color: #7a72c3;
    transition: 0.2s;
}

.star:hover {
    color: #524b8f;
}

.star.selected {
    color: #463d96;
}


