/* TikTok Downloader Custom Styles */
/* Strict Rule: NO CSS GRADIENTS! Pure solid colors, clean Bento borders, modern glass/flat cards */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --bg-main: #09090b;
    --bg-card: #18181b;
    --bg-card-hover: #27272a;
    --border-color: #27272a;
    --accent-emerald: #059669;
    --accent-emerald-hover: #047857;
    --accent-sky: #0284c7;
    --accent-violet: #7c3aed;
    --accent-rose: #e11d48;
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-main);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #09090b;
}
::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3f3f46;
}

/* Bento Card Base Styling */
.bento-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.2s ease-in-out;
}

.bento-card:hover {
    border-color: #3f3f46;
}

/* Smartphone Mockup Container for Mobile Mode */
.mobile-frame-wrapper {
    max-width: 420px;
    margin: 0 auto;
    background-color: #000000;
    border: 10px solid #27272a;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    position: relative;
    min-height: 780px;
}

.mobile-status-bar {
    height: 30px;
    background-color: #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
}

.mobile-notch {
    width: 120px;
    height: 18px;
    background-color: #27272a;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    margin: 0 auto;
}

.mobile-content-area {
    padding: 16px;
    background-color: #09090b;
    min-height: 680px;
    padding-bottom: 80px;
}

.mobile-bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background-color: #18181b;
    border-top: 1px solid #27272a;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 50;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    color: #71717a;
    cursor: pointer;
    transition: color 0.15s ease;
}

.mobile-nav-item.active {
    color: #10b981;
    font-weight: 600;
}

/* Pulse animation for active stepper */
@keyframes pulse-border {
    0% { border-color: #059669; }
    50% { border-color: #10b981; }
    100% { border-color: #059669; }
}

.stepper-active {
    animation: pulse-border 1.5s infinite;
    background-color: #14532d !important;
    color: #f0fdf4 !important;
}

/* Line clamp utilities */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
