:root {
    --primary-color: #82b1ff;
    --secondary-color: #c4f2ff;
    --friend-color-1: #ffb382;
    --friend-color-2: #ffdba1;
    --text-color: #333;
    --bg-color: #fff;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
    position: relative;
    overflow: hidden;
}

.lang-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 5px;
    z-index: 100;
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 700;
    color: #888;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
}

.container {
    max-width: 450px;
    width: 90%;
    margin: 20px;
    text-align: center;
}

.screen {
    background: var(--bg-color);
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px var(--shadow-color);
    display: none;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, opacity;
}

.screen.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

h1, h2 {
    color: var(--text-color);
    margin-top: 0;
    font-weight: 700;
}

h1 { font-size: 32px; margin-bottom: 10px; }
h2 { font-size: 24px; margin-bottom: 25px; line-height: 1.4; }

.start-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    margin-top: 20px;
}

.btn-gradient {
    color: white;
    border: none;
    padding: 18px 30px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

#start-couple-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 8px 15px rgba(130, 177, 255, 0.4);
}

#start-friend-btn {
    background: linear-gradient(45deg, var(--friend-color-1), var(--friend-color-2));
    box-shadow: 0 8px 15px rgba(255, 179, 130, 0.4);
}

.btn-gradient:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

#options-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-buttons {
    display: flex;
    gap: 15px;
    width: 100%;
}

.option-btn {
    background-color: #fff;
    border: 2px solid;
    padding: 20px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    flex: 1;
}

.option-btn.couple {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.option-btn.couple:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.option-btn.friend {
    border-color: var(--friend-color-1);
    color: var(--friend-color-1);
}
.option-btn.friend:hover {
    background-color: var(--friend-color-1);
    color: white;
    transform: translateY(-3px);
}

#progress-bar-container {
    width: 100%;
    height: 12px;
    background-color: #f0f0f0;
    border-radius: 6px;
    margin-bottom: 30px;
    overflow: hidden;
}

#progress-bar {
    width: 0%;
    height: 100%;
    border-radius: 6px;
    transition: width 0.5s ease-in-out;
}

#progress-bar.couple {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}
#progress-bar.friend {
    background: linear-gradient(45deg, var(--friend-color-1), var(--friend-color-2));
}

#restart-btn {
    background: linear-gradient(45deg, #6fdc8c, #a7f0ba);
    box-shadow: 0 8px 15px rgba(111, 220, 140, 0.4);
}

/* Contact Form Styles */
#contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    text-align: left; /* Align labels and inputs to the left */
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 700;
    color: var(--text-color);
    font-size: 15px;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-color);
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

#contact-form input[type="text"]:focus,
#contact-form input[type="email"]:focus,
#contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(130, 177, 255, 0.2);
    outline: none;
    background-color: #fff;
}

#contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

#contact-screen #back-to-start-btn {
    margin-top: 20px;
    background: linear-gradient(45deg, #6c757d, #adb5bd); /* Grey gradient for back button */
    box-shadow: 0 8px 15px rgba(108, 117, 125, 0.4);
}

.form-status {
    margin-top: 10px;
    font-weight: 700;
    font-size: 16px;
}

