/* ===========================================
   유형 선택 배경 화면 스타일
   마음, 읽다 - MindRead
   Generated with Gemini 2.5 Pro
   =========================================== */

/* Main Container for the Type Selection Screen */
.type-selection-container {
    min-height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Background Gradient Effect */
.type-selection-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 15% 25%, #E17888, transparent 40%),
        radial-gradient(circle at 85% 75%, #99BAD7, transparent 40%);
    opacity: 0.3;
    z-index: -2;
}

/* Wrapper for the selectable cards */
.type-cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
}

/* Individual Selectable Type Card */
.type-card {
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    width: 280px;
    text-align: center;
    box-shadow: 0 8px 32px 0 rgba(49, 71, 58, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* Card Hover Effect */
.type-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 16px 40px 0 rgba(49, 71, 58, 0.2);
}

.type-card h2 {
    margin-top: 0;
    font-size: 1.8rem;
    color: #31473A;
}

.type-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #31473A;
    opacity: 0.8;
}

/* Animated Particles / Orbs */
.orb-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.8;
    animation: moveOrb 25s infinite alternate;
}

.orb:nth-child(1) {
    background-color: #E17888;
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-duration: 25s;
}

.orb:nth-child(2) {
    background-color: #99BAD7;
    width: 400px;
    height: 400px;
    top: 60%;
    left: 70%;
    animation-duration: 30s;
    animation-delay: -5s;
}

.orb:nth-child(3) {
    background-color: #E17888;
    width: 250px;
    height: 250px;
    top: 80%;
    left: 5%;
    animation-duration: 20s;
}

.orb:nth-child(4) {
    background-color: #99BAD7;
    width: 200px;
    height: 200px;
    top: 5%;
    left: 80%;
    animation-duration: 35s;
    animation-delay: -10s;
}

.orb:nth-child(5) {
    background-color: #31473A;
    width: 150px;
    height: 150px;
    top: 40%;
    left: 45%;
    opacity: 0.5;
    animation-duration: 40s;
}

/* Keyframes for Orb Animation */
@keyframes moveOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(80px, -120px) scale(1.2);
    }
    100% {
        transform: translate(-50px, 100px) scale(0.9);
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .type-selection-container {
        padding: 20px 10px;
    }

    .type-cards-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .type-card {
        width: 90%;
        max-width: 320px;
        padding: 25px;
    }

    .type-card h2 {
        font-size: 1.6rem;
    }

    .orb {
        filter: blur(30px);
    }

    .orb:nth-child(1) { width: 200px; height: 200px; }
    .orb:nth-child(2) { width: 250px; height: 250px; }
    .orb:nth-child(3) { display: none; }
    .orb:nth-child(4) { width: 150px; height: 150px; }
    .orb:nth-child(5) { width: 100px; height: 100px; }
}
