/* Meta Xray - Instagram 데이터 분석기 스타일 */

* {
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

.gradient-text {
    background: linear-gradient(45deg, #E1306C, #C13584, #833AB4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-bg {
    background: linear-gradient(135deg, #E1306C 0%, #C13584 50%, #833AB4 100%);
}

.tab-button {
    padding: 0.75rem 1rem;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6B7280;
    font-size: 0.875rem;
    white-space: nowrap;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .tab-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

.tab-button:hover {
    color: #E1306C;
    border-bottom-color: #E1306C40;
    background-color: #FFF1F7;
}

.dark .tab-button:hover {
    background-color: #1F2937;
}

.tab-button.active {
    color: #E1306C;
    border-bottom-color: #E1306C;
    background-color: #FFF1F7;
}

.dark .tab-button.active {
    background-color: #1F2937;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

.animate-slide-up {
    animation: slideUp 0.4s ease-out;
}

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

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.scroll-shadow {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 커스텀 스크롤바 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.dark ::-webkit-scrollbar-track {
    background: #1F2937;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #E1306C, #C13584);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #C13584, #833AB4);
}

/* 검색 입력 개선 */
input[type="text"]:focus {
    transform: scale(1.01);
}

/* 드래그 오버 상태 */
.drag-over {
    border-color: #E1306C !important;
    background-color: #FFF1F7 !important;
    transform: scale(1.02);
}
