/* Shopee Link Converter - Harmonious & Professional Palette */

:root {
    --shopee-orange: #ee4d2d;
    --shopee-orange-deep: #d73211;
    --shopee-bg: #f8f9fa; /* Clean neutral light gray */
    --card-bg: #ffffff;
    --text-main: #222222;
    --text-secondary: #666666;
    --border-soft: rgba(0, 0, 0, 0.05);
    --shadow-soft: 0 4px 24px -2px rgba(0, 0, 0, 0.04), 0 2px 8px -2px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--shopee-bg);
    color: var(--text-main);
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Subtle accent glow at the top */
body::before {
    content: '';
    position: fixed;
    top: -10vw;
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
    height: 30vw;
    background: radial-gradient(circle, rgba(238, 77, 45, 0.03) 0%, transparent 70%);
    z-index: -1;
    filter: blur(60px);
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gradient-text {
    color: var(--shopee-orange);
}

.btn-premium {
    background: var(--shopee-orange);
    color: white;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-premium:hover {
    background: var(--shopee-orange-deep);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(238, 77, 45, 0.2);
}

/* Instructions section styling */
.instruction-box {
    background: #fffafa; /* Extremely light peach */
    border: 1px solid rgba(238, 77, 45, 0.08);
}

/* Status dots for instructions */
.step-dot {
    background: var(--shopee-orange);
    color: white;
}

/* Result item fade in */
#resultsList > div {
    animation: fadeIn 0.4s ease-out forwards;
}

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

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.1); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.2); }

/* Toast */
#toast {
    background: #333;
    color: white;
    border-radius: 50px;
    padding: 12px 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Result specific styling */
.result-item p {
    color: var(--shopee-orange);
    font-size: 0.875rem;
}

.copy-btn {
    background: var(--shopee-orange);
    color: white;
}

.copy-btn:hover {
    background: var(--shopee-orange-deep);
}

.just-copy-btn:hover {
    border-color: var(--shopee-orange) !important;
    color: var(--shopee-orange) !important;
    box-shadow: 0 8px 16px -4px rgba(238, 77, 45, 0.15);
    transform: translateY(-2px);
}
