:root {
    --primary: #FF8BA7;
    --secondary: #FFC6C7;
    --accent: #FFFDDE;
    --bg-gradient: linear-gradient(135deg, #FFDEE9 0%, #B5FFFC 100%);
    --text: #33272A;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Noto Sans KR', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-gradient);
    overflow: hidden;
    color: var(--text);
}

/* Background Animated Blobs */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.blob {
    position: absolute;
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.6;
    animation: move 20s infinite alternate;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: #FF8BA7;
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 350px;
    height: 350px;
    background: #FFC6C7;
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: #B5FFFC;
    top: 40%;
    left: 60%;
    animation-delay: -10s;
}

@keyframes move {
    from { transform: translate(0, 0); }
    to { transform: translate(100px, 100px); }
}

/* Main Container */
.game-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    z-index: 10;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 40px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Typography */
h1 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text);
    word-break: keep-all;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #594a4e;
    word-break: keep-all;
}

/* Elements */
.icon-bubble {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    animation: bounce 3s infinite ease-in-out;
}

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

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(255, 139, 167, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 25px rgba(255, 139, 167, 0.4);
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-option {
    background: #fff;
    border: 2px solid var(--secondary);
    color: var(--text);
    padding: 12px 25px;
    margin: 5px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
    font-weight: 600;
}

.btn-option:hover {
    background: var(--secondary);
    color: #fff;
}

.input-cute {
    width: 100%;
    padding: 15px;
    border-radius: 15px;
    border: 2px solid var(--secondary);
    margin-bottom: 20px;
    font-size: 1.1rem;
    outline: none;
    text-align: center;
    background: rgba(255,255,255,0.5);
    transition: all 0.3s;
}

.input-cute:focus {
    border-color: var(--primary);
    background: #fff;
}

/* Progress Bar */
.progress-bar {
    position: absolute;
    bottom: 20px;
    left: 40px;
    right: 40px;
    height: 6px;
    background: rgba(0,0,0,0.05);
    border-radius: 10px;
    overflow: hidden;
}

#progress-fill {
    height: 100%;
    background: var(--primary);
    transition: width 0.5s ease;
}

/* Steps Transition */
.step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.step.active {
    display: block;
}

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

.number-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
