/* 기본 설정 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.app-container {
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: white;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* 헤더 */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: #fd5068;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -1px;
}

/* 카드 영역 */
.card-container {
    flex: 1;
    position: relative;
    padding: 10px;
    perspective: 1000px;
}

.card {
    width: 100%;
    height: 100%;
    position: absolute;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: grab;
    transition: transform 0.3s ease;
}

.card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

.card-info h2 { font-size: 26px; }
.card-info p { opacity: 0.8; font-size: 14px; margin-top: 5px; }

/* 푸터 버튼 */
.app-footer {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 20px 10px 40px;
}

.btn {
    border: none;
    border-radius: 50%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s;
}

.btn:active { transform: scale(0.9); }

.btn-dislike { width: 60px; height: 60px; color: #f27121; font-size: 24px; border: 2px solid #f27121; }
.btn-like { width: 60px; height: 60px; color: #1be4a1; font-size: 24px; border: 2px solid #1be4a1; }
.btn-undo, .btn-star, .btn-lightning { width: 45px; height: 45px; font-size: 18px; }

.btn-undo { color: #f5d300; }
.btn-star { color: #2db1ff; }
.btn-lightning { color: #a65cf0; }