* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Comic Sans MS', cursive, sans-serif;
}

body {
    background:  #f6e2c1;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    margin-top: 20%;
}

.container {
    width: 90%;
    max-width: 800px;
    background-color: rgba(244, 247, 104, 0);
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    margin: 40px 0;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    opacity: 0.7;
    z-index: 0;
    animation: float 8s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

h1 {
    color: #ff5e78;
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 0px rgba(255, 94, 120, 0.2);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

label {
    display: block;
    font-size: 1.1rem;
    color: #363535;
    margin-bottom: 8px;
    font-weight: bold;
}

input, textarea, select {
    width: 100%;
    padding: 15px;
    border: 3px solid #ddd;
    border-radius: 15px;
    font-size: 1rem;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #ff914d;
    box-shadow: 0 0 10px rgba(255, 145, 77, 0.3);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    font-size: 2.5rem;
    margin: 15px 0;
}

.rating input {
    display: none;
}

.rating label {
    cursor: pointer;
    color: #2b2b2b;
    transition: all 0.2s ease;
    margin: 0 5px;
}

.rating input:checked ~ label {
    color: #ffb400;
}

.rating label:hover,
.rating label:hover ~ label {
    color: #ffb400;
}

.emoji-select {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

.emoji-option {
    font-size: 2.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.emoji-option.selected {
    transform: scale(1.3);
    opacity: 1;
}

.button {
    background: linear-gradient(45deg, #ff5e78, #ff914d);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(255, 94, 120, 0.4);
    text-decoration: none;
    text-align: center;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 94, 120, 0.6);
}

.button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.2), transparent);
    transition: all 0.4s ease;
}

.button:hover::after {
    left: 100%;
}

.button.secondary {
    background: linear-gradient(45deg, #75dddd, #7986cb);
}

.thank-you {
    display: none;
    text-align: center;
    animation: bounceIn 0.8s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.thank-you h2 {
    color: #ff5e78;
    font-size: 2rem;
    margin-bottom: 15px;
}

.thank-you p {
    color: #555;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.character {
    position: absolute;
    bottom: -20px;
    width: 130px;
    height: 130px;
    background-size: contain;
    background-repeat: no-repeat;
    animation: bounce 2s infinite ease-in-out;
    z-index: 2;
}

.character.left {
    left: -30px;
    background-image: url('/api/placeholder/130/130');
    animation-delay: 0.3s;
}

.character.right {
    right: -30px;
    background-image: url('/api/placeholder/130/130');
    animation-delay: 0.6s;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    opacity: 0;
    animation: confettiFall 5s ease-in-out;
}

@keyframes confettiFall {
    0% { transform: translateY(-100px) rotate(0deg); opacity: 1; }
    100% { transform: translateY(500px) rotate(720deg); opacity: 0; }
}
